aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>2001-04-10 09:32:38 +0000
committerDirk Froemberg <dirk@FreeBSD.org>2001-04-10 09:32:38 +0000
commit79b4ce0266319027f6066fbfc86df3b3787c08e8 (patch)
treefbb9eb6faaa039cc6297d4b39e51b93c60065428 /net-mgmt
parentf6dc2348df9d027ec8d8ffd2d9851db7c7f23a11 (diff)
downloadports-79b4ce0266319027f6066fbfc86df3b3787c08e8.tar.gz
ports-79b4ce0266319027f6066fbfc86df3b3787c08e8.zip
Fix check_ntp (FreeBSD has /usr/sbin/ntpdc instead of /usr/sbin/xntpdc).
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=41187
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/nagios-plugins/Makefile1
-rw-r--r--net-mgmt/nagios-plugins/files/patch-ac11
-rw-r--r--net-mgmt/netsaint-plugins/Makefile1
-rw-r--r--net-mgmt/netsaint-plugins/files/patch-ac11
4 files changed, 24 insertions, 0 deletions
diff --git a/net-mgmt/nagios-plugins/Makefile b/net-mgmt/nagios-plugins/Makefile
index c70789aaadb7..7f1edf1066b2 100644
--- a/net-mgmt/nagios-plugins/Makefile
+++ b/net-mgmt/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-mgmt/nagios-plugins/files/patch-ac b/net-mgmt/nagios-plugins/files/patch-ac
new file mode 100644
index 000000000000..994cda94580f
--- /dev/null
+++ b/net-mgmt/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);
diff --git a/net-mgmt/netsaint-plugins/Makefile b/net-mgmt/netsaint-plugins/Makefile
index c70789aaadb7..7f1edf1066b2 100644
--- a/net-mgmt/netsaint-plugins/Makefile
+++ b/net-mgmt/netsaint-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-mgmt/netsaint-plugins/files/patch-ac b/net-mgmt/netsaint-plugins/files/patch-ac
new file mode 100644
index 000000000000..994cda94580f
--- /dev/null
+++ b/net-mgmt/netsaint-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);