aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authormatthew <matthew@FreeBSD.org>2016-01-12 15:48:30 +0800
committermatthew <matthew@FreeBSD.org>2016-01-12 15:48:30 +0800
commit422ef16f43a09f59a31a8daee2fdaf6d66d93899 (patch)
tree6dfb49d220f024118f743e64b71e567dd92e7b5d /net-mgmt
parentd144fcb7f0be7bff4e3dc521984b518a5cb7b21f (diff)
downloadfreebsd-ports-gnome-422ef16f43a09f59a31a8daee2fdaf6d66d93899.tar.gz
freebsd-ports-gnome-422ef16f43a09f59a31a8daee2fdaf6d66d93899.tar.zst
freebsd-ports-gnome-422ef16f43a09f59a31a8daee2fdaf6d66d93899.zip
Update to 2.22
- use OPTIONS_TARGETS ChangeLog: https://mail.endcrypt.com/pipermail/check_postgres-announce/2015-July/000035.html
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios-check_postgres/Makefile11
-rw-r--r--net-mgmt/nagios-check_postgres/distinfo4
2 files changed, 6 insertions, 9 deletions
diff --git a/net-mgmt/nagios-check_postgres/Makefile b/net-mgmt/nagios-check_postgres/Makefile
index 568711b573d6..7e3b49b6c34c 100644
--- a/net-mgmt/nagios-check_postgres/Makefile
+++ b/net-mgmt/nagios-check_postgres/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= check_postgres
-PORTVERSION= 2.21.0
-PORTREVISION= 5
+PORTVERSION= 2.22.0
CATEGORIES= net-mgmt databases perl5
MASTER_SITES= http://bucardo.org/downloads/
PKGNAMEPREFIX= nagios-
@@ -96,21 +95,19 @@ CACTI_LINKS= dbstats
post-patch:
${REINPLACE_CMD} -e s,%%LOCALBASE%%,${LOCALBASE}, ${WRKSRC}/check_postgres.pl
-post-install:
-.if ${PORT_OPTIONS:MNAGIOS}
+post-install-NAGIOS-on:
@${MKDIR} ${STAGEDIR}${NAGIOS_PLUGINS}
.for l in ${NAGIOS_LINKS}
${LN} -s ../../bin/check_postgres.pl \
${STAGEDIR}${NAGIOS_PLUGINS}/check_postgres_${l}
.endfor
-.endif
-.if ${PORT_OPTIONS:MCACTI}
+
+post-install-CACTI-on:
@${MKDIR} ${STAGEDIR}${CACTI_SCRIPTS}
.for l in ${CACTI_LINKS}
${LN} -s ../../../bin/check_postgres.pl \
${STAGEDIR}${CACTI_SCRIPTS}/check_postgres_${l}
.endfor
-.endif
regression-test: build
@cd ${WRKSRC} && ${MAKE} test
diff --git a/net-mgmt/nagios-check_postgres/distinfo b/net-mgmt/nagios-check_postgres/distinfo
index 946003c13c60..57934e5f0036 100644
--- a/net-mgmt/nagios-check_postgres/distinfo
+++ b/net-mgmt/nagios-check_postgres/distinfo
@@ -1,2 +1,2 @@
-SHA256 (check_postgres-2.21.0.tar.gz) = e0fdfe9c0d8188b6bb52896c87257a35311f5aea0f0e2ce332961be034314298
-SIZE (check_postgres-2.21.0.tar.gz) = 178511
+SHA256 (check_postgres-2.22.0.tar.gz) = 29cd8ea0a0c0fcd79a1e6afb3f5a1d662c1658eef207ea89276ddb30121b85a8
+SIZE (check_postgres-2.22.0.tar.gz) = 180992