1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

databases/pgbouncer: Update version 1.16.1=>1.17.0

- Pet portclippy/portfmt

PR:		264916
Approved by:	m.tsatsenko@gmail.com (maintainer)
Relnotes: https://www.pgbouncer.org/changelog.html#pgbouncer-117x
Sponsored by:	Bounce Experts
This commit is contained in:
Muhammad Moinur Rahman 2022-07-04 10:55:48 -05:00
parent 43a71c753d
commit 4787e5c95a
2 changed files with 19 additions and 18 deletions

View File

@ -1,7 +1,7 @@
# Created by: Sergey Skvortsov <skv@protey.ru>
PORTNAME= pgbouncer
PORTVERSION= 1.16.1
PORTVERSION= 1.17.0
CATEGORIES= databases
MASTER_SITES= https://pgbouncer.github.io/downloads/files/${PORTVERSION}/ \
http://pgbouncer.github.io/downloads/files/${PORTVERSION}/
@ -13,36 +13,37 @@ LICENSE= BSD2CLAUSE
LIB_DEPENDS= libevent.so:devel/libevent
USES= cpe gmake ssl pkgconfig
USES= cpe gmake pkgconfig ssl
USE_RC_SUBR= pgbouncer
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-evdns \
--with-libevent=${LOCALBASE}
CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread"
PORTSCOUT= site:https://pgbouncer.github.io/downloads/
SUB_FILES= pkg-message
SUB_LIST+= PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
USERS= pgbouncer
GROUPS= pgbouncer
USE_RC_SUBR= pgbouncer
GNU_CONFIGURE= yes
PLIST_SUB+= PGBOUNCER_GROUP="${GROUPS}" \
PGBOUNCER_LOGDIR="${PGBOUNCER_LOGDIR}" \
PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}" \
PGBOUNCER_USER="${USERS}"
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_USER?= 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" \

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1644839246
SHA256 (pgbouncer-1.16.1.tar.gz) = 087477e9e4766d032b04b7b006c0c8d64160a54141a7bfc2c6e5ae7ae11bf7fc
SIZE (pgbouncer-1.16.1.tar.gz) = 591450
TIMESTAMP = 1656273426
SHA256 (pgbouncer-1.17.0.tar.gz) = 657309b7bc5c7a85cbf70a9a441b535f7824123081eabb7ba86d00349a256e23
SIZE (pgbouncer-1.17.0.tar.gz) = 598294