aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-01 17:50:10 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-01 17:50:10 +0000
commit3b7a911dd79fe60bf354af3d6b774c8550b6dc24 (patch)
treeca0f21d3ed6e0fd7f9e7a717ec21a1c052a5175c /net-mgmt
parentf55f40d50194ee4bb68711bcd68a7344ec35de60 (diff)
downloadports-3b7a911dd79fe60bf354af3d6b774c8550b6dc24.tar.gz
ports-3b7a911dd79fe60bf354af3d6b774c8550b6dc24.zip
Notes
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/ifgraph/Makefile6
-rw-r--r--net-mgmt/ifgraph/distinfo6
-rw-r--r--net-mgmt/ifgraph/files/patch-ifgraph.conf8
-rw-r--r--net-mgmt/ifgraph/files/patch-ifgraph.pl12
-rw-r--r--net-mgmt/ifgraph/files/patch-makegraph.pl14
-rw-r--r--net-mgmt/ifgraph/pkg-plist17
6 files changed, 35 insertions, 28 deletions
diff --git a/net-mgmt/ifgraph/Makefile b/net-mgmt/ifgraph/Makefile
index 5e807a7fadd2..eeaf81c65df7 100644
--- a/net-mgmt/ifgraph/Makefile
+++ b/net-mgmt/ifgraph/Makefile
@@ -6,10 +6,10 @@
#
PORTNAME= ifgraph
-PORTVERSION= 0.4.9
-PORTREVISION= 1
+PORTVERSION= 0.4.10
CATEGORIES= net-mgmt www
-MASTER_SITES= http://ifgraph.sourceforge.net/stable/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= lth@FreeBSD.org
COMMENT= Simple grapher of SNMP data with RRD
diff --git a/net-mgmt/ifgraph/distinfo b/net-mgmt/ifgraph/distinfo
index a77f6e1ca8bb..b69d37cb040c 100644
--- a/net-mgmt/ifgraph/distinfo
+++ b/net-mgmt/ifgraph/distinfo
@@ -1,3 +1,3 @@
-MD5 (ifgraph-0.4.9.tar.gz) = 9da25053e0aa376e5c7ba5c4e4c48dfa
-SHA256 (ifgraph-0.4.9.tar.gz) = d73644f0abc5fcf3c64161f4e208ae32308a3f4a854a8b756e8d1ba7fbed4005
-SIZE (ifgraph-0.4.9.tar.gz) = 141564
+MD5 (ifgraph-0.4.10.tar.gz) = b265d8b51106d816391b7200b2307c8f
+SHA256 (ifgraph-0.4.10.tar.gz) = 3cc8d2c92fc948713898ac8d2aec8d3d1a01fef0c67ca1f11605541c15792aed
+SIZE (ifgraph-0.4.10.tar.gz) = 158214
diff --git a/net-mgmt/ifgraph/files/patch-ifgraph.conf b/net-mgmt/ifgraph/files/patch-ifgraph.conf
index 9dc20049c6b6..0050b81c2b90 100644
--- a/net-mgmt/ifgraph/files/patch-ifgraph.conf
+++ b/net-mgmt/ifgraph/files/patch-ifgraph.conf
@@ -1,13 +1,13 @@
---- ifgraph.conf.orig Fri Sep 19 19:06:49 2003
-+++ ifgraph.conf Fri Sep 19 19:08:52 2003
+--- ifgraph.conf.orig Fri Aug 29 13:29:45 2003
++++ ifgraph.conf Tue Feb 7 12:20:37 2006
@@ -19,10 +19,10 @@
# will not work as expected.
[global]
-rrdtool = /usr/local/bin/rrdtool
-rrddir = /home/someuser/rrdfiles
--graphdir= /home/someuser/public_html/ifgraph-0.4.9
--template=/home/someuser/ifgraph-0.4.9/templates/en
+-graphdir= /home/someuser/public_html/ifgraph-0.4.10
+-template=/home/someuser/ifgraph-0.4.10/templates/en
+rrdtool = %%PREFIX%%/bin/rrdtool
+rrddir = %%PREFIX%%/var/ifgraph
+graphdir = %%PREFIX%%/ifgraph/htdocs
diff --git a/net-mgmt/ifgraph/files/patch-ifgraph.pl b/net-mgmt/ifgraph/files/patch-ifgraph.pl
index 619831a4e173..e46fe4f49054 100644
--- a/net-mgmt/ifgraph/files/patch-ifgraph.pl
+++ b/net-mgmt/ifgraph/files/patch-ifgraph.pl
@@ -1,8 +1,8 @@
---- ifgraph.pl.orig Sun Sep 28 22:29:51 2003
-+++ ifgraph.pl Sun Sep 28 22:30:19 2003
+--- ifgraph.pl.orig Sat Jan 3 16:44:21 2004
++++ ifgraph.pl Tue Feb 7 12:34:09 2006
@@ -19,10 +19,6 @@
- #Sugestoes e criticas (sem flames!!) mailto:sartori@ifgraph.org
- #Visite: http://www.ifgraph.org
+ #Sugestoes e criticas (sem flames!!) mailto:sartori@ifgraph.lrv.ufsc.br
+ #Visite: http://ifgraph.lrv.ufsc.br
-# Let's find out where we are
-use FindBin;
@@ -13,14 +13,14 @@
# Get the command line options
@@ -32,14 +28,7 @@
getopt('cltF');
- getopts('dh');
+ getopts('dhT');
-# If the perl is older, we have to fetch the older Net::SNMP library
-if ($] < 5.006) {
- &debug("Warning: Older perl version $], we will use Net::SNMP 3.65\n");
- require Net::SNMP_365;
-} else {
-- &debug("Starting ifgraph 0.4.9 with perl $], Net::SNMP 4.3\n");
+- &debug("Starting ifgraph 0.4.10 with perl $], Net::SNMP 4.3\n");
- require Net::SNMP;
-}
+use Net::SNMP;
diff --git a/net-mgmt/ifgraph/files/patch-makegraph.pl b/net-mgmt/ifgraph/files/patch-makegraph.pl
index 045dabe5dfc0..a7297a1a8c5a 100644
--- a/net-mgmt/ifgraph/files/patch-makegraph.pl
+++ b/net-mgmt/ifgraph/files/patch-makegraph.pl
@@ -1,15 +1,15 @@
---- makegraph.pl.orig Sun Sep 21 12:30:49 2003
-+++ makegraph.pl Sun Sep 21 12:32:08 2003
+--- makegraph.pl.orig Sat Jan 3 16:44:21 2004
++++ makegraph.pl Tue Feb 7 12:48:07 2006
@@ -19,8 +19,6 @@
- #Sugestoes e criticas (sem flames!!) mailto:sartori@ifgraph.org
- #Visite: http://www.ifgraph.org
+ #Sugestoes e criticas (sem flames!!) mailto:sartori@ifgraph.lrv.ufsc.br
+ #Visite: http://ifgraph.lrv.ufsc.br
-use FindBin;
-use lib "$FindBin::Bin/lib";
use strict;
use Getopt::Std;
- use vars qw($opt_d $opt_c $opt_B $opt_b $opt_h $opt_g $opt_t $opt_T $targetindex
-@@ -30,14 +28,7 @@
+ use Color::Rgb;
+@@ -31,14 +29,7 @@
getopt('ctT');
getopts('Bbgdh');
@@ -18,7 +18,7 @@
- &debug("Warning: Older perl version $], we will use Net::SNMP 3.65\n");
- require Net::SNMP_365;
-} else {
-- &debug("Starting ifgraph 0.4.9 with perl $[, Net::SNMP 4.3\n");
+- &debug("Starting ifgraph 0.4.10 with perl $[, Net::SNMP 4.3\n");
- require Net::SNMP;
-}
+use Net::SNMP;
diff --git a/net-mgmt/ifgraph/pkg-plist b/net-mgmt/ifgraph/pkg-plist
index 5be709646661..d63d49d7fab0 100644
--- a/net-mgmt/ifgraph/pkg-plist
+++ b/net-mgmt/ifgraph/pkg-plist
@@ -6,21 +6,28 @@ bin/ifgraph.pl
bin/makegraph.pl
etc/ifgraph.conf.sample
ifgraph/crontab.in
-ifgraph/templates/ifgraph-logo.jpg
-ifgraph/templates/en/main-header.html
ifgraph/templates/en/if-data.html
ifgraph/templates/en/if-header.html
ifgraph/templates/en/if-trailer.html
ifgraph/templates/en/main-data.html
+ifgraph/templates/en/main-header.html
ifgraph/templates/en/main-trailer.html
-ifgraph/templates/pt-br/main-header.html
+ifgraph/templates/es/if-data.html
+ifgraph/templates/es/if-header.html
+ifgraph/templates/es/if-trailer.html
+ifgraph/templates/es/main-data.html
+ifgraph/templates/es/main-header.html
+ifgraph/templates/es/main-trailer.html
+ifgraph/templates/ifgraph-logo.jpg
ifgraph/templates/pt-br/if-data.html
ifgraph/templates/pt-br/if-header.html
ifgraph/templates/pt-br/if-trailer.html
ifgraph/templates/pt-br/main-data.html
+ifgraph/templates/pt-br/main-header.html
ifgraph/templates/pt-br/main-trailer.html
-@dirrm ifgraph/templates/en/
-@dirrm ifgraph/templates/pt-br/
+@dirrm ifgraph/templates/en
+@dirrm ifgraph/templates/es
+@dirrm ifgraph/templates/pt-br
@dirrm ifgraph/templates
@dirrm ifgraph/htdocs
@dirrmtry ifgraph