freebsd-ports/net-mgmt/routers2-extensions/files/patch-pdfreport.cgi
Martin Wilke a07ce68c37 Extensions of generic web-based frontend for the popular MRTG
systems monitoring software.

WWW: http://www.steveshipway.org/software/

PR:		ports/106714
Submitted by:	Xavier Beaudouin <kiwi at oav.net>
2006-12-14 11:46:20 +00:00

24 lines
987 B
Perl

--- 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