summaryrefslogtreecommitdiffstats
path: root/net/nagios-plugins
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-04-10 09:32:38 +0000
committerdirk <dirk@FreeBSD.org>2001-04-10 09:32:38 +0000
commit39528ef71b765134632625e9297607527bc5bc5f (patch)
treeaafd242b6bf2531d46240d706c4ae4ed004203ca /net/nagios-plugins
parent690d6329fb2b6653aff7cf50015e79c4afefe753 (diff)
downloadFreeBSD-ports-39528ef71b765134632625e9297607527bc5bc5f.zip
FreeBSD-ports-39528ef71b765134632625e9297607527bc5bc5f.tar.gz
Fix check_ntp (FreeBSD has /usr/sbin/ntpdc instead of /usr/sbin/xntpdc).
Approved by: maintainer
Diffstat (limited to 'net/nagios-plugins')
-rw-r--r--net/nagios-plugins/Makefile1
-rw-r--r--net/nagios-plugins/files/patch-ac11
2 files changed, 12 insertions, 0 deletions
diff --git a/net/nagios-plugins/Makefile b/net/nagios-plugins/Makefile
index c70789a..7f1edf1 100644
--- a/net/nagios-plugins/Makefile
+++ b/net/nagios-plugins/Makefile
@@ -7,6 +7,7 @@
PORTNAME= netsaint-plugins
PORTVERSION= 1.2.9.3
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://download.sourceforge.net/netsaintplug/
DISTNAME= ${PORTNAME}-1.2.9-3
diff --git a/net/nagios-plugins/files/patch-ac b/net/nagios-plugins/files/patch-ac
new file mode 100644
index 0000000..994cda9
--- /dev/null
+++ b/net/nagios-plugins/files/patch-ac
@@ -0,0 +1,11 @@
+--- plugins-scripts/check_ntp.pl.orig Mon Aug 28 17:00:59 2000
++++ plugins-scripts/check_ntp.pl Mon Apr 9 19:37:32 2001
+@@ -153,7 +153,7 @@
+ ###
+ ###
+
+-if (#open(NTPDC,"/usr/sbin/ntpdc -c $host 2>&1 |") ||
++if (open(NTPDC,"/usr/sbin/ntpdc -c $host 2>&1 |") ||
+ open(NTPDC,"/usr/sbin/xntpdc -c $host 2>&1 |") ) {
+ while (<NTPDC>) {
+ print if ($verbose);
OpenPOWER on IntegriCloud