forked from Lainports/freebsd-ports
Enhancements
* Import some of memory manager debug facilities from PostgreSQL. (Tatsuo Ishii)
* Use pg_get_expr() instead of pg_attrdef.adsrc to support for PostgreSQL 12. (Bo Peng)
* Enhance shutdown script of pgpool_setup. (Tatsuo Ishii)
* Make shutdownall to wait for completion of shutdown of Pgpool-II.
* If environment variable CHECK_TIME_WAIT is set to true, use netstat command to confirm usage of the TCP/IP port while executing shutdown script.
* Deal pgpool_adm extension with PostgreSQL 12. (Tatsuo Ishii)
Bug fixes
* Fix pgpool_setup to produce correct follow master command. (Tatsuo Ishii)
* Fix query cache module so that it checks oid array's bound. (Tatsuo Ishii)
* Fix off-by-one error in query cache module. (Tatsuo Ishii)
* Fix segfault when samenet is specified in pool_hba.conf. (Tatsuo Ishii)
* Fix to deal with backslashes according to the config of standard_conforming_strings in native replication mode. (bug 467) (Bo Peng)
* Fix memory leaks. (Tatsuo Ishii)
Changelog taken from: https://www.pgpool.net/docs/latest/en/html/release-3-4-25.html
Also set DEPRECATED and EXPIRATION_DATE because the port reached its EOL at 2019-08-15. This will give possible user a short time period for an update and also warn them.
50 lines
1.1 KiB
Makefile
50 lines
1.1 KiB
Makefile
# Created by: Choe, Cheng-Dae <whitekid@gmail.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pgpool
|
|
PORTVERSION= 3.4.26
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
|
|
DISTNAME= ${PORTNAME}-II-${PORTVERSION}
|
|
|
|
MAINTAINER= tz@FreeBSD.org
|
|
COMMENT= Connection pool server for PostgreSQL
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
DEPRECATED= Reached EOL at 2019-10-31, please use pgpool-II-35 or higher
|
|
EXPIRATION_DATE= 2020-03-31
|
|
|
|
USES= gmake libtool pgsql:9.3+
|
|
|
|
PORTSCOUT= limit:^3.4.[0-9]*
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
DATADIR= ${PREFIX}/share/${PORTNAME}-II
|
|
|
|
USE_RC_SUBR= pgpool
|
|
CONFLICTS= pgpool-II-*
|
|
|
|
PORTDOCS= *
|
|
|
|
OPTIONS_DEFINE= DOCS SSL
|
|
OPTIONS_DEFAULT= SSL
|
|
|
|
SSL_CONFIGURE_WITH= openssl
|
|
SSL_USES= ssl
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}/var/run/pgpool
|
|
${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.0.0.0 ${STAGEDIR}${PREFIX}/lib
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${COPYTREE_SHARE} doc ${STAGEDIR}${DOCSDIR} "-not -name Makefile.\*"
|
|
.for f in AUTHORS ChangeLog NEWS TODO
|
|
${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
|
|
.endfor
|
|
|
|
.include <bsd.port.mk>
|