aboutsummaryrefslogtreecommitdiff
path: root/www/webstats/files
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 02:23:01 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2003-10-06 02:23:01 +0000
commit147232170171c28eed086d4c74fbb44093c3d36c (patch)
tree82865606df074ef29aa4afa27ce4815c1f289cae /www/webstats/files
parent7dd081a0171d364ae1d819875209a4b232fec696 (diff)
downloadports-147232170171c28eed086d4c74fbb44093c3d36c.tar.gz
ports-147232170171c28eed086d4c74fbb44093c3d36c.zip
Notes
Diffstat (limited to 'www/webstats/files')
-rw-r--r--www/webstats/files/patch-aa13
-rw-r--r--www/webstats/files/patch-ab8
-rw-r--r--www/webstats/files/patch-ac9
-rw-r--r--www/webstats/files/patch-ad22
-rw-r--r--www/webstats/files/patch-ae11
5 files changed, 63 insertions, 0 deletions
diff --git a/www/webstats/files/patch-aa b/www/webstats/files/patch-aa
new file mode 100644
index 000000000000..95d8991c45a9
--- /dev/null
+++ b/www/webstats/files/patch-aa
@@ -0,0 +1,13 @@
+--- configfiles/serverwide/webstats.ini Wed Sep 5 22:13:38 2001
++++ configfiles/serverwide/webstats.ini Sun Feb 16 18:08:11 2003
+@@ -6,8 +6,8 @@
+
+ [misc]
+ #where are the analog and rmagic executables?
+-ANALOG=/usr/bin/analog
+-RMAGIC=/usr/local/bin/rmagic
++ANALOG=%%PREFIX%%/bin/analog
++RMAGIC=%%PREFIX%%/reportmagic/rmagic.pl
+
+ #where should the logfile for webstats go to?
+ WEBSTATSLOG=/tmp/webstats_log
diff --git a/www/webstats/files/patch-ab b/www/webstats/files/patch-ab
new file mode 100644
index 000000000000..025da055eceb
--- /dev/null
+++ b/www/webstats/files/patch-ab
@@ -0,0 +1,8 @@
+--- configfiles/vhosts/analog.cfg Mon Jul 2 16:29:54 2001
++++ configfiles/vhosts/analog.cfg Sun Feb 16 18:09:00 2003
+@@ -14,4 +14,4 @@
+
+ #don't touch this line! it tells analog where the main configuration
+ #file is located
+-CONFIGFILE /etc/webstats/default.cfg
++CONFIGFILE %%PREFIX%%/etc/webstats/default.cfg
diff --git a/www/webstats/files/patch-ac b/www/webstats/files/patch-ac
new file mode 100644
index 000000000000..12f29c1e9105
--- /dev/null
+++ b/www/webstats/files/patch-ac
@@ -0,0 +1,9 @@
+--- configfiles/vhosts/rmagic.ini Mon Jul 2 16:29:43 2001
++++ configfiles/vhosts/rmagic.ini Sun Feb 16 18:08:38 2003
+@@ -22,5 +22,5 @@
+
+ #don't touch this line! it tells report magic where the main
+ #configuration file is located
+-Include = /etc/webstats/default.ini
++Include = %%PREFIX%%/etc/webstats/default.ini
+
diff --git a/www/webstats/files/patch-ad b/www/webstats/files/patch-ad
new file mode 100644
index 000000000000..f536815f41b8
--- /dev/null
+++ b/www/webstats/files/patch-ad
@@ -0,0 +1,22 @@
+--- scripts/perl/webstats Wed Feb 6 09:51:43 2002
++++ scripts/perl/webstats Sun Feb 16 18:09:33 2003
+@@ -42,8 +42,8 @@
+ #use strict;
+ use Config::IniFiles;
+
+-#we read variables from /etc/webstats/webstats.ini
+-$cfg = new Config::IniFiles -file => "/etc/webstats/webstats.ini";
++#we read variables from $PREFIX/etc/webstats/webstats.ini
++$cfg = new Config::IniFiles -file => "%%PREFIX%%/etc/webstats/webstats.ini";
+
+ my $VHOSTDIR=$cfg->val('rmagic', 'VHOSTDIR');
+ my $WWWDIR=$cfg->val('rmagic', 'WWWDIR');
+@@ -73,7 +73,7 @@
+ #
+ #What does it do?:
+ #
+-# if DEBUG variable in /etc/webstats/webstats.ini is set to "yes"
++# if DEBUG variable in $PREFIX/etc/webstats/webstats.ini is set to "yes"
+ # print some useful information to $WEBSTATSLOG
+ sub debug{
+ if ($DEBUG eq "yes"){
diff --git a/www/webstats/files/patch-ae b/www/webstats/files/patch-ae
new file mode 100644
index 000000000000..5c06807434de
--- /dev/null
+++ b/www/webstats/files/patch-ae
@@ -0,0 +1,11 @@
+--- scripts/php/webstats.php Sun Jul 15 21:50:15 2001
++++ scripts/php/webstats.php Sun Feb 16 18:10:25 2003
+@@ -4,7 +4,7 @@
+ <?php
+ include "class.inifile.php";
+ //we read the serverwide config file
+-$serverwideini = new IniFile("/etc/webstats/webstats.ini");
++$serverwideini = new IniFile("%%PREFIX%%/etc/webstats/webstats.ini");
+ $servername = $serverwideini->value("misc","SERVERNAME","not defined/config file not found?");
+ $vhost_directory = $serverwideini->value("rmagic","VHOSTDIR","VHOSTDIR not defined/config file not found?");
+ $logs_directory = $serverwideini->value("rmagic","LOGSDIR","LOGSDIR not defined/config file not found?");