aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2016-01-12 07:48:30 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2016-01-12 07:48:30 +0000
commita53f6ef7959c81eb7d2efc95fe7db4a26124f69d (patch)
tree6dfb49d220f024118f743e64b71e567dd92e7b5d
parente69d75fd6d98bf87da908e0c57718f84bf4ade5a (diff)
Notes
-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