diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile index 46fb6eccbf26..6bd8ba802d28 100644 --- a/databases/pgbouncer/Makefile +++ b/databases/pgbouncer/Makefile @@ -1,64 +1,65 @@ # Created by: Sergey Skvortsov PORTNAME= pgbouncer -PORTVERSION= 1.16.0 -PORTREVISION= 1 +PORTVERSION= 1.16.1 CATEGORIES= databases MASTER_SITES= https://pgbouncer.github.io/downloads/files/${PORTVERSION}/ \ http://pgbouncer.github.io/downloads/files/${PORTVERSION}/ MAINTAINER= m.tsatsenko@gmail.com COMMENT= Lightweight connection pooler for PostgreSQL LICENSE= BSD2CLAUSE LIB_DEPENDS= libevent.so:devel/libevent USES= cpe gmake ssl pkgconfig PORTSCOUT= site:https://pgbouncer.github.io/downloads/ USERS= pgbouncer GROUPS= pgbouncer USE_RC_SUBR= pgbouncer GNU_CONFIGURE= yes OPTIONS_DEFINE= CARES CARES_LIB_DEPENDS= libcares.so:dns/c-ares CARES_CONFIGURE_WITH= cares CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --enable-evdns CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread" PGBOUNCER_USER?= pgbouncer PGBOUNCER_GROUP?= pgbouncer PGBOUNCER_RUNDIR?= /var/run/pgbouncer PGBOUNCER_LOGDIR?= /var/log/pgbouncer PLIST_SUB+= PGBOUNCER_USER="${USERS}" \ PGBOUNCER_GROUP="${GROUPS}" \ PGBOUNCER_LOGDIR="${PGBOUNCER_LOGDIR}" \ PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}" SUB_LIST+= PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}" SUB_FILES= pkg-message post-patch: @${REINPLACE_CMD} -e "s|= /etc/pgbouncer/userlist.txt|= ${PREFIX}/etc/pgbouncer.users|g" \ + -e "s|= /var/log/pgbouncer/pgbouncer.log|= ${PGBOUNCER_LOGDIR}/pgbouncer.log|g" \ + -e "s|= /var/run/pgbouncer/pgbouncer.pid|= ${PGBOUNCER_RUNDIR}/pgbouncer.pid|g" \ -e "s|= /etc/pgbouncer/resolv.conf|= ${PREFIX}/etc/pgbouncer-resolv.conf|g" \ -e "s|include /etc/pgbouncer/pgbouncer-other.ini|include ${PREFIX}/etc/pgbouncer-other.ini|g" \ ${WRKSRC}/etc/pgbouncer.ini do-install: ${INSTALL_PROGRAM} ${WRKSRC}/pgbouncer ${STAGEDIR}${PREFIX}/bin/ ${INSTALL_MAN} ${WRKSRC}/doc/pgbouncer.1 ${STAGEDIR}${PREFIX}/man/man1/ ${INSTALL_MAN} ${WRKSRC}/doc/pgbouncer.5 ${STAGEDIR}${PREFIX}/man/man5/ ${INSTALL_DATA} ${WRKSRC}/etc/pgbouncer.ini \ ${STAGEDIR}${PREFIX}/etc/pgbouncer.ini.sample ${INSTALL_DATA} ${WRKSRC}/etc/userlist.txt \ ${STAGEDIR}${PREFIX}/etc/pgbouncer.users.sample @${MKDIR} ${STAGEDIR}${PGBOUNCER_RUNDIR} \ ${STAGEDIR}${PGBOUNCER_LOGDIR} .include diff --git a/databases/pgbouncer/distinfo b/databases/pgbouncer/distinfo index 56326eeeb9e9..592cb7e89c59 100644 --- a/databases/pgbouncer/distinfo +++ b/databases/pgbouncer/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1635022010 -SHA256 (pgbouncer-1.16.0.tar.gz) = a4a391618bb83caaee2a8cd9653974f4c1b98b95987d5cabbbeb801da6342652 -SIZE (pgbouncer-1.16.0.tar.gz) = 592136 +TIMESTAMP = 1644839246 +SHA256 (pgbouncer-1.16.1.tar.gz) = 087477e9e4766d032b04b7b006c0c8d64160a54141a7bfc2c6e5ae7ae11bf7fc +SIZE (pgbouncer-1.16.1.tar.gz) = 591450