git: 83ab69f02012 - main - databases/pgbouncer: Update version 1.16.0=>1.16.1

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 14 Feb 2022 12:00:12 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=83ab69f020127cac6752d1a68ac73e2b548a4ab4

commit 83ab69f020127cac6752d1a68ac73e2b548a4ab4
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2022-02-14 11:58:16 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2022-02-14 11:58:16 +0000

    databases/pgbouncer: Update version 1.16.0=>1.16.1
    
    - Add OVERRIDE for variables [1]
    
    PR:             259714
    Reported by:    drtr0jan@yandex.ru [1]
    Approved by:    m.tsatsenko@gmail.com (maintainer)
---
 databases/pgbouncer/Makefile | 5 +++--
 databases/pgbouncer/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index 46fb6eccbf26..6bd8ba802d28 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -1,8 +1,7 @@
 # Created by: Sergey Skvortsov <skv@protey.ru>
 
 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}/
@@ -46,6 +45,8 @@ 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
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