git: 7677a7924175 - main - databases/pgpool-II-42: Update version 4.2.3=>4.2.12

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sun, 30 Apr 2023 18:35:54 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=7677a7924175f3b004adf1ebdec0a8fcfedb2248

commit 7677a7924175f3b004adf1ebdec0a8fcfedb2248
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-04-30 17:17:37 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-04-30 18:33:29 +0000

    databases/pgpool-II-42: Update version 4.2.3=>4.2.12
    
    - Unbreak on HEAD
    
    Changelog:
    https://www.pgpool.net/docs/latest/en/html/release-4-2-11.html
    
    Approved by:    portmgr (blanket)
---
 databases/pgpool-II-42/Makefile | 28 ++++++++++++++++------------
 databases/pgpool-II-42/distinfo |  6 +++---
 2 files changed, 19 insertions(+), 15 deletions(-)

diff --git a/databases/pgpool-II-42/Makefile b/databases/pgpool-II-42/Makefile
index cc5430ae67d3..30d7431d5512 100644
--- a/databases/pgpool-II-42/Makefile
+++ b/databases/pgpool-II-42/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	pgpool-II
-PORTVERSION=	4.2.3
+PORTVERSION=	4.2.12
 CATEGORIES=	databases
 MASTER_SITES=	http://www.pgpool.net/mediawiki/images/
 PKGNAMESUFFIX=	42
@@ -11,8 +11,6 @@ WWW=		https://pgpool.net/
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-PORTSCOUT=	limit:^4.2.[0-9]*
-
 USES=		gmake libtool pgsql:11+
 USE_LDCONFIG=	yes
 USE_RC_SUBR=	pgpool
@@ -21,22 +19,28 @@ GNU_CONFIGURE=	yes
 
 CONFLICTS_INSTALL=	pgpool-II-[0-9][0-9] pgpool-II[0-9][0-9] # etc/escalation.sh.sample etc/failover.sh.sample etc/pcp.conf.sample
 
-PORTDOCS=	*
+PORTSCOUT=	limit:^4.2.[0-9]*
 
-PAM_DESC=	Build with PAM support
-SSL_DESC=	Build with OpenSSL support
-MEMCACHED_DESC=	Use memcached for in memory query cache
+PORTDOCS=	*
 
 OPTIONS_DEFINE=		DOCS SSL PAM MEMCACHED
 OPTIONS_DEFAULT=	SSL
 
-MEMCACHED_CONFIGURE_ON=	--with-memcached=${LOCALBASE}/include
-MEMCACHED_LIB_DEPENDS=	libmemcached.so:databases/libmemcached
+MEMCACHED_DESC=	Use memcached for in memory query cache
+PAM_DESC=	Build with PAM support
+SSL_DESC=	Build with OpenSSL support
 
+MEMCACHED_LIB_DEPENDS=	libmemcached.so:databases/libmemcached
+MEMCACHED_CONFIGURE_ON=	--with-memcached=${LOCALBASE}/include
 PAM_CONFIGURE_ON=	--with-pam
-
-SSL_CONFIGURE_WITH=	openssl
 SSL_USES=		ssl
+SSL_CONFIGURE_WITH=	openssl
+
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
+CFLAGS+=	-Wno-error=int-conversion
+.endif
 
 post-install:
 	@${MKDIR} ${STAGEDIR}/var/run/pgpool
@@ -49,4 +53,4 @@ post-install-DOCS-on:
 	${INSTALL_DATA} ${WRKSRC}/$f ${STAGEDIR}${DOCSDIR}
 .endfor
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/pgpool-II-42/distinfo b/databases/pgpool-II-42/distinfo
index f113343ee9ba..f867cfb1a3e1 100644
--- a/databases/pgpool-II-42/distinfo
+++ b/databases/pgpool-II-42/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1621536839
-SHA256 (pgpool-II-4.2.3.tar.gz) = 1cd3a9100aab6711050b291e94e4805287182054ce7811a697bc05723150d6cc
-SIZE (pgpool-II-4.2.3.tar.gz) = 4751944
+TIMESTAMP = 1682873414
+SHA256 (pgpool-II-4.2.12.tar.gz) = 9f4a770aba2a60b047996bd5fd9ec6bf974560e73d483aff68d7a9455e93c5d0
+SIZE (pgpool-II-4.2.12.tar.gz) = 4758162