summaryrefslogtreecommitdiff
path: root/net/mrtg/patches/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'net/mrtg/patches/patch-ad')
-rw-r--r--net/mrtg/patches/patch-ad33
1 files changed, 0 insertions, 33 deletions
diff --git a/net/mrtg/patches/patch-ad b/net/mrtg/patches/patch-ad
deleted file mode 100644
index 07d5030b32b..00000000000
--- a/net/mrtg/patches/patch-ad
+++ /dev/null
@@ -1,33 +0,0 @@
-$NetBSD: patch-ad,v 1.15 2008/04/15 11:02:04 martti Exp $
-
---- bin/mrtg.orig 2008-02-17 12:27:36.000000000 +0200
-+++ bin/mrtg 2008-04-15 13:56:27.000000000 +0300
-@@ -899,8 +899,8 @@
-
- ((($MRTG_lib::OS eq 'NT' or $MRTG_lib::OS eq 'OS2') and (-e "${FindBin::Bin}${MRTG_lib::SL}rateup.exe")) or
- (($MRTG_lib::OS eq 'NW') and (-e "SYS:/Mrtg/bin/rateup.nlm")) or
-- (-x "${FindBin::Bin}${MRTG_lib::SL}rateup")) or
-- die "$NOW: ERROR: Can't Execute '${FindBin::Bin}${MRTG_lib::SL}rateup'\n";
-+ (-x "__PREFIX__/libexec/rateup")) or
-+ die "$NOW: ERROR: Can't Execute '__PREFIX__/libexec/rateup'\n";
-
- # rateup does not know about undef so we make inlast and outlast ready for rateup
- #warn "$NOW: ERROR: inlast is undefined. Skipping $router\n" unless defined $inlast;
-@@ -912,7 +912,7 @@
- $outlast = -1 unless defined $outlast;
-
- if ($$rcfg{'options'}{'dorelpercent'}{$router}) {
-- @exec = ("${FindBin::Bin}${MRTG_lib::SL}rateup",
-+ @exec = ("__PREFIX__/libexec/rateup",
- "$$cfg{'logdir'}$$rcfg{'directory'}{$router}","$router",
- $time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
- "$up_abs"."p", $inlast, $outlast, $absmax,
-@@ -921,7 +921,7 @@
- $$rcfg{'rgb5'}{$router});
- } else {
-
-- @exec = ("${FindBin::Bin}${MRTG_lib::SL}rateup",
-+ @exec = ("__PREFIX__/libexec/rateup",
- "$$cfg{'logdir'}$$rcfg{'directory'}{$router}","$router",
- $time, $$rcfg{'options'}{'unknaszero'}{$router} ? '-z':'-Z',
- "$up_abs", $inlast, $outlast, $absmax,