View | Details | Raw Unified | Return to bug 128644
Collapse All | Expand All

(-)/usr/ports/net-mgmt/routers2/Makefile (-1 / +1 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	routers2
8
PORTNAME=	routers2
9
PORTVERSION=	2.18
9
PORTVERSION=	2.19
10
CATEGORIES=	net-mgmt
10
CATEGORIES=	net-mgmt
11
MASTER_SITES=	http://www.steveshipway.org/software/rrd/ \
11
MASTER_SITES=	http://www.steveshipway.org/software/rrd/ \
12
		ftp://ftp.oav.oav.net/routers2/
12
		ftp://ftp.oav.oav.net/routers2/
(-)/usr/ports/net-mgmt/routers2/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
MD5 (routers2-v2.18.tar.gz) = e9ed06d52acaa22467d8c31432905691
1
MD5 (routers2-v2.19.tar.gz) = c99af543f835c3c08cbd109a4ef8cc03
2
SHA256 (routers2-v2.18.tar.gz) = 728d1788db58f8b99a72fdf74c1e1def3a4528bc0483b7f371472aa23396357f
2
SHA256 (routers2-v2.19.tar.gz) = 6763b5a039780d42a5f7b222cf4b90922fd3cd78787c8e36028a923142b0cacb
3
SIZE (routers2-v2.18.tar.gz) = 399144
3
SIZE (routers2-v2.19.tar.gz) = 411136
(-)/usr/ports/net-mgmt/routers2/files/patch-routers2.cgi.pl (-6 / +5 lines)
Lines 1-11 Link Here
1
--- routers2.cgi.pl.orig	2008-06-09 07:18:11.000000000 +0200
1
--- routers2.cgi.pl.orig	2008-11-06 11:17:27.000000000 +0100
2
+++ routers2.cgi.pl	2008-07-07 22:43:34.000000000 +0200
2
+++ routers2.cgi.pl	2008-11-06 11:19:06.000000000 +0100
3
@@ -1,9 +1,9 @@
3
@@ -1,9 +1,9 @@
4
-#!/usr/bin/perl 
4
-#!/usr/bin/perl 
5
-# DONT FORGET TO CHANGE THE ABOVE PATH TO MATCH YOUR PERL LOCATION! 
6
+#!%%LOCALBASE%%/bin/perl
5
+#!%%LOCALBASE%%/bin/perl
7
+# DONT FORGET TO CHANGE THE ABOVE PATH TO MATCH YOUR PERL LOCATION!
6
 # DONT FORGET TO CHANGE THE ABOVE PATH TO MATCH YOUR PERL LOCATION! 
8
 # vim:ts=4
7
 #vim:ts=4
9
 ##############################################################################
8
 ##############################################################################
10
 # To use Speedycgi, you need to change the first line to this:
9
 # To use Speedycgi, you need to change the first line to this:
11
-##!/usr/bin/speedy -- -M20 -t3600 -gnone -r500
10
-##!/usr/bin/speedy -- -M20 -t3600 -gnone -r500
Lines 18-24 Link Here
18
 ##CONFIG#START################################################################
17
 ##CONFIG#START################################################################
19
 # You MUST set this to the location of the configuration file!
18
 # You MUST set this to the location of the configuration file!
20
-my ($conffile) = '/u01/etc/routers2.conf';
19
-my ($conffile) = '/u01/etc/routers2.conf';
21
+my ($conffile) = '/usr/local/etc/routers2.conf';
20
+my ($conffile) = '%%LOCALBASE%%/etc/routers2.conf';
22
 ##############################################################################
21
 ##############################################################################
23
 # Are we running in speedycgi or mod_perl mode?  Can we cache configs?
22
 # Are we running in speedycgi or mod_perl mode?  Can we cache configs?
24
 # If you set this to 1 when you dont have speedycgi or mod_perl, it will
23
 # If you set this to 1 when you dont have speedycgi or mod_perl, it will
(-)/usr/ports/net-mgmt/routers2/files/patch-routers2.conf (-13 / +47 lines)
Lines 1-6 Link Here
1
--- routers2.conf.orig	Mon Dec 11 16:07:38 2006
1
--- routers2.conf.orig	2008-11-06 11:19:55.000000000 +0100
2
+++ routers2.conf	Mon Dec 11 16:26:10 2006
2
+++ routers2.conf	2008-11-06 11:46:39.000000000 +0100
3
@@ -150,7 +150,7 @@
3
@@ -148,7 +148,7 @@
4
 #mysql-database = authdb
4
 #mysql-database = authdb
5
 #
5
 #
6
 # Multi-language characters support: set charset here.
6
 # Multi-language characters support: set charset here.
Lines 9-15 Link Here
9
 #charset = utf-8
9
 #charset = utf-8
10
 #
10
 #
11
 # Language support 
11
 # Language support 
12
@@ -188,7 +188,7 @@
12
@@ -186,7 +186,7 @@
13
 # Set this to 'yes' to greatly speed up the parsing at the expense of
13
 # Set this to 'yes' to greatly speed up the parsing at the expense of
14
 # having to have your .cfg files in a set format.  DO NOT enable this
14
 # having to have your .cfg files in a set format.  DO NOT enable this
15
 # unless you are sure that your .cfg files meet the necessary criteria.
15
 # unless you are sure that your .cfg files meet the necessary criteria.
Lines 18-24 Link Here
18
 #
18
 #
19
 # Set this to no if your browser barfs on the popup javascript. Default is yes.
19
 # Set this to no if your browser barfs on the popup javascript. Default is yes.
20
 #javascript = no
20
 #javascript = no
21
@@ -204,17 +204,17 @@
21
@@ -208,17 +208,17 @@
22
 # is not really necessary in here and can (usually) be safely ignored.
22
 # is not really necessary in here and can (usually) be safely ignored.
23
 # NT users can put a drive letter in if required.
23
 # NT users can put a drive letter in if required.
24
 # dbpath = D:\rrdtool\files
24
 # dbpath = D:\rrdtool\files
Lines 39-45 Link Here
39
 # Wildcarded pattern match for MRTG conf files.
39
 # Wildcarded pattern match for MRTG conf files.
40
 # You can put several of these here, separated by spaces.
40
 # You can put several of these here, separated by spaces.
41
 # Note that these can include a path separator - eg, site*/*.cfg
41
 # Note that these can include a path separator - eg, site*/*.cfg
42
@@ -256,10 +256,10 @@
42
@@ -269,28 +269,29 @@
43
 #
44
 # The default graph type.  Must be 6 d w m y or dwmy (All graphs). Default is d
45
 #graphtype = d
46
+graphtype = dwmy
47
 #
43
 # to be superceeded by MRTG file support
48
 # to be superceeded by MRTG file support
44
 # Show peak lines on all graphs by default? yes/no. Default is 'yes'.
49
 # Show peak lines on all graphs by default? yes/no. Default is 'yes'.
45
 # This can be overridden by the MRTG WithPeak[] directive.
50
 # This can be overridden by the MRTG WithPeak[] directive.
Lines 52-63 Link Here
52
 
57
 
53
 # to be superceeded by MRTG file support
58
 # to be superceeded by MRTG file support
54
 # Show the graphs relative to the max bandwidth, instead of scaling the y-axis
59
 # Show the graphs relative to the max bandwidth, instead of scaling the y-axis
55
@@ -269,11 +269,11 @@
60
 # to show the most detail? Default is 'yes'
61
 # This can be overridden by the MRTG 'Unscaled[]' directive.
62
-unscaled = no
63
+#unscaled = no
56
 
64
 
57
 # Shall we include 6-hour graphs, where the graph Interval is < 5mins?
65
 # Shall we include 6-hour graphs, where the graph Interval is < 5mins?
58
 # yes/no/always default: no
66
 # yes/no/always default: no
59
-#6hour = no
67
-#6hour = no
60
+6hour = no
68
+6hour = yes
61
 # Shall we have the 95th percentile and total usage calculations?
69
 # Shall we have the 95th percentile and total usage calculations?
62
 # This can eat a LOT of CPU/Memory, so make sure to test with it OFF first.
70
 # This can eat a LOT of CPU/Memory, so make sure to test with it OFF first.
63
 # default: no
71
 # default: no
Lines 66-81 Link Here
66
 # Shall we use the last update time as the base, instead of the current time?
74
 # Shall we use the last update time as the base, instead of the current time?
67
 # This can stop the occasional occurence of a grey band at the end of the graph
75
 # This can stop the occasional occurence of a grey band at the end of the graph
68
 # and is useful if demoing the software with some (non-updated) test data.
76
 # and is useful if demoing the software with some (non-updated) test data.
69
@@ -339,7 +339,7 @@
77
@@ -311,7 +312,7 @@
78
 # All styles:
79
 #sorder = s t n n2 l l2 l2D x x2 x3 x3D sbp nbp sp np
80
 # No PDA support:
81
-sorder = t n n2 l l2 x2 x3 
82
+sorder = s t n n2 l l2 l2D x x2 x3 x3D sbp nbp sp np
83
 # Style codes are usually made from the width code (stnlx), and an optional
84
 # suffix consisting of 2(double heigth), b(black and white), p(PDA mode).
85
 # Also now we can have a suffix of 3 for triple-height.
86
@@ -353,14 +354,14 @@
87
 # Do we want a 'total traffic' line on the default 'incoming' and 
88
 # 'outgoing' graphs?
89
 # yes/no default is NO
90
-#showtotal = no
91
+showtotal = yes
70
 #
92
 #
71
 # Group the router names in the left-hand menu by directory name?
93
 # Group the router names in the left-hand menu by directory name?
72
 # yes/no default is NO
94
 # yes/no default is NO
73
-#group = yes
95
-#group = yes
74
+group = yes
96
+group = yes
75
 # override later in per-user
97
 # override later in per-user
76
 # You can enable the beta multi-level grouping here
98
 # You can enable the multi-level grouping code here
77
 #multilevel = yes
99
-#multilevel = yes
78
@@ -367,8 +367,8 @@
100
+multilevel = yes
101
 # Groups heirachy is by group description, separated by :. Change the separating
102
 # character here:
103
 #groupsep = :
104
@@ -385,8 +386,8 @@
79
 # maybe you'd prefer 8 and 18 ?
105
 # maybe you'd prefer 8 and 18 ?
80
 # These hours may NOT cross midnight (ie, end > start) and are relative to the
106
 # These hours may NOT cross midnight (ie, end > start) and are relative to the
81
 # timezone of the target in question, or local timezone if not known.
107
 # timezone of the target in question, or local timezone if not known.
Lines 86-92 Link Here
86
 # Work days - Sun=0 -- default 1 2 3 4 5
112
 # Work days - Sun=0 -- default 1 2 3 4 5
87
 # THIS NOT YET USED: EXPERIMENTAL
113
 # THIS NOT YET USED: EXPERIMENTAL
88
 #workdays = 1 2 3 4 5 
114
 #workdays = 1 2 3 4 5 
89
@@ -444,6 +444,7 @@
115
@@ -462,6 +463,7 @@
90
 # Use twin-menu screen format (not recommended for screens < 1024x768 )
116
 # Use twin-menu screen format (not recommended for screens < 1024x768 )
91
 # yes/no default is NO
117
 # yes/no default is NO
92
 #twinmenu = no
118
 #twinmenu = no
Lines 94-96 Link Here
94
 #
120
 #
95
 # Normally, graphs refresh automatically as soon as they become out of date.
121
 # Normally, graphs refresh automatically as soon as they become out of date.
96
 # This is about every 5 mins for daily graphs.  You may wish to make the
122
 # This is about every 5 mins for daily graphs.  You may wish to make the
123
@@ -521,6 +523,7 @@
124
 # Set to 'no' to never use 'lazy' mode.  A bug in rrdtool 1.3.0 and 1.3.1 can 
125
 # make lazy mode result in nondisplaying or nonupdating graph images.
126
 #lazy = no
127
+lazy = yes
128
 
129
 # short descriptions for routers and interfaces
130
 # These are used in the lefthand menu, and in small graphs.

Return to bug 128644