svn commit: r396440 - in head/net-mgmt/nagios-plugins: . files
Mathieu Arnold
mat at FreeBSD.org
Tue Sep 8 21:20:33 UTC 2015
Author: mat
Date: Tue Sep 8 21:20:32 2015
New Revision: 396440
URL: https://svnweb.freebsd.org/changeset/ports/396440
Log:
Fix check_file_age.
PR: 202973
Sponsored by: Absolight
Added:
head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl (contents, props changed)
Modified:
head/net-mgmt/nagios-plugins/Makefile
Modified: head/net-mgmt/nagios-plugins/Makefile
==============================================================================
--- head/net-mgmt/nagios-plugins/Makefile Tue Sep 8 20:53:51 2015 (r396439)
+++ head/net-mgmt/nagios-plugins/Makefile Tue Sep 8 21:20:32 2015 (r396440)
@@ -3,7 +3,7 @@
PORTNAME= nagios-plugins
PORTVERSION= 2.1.1
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= net-mgmt
MASTER_SITES= https://www.nagios-plugins.org/download/ \
Added: head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/net-mgmt/nagios-plugins/files/patch-plugins-scripts_check__file__age.pl Tue Sep 8 21:20:32 2015 (r396440)
@@ -0,0 +1,12 @@
+--- plugins-scripts/check_file_age.pl.orig 2015-09-08 21:18:08 UTC
++++ plugins-scripts/check_file_age.pl
+@@ -26,7 +26,8 @@ use English;
+ use Getopt::Long;
+ use File::stat;
+ use vars qw($PROGNAME);
+-use lib ".";
++use FindBin;
++use lib "$FindBin::Bin";
+ use utils qw (%ERRORS &print_revision &support);
+
+ sub print_help ();
More information about the svn-ports-all
mailing list