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 4.1.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/06df5182f66a
branches:  trunk
changeset: 311566:06df5182f66a
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Aug 14 13:41:39 2018 +0000

description:
repmgr: updated to 4.1.0

4.1.0:
Configuration file changes
* Default for log_level is now INFO. This produces additional informative log output, without creating excessive additional log file volume, and matches the setting assumed for examples in the 
documentation.
* recovery_min_apply_delay now accepts a minimum value of zero

repmgr enhancements
* repmgr: always exit with an error if an unrecognised command line option is provided. This matches the behaviour of other PostgreSQL utilities such as psql.
* repmgr: add -q/--quiet option to suppress non-error output.
* repmgr cluster show, repmgr node check and repmgr node status return non-zero exit code if node status issues detected.
* Add --csv output option for repmgr cluster event.
* repmgr witness unregister can be run on any node, by providing the ID of the witness node with --node-id.
* repmgr standby switchover will refuse to run if an exclusive backup is taking place on the current primary.

repmgrd enhancements
repmgrd: create a PID file by default. For details, see repmgrd's PID file.
repmgrd: daemonize process by default. In case, for whatever reason, the user does not wish to daemonize the process, provide --daemonize=false.

Bug fixes
repmgr standby register --wait-sync: fix behaviour when no timeout provided.
repmgr cluster cleanup: add missing help options.
Ensure witness node follows new primary after switchover.
repmgr node check and repmgr node status: fix witness node handling.

diffstat:

 databases/repmgr/Makefile |  21 +++++++++------------
 databases/repmgr/PLIST    |   4 +++-
 databases/repmgr/distinfo |  10 +++++-----
 3 files changed, 17 insertions(+), 18 deletions(-)

diffs (74 lines):

diff -r 14e5170fc828 -r 06df5182f66a databases/repmgr/Makefile
--- a/databases/repmgr/Makefile Tue Aug 14 13:21:07 2018 +0000
+++ b/databases/repmgr/Makefile Tue Aug 14 13:41:39 2018 +0000
@@ -1,30 +1,27 @@
-# $NetBSD: Makefile,v 1.1 2017/12/08 15:27:46 jperkin Exp $
+# $NetBSD: Makefile,v 1.2 2018/08/14 13:41:39 adam Exp $
 
-DISTNAME=      repmgr-4.0.1
+DISTNAME=      repmgr-4.1.0
 PKGNAME=       postgresql${PGSQL_VERSION}-${DISTNAME}
 CATEGORIES=    databases
-MASTER_SITES=  ${MASTER_SITE_GITHUB:=2ndQuadrant/}
-GITHUB_PROJECT=        repmgr
-GITHUB_TAG=    v${PKGVERSION_NOREV}
+MASTER_SITES=  https://repmgr.org/download/
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      https://github.com/2ndQuadrant/repmgr/
-COMMENT=       The Most Popular Replication Manager for PostgreSQL (Postgres)
+HOMEPAGE=      https://repmgr.org/
+COMMENT=       Replication Manager for PostgreSQL clusters
 LICENSE=       gnu-gpl-v3
 
 DEPENDS+=      postgresql${PGSQL_VERSION}-server>=0:../../databases/postgresql${PGSQL_VERSION}-server
 
-GNU_CONFIGURE= yes
-USE_TOOLS+=    gmake
-
-SMF_NAME=      postgresql-repmgr
+USE_TOOLS+=            gmake
+GNU_CONFIGURE=         yes
+PKG_SYSCONFSUBDIR=     postgresql
 
 BUILD_DEFS+=   PGUSER PGGROUP PGHOME
 FILES_SUBST+=  PGUSER=${PGUSER} PGGROUP=${PGGROUP} PGHOME=${PGHOME}
 
 DOCDIR=                share/doc/repmgr
 EGDIR=         share/examples/repmgr
-PKG_SYSCONFSUBDIR=     postgresql
+SMF_NAME=      postgresql-repmgr
 
 INSTALLATION_DIRS+=    ${DOCDIR} ${EGDIR}
 
diff -r 14e5170fc828 -r 06df5182f66a databases/repmgr/PLIST
--- a/databases/repmgr/PLIST    Tue Aug 14 13:21:07 2018 +0000
+++ b/databases/repmgr/PLIST    Tue Aug 14 13:41:39 2018 +0000
@@ -1,9 +1,11 @@
-@comment $NetBSD: PLIST,v 1.1 2017/12/08 15:27:46 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.2 2018/08/14 13:41:39 adam Exp $
 bin/repmgr
 bin/repmgrd
 lib/postgresql/repmgr.so
 share/doc/repmgr/README.md
 share/examples/repmgr/repmgr.conf.sample
+share/postgresql/extension/repmgr--4.0--4.1.sql
 share/postgresql/extension/repmgr--4.0.sql
+share/postgresql/extension/repmgr--4.1.sql
 share/postgresql/extension/repmgr--unpackaged--4.0.sql
 share/postgresql/extension/repmgr.control
diff -r 14e5170fc828 -r 06df5182f66a databases/repmgr/distinfo
--- a/databases/repmgr/distinfo Tue Aug 14 13:21:07 2018 +0000
+++ b/databases/repmgr/distinfo Tue Aug 14 13:41:39 2018 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2017/12/08 15:27:46 jperkin Exp $
+$NetBSD: distinfo,v 1.2 2018/08/14 13:41:39 adam Exp $
 
-SHA1 (repmgr-4.0.1.tar.gz) = dbf6e5b6985c931ef78455ea04c88deec02fd8bc
-RMD160 (repmgr-4.0.1.tar.gz) = 473a68703ecea079a4a12bb8aeac63804aedcb07
-SHA512 (repmgr-4.0.1.tar.gz) = 73c2af83b6b9cb7b4df1a05aa0211083b3ec6d71f7e2dd1c6cbbcde09bef7c5f5d794037b33ad7dba6ef34fe514f6915c9f38ccfea325aeea76c538b1b4809a9
-Size (repmgr-4.0.1.tar.gz) = 275800 bytes
+SHA1 (repmgr-4.1.0.tar.gz) = 6f7e3a2605a5bb60b74b4f55baf91147a846cd5d
+RMD160 (repmgr-4.1.0.tar.gz) = adcf657cb075453fa553f0a80ddf1d4a0eba105e
+SHA512 (repmgr-4.1.0.tar.gz) = f92010e300e6a545188f943bc823e5615cc6e97a8daee52926ce15c63171f51de3c3aa025818a5d1403bf6b71498bf1408c706dd0a54f4719935f30ba2bd017a
+Size (repmgr-4.1.0.tar.gz) = 318248 bytes



Home | Main Index | Thread Index | Old Index