databases/postgresql-repmgr: Update version 3.3.1=>4.0.1

Relnotes:	https://repmgr.org/docs/4.0/release-4.0.1.html
This commit is contained in:
Muhammad Moinur Rahman 2018-01-08 12:55:59 +00:00
parent b743d525b8
commit 4a3a90c018
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=458407
4 changed files with 19 additions and 21 deletions

View File

@ -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}

View File

@ -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

View File

@ -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"

View File

@ -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