Date: Tue, 7 Feb 2006 13:05:54 -0600 (CST) From: Babak Farrokhi <babak@farrokhi.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/92987: update port net-mgmt/ifgraph to 0.4.10 Message-ID: <20060207190554.ACE5656423@royalway.propagation.net> Resent-Message-ID: <200602071910.k17JA9Lg008470@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92987 >Category: ports >Synopsis: update port net-mgmt/ifgraph to 0.4.10 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Tue Feb 07 19:10:06 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Babak Farrokhi >Release: FreeBSD 5.4-STABLE i386 >Organization: >Environment: System: FreeBSD royalway.propagation.net 5.4-STABLE FreeBSD 5.4-STABLE #6: Thu Jun 30 05:11:17 CDT 2005 root@royalway.propagation.net:/usr/obj/usr/src/sys/GENERIC i386 >Description: >How-To-Repeat: >Fix: --- ifgraph.patch begins here --- diff -ruN ifgraph.orig/Makefile ifgraph/Makefile --- ifgraph.orig/Makefile Tue Feb 7 12:10:09 2006 +++ ifgraph/Makefile Tue Feb 7 12:13:26 2006 @@ -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 -ruN ifgraph.orig/distinfo ifgraph/distinfo --- ifgraph.orig/distinfo Tue Feb 7 12:10:09 2006 +++ ifgraph/distinfo Tue Feb 7 12:13:31 2006 @@ -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 -ruN ifgraph.orig/files/patch-ifgraph.conf ifgraph/files/patch-ifgraph.conf --- ifgraph.orig/files/patch-ifgraph.conf Tue Feb 7 12:10:09 2006 +++ ifgraph/files/patch-ifgraph.conf Tue Feb 7 12:24:25 2006 @@ -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 -ruN ifgraph.orig/files/patch-ifgraph.pl ifgraph/files/patch-ifgraph.pl --- ifgraph.orig/files/patch-ifgraph.pl Tue Feb 7 12:10:09 2006 +++ ifgraph/files/patch-ifgraph.pl Tue Feb 7 12:35:08 2006 @@ -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 -ruN ifgraph.orig/files/patch-makegraph.pl ifgraph/files/patch-makegraph.pl --- ifgraph.orig/files/patch-makegraph.pl Tue Feb 7 12:10:09 2006 +++ ifgraph/files/patch-makegraph.pl Tue Feb 7 12:48:17 2006 @@ -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 -ruN ifgraph.orig/pkg-plist ifgraph/pkg-plist --- ifgraph.orig/pkg-plist Tue Feb 7 12:10:09 2006 +++ ifgraph/pkg-plist Tue Feb 7 13:04:15 2006 @@ -6,20 +6,27 @@ 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/es/ @dirrm ifgraph/templates/pt-br/ @dirrm ifgraph/templates @dirrm ifgraph/htdocs --- ifgraph.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060207190554.ACE5656423>