On Fri, Sep 11, 2015 at 12:56:01PM +0100, Stuart Henderson wrote: > On 2015/09/11 12:31, Pierre-Emmanuel André wrote: > > Hi, > > > > Small diff to upgrade pgbouncer to it's latest version. > > Tested on @amd64. > > Comments, ok ? > > As things stand at present, this needs --without-cares. If it detects > C-Ares (async dns resolver library) then it pulls in arpa/nameser.h > but it requires a 1999+ version of this, ours is from 1996 and doesn't > work. >
Good catch, thanks. Updated diff.
Index: Makefile =================================================================== RCS file: /cvs/ports/databases/pgbouncer/Makefile,v retrieving revision 1.21 diff -u -p -u -p -r1.21 Makefile --- Makefile 1 Jun 2015 09:51:42 -0000 1.21 +++ Makefile 11 Sep 2015 12:16:58 -0000 @@ -2,7 +2,8 @@ COMMENT = lightweight connection pooler for PostgreSQL -DISTNAME = pgbouncer-1.5.5 +V = 1.6.1 +DISTNAME = pgbouncer-${V} CATEGORIES = databases @@ -15,14 +16,14 @@ PERMIT_PACKAGE_CDROM = Yes WANTLIB = c event -MASTER_SITES = https://pgbouncer.github.io/downloads/ +MASTER_SITES = https://pgbouncer.github.io/downloads/files/${V}/ BUILD_DEPENDS = devel/libeventextra CONFIGURE_STYLE = gnu #Disable the detection of asciidoc since docs are already included CONFIGURE_ENV = ASCIIDOC=' ' -CONFIGURE_ARGS = --with-libevent=${LOCALBASE} +CONFIGURE_ARGS = --with-libevent=${LOCALBASE} --without-cares MAKE_FLAGS+= V=1 USE_GMAKE = Yes Index: distinfo =================================================================== RCS file: /cvs/ports/databases/pgbouncer/distinfo,v retrieving revision 1.8 diff -u -p -u -p -r1.8 distinfo --- distinfo 1 Jun 2015 09:51:42 -0000 1.8 +++ distinfo 11 Sep 2015 12:16:58 -0000 @@ -1,2 +1,2 @@ -SHA256 (pgbouncer-1.5.5.tar.gz) = 1loZLR4uab9EXVNvECEYV5Wfw44CR9GXToAIJTCA4jQ= -SIZE (pgbouncer-1.5.5.tar.gz) = 336145 +SHA256 (pgbouncer-1.6.1.tar.gz) = QP9c2EOZtNo7qGStZU/hVaDtCFJh5o8+MbEReBKxcFY= +SIZE (pgbouncer-1.6.1.tar.gz) = 431076