From 39528ef71b765134632625e9297607527bc5bc5f Mon Sep 17 00:00:00 2001 From: dirk Date: Tue, 10 Apr 2001 09:32:38 +0000 Subject: Fix check_ntp (FreeBSD has /usr/sbin/ntpdc instead of /usr/sbin/xntpdc). Approved by: maintainer --- net/netsaint-plugins/Makefile | 1 + net/netsaint-plugins/files/patch-ac | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 net/netsaint-plugins/files/patch-ac (limited to 'net/netsaint-plugins') diff --git a/net/netsaint-plugins/Makefile b/net/netsaint-plugins/Makefile index c70789aaadb7..7f1edf1066b2 100644 --- a/net/netsaint-plugins/Makefile +++ b/net/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/netsaint-plugins/files/patch-ac b/net/netsaint-plugins/files/patch-ac new file mode 100644 index 000000000000..994cda94580f --- /dev/null +++ b/net/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 () { + print if ($verbose); -- cgit