diff options
author | bofh <bofh@FreeBSD.org> | 2018-01-08 20:55:59 +0800 |
---|---|---|
committer | bofh <bofh@FreeBSD.org> | 2018-01-08 20:55:59 +0800 |
commit | 56cd5598042a4197482533623e57e032ff3cd513 (patch) | |
tree | 4a85f8b552beacd6cd45e528da3399707b94c0b3 /databases | |
parent | 253726d81b01316ce5fad0752582a4dc06472529 (diff) | |
download | freebsd-ports-gnome-56cd5598042a4197482533623e57e032ff3cd513.tar.gz freebsd-ports-gnome-56cd5598042a4197482533623e57e032ff3cd513.tar.zst freebsd-ports-gnome-56cd5598042a4197482533623e57e032ff3cd513.zip |
databases/postgresql-repmgr: Update version 3.3.1=>4.0.1
Relnotes: https://repmgr.org/docs/4.0/release-4.0.1.html
Diffstat (limited to 'databases')
-rw-r--r-- | databases/postgresql-repmgr/Makefile | 22 | ||||
-rw-r--r-- | databases/postgresql-repmgr/distinfo | 6 | ||||
-rw-r--r-- | databases/postgresql-repmgr/files/repmgrd.in | 2 | ||||
-rw-r--r-- | databases/postgresql-repmgr/pkg-plist | 10 |
4 files changed, 19 insertions, 21 deletions
diff --git a/databases/postgresql-repmgr/Makefile b/databases/postgresql-repmgr/Makefile index 390be67ce8aa..32461212c864 100644 --- a/databases/postgresql-repmgr/Makefile +++ b/databases/postgresql-repmgr/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= postgresql-repmgr -PORTVERSION= 3.3.1 +PORTVERSION= 4.0.1 CATEGORIES= databases MASTER_SITES= http://www.repmgr.org/download/ DISTNAME= repmgr-${PORTVERSION} @@ -14,25 +14,23 @@ LICENSE= GPLv3 RUN_DEPENDS= rsync:net/rsync +GNU_CONFIGURE= yes USES+= gettext gmake pgsql:9.3+ USE_RC_SUBR= repmgrd WANT_PGSQL= server MAKE_ENV= USE_PGXS=1 +LIBS= -L${LOCALBASE}/lib -lintl OPTIONS_DEFINE= DOCS -PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAILOVER.rst FAQ.md HISTORY LICENSE \ - PACKAGES.md QUICKSTART.md README.md SSH-RSYNC.md TODO -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/repmgr ${STAGEDIR}${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/repmgrd ${STAGEDIR}${PREFIX}/sbin +PORTDOCS= CONTRIBUTING.md COPYRIGHT CREDITS FAQ.md HISTORY LICENSE PACKAGES.md \ + README.md + +post-install: ${INSTALL_DATA} ${WRKSRC}/repmgr.conf.sample ${STAGEDIR}${PREFIX}/etc - @${MKDIR} ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/repmgr.sql ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/sql/repmgr_funcs.sql ${STAGEDIR}${DATADIR} - ${INSTALL_DATA} ${WRKSRC}/sql/uninstall_repmgr_funcs.sql ${STAGEDIR}${DATADIR} - @${MKDIR} ${STAGEDIR}${PREFIX}/lib/postgresql - ${INSTALL_LIB} ${WRKSRC}/sql/repmgr_funcs.so ${STAGEDIR}${PREFIX}/lib/postgresql + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgr + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/repmgrd + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/postgresql/repmgr.so do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} diff --git a/databases/postgresql-repmgr/distinfo b/databases/postgresql-repmgr/distinfo index d7d210de4d71..1d9105053a9d 100644 --- a/databases/postgresql-repmgr/distinfo +++ b/databases/postgresql-repmgr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1491697066 -SHA256 (repmgr-3.3.1.tar.gz) = 221654301c8cc33927e43d1b867a804bc9c7d2bc03ffd45caa78bf381350a85d -SIZE (repmgr-3.3.1.tar.gz) = 160318 +TIMESTAMP = 1515100389 +SHA256 (repmgr-4.0.1.tar.gz) = b849097c0a8aaa5964e6f0eecea7a9f4749e2ebffca1c5bec2da7bbb8a85344c +SIZE (repmgr-4.0.1.tar.gz) = 275922 diff --git a/databases/postgresql-repmgr/files/repmgrd.in b/databases/postgresql-repmgr/files/repmgrd.in index 50d802878289..86db6c9c7135 100644 --- a/databases/postgresql-repmgr/files/repmgrd.in +++ b/databases/postgresql-repmgr/files/repmgrd.in @@ -25,7 +25,7 @@ load_rc_config $name : ${repmgrd_user:="pgsql"} : ${repmgrd_config="%%PREFIX%%/etc/repmgr.conf"} -command=%%PREFIX%%/sbin/${name} +command=%%PREFIX%%/bin/${name} pidfile=/var/run/${name}.pid command_args="-m -d -p $pidfile -f $repmgrd_config" diff --git a/databases/postgresql-repmgr/pkg-plist b/databases/postgresql-repmgr/pkg-plist index 1538ec6e33b7..25279acbdbc8 100644 --- a/databases/postgresql-repmgr/pkg-plist +++ b/databases/postgresql-repmgr/pkg-plist @@ -1,7 +1,7 @@ bin/repmgr +bin/repmgrd +lib/postgresql/repmgr.so +share/postgresql/extension/repmgr--4.0.sql +share/postgresql/extension/repmgr--unpackaged--4.0.sql +share/postgresql/extension/repmgr.control @sample etc/repmgr.conf.sample -sbin/repmgrd -lib/postgresql/repmgr_funcs.so -%%DATADIR%%/repmgr.sql -%%DATADIR%%/repmgr_funcs.sql -%%DATADIR%%/uninstall_repmgr_funcs.sql |