forked from Lainports/freebsd-ports
Changelog:
Enhancements
- Doc: Improve Reference II, PCP commands document. (Tatsuo Ishii)
- Speed up failover when all of backends are down. (Tatsuo Ishii)
- pgpool-recovery extension and pgpool_setup is now ready for the next major release PostgreSQL 12. (Tatsuo Ishii)
- Doc: add restrictions entry. (Takuma Hoshiai)
Bug fixes
- Fix the wrong error message "ERROR: connection cache is full", when all backend nodes are down. (bug 487) (Bo Peng)
- Remove unused .sgml file. (Takuma Hoshiai)
- Avoid exit/fork storm of pool_worker_child process. (Tatsuo Ishii)
- Fix black_function_list's broken default value. (Tatsuo Ishii)
- Fix "not enough space in buffer" error. (bug 499) (Tatsuo Ishii)
- Fix DROP DATABASE failure. (Tatsuo Ishii)
- Fix wrong variable in read_status_file() function. (bug 493) (Takuma Hoshiai)
- Add missing test/watchdog_setup to EXTRA_DIST. (bug 470) (Bo Peng)
- Doc: mention that multi-statement queries are sent to primary node only. (bug 492) (Tatsuo Ishii)
- Fix md5 auth broken in raw mode with more than 1 backends. (bug 491) (Tatsuo Ishii)
- Test: Fix occasional regression test failure of 014.watchdog_test_quorum_bypass. (Tatsuo Ishii)
- Abort session if failover/failback is ongoing to prevent potential segfault. (bug 481, bug 482) (Tatsuo Ishii)
- Fix compiler warnings. (Tatsuo Ishii)
- Fix memory leak in "batch" mode in extended query. (bug 468) (Tatsuo Ishii)
Changelog taken from: http://www.pgpool.net/docs/latest/en/html/release-4-0-5.html
MFH: 2019Q2
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= pgpool-II
|
|
PORTVERSION= 4.0.5
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.pgpool.net/mediawiki/images/
|
|
PKGNAMESUFFIX= 40
|
|
|
|
MAINTAINER= tz@FreeBSD.org
|
|
COMMENT= Connection pool server for PostgreSQL
|
|
|
|
LICENSE= MIT
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
PORTSCOUT= limit:^4.0.[0-9]*
|
|
|
|
USES= gmake libtool pgsql:9.6+
|
|
GNU_CONFIGURE= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
USE_RC_SUBR= pgpool
|
|
CONFLICTS= pgpool-II-[0-9]*
|
|
|
|
PORTDOCS= *
|
|
|
|
PAM_DESC= Build with PAM support
|
|
SSL_DESC= Build with OpenSSL support
|
|
MEMCACHED_DESC = Use memcached for in memory query cache
|
|
|
|
OPTIONS_DEFINE= DOCS SSL PAM MEMCACHED
|
|
OPTIONS_DEFAULT= SSL
|
|
|
|
MEMCACHED_CONFIGURE_ON= --with-memcached=${LOCALBASE}/include
|
|
MEMCACHED_LIB_DEPENDS= libmemcached.so:databases/libmemcached
|
|
|
|
PAM_CONFIGURE_ON= --with-pam
|
|
|
|
SSL_CONFIGURE_WITH= openssl
|
|
SSL_USES= ssl
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}/var/run/pgpool
|
|
${INSTALL_LIB} ${WRKSRC}/src/libs/pcp/.libs/libpcp.so.1.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>
|