pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/repmgr repmgr: updated to 5.2.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/e5575924f111
branches: trunk
changeset: 443199:e5575924f111
user: adam <adam%pkgsrc.org@localhost>
date: Tue Dec 08 16:38:26 2020 +0000
description:
repmgr: updated to 5.2.1
repmgr 5.2.1 is a minor release.
A.1.1. Improvements
repmgr standby clone: option --recovery-min-apply-delay added, overriding any setting present in repmgr.conf.
A.1.2. Bug fixes
Configuration: fix parsing of replication_type configuration parameter.
repmgr standby clone: handle case where postgresql.auto.conf is absent on the source node.
repmgr standby clone: in PostgreSQL 11 and later, an existing data directory's permissions will not be changed to 0700 if they are already set to 0750.
repmgrd: prevent termination when local node not available and standby_disconnect_on_failover is set.
repmgrd: ensure reconnect_interval is correctly handled.
repmgr witness --help: fix witness unregister description.
diffstat:
databases/repmgr/Makefile | 8 ++++----
databases/repmgr/distinfo | 12 ++++++------
databases/repmgr/patches/patch-Makefile.in | 28 ++++++++++++++++++++++++++++
databases/repmgr/patches/patch-repmgr.c | 15 ---------------
4 files changed, 38 insertions(+), 25 deletions(-)
diffs (91 lines):
diff -r 8e9595ef8953 -r e5575924f111 databases/repmgr/Makefile
--- a/databases/repmgr/Makefile Tue Dec 08 15:04:44 2020 +0000
+++ b/databases/repmgr/Makefile Tue Dec 08 16:38:26 2020 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2020/11/05 09:07:49 ryoon Exp $
+# $NetBSD: Makefile,v 1.13 2020/12/08 16:38:26 adam Exp $
-DISTNAME= repmgr-5.2.0
+DISTNAME= repmgr-5.2.1
PKGNAME= postgresql${PGSQL_VERSION}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= databases
MASTER_SITES= https://repmgr.org/download/
@@ -42,6 +41,7 @@
${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample \
${DESTDIR}${PREFIX}/${EGDIR}
-.include "../../mk/readline.buildlink3.mk"
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../mk/readline.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r 8e9595ef8953 -r e5575924f111 databases/repmgr/distinfo
--- a/databases/repmgr/distinfo Tue Dec 08 15:04:44 2020 +0000
+++ b/databases/repmgr/distinfo Tue Dec 08 16:38:26 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.9 2020/10/30 09:55:13 adam Exp $
+$NetBSD: distinfo,v 1.10 2020/12/08 16:38:26 adam Exp $
-SHA1 (repmgr-5.2.0.tar.gz) = b51474d70f2f0636377f48e9506b54f34e1d555a
-RMD160 (repmgr-5.2.0.tar.gz) = a123452de6e9d0490024fd71ad56ec603821b35c
-SHA512 (repmgr-5.2.0.tar.gz) = 4e9fbbba42025226d9b0e13f180f4f8b2ffbafd2b84a4ec9ffe36a804d40f3fc0d8b599bb859b4bdb0ca739d974d014a96e31868e5a48e34df2666c98a314553
-Size (repmgr-5.2.0.tar.gz) = 446137 bytes
-SHA1 (patch-repmgr.c) = e83bdddf1722e4cb5d1861baa33ab8c6930db693
+SHA1 (repmgr-5.2.1.tar.gz) = 2368a114934e78e5b316bed535b2794f4a3e81e9
+RMD160 (repmgr-5.2.1.tar.gz) = 055261e39aab9a157a7ebe857e95baf3c5da39b0
+SHA512 (repmgr-5.2.1.tar.gz) = 609ca27322087a042ede3a54565e425e9f39d74df510cbc103390cf60a31b35ce311cd942d5efd062bec2026864bd45466dbaf323963060d3ce89ce167c2a0b1
+Size (repmgr-5.2.1.tar.gz) = 448164 bytes
+SHA1 (patch-Makefile.in) = 9f9a41e4366bc8f7246eaef707ff33127659c777
diff -r 8e9595ef8953 -r e5575924f111 databases/repmgr/patches/patch-Makefile.in
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/repmgr/patches/patch-Makefile.in Tue Dec 08 16:38:26 2020 +0000
@@ -0,0 +1,28 @@
+$NetBSD: patch-Makefile.in,v 1.1 2020/12/08 16:38:26 adam Exp $
+
+Link against libintl.
+
+--- Makefile.in.orig 2020-12-07 08:54:14.000000000 +0000
++++ Makefile.in
+@@ -40,7 +40,7 @@ all: \
+
+ # When in development add -Werror
+ PG_CPPFLAGS = -std=gnu89 -I$(includedir_internal) -I$(libpq_srcdir) -Wall -Wmissing-prototypes -Wmissing-declarations $(EXTRA_CFLAGS)
+-SHLIB_LINK = $(libpq)
++SHLIB_LINK = $(libpq) -lintl
+
+
+
+@@ -76,10 +76,10 @@ configfile-scan.c: configfile-scan.l
+ $(REPMGR_CLIENT_OBJS): repmgr-client.h repmgr_version.h
+
+ repmgr: $(REPMGR_CLIENT_OBJS)
+- $(CC) $(CFLAGS) $(REPMGR_CLIENT_OBJS) $(libpq_pgport) $(LDFLAGS) $(LDFLAGS_EX) -o $@$(X)
++ $(CC) $(CFLAGS) $(REPMGR_CLIENT_OBJS) $(libpq_pgport) -lintl $(LDFLAGS) $(LDFLAGS_EX) -o $@$(X)
+
+ repmgrd: $(REPMGRD_OBJS)
+- $(CC) $(CFLAGS) $(REPMGRD_OBJS) $(libpq_pgport) $(LDFLAGS) $(LDFLAGS_EX) -o $@$(X)
++ $(CC) $(CFLAGS) $(REPMGRD_OBJS) $(libpq_pgport) -lintl $(LDFLAGS) $(LDFLAGS_EX) -o $@$(X)
+
+ $(REPMGR_CLIENT_OBJS): $(HEADERS)
+ $(REPMGRD_OBJS): $(HEADERS)
diff -r 8e9595ef8953 -r e5575924f111 databases/repmgr/patches/patch-repmgr.c
--- a/databases/repmgr/patches/patch-repmgr.c Tue Dec 08 15:04:44 2020 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,15 +0,0 @@
-$NetBSD: patch-repmgr.c,v 1.1 2019/07/12 12:49:26 adam Exp $
-
-repmgr is not linked against gettext.
-
---- repmgr.c.orig 2019-07-12 11:42:23.000000000 +0000
-+++ repmgr.c
-@@ -784,7 +784,7 @@ repmgrd_pause(PG_FUNCTION_ARGS)
-
- if (fwrite(buf.data, strlen(buf.data) + 1, 1, file) != 1)
- {
-- elog(WARNING, _("unable to write to file %s"), REPMGRD_STATE_FILE);
-+ elog(WARNING, "unable to write to file %s", REPMGRD_STATE_FILE);
- }
-
- pfree(buf.data);
Home |
Main Index |
Thread Index |
Old Index