aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--net/cacti/Makefile2
-rw-r--r--net/cacti/files/patch-scripts-diskfree.pl (renamed from net/cacti/files/patch-fix_df_output)0
-rw-r--r--net/cacti/files/patch-scripts-ping.pl10
-rw-r--r--net/cacti/files/patch-scripts-query_unix_partitions.pl11
8 files changed, 44 insertions, 2 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
diff --git a/net/cacti/Makefile b/net/cacti/Makefile
index 7ded291099d6..816c7ea314eb 100644
--- a/net/cacti/Makefile
+++ b/net/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/cacti/files/patch-fix_df_output b/net/cacti/files/patch-scripts-diskfree.pl
index 8df567b2255f..8df567b2255f 100644
--- a/net/cacti/files/patch-fix_df_output
+++ b/net/cacti/files/patch-scripts-diskfree.pl
diff --git a/net/cacti/files/patch-scripts-ping.pl b/net/cacti/files/patch-scripts-ping.pl
new file mode 100644
index 000000000000..9b42be1fc4e5
--- /dev/null
+++ b/net/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/cacti/files/patch-scripts-query_unix_partitions.pl b/net/cacti/files/patch-scripts-query_unix_partitions.pl
new file mode 100644
index 000000000000..9af889b0dae4
--- /dev/null
+++ b/net/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