diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2020-10-24 23:52:38 +0000 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2020-10-24 23:52:38 +0000 |
commit | 4108d9347b66c3f5a98e25a2aaa6c6e5b4406123 (patch) | |
tree | 741b41cb4d84328ce865eb60ba71a1312c7986e0 | |
parent | 03c56ec12f5fd4e5842826498c5bd3b47857bc0b (diff) |
databases/postgresql-repmgr: Update version 5.1.0=>5.2.0
- Fix service start if pid file doesn't exist [1]
PR: 250012 [1]
Submitted by: ole@free.de [1]
Relnotes: https://repmgr.org/docs/current/release-5.2.0.html
Notes
Notes:
svn path=/head/; revision=553232
-rw-r--r-- | databases/postgresql-repmgr/Makefile | 2 | ||||
-rw-r--r-- | databases/postgresql-repmgr/distinfo | 6 | ||||
-rw-r--r-- | databases/postgresql-repmgr/files/repmgrd.in | 4 | ||||
-rw-r--r-- | databases/postgresql-repmgr/pkg-plist | 3 |
4 files changed, 10 insertions, 5 deletions
diff --git a/databases/postgresql-repmgr/Makefile b/databases/postgresql-repmgr/Makefile index 134cc5057f9f..d424a38c3d1e 100644 --- a/databases/postgresql-repmgr/Makefile +++ b/databases/postgresql-repmgr/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= postgresql-repmgr -PORTVERSION= 5.1.0 +PORTVERSION= 5.2.0 CATEGORIES= databases MASTER_SITES= http://www.repmgr.org/download/ DISTNAME= repmgr-${PORTVERSION} diff --git a/databases/postgresql-repmgr/distinfo b/databases/postgresql-repmgr/distinfo index 27d537fd7c53..362b8e6e2016 100644 --- a/databases/postgresql-repmgr/distinfo +++ b/databases/postgresql-repmgr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1587585956 -SHA256 (repmgr-5.1.0.tar.gz) = 79e71bc0aa68a7ae9d263127e4a451749c120e55504bea1f1bc9b0baeb49e0d5 -SIZE (repmgr-5.1.0.tar.gz) = 426487 +TIMESTAMP = 1603484572 +SHA256 (repmgr-5.2.0.tar.gz) = 7e4b6f2e60a90235db143d185e9f5b60db3f07c4610833129f8f90bd1c5d7b85 +SIZE (repmgr-5.2.0.tar.gz) = 446137 diff --git a/databases/postgresql-repmgr/files/repmgrd.in b/databases/postgresql-repmgr/files/repmgrd.in index 86db6c9c7135..7bc7126ef940 100644 --- a/databases/postgresql-repmgr/files/repmgrd.in +++ b/databases/postgresql-repmgr/files/repmgrd.in @@ -28,7 +28,9 @@ load_rc_config $name command=%%PREFIX%%/bin/${name} pidfile=/var/run/${name}.pid +touch $pidfile +chown $repmgrd_user $pidfile + command_args="-m -d -p $pidfile -f $repmgrd_config" run_rc_command "$1" - diff --git a/databases/postgresql-repmgr/pkg-plist b/databases/postgresql-repmgr/pkg-plist index 3fe1434c339f..c34fc85afa45 100644 --- a/databases/postgresql-repmgr/pkg-plist +++ b/databases/postgresql-repmgr/pkg-plist @@ -14,7 +14,10 @@ share/postgresql/extension/repmgr--4.4--5.0.sql share/postgresql/extension/repmgr--5.0.sql share/postgresql/extension/repmgr--5.0--5.1.sql share/postgresql/extension/repmgr--5.1.sql +share/postgresql/extension/repmgr--5.1--5.2.sql +share/postgresql/extension/repmgr--5.2.sql share/postgresql/extension/repmgr--unpackaged--4.0.sql share/postgresql/extension/repmgr--unpackaged--5.1.sql +share/postgresql/extension/repmgr--unpackaged--5.2.sql share/postgresql/extension/repmgr.control @sample etc/repmgr.conf.sample |