summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-05-24 11:50:12 +0000
committeradam <adam@pkgsrc.org>2022-05-24 11:50:12 +0000
commit1cf78515c31e3de460e0da2d309debe4f15857af (patch)
tree27efdaa594b2d9fc952d8d3ca5c362cb03c94934
parente8482ba14db3ef723fa4e3fb19b56220657868e4 (diff)
downloadpkgsrc-1cf78515c31e3de460e0da2d309debe4f15857af.tar.gz
pgpool2: updated to 4.3.2
4.3.2 Changes Enhance in stopping pgpool main process. (Tatsuo Ishii) If "pgpool stop" couldn't terminate the main process within certain period (currently 5 seconds), send the signal again. Fix not to abort session while in failed transaction. (Tatsuo Ishii) When an explicit transaction fails, subsequent commands should be ignored until commit or rollback command comes in. However pgpool sometimes aborted the session if relcache lookup happened. Change the PID length of pcp_proc_count command to 7 characters long. (Bo Peng) Enhance error message to include the message kind returned and the backend node id while processing parse message. (Tatsuo Ishii) Downgrade log level of ParameterStatus message from LOG to DEBUG5. (Tatsuo Ishii) Change the default value of pcp_listen_addresses from '*' to 'localhost'. (Tatsuo Ishii) Adjust the field name in pcp_watchdog_info. (Muhammad Usama) Enable parameters related to logging_collector by default in RPM packages. (Bo Peng) Bug fixes Fix issue that watchdog cluster keeps rejecting the restarted remote node which is lost previously. (Muhammad Usama) Fix exit_handler in pgpool main process to avoid possible infinite wait. (Tatsuo Ishii) Fix pgpool child process to obtain process information. (Tatsuo Ishii) Fix a potential issue in shared memory allocation function. (Tatsuo Ishii) Fix bug with pg_enc and pg_md5 when using "-i" option. (bug 747)(Tatsuo Ishii) Fix not to include garbage in %m log_line_prefix. (Tatsuo Ishii) Fix main process exiting if a backend is failing or shutting down while performing finding primary. (Tatsuo Ishii) Fix segfaults in watchdog. (Muhammad Usama) Fix issue that failover request is refused if backend node status managed in private_backend_status and the one in the share memory area do not agree. (Tatsuo Ishii) Fixed follow_primary.sh.sample script to check the status of PostgreSQL using pg_isready. (Bo Peng) Documents Doc: move the example of "Pgpool-II on Kubernetes" to github repository. (Bo Peng) Doc: update configuration example. (Masaya Kawamoto) Doc: update the example output of pcp_watchdog_info. (Bo Peng) Doc: mention that escaping is required if you are providing the password as an argument to pg_enc and the password contains a "$" character. (Bo Peng) Regression Tests Enhance regression test 018.detach_primary to avoid the timeut error. (Tatsuo Ishii) Enhance regression test 074.bug700_memqcache_segfault to avoid the timeut error. (Tatsuo Ishii) Improve regression test to detect segmentation fault. (Bo Peng) Increase timeout for regression test 077.invalid_failover_node. (Tatsuo Ishii)
-rw-r--r--databases/pgpool2/Makefile9
-rw-r--r--databases/pgpool2/PLIST14
-rw-r--r--databases/pgpool2/distinfo10
-rw-r--r--databases/pgpool2/patches/patch-configure4
4 files changed, 21 insertions, 16 deletions
diff --git a/databases/pgpool2/Makefile b/databases/pgpool2/Makefile
index 3a8ebc78f4e..a8441de7609 100644
--- a/databases/pgpool2/Makefile
+++ b/databases/pgpool2/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.9 2022/05/18 11:20:35 adam Exp $
+# $NetBSD: Makefile,v 1.10 2022/05/24 11:50:12 adam Exp $
-DISTNAME= pgpool-II-4.3.1
+DISTNAME= pgpool-II-4.3.2
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME:S/-II/2/}
CATEGORIES= databases
MASTER_SITES= https://www.pgpool.net/mediawiki/images/
@@ -66,6 +66,11 @@ CONF_FILES_PERMS+= ${EGDIR}/pool_passwd ${PKG_SYSCONFDIR}/pool_passwd \
post-install:
${TOUCH} ${DESTDIR}${PREFIX}/share/examples/pgpool2/pool_passwd
+PLIST_VARS+= llvm
.include "../../mk/pgsql.buildlink3.mk"
+.if !empty(PKG_OPTIONS.postgresql${PGSQL_VERSION}:Mllvm)
+PLIST.llvm= yes
+.endif
+
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/databases/pgpool2/PLIST b/databases/pgpool2/PLIST
index bf2946d599b..3414b24933b 100644
--- a/databases/pgpool2/PLIST
+++ b/databases/pgpool2/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.4 2022/05/18 11:20:35 adam Exp $
+@comment $NetBSD: PLIST,v 1.5 2022/05/24 11:50:12 adam Exp $
bin/pcp_attach_node
bin/pcp_detach_node
bin/pcp_health_check_stats
@@ -24,12 +24,12 @@ include/pcp.h
include/pool_process_reporting.h
include/pool_type.h
lib/libpcp.la
-lib/postgresql/bitcode/pgpool-recovery.index.bc
-lib/postgresql/bitcode/pgpool-recovery/pgpool-recovery.bc
-lib/postgresql/bitcode/pgpool-regclass.index.bc
-lib/postgresql/bitcode/pgpool-regclass/pgpool-regclass.bc
-lib/postgresql/bitcode/pgpool_adm.index.bc
-lib/postgresql/bitcode/pgpool_adm/pgpool_adm.bc
+${PLIST.llvm}lib/postgresql/bitcode/pgpool-recovery.index.bc
+${PLIST.llvm}lib/postgresql/bitcode/pgpool-recovery/pgpool-recovery.bc
+${PLIST.llvm}lib/postgresql/bitcode/pgpool-regclass.index.bc
+${PLIST.llvm}lib/postgresql/bitcode/pgpool-regclass/pgpool-regclass.bc
+${PLIST.llvm}lib/postgresql/bitcode/pgpool_adm.index.bc
+${PLIST.llvm}lib/postgresql/bitcode/pgpool_adm/pgpool_adm.bc
lib/postgresql/pgpool-recovery.so
lib/postgresql/pgpool-regclass.so
lib/postgresql/pgpool_adm.so
diff --git a/databases/pgpool2/distinfo b/databases/pgpool2/distinfo
index baa5eaff1f8..139a3e36cbb 100644
--- a/databases/pgpool2/distinfo
+++ b/databases/pgpool2/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.7 2022/05/18 11:20:35 adam Exp $
+$NetBSD: distinfo,v 1.8 2022/05/24 11:50:12 adam Exp $
-BLAKE2s (pgpool-II-4.3.1.tar.gz) = 780229c8c2adcf38a136641f849e0ef18bbf46a15dedf9bc2990cf85dcb48027
-SHA512 (pgpool-II-4.3.1.tar.gz) = a5417d9f5baa1b39e3645f7d44accf0a2f04d5fc5cb4d28089169aaebbd15c20b4cd280d09f15fa764c3b793117086fc03f5d7be584c0c5ff9c5f8e11ddb9ef8
-Size (pgpool-II-4.3.1.tar.gz) = 6034811 bytes
-SHA1 (patch-configure) = dc15a41b8f5d6572426514a155dc671ca2faa95c
+BLAKE2s (pgpool-II-4.3.2.tar.gz) = 11cae621379e32e1d16f4d738483d521b8b5bcc9404ad6a435983fe557131835
+SHA512 (pgpool-II-4.3.2.tar.gz) = 771426257eddb5c48504c80a2c8cccf44a18f7ea50df55654b7e9e017bda561a73a3e1f0db79785785ff6893d6df26f73b55310d0184ef3301838d12290d3d4c
+Size (pgpool-II-4.3.2.tar.gz) = 5846769 bytes
+SHA1 (patch-configure) = dcb361ee60f4cd3cdfad0ffb304ff4d4441ca6d3
SHA1 (patch-src_Makefile.in) = 467e7b9a2acf5459b29141812dc0e1ad6d01f72f
SHA1 (patch-src_auth_pool__hba.c) = e677effdc067273342adedfd0611661fc03ca059
SHA1 (patch-src_include_pool.h) = eae2f78a996e3204d75d23378ad6e95333282926
diff --git a/databases/pgpool2/patches/patch-configure b/databases/pgpool2/patches/patch-configure
index 42aadbb201c..5b7bd6df1d7 100644
--- a/databases/pgpool2/patches/patch-configure
+++ b/databases/pgpool2/patches/patch-configure
@@ -1,4 +1,4 @@
-$NetBSD: patch-configure,v 1.5 2022/05/18 11:20:35 adam Exp $
+$NetBSD: patch-configure,v 1.6 2022/05/24 11:50:12 adam Exp $
Pick a better name for the package.
@@ -10,6 +10,6 @@ Pick a better name for the package.
# Define the identity of the package.
- PACKAGE='pgpool-II'
+ PACKAGE='pgpool2'
- VERSION='4.3.1'
+ VERSION='4.3.2'