summaryrefslogtreecommitdiff
path: root/www/wwwcount/patches/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'www/wwwcount/patches/patch-aa')
-rw-r--r--www/wwwcount/patches/patch-aa20
1 files changed, 10 insertions, 10 deletions
diff --git a/www/wwwcount/patches/patch-aa b/www/wwwcount/patches/patch-aa
index 01077bca453..b2a2903aa47 100644
--- a/www/wwwcount/patches/patch-aa
+++ b/www/wwwcount/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.3 1999/05/14 23:23:58 tron Exp $
+$NetBSD: patch-aa,v 1.4 2005/10/01 17:25:32 minskim Exp $
---- Count-config.orig Mon Jan 4 00:07:56 1999
-+++ Count-config Sat May 15 01:12:06 1999
+--- Count-config.orig 1999-01-03 15:07:58.000000000 -0800
++++ Count-config
@@ -20,7 +20,7 @@
trap 'echo '';echo "Interrupt detected..exiting";rm -f "./Config.tmpl" 2>/dev/null;rm -f "./.alfcf" ;rm -f "./strict" 2>/dev/null;echo '';exit 1' 1 2 3 15
@@ -11,7 +11,7 @@ $NetBSD: patch-aa,v 1.3 1999/05/14 23:23:58 tron Exp $
if [ ! -f "./VERSION" ]
then
-@@ -35,17 +35,16 @@
+@@ -35,17 +35,16 @@ fi
AUTHOR="ma_muquit@fccc.edu"
Version=`cat ./VERSION`
@@ -31,14 +31,14 @@ $NetBSD: patch-aa,v 1.3 1999/05/14 23:23:58 tron Exp $
+ConfigDir="${PREFIX}/etc"
+ConfFile="wwwcount.conf"
+DigitDir="$LibDir/digits"
-+DataDir="/var/db/wwwcount"
-+LogDir="/var/log"
++DataDir="${VARBASE}/db/wwwcount"
++LogDir="${VARBASE}/log"
+LogFile="wwwcount"
+RgbFile="rgb.txt"
#
# from php/fis install script
-@@ -118,7 +117,7 @@
+@@ -118,7 +117,7 @@ read answer
if [ .$answer = . ]
then
@@ -47,7 +47,7 @@ $NetBSD: patch-aa,v 1.3 1999/05/14 23:23:58 tron Exp $
fi
until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
do
-@@ -377,7 +376,7 @@
+@@ -377,7 +376,7 @@ read answer
if [ .$answer = . ]
then
@@ -56,7 +56,7 @@ $NetBSD: patch-aa,v 1.3 1999/05/14 23:23:58 tron Exp $
fi
until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
do
-@@ -519,7 +518,7 @@
+@@ -519,7 +518,7 @@ cat<<EOX>>$ConfigH
** so RGB names can be looked up, but yet not allow users to make constant
** use of this very ineffiecient lookup.
*/
@@ -65,7 +65,7 @@ $NetBSD: patch-aa,v 1.3 1999/05/14 23:23:58 tron Exp $
EOX
cat<<EOXXX>>$ConfigH
-@@ -547,7 +546,7 @@
+@@ -547,7 +546,7 @@ echo "DATA_DIR=\"$DataDir\"" >> $Tmpl
echo "LOG_DIR=\"$LogDir\"" >> $Tmpl
echo "LOG_FILE=\"$LogFile\"" >> $Tmpl
echo "RGB_FILE=\"$RgbFile\"" >> $Tmpl