aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/routers2-extensions/files/patch-pdfreport.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/routers2-extensions/files/patch-pdfreport.cgi')
-rw-r--r--net-mgmt/routers2-extensions/files/patch-pdfreport.cgi24
1 files changed, 24 insertions, 0 deletions
diff --git a/net-mgmt/routers2-extensions/files/patch-pdfreport.cgi b/net-mgmt/routers2-extensions/files/patch-pdfreport.cgi
new file mode 100644
index 000000000000..29a2957a9ae6
--- /dev/null
+++ b/net-mgmt/routers2-extensions/files/patch-pdfreport.cgi
@@ -0,0 +1,24 @@
+--- pdfreport.cgi.orig Thu Dec 14 00:46:13 2006
++++ pdfreport.cgi Thu Dec 14 00:48:43 2006
+@@ -1,4 +1,4 @@
+-#!/usr/bin/perl -w
++#!%%LOCALBASE%%/bin/speedy -- -M20 -t3600 -gnone -r500
+ # vim:ts=4
+ # pdfreport.cgi
+ #
+@@ -13,11 +13,11 @@
+ require 5.006;
+
+ # Configure here
+-my( $HTMLDOC ) = "/usr/bin/htmldoc"; # location of htmldoc executable
+-my( $ROUTERSCGI ) = "/u01/www/cgi-bin/routers2.cgi"; # location of routers2.cgi
++my( $HTMLDOC ) = "%%LOCALBASE%%/bin/htmldoc"; # location of htmldoc executable
++my( $ROUTERSCGI ) = "%%LOCALBASE%%/www/routers2/routers2.cgi"; # location of routers2.cgi
+ my( $WORKDIR ) = "/tmp"; # temporary work directory
+-my( $WEBROOT ) = "/u01/www/html"; # docroot for your web server
+-my( $CONFPATH ) = "/u01/mrtg/conf"; # default path for cfg files
++my( $WEBROOT ) = "%%LOCALBASE%%/www/data"; # docroot for your web server
++my( $CONFPATH ) = "%%LOCALBASE%%/etc@/mrtg"; # default path for cfg files
+ my( $VERSION ) = "1.3";
+
+ # Variables