aboutsummaryrefslogtreecommitdiffstats
path: root/databases/pgbouncer
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2016-01-18 19:37:39 +0800
committermatthew <matthew@FreeBSD.org>2016-01-18 19:37:39 +0800
commite531aa908898fb33804ca650d87a60c37fd9ebfa (patch)
tree4ac25f5e07265caaffdd6bb2249a977dc3b62a88 /databases/pgbouncer
parentdacfacda01981c0a36dc3f41df7794506d7d7884 (diff)
downloadfreebsd-ports-gnome-e531aa908898fb33804ca650d87a60c37fd9ebfa.tar.gz
freebsd-ports-gnome-e531aa908898fb33804ca650d87a60c37fd9ebfa.tar.zst
freebsd-ports-gnome-e531aa908898fb33804ca650d87a60c37fd9ebfa.zip
Update to 1.7
- Adds the ability to connect via TLS PR: 206365 Submitted by: m.tsatsenko@gmail.com (maintainer)
Diffstat (limited to 'databases/pgbouncer')
-rw-r--r--databases/pgbouncer/Makefile11
-rw-r--r--databases/pgbouncer/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index 17c83c481fb5..f5b8f2ebea2e 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pgbouncer
-PORTVERSION= 1.6.1
+PORTVERSION= 1.7
CATEGORIES= databases
MASTER_SITES= https://pgbouncer.github.io/downloads/files/${PORTVERSION}/ \
http://pgbouncer.github.io/downloads/files/${PORTVERSION}/
@@ -24,6 +24,7 @@ USE_RC_SUBR= pgbouncer
GNU_CONFIGURE= yes
USES= gmake
+USE_OPENSSL= yes
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --enable-evdns
CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread"
@@ -40,6 +41,12 @@ PLIST_SUB+= PGBOUNCER_USER="${USERS}" \
PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
SUB_LIST+= PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+WITH_OPENSSL_PORT= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|= pgbouncer.log|= ${PGBOUNCER_LOGDIR}/pgbouncer.log|g" \
-e "s|= pgbouncer.pid|= ${PGBOUNCER_RUNDIR}/pgbouncer.pid|g" \
@@ -58,4 +65,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${PGBOUNCER_RUNDIR} \
${STAGEDIR}${PGBOUNCER_LOGDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/pgbouncer/distinfo b/databases/pgbouncer/distinfo
index cafb4482960d..b0247969eabd 100644
--- a/databases/pgbouncer/distinfo
+++ b/databases/pgbouncer/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pgbouncer-1.6.1.tar.gz) = 40ff5cd84399b4da3ba864ad654fe155a0ed085261e68f3e31b1117812b17056
-SIZE (pgbouncer-1.6.1.tar.gz) = 431076
+SHA256 (pgbouncer-1.7.tar.gz) = a53fd6a3bc4c51a77cbf0437788b31015287c564427b2c3037a85e93f1500cea
+SIZE (pgbouncer-1.7.tar.gz) = 459080