aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/postgresql-repmgr/Makefile2
-rw-r--r--databases/postgresql-repmgr/distinfo6
-rw-r--r--databases/postgresql-repmgr/files/repmgrd.in4
-rw-r--r--databases/postgresql-repmgr/pkg-plist3
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