aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2006-04-15 18:41:33 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2006-04-15 18:41:33 +0000
commit2ed665eba1c976284327000e839f4c10c22a9655 (patch)
tree4569a1ef5e1e17fbd96eb1c7f322c0e6db04c9fe /net-mgmt
parent5a40c8ac793e9eef57910923f70a3df4c8d20fa5 (diff)
downloadports-2ed665eba1c976284327000e839f4c10c22a9655.tar.gz
ports-2ed665eba1c976284327000e839f4c10c22a9655.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/cacti/Makefile2
-rw-r--r--net-mgmt/cacti/files/patch-scripts-diskfree.pl (renamed from net-mgmt/cacti/files/patch-fix_df_output)0
-rw-r--r--net-mgmt/cacti/files/patch-scripts-ping.pl10
-rw-r--r--net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl11
4 files changed, 22 insertions, 1 deletions
diff --git a/net-mgmt/cacti/Makefile b/net-mgmt/cacti/Makefile
index 7ded291099d6..816c7ea314eb 100644
--- a/net-mgmt/cacti/Makefile
+++ b/net-mgmt/cacti/Makefile
@@ -7,7 +7,7 @@
PORTNAME= cacti
PORTVERSION= 0.8.6h
-PORTREVISION= 41
+PORTREVISION= 42
CATEGORIES= net www
MASTER_SITES= http://www.cacti.net/downloads/
diff --git a/net-mgmt/cacti/files/patch-fix_df_output b/net-mgmt/cacti/files/patch-scripts-diskfree.pl
index 8df567b2255f..8df567b2255f 100644
--- a/net-mgmt/cacti/files/patch-fix_df_output
+++ b/net-mgmt/cacti/files/patch-scripts-diskfree.pl
diff --git a/net-mgmt/cacti/files/patch-scripts-ping.pl b/net-mgmt/cacti/files/patch-scripts-ping.pl
new file mode 100644
index 000000000000..9b42be1fc4e5
--- /dev/null
+++ b/net-mgmt/cacti/files/patch-scripts-ping.pl
@@ -0,0 +1,10 @@
+--- scripts/ping.pl.orig Sat Apr 15 22:26:44 2006
++++ scripts/ping.pl Sat Apr 15 22:27:16 2006
+@@ -1,6 +1,6 @@
+ #!/usr/bin/perl
+
+-open(PROCESS, "ping -c 1 $ARGV[0] | grep icmp_seq |");
++open(PROCESS, "/sbin/ping -c 1 $ARGV[0] | grep icmp_seq |");
+ $ping = <PROCESS>;
+ close(PROCESS);
+ $ping =~ m/(.*time=)(.*) (ms|usec)/;
diff --git a/net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl b/net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl
new file mode 100644
index 000000000000..9af889b0dae4
--- /dev/null
+++ b/net-mgmt/cacti/files/patch-scripts-query_unix_partitions.pl
@@ -0,0 +1,11 @@
+--- scripts/query_unix_partitions.pl.orig Sat Apr 15 22:25:55 2006
++++ scripts/query_unix_partitions.pl Sat Apr 15 22:26:14 2006
+@@ -5,7 +5,7 @@
+ exit;
+ }
+
+-open(DF, "/bin/df -P|");
++open(DF, "/bin/df -k|");
+
+ while (<DF>) {
+ #/dev/hda2 20157744 18553884 579860 97% /var