summaryrefslogtreecommitdiff
path: root/net/mrtg/patches
diff options
context:
space:
mode:
authortv <tv>1998-07-13 17:56:27 +0000
committertv <tv>1998-07-13 17:56:27 +0000
commit038bd485974a7d1c637c5bea49b81e3728ed6ca6 (patch)
treedf269218e091ff2769a46258ae99e42ea58d61e0 /net/mrtg/patches
parent27cc8262d7012e022f16d22b08bef43e18073fc9 (diff)
downloadpkgsrc-038bd485974a7d1c637c5bea49b81e3728ed6ca6.tar.gz
Add and activate MRTG, the Multi-Router Traffic Grapher.
Diffstat (limited to 'net/mrtg/patches')
-rw-r--r--net/mrtg/patches/patch-aa31
-rw-r--r--net/mrtg/patches/patch-ab20
2 files changed, 19 insertions, 32 deletions
diff --git a/net/mrtg/patches/patch-aa b/net/mrtg/patches/patch-aa
index 52db1499814..e9b3b68f731 100644
--- a/net/mrtg/patches/patch-aa
+++ b/net/mrtg/patches/patch-aa
@@ -1,35 +1,22 @@
---- Makefile.orig Sat Oct 25 20:00:59 1997
-+++ Makefile Sat Dec 6 09:33:47 1997
-@@ -5,17 +5,17 @@
- SHELL=/bin/sh
+--- Makefile.orig Mon Jul 13 13:02:23 1998
++++ Makefile Mon Jul 13 13:04:02 1998
+@@ -6,16 +6,16 @@
# GD_INCLUDE
# The path to the include files for the gd graphics library.
--#GD_INCLUDE=/usr/local/include/gd
+ #GD_INCLUDE=/usr/local/include/gd
-GD_INCLUDE=gd1.2
-+GD_INCLUDE=/usr/local/include/gd
-+#GD_INCLUDE=gd1.2
++GD_INCLUDE=${PREFIX}/include/gd
# GD_LIB
# The path to the gd graphics library: libgd.a
--#GD_LIB=/usr/local/lib
+ #GD_LIB=/usr/local/lib
-GD_LIB=gd1.2
-+GD_LIB=/usr/local/lib
-+#GD_LIB=gd1.2
++GD_LIB=${PREFIX}/lib
# Where is perl 5 on this machine
--# PERL=/usr/local/bin/perl
+ # PERL=/usr/local/bin/perl
-PERL=/usr/local/gnu/bin/perl5
-+PERL=/usr/local/bin/perl
-+#PERL=/usr/local/gnu/bin/perl5
++PERL=${PREFIX}/bin/perl
# CC
-@@ -26,7 +26,7 @@
- # CFLAGS
- # Enter '-g' to include debugging info, or '-O2' to optimize
- # for gcc
--CFLAGS=-g -O -Wall
-+CFLAGS+=-Wall
-
- # for sparcworks
- #CFLAGS=-g
diff --git a/net/mrtg/patches/patch-ab b/net/mrtg/patches/patch-ab
index 8831292ca28..9e6e6131902 100644
--- a/net/mrtg/patches/patch-ab
+++ b/net/mrtg/patches/patch-ab
@@ -1,11 +1,11 @@
---- mrtg.cfg-dist.orig Fri Oct 24 21:35:55 1997
-+++ mrtg.cfg-dist Sat Dec 6 09:34:48 1997
-@@ -21,7 +21,7 @@
+--- mrtg.orig Mon Jul 13 13:17:55 1998
++++ mrtg Mon Jul 13 13:19:52 1998
+@@ -54,7 +54,7 @@
+ }
+ die "ERROR: Can\'t find location of mrtg executable\n"
+ unless $main::binpath;
+- unshift (@INC,$main::binpath);
++ $main::binpath .= "/../libexec"
+ }
- # Where should the logfiles, and webpages be created?
-
--# WorkDir: /usr/tardis/pub/www/stats/mrtg
-+WorkDir: /usr/local/www/data/mrtg
-
- # --------------------------
- # Optional Global Parameters
+ ###