svn commit: r406562 - head/databases/pgbouncer
Matthew Seaman
matthew at FreeBSD.org
Mon Jan 18 11:37:40 UTC 2016
Author: matthew
Date: Mon Jan 18 11:37:39 2016
New Revision: 406562
URL: https://svnweb.freebsd.org/changeset/ports/406562
Log:
Update to 1.7
- Adds the ability to connect via TLS
PR: 206365
Submitted by: m.tsatsenko at gmail.com (maintainer)
Modified:
head/databases/pgbouncer/Makefile
head/databases/pgbouncer/distinfo
Modified: head/databases/pgbouncer/Makefile
==============================================================================
--- head/databases/pgbouncer/Makefile Mon Jan 18 11:23:36 2016 (r406561)
+++ head/databases/pgbouncer/Makefile Mon Jan 18 11:37:39 2016 (r406562)
@@ -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>
Modified: head/databases/pgbouncer/distinfo
==============================================================================
--- head/databases/pgbouncer/distinfo Mon Jan 18 11:23:36 2016 (r406561)
+++ head/databases/pgbouncer/distinfo Mon Jan 18 11:37:39 2016 (r406562)
@@ -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
More information about the svn-ports-head
mailing list