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 | |
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 '')
-rw-r--r-- | www/wwwcount/Makefile | 31 | ||||
-rw-r--r-- | www/wwwcount/distinfo | 1 | ||||
-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 | ||||
-rw-r--r-- | www/wwwcount/pkg-comment | 1 | ||||
-rw-r--r-- | www/wwwcount/pkg-descr | 2 | ||||
-rw-r--r-- | www/wwwcount/pkg-plist | 22 |
8 files changed, 266 insertions, 0 deletions
diff --git a/www/wwwcount/Makefile b/www/wwwcount/Makefile new file mode 100644 index 000000000000..f3f6bb5fb8d6 --- /dev/null +++ b/www/wwwcount/Makefile @@ -0,0 +1,31 @@ +# New ports collection makefile for: wwwcount +# WWW site: http://www.semcor.com/~muquit/Count.html +# For digit images look at: +# http://cervantes.learningco.com/kevin/digits/index.html +# +# Version required: 2.3 +# Date created: 16 May 1996 +# Whom: ache +# +# $Id: Makefile,v 1.4 1996/04/27 12:51:27 ache Exp $ +# + +DISTNAME= wwwcount2.3 +PKGNAME= wwwcount-2.3 +CATEGORIES+= www +MASTER_SITES= ftp://warm.semcor.com/pub/muquit/wwwcount2.3/ +GNU_CONFIGURE= yes +IS_INTERACTIVE= yes + +MAINTAINER= ache@FreeBSD.ORG + +pre-configure: + cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} ./Count-config + +post-build: + cd ${WRKSRC}; ./Gen-conf + +do-install: + cd ${WRKSRC}; yes "" | ./Count-install + +.include <bsd.port.mk> diff --git a/www/wwwcount/distinfo b/www/wwwcount/distinfo new file mode 100644 index 000000000000..78ed20477df4 --- /dev/null +++ b/www/wwwcount/distinfo @@ -0,0 +1 @@ +MD5 (wwwcount2.3.tar.gz) = 0a354cff730c4c9a1886d34f4f5f5031 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" diff --git a/www/wwwcount/pkg-comment b/www/wwwcount/pkg-comment new file mode 100644 index 000000000000..61e669feddd3 --- /dev/null +++ b/www/wwwcount/pkg-comment @@ -0,0 +1 @@ +Count - access counter, clock and date for WWW pages diff --git a/www/wwwcount/pkg-descr b/www/wwwcount/pkg-descr new file mode 100644 index 000000000000..e11df6b3cc1b --- /dev/null +++ b/www/wwwcount/pkg-descr @@ -0,0 +1,2 @@ +The counter, clock and date, all in one program. The single program can +be used for any number of web pages, for any number of users. diff --git a/www/wwwcount/pkg-plist b/www/wwwcount/pkg-plist new file mode 100644 index 000000000000..020245b0f304 --- /dev/null +++ b/www/wwwcount/pkg-plist @@ -0,0 +1,22 @@ +@owner nobody +@group nobody +www/cgi-bin/Count.cgi +etc/Counter +etc/Counter/conf +etc/Counter/conf/count.cfg +etc/Counter/data +etc/Counter/data/sample.dat +etc/Counter/Log +etc/Counter/rgb.txt +etc/Counter/digits +etc/Counter/digits/A +etc/Counter/digits/A/strip.gif +etc/Counter/digits/B +etc/Counter/digits/B/strip.gif +etc/Counter/digits/C +etc/Counter/digits/C/strip.gif +etc/Counter/digits/D +etc/Counter/digits/D/strip.gif +etc/Counter/digits/D/lenna.gif +etc/Counter/digits/E +etc/Counter/digits/E/strip.gif |