From 3168e028b405a69ffa379ca090f7553006ea382f Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 18 Nov 1997 03:07:09 +0000 Subject: [PATCH] --- www/wwwcount/Makefile | 39 +++++++ www/wwwcount/files/md5 | 1 + www/wwwcount/patches/patch-aa | 195 ++++++++++++++++++++++++++++++++++ www/wwwcount/patches/patch-ab | 19 ++++ www/wwwcount/patches/patch-ac | 19 ++++ www/wwwcount/patches/patch-ad | 19 ++++ www/wwwcount/patches/patch-ae | 179 +++++++++++++++++++++++++++++++ www/wwwcount/patches/patch-af | 19 ++++ www/wwwcount/pkg/COMMENT | 1 + www/wwwcount/pkg/DESCR | 6 ++ www/wwwcount/pkg/PLIST | 26 +++++ 11 files changed, 523 insertions(+) create mode 100644 www/wwwcount/Makefile create mode 100644 www/wwwcount/files/md5 create mode 100644 www/wwwcount/patches/patch-aa create mode 100644 www/wwwcount/patches/patch-ab create mode 100644 www/wwwcount/patches/patch-ac create mode 100644 www/wwwcount/patches/patch-ad create mode 100644 www/wwwcount/patches/patch-ae create mode 100644 www/wwwcount/patches/patch-af create mode 100644 www/wwwcount/pkg/COMMENT create mode 100644 www/wwwcount/pkg/DESCR create mode 100644 www/wwwcount/pkg/PLIST diff --git a/www/wwwcount/Makefile b/www/wwwcount/Makefile new file mode 100644 index 00000000000..677e8f07dfd --- /dev/null +++ b/www/wwwcount/Makefile @@ -0,0 +1,39 @@ +# New ports collection makefile for: wwwcount +# Version required: 2.3 +# Date created: 17 Nov 1997 +# Whom: ejovi +# $OpenBSD: Makefile,v 1.1.1.1 1997/11/18 03:07:09 joey Exp $ +# +# Id: Makefile,v 1.8 1996/11/18 11:42:25 asami Exp $ +# + +# WWW site: http://www.fccc.edu/users/muquit/Count.html +# For digit images look at: +# http://www.digitmania.holowww.com/ + +DISTNAME= wwwcount2.3 +PKGNAME= wwwcount-2.3 +CATEGORIES= www +MASTER_SITES= http://www.fccc.edu/users/muquit/src/wwwcount2.3/ + +MAINTAINER= joey@OpenBSD.ORG + +GNU_CONFIGURE= yes +IS_INTERACTIVE= yes +MAN1= mkstrip.1 + +pre-configure: + cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} ./Count-config + +post-build: + cd ${WRKSRC}/utils; ${MAKE} + cd ${WRKSRC}; ./Gen-conf + +do-install: + cd ${WRKSRC}; yes "" | ./Count-install + cd ${WRKSRC}/utils; \ + ${INSTALL_PROGRAM} mkstrip ${PREFIX}/bin; \ + ${INSTALL_MAN} mkstrip.1 ${PREFIX}/man/man1; \ + ${INSTALL_SCRIPT} mkstrip.sh ${PREFIX}/lib/Counter/digits + +.include diff --git a/www/wwwcount/files/md5 b/www/wwwcount/files/md5 new file mode 100644 index 00000000000..f2d8bf6aa91 --- /dev/null +++ b/www/wwwcount/files/md5 @@ -0,0 +1 @@ +MD5 (wwwcount2.3.tar.gz) = 3577b6117c1cd3a764882c100b060e7c diff --git a/www/wwwcount/patches/patch-aa b/www/wwwcount/patches/patch-aa new file mode 100644 index 00000000000..ad1f88ddfcf --- /dev/null +++ b/www/wwwcount/patches/patch-aa @@ -0,0 +1,195 @@ +*** Count-config.orig Fri May 3 06:20:27 1996 +--- Count-config Fri Sep 6 18:05:28 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,48 **** + Version=`cat ./VERSION` + Basedir="wwwcount$Version" + ConfigH="config.h" +! BaseDir="/usr/local/etc/Counter" + ConfigDir="conf" + ConfFile="count.cfg" + DigitDir="digits" + DataDir="data" +! LogDir="Log" +! LogFile="Count$Version.log" + RgbFile="./wcount/rgb.txt" + #allow_f_cr=0 + #strict_mode=0 +--- 36,49 ---- + Version=`cat ./VERSION` + Basedir="wwwcount$Version" + ConfigH="config.h" +! BaseDir="${PREFIX}/etc/Counter" +! LibDir="${PREFIX}/lib/Counter" + ConfigDir="conf" + ConfFile="count.cfg" + DigitDir="digits" + DataDir="data" +! LogDir="/var/log" +! LogFile="Counter.log" + RgbFile="./wcount/rgb.txt" + #allow_f_cr=0 + #strict_mode=0 +*************** +*** 114,120 **** + + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +--- 115,121 ---- + + if [ .$answer = . ] + then +! answer=y + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +*************** +*** 245,251 **** + You need to enter the directory of the Log file. + + EOB +! echo $n "*Log directory [$BaseDir/$LogDir]:$c " + read newpath + if [ .$newpath != . ] + then +--- 246,252 ---- + You need to enter the directory of the Log file. + + EOB +! echo $n "*Log directory [$LogDir]:$c " + read newpath + if [ .$newpath != . ] + then +*************** +*** 289,299 **** + echo "++++++++++++++++++++++++++++++" + echo "CgiBinDir=$CgiBinDir" + echo "BaseDir= $BaseDir" +! echo "DigitDir= $BaseDir/$DigitDir" + echo "ConfDir = $BaseDir/$ConfigDir" + echo "ConfFile= $ConfFile" + echo "DataDir= $BaseDir/$DataDir" +! echo "LogDir= $BaseDir/$LogDir" + echo "LogFile= $LogFile" + echo "++++++++++++++++++++++++++++++" + +--- 290,300 ---- + echo "++++++++++++++++++++++++++++++" + echo "CgiBinDir=$CgiBinDir" + echo "BaseDir= $BaseDir" +! echo "DigitDir= $LibDir/$DigitDir" + echo "ConfDir = $BaseDir/$ConfigDir" + echo "ConfFile= $ConfFile" + echo "DataDir= $BaseDir/$DataDir" +! echo "LogDir= $LogDir" + echo "LogFile= $LogFile" + echo "++++++++++++++++++++++++++++++" + +*************** +*** 302,308 **** + + if [ .$answer = . ] + then +! answer=x + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +--- 303,309 ---- + + if [ .$answer = . ] + then +! answer=y + fi + until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] + do +*************** +*** 338,345 **** + echo "#define ConfigDir \"$BaseDir/$ConfigDir\"" >> $ConfigH + echo "#define ConfigFile \"$ConfFile\"" >> $ConfigH + echo "#define DataDir \"$BaseDir/$DataDir\"" >> $ConfigH +! echo "#define DigitDir \"$BaseDir/$DigitDir\"" >> $ConfigH +! echo "#define LogDir \"$BaseDir/$LogDir\"" >> $ConfigH + echo "#define LogFile \"$LogFile\"" >> $ConfigH + + cat<>$ConfigH +--- 339,346 ---- + echo "#define ConfigDir \"$BaseDir/$ConfigDir\"" >> $ConfigH + echo "#define ConfigFile \"$ConfFile\"" >> $ConfigH + echo "#define DataDir \"$BaseDir/$DataDir\"" >> $ConfigH +! echo "#define DigitDir \"$LibDir/$DigitDir\"" >> $ConfigH +! echo "#define LogDir \"$LogDir\"" >> $ConfigH + echo "#define LogFile \"$LogFile\"" >> $ConfigH + + cat<>$ConfigH +*************** +*** 381,387 **** + * so RGB names can be looked up, but yet not allow users to make constant + * use of this very ineffiecient lookup. + *****************************************************************************/ +! #define RgbMappingDict "$BaseDir/rgb.txt" + EOX + + #if [ $allow_f_cr -eq 1 ] +--- 382,388 ---- + * so RGB names can be looked up, but yet not allow users to make constant + * use of this very ineffiecient lookup. + *****************************************************************************/ +! #define RgbMappingDict "$LibDir/rgb.txt" + EOX + + #if [ $allow_f_cr -eq 1 ] +*************** +*** 413,427 **** + ## + echo "creating variables template file $Tmpl for the install program.." + echo "BASE_DIR=\"$BaseDir\"" > $Tmpl + echo "CGIBIN_DIR=\"$CgiBinDir\"" >> $Tmpl + echo "CONFIG_FILE=\"$ConfFile\"" >> $Tmpl + echo "CONFIG_DIR=\"$BaseDir/$ConfigDir\"" >> $Tmpl +! echo "DIGIT_DIR=\"$BaseDir/$DigitDir\"" >> $Tmpl + echo "DATA_DIR=\"$BaseDir/$DataDir\"" >> $Tmpl +! echo "LOG_DIR=\"$BaseDir/$LogDir\"" >> $Tmpl + echo "LOG_FILE=\"$LogFile\"" >> $Tmpl + echo "RGB_FILE=\"$RgbFile\"" >> $Tmpl +! echo "RGB_DIR=\"$BaseDir\"" >> $Tmpl + ## + # create template for install program --ends + ## +--- 414,429 ---- + ## + echo "creating variables template file $Tmpl for the install program.." + echo "BASE_DIR=\"$BaseDir\"" > $Tmpl ++ echo "LIB_DIR=\"$LibDir\"" >> $Tmpl + echo "CGIBIN_DIR=\"$CgiBinDir\"" >> $Tmpl + echo "CONFIG_FILE=\"$ConfFile\"" >> $Tmpl + echo "CONFIG_DIR=\"$BaseDir/$ConfigDir\"" >> $Tmpl +! echo "DIGIT_DIR=\"$LibDir/$DigitDir\"" >> $Tmpl + echo "DATA_DIR=\"$BaseDir/$DataDir\"" >> $Tmpl +! echo "LOG_DIR=\"$LogDir\"" >> $Tmpl + echo "LOG_FILE=\"$LogFile\"" >> $Tmpl + echo "RGB_FILE=\"$RgbFile\"" >> $Tmpl +! echo "RGB_DIR=\"$LibDir\"" >> $Tmpl + ## + # create template for install program --ends + ## diff --git a/www/wwwcount/patches/patch-ab b/www/wwwcount/patches/patch-ab new file mode 100644 index 00000000000..7dd5a832c2b --- /dev/null +++ b/www/wwwcount/patches/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/patches/patch-ac b/www/wwwcount/patches/patch-ac new file mode 100644 index 00000000000..3b441499b0e --- /dev/null +++ b/www/wwwcount/patches/patch-ac @@ -0,0 +1,19 @@ +*** combine/Makefile.in.bak Fri May 3 04:19:02 1996 +--- combine/Makefile.in Thu May 16 21:50:06 1996 +*************** +*** 16,22 **** + # replace -O with -g in order to debug + + DEFINES= $(INCLUDES) $(DEFS) -D__USE_FIXED_PROTOTYPES__ -DSYS_UNIX=1 +! CFLAGS= -O $(DEFINES) + + SRCS = crbasei.c allocim.c readgif.c rddata.c dstraimg.c\ + readblk.c lzwdec.c syncimg.c duplicim.c writegif.c lsbfwrs.c\ +--- 16,22 ---- + # replace -O with -g in order to debug + + DEFINES= $(INCLUDES) $(DEFS) -D__USE_FIXED_PROTOTYPES__ -DSYS_UNIX=1 +! CFLAGS+= $(DEFINES) + + SRCS = crbasei.c allocim.c readgif.c rddata.c dstraimg.c\ + readblk.c lzwdec.c syncimg.c duplicim.c writegif.c lsbfwrs.c\ diff --git a/www/wwwcount/patches/patch-ad b/www/wwwcount/patches/patch-ad new file mode 100644 index 00000000000..ba38ffd04c4 --- /dev/null +++ b/www/wwwcount/patches/patch-ad @@ -0,0 +1,19 @@ +*** utils/Makefile.in.bak Mon Apr 8 03:20:07 1996 +--- utils/Makefile.in Thu May 16 21:53:01 1996 +*************** +*** 7,13 **** + CC= @CC@ + DEFS= @DEFS@ + DEFINES= $(INCLUDES) $(DEFS) -D__USE_FIXED_PROTOTYPES_ +! CFLAGS= -O $(DEFINES) + + BINARY=mkstrip + LIBS= ../combine/libCombine.a +--- 7,13 ---- + CC= @CC@ + DEFS= @DEFS@ + DEFINES= $(INCLUDES) $(DEFS) -D__USE_FIXED_PROTOTYPES_ +! CFLAGS+= $(DEFINES) + + BINARY=mkstrip + LIBS= ../combine/libCombine.a diff --git a/www/wwwcount/patches/patch-ae b/www/wwwcount/patches/patch-ae new file mode 100644 index 00000000000..adc106e86bc --- /dev/null +++ b/www/wwwcount/patches/patch-ae @@ -0,0 +1,179 @@ +*** Count-install.orig Fri May 3 06:20:31 1996 +--- Count-install Fri Sep 6 18:05:28 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 [nogroup]:$c? " + read answer + if [ .$answer = . ] + then +! answer=nogroup + fi + until [ $answer != "x" ] + do +*************** +*** 298,318 **** + # 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" + $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat + chmod 775 $DATA_DIR + +! echo "installing rgb.txt->$BASE_DIR" +! $INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $Rgbfile $BASE_DIR/rgb.txt + +! echo "creating Log directory $LOG_DIR" +! ./mkdirhier $LOG_DIR +! chown $UserId $LOG_DIR +! chgrp $GroupId $LOG_DIR +! chmod 775 $LOG_DIR + + echo "installing image strip for digit style A->$DIGIT_DIR/A" + $INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $DigitA/strip.gif\ +--- 298,317 ---- + # 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" + $INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat + chmod 775 $DATA_DIR + +! echo "installing rgb.txt->$RGB_DIR" +! $INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $Rgbfile $RGB_DIR/rgb.txt + +! echo "installing $LOG_FILE->$LOG_DIR" +! touch $LOG_DIR/$LOG_FILE +! chmod 644 $LOG_DIR/$LOG_FILE +! chown $UserId.$GroupId $LOG_DIR/$LOG_FILE + + echo "installing image strip for digit style A->$DIGIT_DIR/A" + $INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $DigitA/strip.gif\ +*************** +*** 344,349 **** +--- 343,350 ---- + #chown -R $UserId.$GroupId $BASE_DIR + find $BASE_DIR -exec chown $UserId {} \; + find $BASE_DIR -exec chgrp $GroupId {} \; ++ find $LIB_DIR -exec chown $UserId {} \; ++ find $LIB_DIR -exec chgrp $GroupId {} \; + # echo "UserId=$UserId" + # echo "GroupId=$GroupId" + ;; +*************** +*** 358,374 **** + + 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" + $INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat + +! echo "installing rgb.txt->$BASE_DIR" +! $INSTALL_PROG -c $Rgbfile $BASE_DIR/rgb.txt + +! echo "creating Log directory $LOG_DIR" +! ./mkdirhier $LOG_DIR + + echo "installing image strip for digit style A->$DIGIT_DIR/A" + $INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif +--- 359,376 ---- + + 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" + $INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat + +! echo "installing rgb.txt->$RGB_DIR" +! $INSTALL_PROG -c $Rgbfile $RGB_DIR/rgb.txt + +! echo "installing $LOG_FILE->$LOG_DIR" +! touch $LOG_DIR/$LOG_FILE +! chmod 644 $LOG_DIR/$LOG_FILE + + echo "installing image strip for digit style A->$DIGIT_DIR/A" + $INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif diff --git a/www/wwwcount/patches/patch-af b/www/wwwcount/patches/patch-af new file mode 100644 index 00000000000..7b3092bd061 --- /dev/null +++ b/www/wwwcount/patches/patch-af @@ -0,0 +1,19 @@ +*** main.c.bak Fri May 3 07:15:48 1996 +--- main.c Thu Dec 12 04:45:17 1996 +*************** +*** 1111,1117 **** + if (Gdebug == False) + { + (void) fprintf (stdout, +! "Content-type: image/gif%c%c",LF,LF); + (void) fflush (stdout); + } + return; +--- 1111,1117 ---- + if (Gdebug == False) + { + (void) fprintf (stdout, +! "Content-type: image/gif%cCache-control: no-store%c%c",LF,LF,LF); + (void) fflush (stdout); + } + return; diff --git a/www/wwwcount/pkg/COMMENT b/www/wwwcount/pkg/COMMENT new file mode 100644 index 00000000000..401523383b4 --- /dev/null +++ b/www/wwwcount/pkg/COMMENT @@ -0,0 +1 @@ +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 00000000000..97b60236e8e --- /dev/null +++ b/www/wwwcount/pkg/DESCR @@ -0,0 +1,6 @@ +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. + +The official homepage of Count is: + +http://www.semcor.com/~muquit/Count.html diff --git a/www/wwwcount/pkg/PLIST b/www/wwwcount/pkg/PLIST new file mode 100644 index 00000000000..f1f5d56efce --- /dev/null +++ b/www/wwwcount/pkg/PLIST @@ -0,0 +1,26 @@ +www/cgi-bin/Count.cgi +etc/Counter +etc/Counter/conf +etc/Counter/conf/count.cfg +etc/Counter/data +etc/Counter/data/sample.dat +lib/Counter/rgb.txt +lib/Counter/digits +lib/Counter/digits/A +lib/Counter/digits/A/strip.gif +lib/Counter/digits/B +lib/Counter/digits/B/strip.gif +lib/Counter/digits/C +lib/Counter/digits/C/strip.gif +lib/Counter/digits/D +lib/Counter/digits/D/strip.gif +lib/Counter/digits/D/lenna.gif +lib/Counter/digits/E +lib/Counter/digits/E/strip.gif +lib/Counter/digits/mkstrip.sh +bin/mkstrip +man/man1/mkstrip.1.gz +@exec touch /var/log/Counter.log +@exec chown nobody.nogroup /var/log/Counter.log +@exec chmod 644 /var/log/Counter.log +@unexec rm /var/log/Counter.log