aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2008-11-19 07:25:18 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2008-11-19 07:25:18 +0800
commit629503afb80951c2c21881e5503badd8f6f68035 (patch)
tree713e846a969dbb36644e907bff3bd13ea52f9a7e
parentb023e5f2398121269729610dcf06c2800409349c (diff)
downloadfreebsd-ports-gnome-629503afb80951c2c21881e5503badd8f6f68035.tar.gz
freebsd-ports-gnome-629503afb80951c2c21881e5503badd8f6f68035.tar.zst
freebsd-ports-gnome-629503afb80951c2c21881e5503badd8f6f68035.zip
- Update to 2.19
PRs: 128642, 128643, 128644 Submitted by: Xavier Beaudouin <kiwi at oav dot net> (maintainer)
-rw-r--r--net-mgmt/routers2-extensions/Makefile2
-rw-r--r--net-mgmt/routers2-extensions/distinfo6
-rw-r--r--net-mgmt/routers2-extensions/files/patch-routingtable.cgi13
-rw-r--r--net-mgmt/routers2-extensions/files/patch-tonagios.cgi10
-rw-r--r--net-mgmt/routers2-extras/Makefile10
-rw-r--r--net-mgmt/routers2-extras/distinfo6
-rw-r--r--net-mgmt/routers2-extras/pkg-plist16
-rw-r--r--net-mgmt/routers2/Makefile2
-rw-r--r--net-mgmt/routers2/distinfo6
-rw-r--r--net-mgmt/routers2/files/patch-routers2.cgi.pl11
-rw-r--r--net-mgmt/routers2/files/patch-routers2.conf60
11 files changed, 81 insertions, 61 deletions
diff --git a/net-mgmt/routers2-extensions/Makefile b/net-mgmt/routers2-extensions/Makefile
index 375fb9289029..604ec825d4c7 100644
--- a/net-mgmt/routers2-extensions/Makefile
+++ b/net-mgmt/routers2-extensions/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= routers2-extensions
-PORTVERSION= 2.18
+PORTVERSION= 2.19
CATEGORIES= net-mgmt
MASTER_SITES= http://www.steveshipway.org/software/rrd/ \
ftp://ftp.oav.oav.net/routers2/
diff --git a/net-mgmt/routers2-extensions/distinfo b/net-mgmt/routers2-extensions/distinfo
index 2277c49ae5e8..4619a1e5b5be 100644
--- a/net-mgmt/routers2-extensions/distinfo
+++ b/net-mgmt/routers2-extensions/distinfo
@@ -1,3 +1,3 @@
-MD5 (routers2-v2.18.tar.gz) = e9ed06d52acaa22467d8c31432905691
-SHA256 (routers2-v2.18.tar.gz) = 728d1788db58f8b99a72fdf74c1e1def3a4528bc0483b7f371472aa23396357f
-SIZE (routers2-v2.18.tar.gz) = 399144
+MD5 (routers2-v2.19.tar.gz) = c99af543f835c3c08cbd109a4ef8cc03
+SHA256 (routers2-v2.19.tar.gz) = 6763b5a039780d42a5f7b222cf4b90922fd3cd78787c8e36028a923142b0cacb
+SIZE (routers2-v2.19.tar.gz) = 411136
diff --git a/net-mgmt/routers2-extensions/files/patch-routingtable.cgi b/net-mgmt/routers2-extensions/files/patch-routingtable.cgi
index d704ad1628b8..c93a299733e2 100644
--- a/net-mgmt/routers2-extensions/files/patch-routingtable.cgi
+++ b/net-mgmt/routers2-extensions/files/patch-routingtable.cgi
@@ -1,17 +1,8 @@
---- routingtable.cgi.orig Thu Dec 14 00:56:50 2006
-+++ routingtable.cgi Thu Dec 14 00:57:29 2006
+--- routingtable.cgi.orig 2008-11-06 11:49:06.000000000 +0100
++++ routingtable.cgi 2008-11-06 11:49:39.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/local/bin/perl -w
+#!%%LOCALBASE%%/bin/speedy -- -M20 -t3600 -gnone -r500
# CHANGE ABOVE PATH TO MATCH YOUR PERL LOCATION! You may remove the -w
##############################################################################.
# routingtable.cgi : Version v1.5
-@@ -21,7 +21,7 @@
- ##############################################################################.
- use strict;
- use CGI; # for CGI
--#use Net::SNMP; # ActivePerl users may need this uncommented
-+use Net::SNMP; # ActivePerl users may need this uncommented
- ##############################################################################.
- my ($VERSION) = "v1.5";
- my ($APPURL ) = "http://www.steveshipway.org/software/";
diff --git a/net-mgmt/routers2-extensions/files/patch-tonagios.cgi b/net-mgmt/routers2-extensions/files/patch-tonagios.cgi
index f5715eaa132a..8f6ee99523b2 100644
--- a/net-mgmt/routers2-extensions/files/patch-tonagios.cgi
+++ b/net-mgmt/routers2-extensions/files/patch-tonagios.cgi
@@ -1,5 +1,5 @@
---- tonagios.cgi.orig Thu Dec 14 01:00:19 2006
-+++ tonagios.cgi Thu Dec 14 01:00:58 2006
+--- tonagios.cgi.orig 2008-11-06 11:51:08.000000000 +0100
++++ tonagios.cgi 2008-11-06 11:51:45.000000000 +0100
@@ -1,4 +1,4 @@
-#!/usr/bin/perl
+#!%%LOCALBASE%%/bin/speedy -- -M20 -t3600 -gnone -r500
@@ -12,6 +12,6 @@
# configure here: Nagios status.cgi URL (or use extinfo.cgi instead)
-my( $NAGIOS ) = "http://nagios.auckland.ac.nz/nagios/cgi-bin/status.cgi";
+my( $NAGIOS ) = "http://changeme/nagios/cgi-bin/status.cgi";
-
- # Variables
- my( $device, $community, $targetwindow, $target, $file, $backurl )
+ # This is chopped from the end of the configuration filename
+ my( $TRUNCATE ) = "\.(cfg|conf)?";
+ # Alternative examples
diff --git a/net-mgmt/routers2-extras/Makefile b/net-mgmt/routers2-extras/Makefile
index fe9b5410a878..dd1876f936ba 100644
--- a/net-mgmt/routers2-extras/Makefile
+++ b/net-mgmt/routers2-extras/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= routers2-extras
-PORTVERSION= 2.18
+PORTVERSION= 2.19
CATEGORIES= net-mgmt
MASTER_SITES= http://www.steveshipway.org/software/rrd/ \
ftp://ftp.oav.oav.net/routers2/
@@ -40,18 +40,18 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/$$file ${DOCSDIR}; \
done
.endif
- for file in buildwan.pl cfgmaker_host.pl check_esx2 check_foundry checkagent \
+ for file in buildwan.pl cfgmaker_host.pl check_vmware.pl check_foundry checkagent \
gather.pl getstats.sh graphprune.pl mrtg-apache mrtg-nrpe.pl mrtg-nrpe.sh \
mrtg-pnsclient.pl mrtg-portsinuse.pl rrd-archive-clean.pl \
- rrd-archive.pl rrdextend.pl vmware_monitor.pl vmware_monitor2.pl \
- winalert.pl targetnames/targetnames.pl 95.pl; do \
+ rrd-archive.pl rrdextend.pl \
+ winalert.pl targetnames/targetnames.pl; do \
${INSTALL_SCRIPT} ${WRKSRC}/$$file ${PREFIX}/www/routers2/extras; \
done
for file in mrtg-nrpe.cfg mrtg-pnsclient.cfg rrd-archive.conf winalert.conf ; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/www/routers2/extras; \
done
${MKDIR} -m 755 ${PREFIX}/www/routers2/extras/templates
- for file in templates/* ; do \
+ for file in mrtg-templates/* ; do \
${INSTALL_DATA} ${WRKSRC}/$$file ${PREFIX}/www/routers2/extras/templates; \
done
diff --git a/net-mgmt/routers2-extras/distinfo b/net-mgmt/routers2-extras/distinfo
index 2277c49ae5e8..4619a1e5b5be 100644
--- a/net-mgmt/routers2-extras/distinfo
+++ b/net-mgmt/routers2-extras/distinfo
@@ -1,3 +1,3 @@
-MD5 (routers2-v2.18.tar.gz) = e9ed06d52acaa22467d8c31432905691
-SHA256 (routers2-v2.18.tar.gz) = 728d1788db58f8b99a72fdf74c1e1def3a4528bc0483b7f371472aa23396357f
-SIZE (routers2-v2.18.tar.gz) = 399144
+MD5 (routers2-v2.19.tar.gz) = c99af543f835c3c08cbd109a4ef8cc03
+SHA256 (routers2-v2.19.tar.gz) = 6763b5a039780d42a5f7b222cf4b90922fd3cd78787c8e36028a923142b0cacb
+SIZE (routers2-v2.19.tar.gz) = 411136
diff --git a/net-mgmt/routers2-extras/pkg-plist b/net-mgmt/routers2-extras/pkg-plist
index 911211a7d1db..63d39b810677 100644
--- a/net-mgmt/routers2-extras/pkg-plist
+++ b/net-mgmt/routers2-extras/pkg-plist
@@ -1,40 +1,36 @@
www/routers2/extras/buildwan.pl
www/routers2/extras/cfgmaker_host.pl
-www/routers2/extras/check_esx2
www/routers2/extras/check_foundry
+www/routers2/extras/check_vmware.pl
www/routers2/extras/checkagent
www/routers2/extras/gather.pl
www/routers2/extras/getstats.sh
www/routers2/extras/graphprune.pl
www/routers2/extras/mrtg-apache
+www/routers2/extras/mrtg-nrpe.cfg
www/routers2/extras/mrtg-nrpe.pl
www/routers2/extras/mrtg-nrpe.sh
+www/routers2/extras/mrtg-pnsclient.cfg
www/routers2/extras/mrtg-pnsclient.pl
www/routers2/extras/mrtg-portsinuse.pl
www/routers2/extras/rrd-archive-clean.pl
+www/routers2/extras/rrd-archive.conf
www/routers2/extras/rrd-archive.pl
www/routers2/extras/rrdextend.pl
-www/routers2/extras/vmware_monitor.pl
-www/routers2/extras/vmware_monitor2.pl
-www/routers2/extras/winalert.pl
www/routers2/extras/targetnames.pl
-www/routers2/extras/mrtg-nrpe.cfg
-www/routers2/extras/mrtg-pnsclient.cfg
-www/routers2/extras/rrd-archive.conf
-www/routers2/extras/winalert.conf
-www/routers2/extras/95.pl
www/routers2/extras/templates/template-mrtg-dns
www/routers2/extras/templates/template-mrtg-ipcs
www/routers2/extras/templates/template-mrtg-nrpe
www/routers2/extras/templates/template-mrtg-ping
www/routers2/extras/templates/template-mrtg-pnsclient
+www/routers2/extras/winalert.conf
+www/routers2/extras/winalert.pl
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/buildwan.txt
%%PORTDOCS%%%%DOCSDIR%%/graphprune.txt
%%PORTDOCS%%%%DOCSDIR%%/mrtg-nrpe.txt
%%PORTDOCS%%%%DOCSDIR%%/mrtg-pnsclient.txt
%%PORTDOCS%%%%DOCSDIR%%/rrd-archive.txt
-%%PORTDOCS%%%%DOCSDIR%%/vmware_monitor.txt
%%PORTDOCS%%%%DOCSDIR%%/winalert.txt
@dirrm www/routers2/extras/templates
@dirrm www/routers2/extras
diff --git a/net-mgmt/routers2/Makefile b/net-mgmt/routers2/Makefile
index 4dd3296788c8..428a9d24caf2 100644
--- a/net-mgmt/routers2/Makefile
+++ b/net-mgmt/routers2/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= routers2
-PORTVERSION= 2.18
+PORTVERSION= 2.19
CATEGORIES= net-mgmt
MASTER_SITES= http://www.steveshipway.org/software/rrd/ \
ftp://ftp.oav.oav.net/routers2/
diff --git a/net-mgmt/routers2/distinfo b/net-mgmt/routers2/distinfo
index 2277c49ae5e8..4619a1e5b5be 100644
--- a/net-mgmt/routers2/distinfo
+++ b/net-mgmt/routers2/distinfo
@@ -1,3 +1,3 @@
-MD5 (routers2-v2.18.tar.gz) = e9ed06d52acaa22467d8c31432905691
-SHA256 (routers2-v2.18.tar.gz) = 728d1788db58f8b99a72fdf74c1e1def3a4528bc0483b7f371472aa23396357f
-SIZE (routers2-v2.18.tar.gz) = 399144
+MD5 (routers2-v2.19.tar.gz) = c99af543f835c3c08cbd109a4ef8cc03
+SHA256 (routers2-v2.19.tar.gz) = 6763b5a039780d42a5f7b222cf4b90922fd3cd78787c8e36028a923142b0cacb
+SIZE (routers2-v2.19.tar.gz) = 411136
diff --git a/net-mgmt/routers2/files/patch-routers2.cgi.pl b/net-mgmt/routers2/files/patch-routers2.cgi.pl
index 5e27557cd108..5969a5ee8b9d 100644
--- a/net-mgmt/routers2/files/patch-routers2.cgi.pl
+++ b/net-mgmt/routers2/files/patch-routers2.cgi.pl
@@ -1,11 +1,10 @@
---- routers2.cgi.pl.orig 2008-06-09 07:18:11.000000000 +0200
-+++ routers2.cgi.pl 2008-07-07 22:43:34.000000000 +0200
+--- routers2.cgi.pl.orig 2008-11-06 11:17:27.000000000 +0100
++++ routers2.cgi.pl 2008-11-06 11:19:06.000000000 +0100
@@ -1,9 +1,9 @@
-#!/usr/bin/perl
--# DONT FORGET TO CHANGE THE ABOVE PATH TO MATCH YOUR PERL LOCATION!
+#!%%LOCALBASE%%/bin/perl
-+# DONT FORGET TO CHANGE THE ABOVE PATH TO MATCH YOUR PERL LOCATION!
- # vim:ts=4
+ # DONT FORGET TO CHANGE THE ABOVE PATH TO MATCH YOUR PERL LOCATION!
+ #vim:ts=4
##############################################################################
# To use Speedycgi, you need to change the first line to this:
-##!/usr/bin/speedy -- -M20 -t3600 -gnone -r500
@@ -18,7 +17,7 @@
##CONFIG#START################################################################
# You MUST set this to the location of the configuration file!
-my ($conffile) = '/u01/etc/routers2.conf';
-+my ($conffile) = '/usr/local/etc/routers2.conf';
++my ($conffile) = '%%LOCALBASE%%/etc/routers2.conf';
##############################################################################
# Are we running in speedycgi or mod_perl mode? Can we cache configs?
# If you set this to 1 when you dont have speedycgi or mod_perl, it will
diff --git a/net-mgmt/routers2/files/patch-routers2.conf b/net-mgmt/routers2/files/patch-routers2.conf
index 6f9dc8207b37..25a1026e1b5f 100644
--- a/net-mgmt/routers2/files/patch-routers2.conf
+++ b/net-mgmt/routers2/files/patch-routers2.conf
@@ -1,6 +1,6 @@
---- routers2.conf.orig Mon Dec 11 16:07:38 2006
-+++ routers2.conf Mon Dec 11 16:26:10 2006
-@@ -150,7 +150,7 @@
+--- routers2.conf.orig 2008-11-06 11:19:55.000000000 +0100
++++ routers2.conf 2008-11-06 11:46:39.000000000 +0100
+@@ -148,7 +148,7 @@
#mysql-database = authdb
#
# Multi-language characters support: set charset here.
@@ -9,7 +9,7 @@
#charset = utf-8
#
# Language support
-@@ -188,7 +188,7 @@
+@@ -186,7 +186,7 @@
# Set this to 'yes' to greatly speed up the parsing at the expense of
# having to have your .cfg files in a set format. DO NOT enable this
# unless you are sure that your .cfg files meet the necessary criteria.
@@ -18,7 +18,7 @@
#
# Set this to no if your browser barfs on the popup javascript. Default is yes.
#javascript = no
-@@ -204,17 +204,17 @@
+@@ -208,17 +208,17 @@
# is not really necessary in here and can (usually) be safely ignored.
# NT users can put a drive letter in if required.
# dbpath = D:\rrdtool\files
@@ -39,7 +39,12 @@
# Wildcarded pattern match for MRTG conf files.
# You can put several of these here, separated by spaces.
# Note that these can include a path separator - eg, site*/*.cfg
-@@ -256,10 +256,10 @@
+@@ -269,28 +269,29 @@
+ #
+ # The default graph type. Must be 6 d w m y or dwmy (All graphs). Default is d
+ #graphtype = d
++graphtype = dwmy
+ #
# to be superceeded by MRTG file support
# Show peak lines on all graphs by default? yes/no. Default is 'yes'.
# This can be overridden by the MRTG WithPeak[] directive.
@@ -52,12 +57,15 @@
# to be superceeded by MRTG file support
# Show the graphs relative to the max bandwidth, instead of scaling the y-axis
-@@ -269,11 +269,11 @@
+ # to show the most detail? Default is 'yes'
+ # This can be overridden by the MRTG 'Unscaled[]' directive.
+-unscaled = no
++#unscaled = no
# Shall we include 6-hour graphs, where the graph Interval is < 5mins?
# yes/no/always default: no
-#6hour = no
-+6hour = no
++6hour = yes
# Shall we have the 95th percentile and total usage calculations?
# This can eat a LOT of CPU/Memory, so make sure to test with it OFF first.
# default: no
@@ -66,16 +74,34 @@
# Shall we use the last update time as the base, instead of the current time?
# This can stop the occasional occurence of a grey band at the end of the graph
# and is useful if demoing the software with some (non-updated) test data.
-@@ -339,7 +339,7 @@
+@@ -311,7 +312,7 @@
+ # All styles:
+ #sorder = s t n n2 l l2 l2D x x2 x3 x3D sbp nbp sp np
+ # No PDA support:
+-sorder = t n n2 l l2 x2 x3
++sorder = s t n n2 l l2 l2D x x2 x3 x3D sbp nbp sp np
+ # Style codes are usually made from the width code (stnlx), and an optional
+ # suffix consisting of 2(double heigth), b(black and white), p(PDA mode).
+ # Also now we can have a suffix of 3 for triple-height.
+@@ -353,14 +354,14 @@
+ # Do we want a 'total traffic' line on the default 'incoming' and
+ # 'outgoing' graphs?
+ # yes/no default is NO
+-#showtotal = no
++showtotal = yes
#
# Group the router names in the left-hand menu by directory name?
# yes/no default is NO
-#group = yes
+group = yes
# override later in per-user
- # You can enable the beta multi-level grouping here
- #multilevel = yes
-@@ -367,8 +367,8 @@
+ # You can enable the multi-level grouping code here
+-#multilevel = yes
++multilevel = yes
+ # Groups heirachy is by group description, separated by :. Change the separating
+ # character here:
+ #groupsep = :
+@@ -385,8 +386,8 @@
# maybe you'd prefer 8 and 18 ?
# These hours may NOT cross midnight (ie, end > start) and are relative to the
# timezone of the target in question, or local timezone if not known.
@@ -86,7 +112,7 @@
# Work days - Sun=0 -- default 1 2 3 4 5
# THIS NOT YET USED: EXPERIMENTAL
#workdays = 1 2 3 4 5
-@@ -444,6 +444,7 @@
+@@ -462,6 +463,7 @@
# Use twin-menu screen format (not recommended for screens < 1024x768 )
# yes/no default is NO
#twinmenu = no
@@ -94,3 +120,11 @@
#
# Normally, graphs refresh automatically as soon as they become out of date.
# This is about every 5 mins for daily graphs. You may wish to make the
+@@ -521,6 +523,7 @@
+ # Set to 'no' to never use 'lazy' mode. A bug in rrdtool 1.3.0 and 1.3.1 can
+ # make lazy mode result in nondisplaying or nonupdating graph images.
+ #lazy = no
++lazy = yes
+
+ # short descriptions for routers and interfaces
+ # These are used in the lefthand menu, and in small graphs.