svn commit: r316219 - in head/net-mgmt/nagios-plugins: . files
Bryan Drewery
bdrewery at FreeBSD.org
Sun Apr 21 22:29:07 UTC 2013
Author: bdrewery
Date: Sun Apr 21 22:29:06 2013
New Revision: 316219
URL: http://svnweb.freebsd.org/changeset/ports/316219
Log:
- Fix check_ircd.pl so it works
More information: http://www.nntp.perl.org/group/perl.beginners/2011/02/msg115898.html
- Trim header
PR: ports/173638
Submitted by: Ryan Frederick <ryanrfrederick at gmail.com>
Approved by: maintainer timeout
Feature safe: yes
Modified:
head/net-mgmt/nagios-plugins/Makefile
head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl
Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile Sun Apr 21 22:16:15 2013 (r316218)
+++ head/net-mgmt/nagios-plugins/Makefile Sun Apr 21 22:29:06 2013 (r316219)
@@ -1,12 +1,9 @@
-# New ports collection makefile for: nagios-plugins
-# Date created: 14 Jul 2002
-# Whom: Blaz Zupan <blaz at si.FreeBSD.org>
-#
+# Created by: Blaz Zupan <blaz at si.FreeBSD.org>
# $FreeBSD$
-#
PORTNAME= nagios-plugins
PORTVERSION= 1.4.16
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= SF/nagiosplug/nagiosplug/${PORTVERSION}
Modified: head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl
==============================================================================
--- head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl Sun Apr 21 22:16:15 2013 (r316218)
+++ head/net-mgmt/nagios-plugins/files/patch-plugins-scripts__check_ircd.pl Sun Apr 21 22:29:06 2013 (r316219)
@@ -1,6 +1,6 @@
---- plugins-scripts/check_ircd.pl.orig Tue May 7 15:05:49 2002
-+++ plugins-scripts/check_ircd.pl Fri May 12 23:40:44 2006
-@@ -67,6 +67,7 @@
+--- plugins-scripts/check_ircd.pl.orig 2012-06-27 12:32:47.000000000 -0500
++++ plugins-scripts/check_ircd.pl 2012-11-14 20:58:01.479745211 -0600
+@@ -66,6 +66,7 @@
$ENV{PATH} = "";
$ENV{ENV} = "";
$ENV{BASH_ENV} = "";
@@ -8,3 +8,12 @@
# -----------------------------------------------------------------[ Global ]--
+@@ -153,7 +154,7 @@
+ print "IRCD UNKNOWN: Could not start socket ($!)\n";
+ exit $ERRORS{"UNKNOWN"};
+ }
+- $sockaddr = 'S n a4 x8';
++ $sockaddr = 'x C n a4 x8';
+ $that = pack($sockaddr, AF_INET, $in_remoteport, $thataddr);
+ if (!connect(ClientSocket, $that)) {
+ print "IRCD UNKNOWN: Could not connect socket ($!)\n";
More information about the svn-ports-head
mailing list