diff options
author | bofh <bofh@FreeBSD.org> | 2017-03-05 18:40:45 +0800 |
---|---|---|
committer | bofh <bofh@FreeBSD.org> | 2017-03-05 18:40:45 +0800 |
commit | b9f69b83060b66c610515d6be6d54287ee4cce51 (patch) | |
tree | 945bea9d84f6f341b9c2020e8a5a958808e9b869 /databases/postgresql-repmgr | |
parent | e7a26af5118f99a665eb17d6b36a9580e38f2c54 (diff) | |
download | freebsd-ports-gnome-b9f69b83060b66c610515d6be6d54287ee4cce51.tar.gz freebsd-ports-gnome-b9f69b83060b66c610515d6be6d54287ee4cce51.tar.zst freebsd-ports-gnome-b9f69b83060b66c610515d6be6d54287ee4cce51.zip |
databases/postgresql-repmgr: Update version 3.1.5=>3.3
- Daemon would better run as pgsql user, and for safety by default in
monitor only mode [1]
PR: 212490 [1]
Submitted by: marck [1]
Diffstat (limited to 'databases/postgresql-repmgr')
-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 | 3 |
3 files changed, 6 insertions, 5 deletions
diff --git a/databases/postgresql-repmgr/Makefile b/databases/postgresql-repmgr/Makefile index c1167f246f72..2b37b6762a70 100644 --- a/databases/postgresql-repmgr/Makefile +++ b/databases/postgresql-repmgr/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= postgresql-repmgr -PORTVERSION= 3.1.5 +PORTVERSION= 3.3 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 c30cd397de35..29414c9f9fbb 100644 --- a/databases/postgresql-repmgr/distinfo +++ b/databases/postgresql-repmgr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1471377483 -SHA256 (repmgr-3.1.5.tar.gz) = d821fdd427d82a89e455553967f1bc205d73b2daf0899c74a5be1f22aab65b4f -SIZE (repmgr-3.1.5.tar.gz) = 129541 +TIMESTAMP = 1488675286 +SHA256 (repmgr-3.3.tar.gz) = d96bf300c84eff3cefcc8f6b97cddd607971b4c6841426cb1cfcbd7f9c45604b +SIZE (repmgr-3.3.tar.gz) = 159039 diff --git a/databases/postgresql-repmgr/files/repmgrd.in b/databases/postgresql-repmgr/files/repmgrd.in index 33f7b336890c..50d802878289 100644 --- a/databases/postgresql-repmgr/files/repmgrd.in +++ b/databases/postgresql-repmgr/files/repmgrd.in @@ -22,12 +22,13 @@ rcvar=repmgrd_enable load_rc_config $name : ${repmgrd_enable:="NO"} +: ${repmgrd_user:="pgsql"} : ${repmgrd_config="%%PREFIX%%/etc/repmgr.conf"} command=%%PREFIX%%/sbin/${name} pidfile=/var/run/${name}.pid -command_args="-p $pidfile -f $repmgrd_config" +command_args="-m -d -p $pidfile -f $repmgrd_config" run_rc_command "$1" |