diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 1996-05-16 20:43:59 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 1996-05-16 20:43:59 +0000 |
commit | 62ae860429b0587da5a6c60d7576e040727a68d7 (patch) | |
tree | ab67eae983ee37d82ca78cdd47d9f2836e1bf7a6 /www/wwwcount/files | |
parent | Move PATCH* stuff down to its own section. The upgrade was to 1.01a, (diff) |
Most sophisticated Access Counter I found
Notes
Notes:
svn path=/head/; revision=3097
Diffstat (limited to 'www/wwwcount/files')
-rw-r--r-- | www/wwwcount/files/patch-aa | 70 | ||||
-rw-r--r-- | www/wwwcount/files/patch-ab | 19 | ||||
-rw-r--r-- | www/wwwcount/files/patch-ae | 120 |
3 files changed, 209 insertions, 0 deletions
diff --git a/www/wwwcount/files/patch-aa b/www/wwwcount/files/patch-aa new file mode 100644 index 000000000000..65c95bb16fba --- /dev/null +++ b/www/wwwcount/files/patch-aa @@ -0,0 +1,70 @@ +*** Count-config.orig Fri May 3 06:20:27 1996 +--- Count-config Thu May 16 22:18:17 1996 +*************** +*** 20,26 **** + 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 + + Tmpl="./Config.tmpl" +! CgiBinDir="/usr/local/etc/httpd/cgi-bin" + + if [ ! -f "./VERSION" ] + then +--- 20,26 ---- + 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 + + Tmpl="./Config.tmpl" +! CgiBinDir="${PREFIX}/www/cgi-bin" + + if [ ! -f "./VERSION" ] + then +*************** +*** 36,42 **** + Version=`cat ./VERSION` + Basedir="wwwcount$Version" + ConfigH="config.h" +! BaseDir="/usr/local/etc/Counter" + ConfigDir="conf" + ConfFile="count.cfg" + DigitDir="digits" +--- 36,42 ---- + Version=`cat ./VERSION` + Basedir="wwwcount$Version" + ConfigH="config.h" +! BaseDir="${PREFIX}/etc/Counter" + ConfigDir="conf" + ConfFile="count.cfg" + DigitDir="digits" +*************** +*** 114,120 **** + + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +--- 114,120 ---- + + if [ .$answer = . ] + then +! answer=y + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +*************** +*** 302,308 **** + + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +--- 302,308 ---- + + if [ .$answer = . ] + then +! answer=y + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do diff --git a/www/wwwcount/files/patch-ab b/www/wwwcount/files/patch-ab new file mode 100644 index 000000000000..7dd5a832c2b8 --- /dev/null +++ b/www/wwwcount/files/patch-ab @@ -0,0 +1,19 @@ +*** Makefile.in.bak Fri May 3 06:20:33 1996 +--- Makefile.in Thu May 16 05:43:27 1996 +*************** +*** 22,28 **** + ## + ACCESS_AUTH= -DACCESS_AUTH=1 + DEFINES= $(INCLUDES) $(DEFS) $(ACCESS_AUTH) -D__USE_FIXED_PROTOTYPES__ +! CFLAGS= -O $(DEFINES) -DSYS_UNIX=1 -DDEBUG=1 + + + OBJS= main.o parse.o strimage.o +--- 22,28 ---- + ## + ACCESS_AUTH= -DACCESS_AUTH=1 + DEFINES= $(INCLUDES) $(DEFS) $(ACCESS_AUTH) -D__USE_FIXED_PROTOTYPES__ +! CFLAGS+= $(DEFINES) -DSYS_UNIX=1 -DDEBUG=1 + + + OBJS= main.o parse.o strimage.o diff --git a/www/wwwcount/files/patch-ae b/www/wwwcount/files/patch-ae new file mode 100644 index 000000000000..eecea1e87d43 --- /dev/null +++ b/www/wwwcount/files/patch-ae @@ -0,0 +1,120 @@ +*** Count-install.orig Fri May 3 06:20:31 1996 +--- Count-install Thu May 16 22:34:39 1996 +*************** +*** 193,199 **** + + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +--- 193,199 ---- + + if [ .$answer = . ] + then +! answer=y + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +*************** +*** 233,239 **** + read answer + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +--- 233,239 ---- + read answer + if [ .$answer = . ] + then +! answer=y + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +*************** +*** 252,262 **** + ### + # enter user id -starts + ### +! echo $n "*Enter user id of httpd's child process [no default]:$c? " + read answer + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer != "x" ] + do +--- 252,262 ---- + ### + # enter user id -starts + ### +! echo $n "*Enter user id of httpd's child process [nobody]:$c? " + read answer + if [ .$answer = . ] + then +! answer=nobody + fi + until [ $answer != "x" ] + do +*************** +*** 276,286 **** + ## + # enter groud id -starts + ## +! echo $n "*Enter group id of httpd's child process [no default]:$c? " + read answer + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer != "x" ] + do +--- 276,286 ---- + ## + # enter groud id -starts + ## +! echo $n "*Enter group id of httpd's child process [nobody]:$c? " + read answer + if [ .$answer = . ] + then +! answer=nobody + fi + until [ $answer != "x" ] + do +*************** +*** 298,304 **** + # enter groud id -ends + ## + echo "installing Count.cgi->$CGIBIN_DIR" +! $INSTALL_PROG -c -o $UserId -g $GroupId -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi + echo "installing $CONFIG_FILE->$CONFIG_DIR" + $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE + echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" +--- 298,304 ---- + # enter groud id -ends + ## + echo "installing Count.cgi->$CGIBIN_DIR" +! $INSTALL_PROG -s -c -o $UserId -g $GroupId -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi + echo "installing $CONFIG_FILE->$CONFIG_DIR" + $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE + echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" +*************** +*** 358,364 **** + + EOM + echo "installing Count.cgi->$CGIBIN_DIR" +! $INSTALL_PROG -c -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi + echo "installing $CONFIG_FILE->$CONFIG_DIR" + $INSTALL_PROG -c $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE + echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" +--- 358,364 ---- + + EOM + echo "installing Count.cgi->$CGIBIN_DIR" +! $INSTALL_PROG -s -c -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi + echo "installing $CONFIG_FILE->$CONFIG_DIR" + $INSTALL_PROG -c $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE + echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR" |