Subject: pkg/7561: port of freebsd's www/wwwcount for Count-2.5
To: None <gnats-bugs@gnats.netbsd.org>
From: None <woods@mail.weird.com>
List: netbsd-bugs
Date: 05/11/1999 23:52:36
>Number:         7561
>Category:       pkg
>Synopsis:       port of freebsd's www/wwwcount for Count-2.5
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager (NetBSD software packages system bug manager)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Tue May 11 23:50:00 1999
>Last-Modified:
>Originator:     Greg A. Woods
>Organization:
Planix, Inc.; Toronto, Ontario; Canada
>Release:        pkgsrc-current Tue May 11 08:17:03 EDT 1999
>Environment:

System: NetBSD-1.3.3 i386

>Description:

	This is a port of FreeBSD's www/wwwcount "package" for
	Count-2.5, a WWW CGI program used to maintain web page counters,
	display current and countdown date and time etc.  It has been
	updated to the current release of Count (2.5), fixed to install
	documentation and place files as per hier(7), and otherwise
	cleaned up and made a bit more NetBSD-friendly.

	This package has been successfully installed as a binary package
	on NetBSD/i386-1.3.3 and tested with Apache-1.3.3.2 (from
	pkgsrc).

>How-To-Repeat:

	fall prey to dazzling digits

>Fix:

	import ftp://ftp.freebsd.org/pub/FreeBSD/FreeBSD-current/ports/www/wwwcount/

	unshar the following over top of it

	add $NetBSD lines and other fluff

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	Makefile
#	files
#	files/md5
#	files/wwwcount.conf
#	patches
#	patches/patch-aa
#	patches/patch-ab
#	patches/patch-ae
#	pkg
#	pkg/COMMENT
#	pkg/DESCR
#	pkg/MESSAGE
#	pkg/PLIST
#
echo x - Makefile
sed 's/^X//' >Makefile << 'END-of-Makefile'
X# New ports collection makefile for:    wwwcount
X# Version required:     2.5
X# Date created:         11 May 1999
X# Whom:                 ache
X#
X# $FreeBSD: Makefile,v 1.12 1998/09/28 18:02:05 smace Exp $
X#
X
X# For digit images look at:
X# http://www.digitmania.holowww.com/
X
XDISTNAME=       wwwcount2.5
XPKGNAME=        wwwcount-2.5
XCATEGORIES=     www
XMASTER_SITES=   http://www.fccc.edu/users/muquit/src/wwwcount2.5/
X
XHOMEPAGE=	http://www.fccc.edu/users/muquit/Count.html
XMAINTAINER=     packages@NetBSD.ORG
X
XGNU_CONFIGURE=  yes
X
Xpre-configure:
X	cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} ./Count-config
X
Xdo-install:
X	cd ${WRKSRC}; yes "" | ./Count-install
X	${INSTALL_DATA} ${FILESDIR}/wwwcount.conf ${PREFIX}/share/examples
X	${INSTALL_PROGRAM} ${WRKSRC}/utils/extdgts/extdgts ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/utils/mkstrip/mkstrip ${PREFIX}/bin
X	${INSTALL_MAN} ${WRKSRC}/utils/mkstrip/mkstrip.1 ${PREFIX}/man/man1
X	${INSTALL_MAN_DIR} ${PREFIX}/share/doc/wwwcount
X	${INSTALL_MAN} ${WRKSRC}/docs/blues.gif ${PREFIX}/share/doc/wwwcount
X	${INSTALL_MAN} ${WRKSRC}/docs/Count.html ${PREFIX}/share/doc/wwwcount
X	${INSTALL} -l rs ${PREFIX}/share/doc/wwwcount/Count.html ${PREFIX}/share/doc/wwwcount/index.html
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2_5-ex.html ${PREFIX}/share/doc/wwwcount
X	${INSTALL_MAN} ${WRKSRC}/docs/Count_Changelog.html ${PREFIX}/share/doc/wwwcount
X	${INSTALL_MAN} ${WRKSRC}/docs/Count_FAQ.html ${PREFIX}/share/doc/wwwcount
X	${INSTALL_MAN} ${WRKSRC}/docs/Count_download.html ${PREFIX}/share/doc/wwwcount
X	${INSTALL_MAN} ${WRKSRC}/docs/Count_mirrors.html ${PREFIX}/share/doc/wwwcount
X	${INSTALL_MAN_DIR} ${PREFIX}/share/doc/wwwcount/Count2.5
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/c-c.txt ${PREFIX}/share/doc/wwwcount/Count2.5
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/gen-c.txt ${PREFIX}/share/doc/wwwcount/Count2.5
X	${INSTALL_MAN_DIR} ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleA.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleB.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleC.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleD.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/styleE.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/stylecd.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/stylecdd.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/images/stylecdr.gif ${PREFIX}/share/doc/wwwcount/Count2.5/images
X	${INSTALL_MAN_DIR} ${PREFIX}/share/doc/wwwcount/Count2.5/eximages
X	${INSTALL_MAN} ${WRKSRC}/docs/Count2.5/eximages/* ${PREFIX}/share/doc/wwwcount/Count2.5/eximages
X	${INSTALL_SCRIPT} ${WRKSRC}/utils/mkstrip/mkstrip.sh ${PREFIX}/libdata/wwwcount/digits
X
X.include "../../mk/bsd.pkg.mk"
END-of-Makefile
echo c - files
mkdir -p files > /dev/null 2>&1
echo x - files/md5
sed 's/^X//' >files/md5 << 'END-of-files/md5'
X$NetBSD$
X
XMD5 (wwwcount2.5.tar.gz) = 90002b94a199f8d57ccabd0b89176e79
END-of-files/md5
echo x - files/wwwcount.conf
sed 's/^X//' >files/wwwcount.conf << 'END-of-files/wwwcount.conf'
X###-----------------------------------------------------------------------
X### configuration file for Count 2.5
X###
X### Note: Configuration file format for Count 2.5 is different than
X###       older versions. -- mm
X### The format of the file is described below:
X###   - Any line starts with # or ; is considered comment and ignored.
X###   - A section in the file is inside left and right bracket.
X###   - Each section has parameters below the section.
X###
X### Please read the Configuration section in the counter webpage for details.
X### The official counter homepage is at URL:
X###     http://www.fccc.edu/users/muquit/Count.html
X###----------------------------------------------------------------------
X
X[version]
X   2.5 
X
X##-- options section
X; If auto_file_creation=Yes, then the users can create data files. It IS
X;  dangerous to set this option to Yes.
X#
X; strict_mode=Yes or No. Run the program in strict mode or not. It's a good
X;  idea to set this option to Yes.
X#
X; allow_rgb_database=Yes or No. Convenient to use because colorname e.g., red,
X;  gold etc can be used instead of rgb components of the color, however it is
X;  very inefficient to lookup. If your site is busy, set this option to No.
X#
X; count_reload=Yes or No. It is a good idea to set this option to No. But
X;  you've to set this option to Yes if you are running a proxy server.
X;  Normally set this option to Yes.
X#
X; log_error_messages=Yes or No. If your site is extremely busy and if the
X;  counter generates lots of logs, set this option to No. Normally set this
X;  option to Yes.
X#
X; show_error_messages_to_browsers=Yes or No. Set this option to No if you're
X;  concerned with privacy and you're sure that the counter works perfectly.
X;  If you set this option to No, you will not see error messages.
X
X[options]
X  auto_file_creation=No
X  strict_mode=Yes
X  allow_rgb_database=No
X  count_reload=Yes
X  log_error_messages=Yes
X  show_error_messages_to_browsers=Yes
X
X; You can specify IP address of the hosts you want to ignore from
X; counting.  Netmasks can be used to ignore a entire network or a
X; specific range of hosts in the network.  Read the counter
X; documentation to know about netmasks.  Wild card can be used as
X; well.  One item per line.
X;
X[ignore IPs]
X  10.10.0.0 255.0.0.0
X  172.16.0.0 255.255.0.0
X  192.168.0.0 255.255.0.0
X
X; All possible names and IP addresses by which your host can be
X; referred.  These hosts can access the counter remotely or locally.
X; Host running the http server must exist here.  Wild cards can be
X; used.  One item per line.  NOTE: 192.0.2.0/24 is listed as the
X; TEST-NET.
X;
X[authorized]
X  www.your.domain
X  www
X  192.0.2.1
END-of-files/wwwcount.conf
echo c - patches
mkdir -p patches > /dev/null 2>&1
echo x - patches/patch-aa
sed 's/^X//' >patches/patch-aa << 'END-of-patches/patch-aa'
X*** Count-config.orig	Tue May 11 19:44:15 1999
X***************
X*** 20,26 ****
X  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
X  
X  Tmpl="./Config.tmpl"
X! CgiBinDir="/usr/local/etc/httpd/cgi-bin"
X  
X  if [ ! -f "./VERSION" ] 
X  then
X--- 20,26 ----
X  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
X  
X  Tmpl="./Config.tmpl"
X! CgiBinDir="${PREFIX}/libexec/cgi-bin"
X  
X  if [ ! -f "./VERSION" ] 
X  then
X***************
X*** 35,51 ****
X  
X  AUTHOR="ma_muquit@fccc.edu"
X  Version=`cat ./VERSION`
X- Basedir="wwwcount$Version"
X  ConfigH="src/config.h"
X! BaseDir="/usr/local/etc/Counter"
X! ConfigDir="$BaseDir/conf"
X! ConfFile="count.cfg"
X! DigitDir="$BaseDir/digits"
X! DataDir="$BaseDir/data"
X! LogDir="$BaseDir/logs"
X- ext=`echo $Version | sed 's/\./_/g'`
X! LogFile="Count$ext.log"
X! RgbFile="./data/rgb.txt"
X  
X  #
X  # from php/fis install script
X--- 35,50 ----
X  
X  AUTHOR="ma_muquit@fccc.edu"
X  Version=`cat ./VERSION`
X  ConfigH="src/config.h"
X! BaseDir="${PREFIX}/etc"
X+ LibDir="${PREFIX}/libdata/wwwcount"
X! ConfigDir="${PREFIX}/etc"
X! ConfFile="wwwcount.conf"
X! DigitDir="$LibDir/digits"
X! DataDir="${PREFIX}/var/db/wwwcount"
X! LogDir="${PREFIX}/var/log"
X! LogFile="wwwcount"
X! RgbFile="rgb.txt"
X  
X  #
X  # from php/fis install script
X***************
X*** 118,124 ****
X  
X  if [ .$answer = . ]
X  then
X!     answer=x
X  fi
X      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X      do
X--- 119,125 ----
X  
X  if [ .$answer = . ]
X  then
X!     answer=y
X  fi
X      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X      do
X***************
X*** 377,383 ****
X  
X  if [ .$answer = . ]
X  then
X!     answer=x
X  fi
X      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X      do
X--- 376,382 ----
X  
X  if [ .$answer = . ]
X  then
X!     answer=y
X  fi
X      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X      do
X***************
X*** 519,525 ****
X  ** so RGB names can be looked up, but yet not allow users to make constant
X  ** use of this very ineffiecient lookup.
X  */
X! #define RGB_MAPPING_DICT            "$BaseDir/rgb.txt"
X  EOX
X  
X  cat<<EOXXX>>$ConfigH
X--- 518,524 ----
X  ** so RGB names can be looked up, but yet not allow users to make constant
X  ** use of this very ineffiecient lookup.
X  */
X! #define RGB_MAPPING_DICT            "$LibDir/rgb.txt"
X  EOX
X  
X  cat<<EOXXX>>$ConfigH
X***************
X*** 547,553 ****
X  echo "LOG_DIR=\"$LogDir\"" >> $Tmpl
X  echo "LOG_FILE=\"$LogFile\"" >> $Tmpl
X  echo "RGB_FILE=\"$RgbFile\"" >> $Tmpl
X! echo "RGB_DIR=\"$BaseDir\"" >> $Tmpl
X  ##
X  # create template for install program --ends
X  ##
X--- 546,552 ----
X  echo "LOG_DIR=\"$LogDir\"" >> $Tmpl
X  echo "LOG_FILE=\"$LogFile\"" >> $Tmpl
X  echo "RGB_FILE=\"$RgbFile\"" >> $Tmpl
X! echo "RGB_DIR=\"$LibDir\"" >> $Tmpl
X  ##
X  # create template for install program --ends
X  ##
END-of-patches/patch-aa
echo x - patches/patch-ab
sed 's/^X//' >patches/patch-ab << 'END-of-patches/patch-ab'
X*** configure.bak	Sat Oct 25 08:47:50 1997
X***************
X*** 1587,1593 ****
X  s%@CFLAGS@%$CFLAGS%g
X  s%@CPPFLAGS@%$CPPFLAGS%g
X  s%@CXXFLAGS@%$CXXFLAGS%g
X! s%@DEFS@%$DEFS%g
X  s%@LDFLAGS@%$LDFLAGS%g
X  s%@LIBS@%$LIBS%g
X  s%@exec_prefix@%$exec_prefix%g
X--- 1587,1593 ----
X  s%@CFLAGS@%$CFLAGS%g
X  s%@CPPFLAGS@%$CPPFLAGS%g
X  s%@CXXFLAGS@%$CXXFLAGS%g
X! s%@DEFS@%$CFLAGS $DEFS%g
X  s%@LDFLAGS@%$LDFLAGS%g
X  s%@LIBS@%$LIBS%g
X  s%@exec_prefix@%$exec_prefix%g
END-of-patches/patch-ab
echo x - patches/patch-ae
sed 's/^X//' >patches/patch-ae << 'END-of-patches/patch-ae'
X*** Count-install.orig	Mon Mar  1 18:15:16 1999
X***************
X*** 13,19 ****
X  # Nov 24, 1995
X  ##
X  ver=`cat ./VERSION`
X- Basedir="wwwcount$ver"
X  INSTALL_PROG="./install-sh"
X  Tmpl="./Config.tmpl"
X  Binary="./src/Count.cgi"
X--- 13,18 ----
X***************
X*** 27,34 ****
X  Digit_cdd="./data/digits/cdd"
X  Rgbfile="./data/rgb.txt"
X  SAMPLE_DAT="./data/data/sample.dat"
X- mirror_file="mirror_count.sh"
X- mirror_script="./utils/mirror/$mirror_file"
X  
X  UserId="nobody"
X  userid_flag=0
X--- 26,31 ----
X***************
X*** 114,133 ****
X  
X  . $Tmpl
X  
X- if [ ! -f ./$CONFIG_FILE ]
X- then
X- 
X- cat <<EOC
X- 
X-     The configuration file $CONFIG_FILR is not created!
X-     please create it first by running the script ./Gen-conf
X- 
X-     Aborting installation!
X- EOC
X- 
X-     exit 1
X- fi
X- 
X  tdir="./tmp"
X  
X  if [ ! -d $tdir ]; then
X--- 111,116 ----
X***************
X*** 196,202 ****
X  
X  cgi-bin directory   = $CGIBIN_DIR
X  conf directory      = $CONFIG_DIR
X- conf file to install= $CONFIG_FILE
X  digit directory     = $DIGIT_DIR
X  data directory      = $DATA_DIR
X  log directory       = $LOG_DIR
X--- 179,184 ----
X***************
X*** 211,217 ****
X  
X  if [ .$answer = . ]
X  then
X!     answer=x
X  fi
X      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X      do
X--- 193,199 ----
X  
X  if [ .$answer = . ]
X  then
X!     answer=y
X  fi
X      until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X      do
X***************
X*** 252,258 ****
X     read answer
X     if [ .$answer = . ]
X     then
X!         answer=x
X     fi   
X     until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X     do
X--- 234,240 ----
X     read answer
X     if [ .$answer = . ]
X     then
X! 	answer=y
X     fi   
X     until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
X     do
X***************
X*** 271,281 ****
X  ###
X  # enter user id -starts
X  ###
X!    echo $n "*Enter user id of httpd's child process [no default]:$c? "
X     read answer
X     if [ .$answer = . ]
X     then 
X!         answer=x
X     fi
X     until [ $answer != "x" ]
X     do
X--- 253,263 ----
X  ###
X  # enter user id -starts
X  ###
X!    echo $n "*Enter user id of httpd's child process [nobody]:$c? "
X     read answer
X     if [ .$answer = . ]
X     then 
X! 	answer=nobody
X     fi
X     until [ $answer != "x" ]
X     do
X***************
X*** 295,305 ****
X  ##
X  # enter groud id -starts
X  ##
X!    echo $n "*Enter group id of httpd's child process [no default]:$c? "
X     read answer
X     if [ .$answer = . ]
X     then 
X!         answer=x
X     fi
X     until [ $answer != "x" ]
X     do
X--- 277,287 ----
X  ##
X  # enter groud id -starts
X  ##
X!    echo $n "*Enter group id of httpd's child process [nogroup]:$c? "
X     read answer
X     if [ .$answer = . ]
X     then 
X! 	answer=nogroup
X     fi
X     until [ $answer != "x" ]
X     do
X***************
X*** 317,340 ****
X  # enter groud id -ends
X  ##
X  echo "installing Count.cgi->$CGIBIN_DIR"
X! $INSTALL_PROG -c -o $UserId -g $GroupId -m 700 $Binary $CGIBIN_DIR/Count.cgi
X! echo "installing $CONFIG_FILE->$CONFIG_DIR"
X! 
X! #
X! # check if the file exist or not
X! #
X! 
X! if [ ! -f $CONFIG_DIR/$CONFIG_FILE ]; then
X! 
X!     $INSTALL_PROG -c -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE
X! else
X!     echo "  ===> ****** File exists!"
X!     echo "  ===> skipping... Will not overwrite $CONFIG_DIR/$CONFIG_FILE"
X!     echo "  ===> install it manually if you want to overwrite"
X! 	echo "  ===> To install manually, at the shell prompt type: "
X!     echo " $INSTALL_PROG -c -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE"
X! 	echo ""
X! fi
X  
X  echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
X  
X--- 299,305 ----
X  # enter groud id -ends
X  ##
X  echo "installing Count.cgi->$CGIBIN_DIR"
X! $INSTALL_PROG -c $Binary $CGIBIN_DIR/Count.cgi
X  
X  echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
X  
X***************
X*** 350,363 ****
X  	echo ""
X  fi
X  
X! echo "installing rgb.txt->$BASE_DIR"
X! $INSTALL_PROG -c -m 644 $Rgbfile $BASE_DIR/rgb.txt
X  
X! echo "creating Log directory $LOG_DIR"
X! ./mkdirhier $LOG_DIR
X! chown $UserId $LOG_DIR
X! chgrp $GroupId $LOG_DIR
X! chmod 775 $LOG_DIR
X  
X  echo "installing image strip for digit style A->$DIGIT_DIR/A"
X  $INSTALL_PROG -c -m 644 $DigitA/strip.gif\
X--- 315,327 ----
X  	echo ""
X  fi
X  
X! echo "installing rgb.txt->$RGB_DIR"
X! $INSTALL_PROG -c -m 644 $Rgbfile $RGB_DIR/rgb.txt
X  
X! echo "installing $LOG_FILE->$LOG_DIR"
X! touch $LOG_DIR/$LOG_FILE
X! chmod 644 $LOG_DIR/$LOG_FILE
X! chown $UserId.$GroupId $LOG_DIR/$LOG_FILE
X  
X  echo "installing image strip for digit style A->$DIGIT_DIR/A"
X  $INSTALL_PROG -c -m 644 $DigitA/strip.gif\
X***************
X*** 399,416 ****
X  $INSTALL_PROG -c -m 644 $Digit_cdd/strip.gif\
X      $DIGIT_DIR/cdd/strip.gif
X  
X- echo "installing the mirroring script"
X- $INSTALL_PROG -c $mirror_script -m 755 $BASE_DIR/$mirror_file
X- 
X- ##
X- # change ownership
X- # -R is not portable, reported by Geoff Scully <gws@dis.on.ca> and suggested
X- # the alternative (01/15/96)
X- #chown -R $UserId.$GroupId $BASE_DIR
X- #find $BASE_DIR -exec chown $UserId {} \;
X- #find $BASE_DIR -exec chgrp $GroupId {} \;
X- #            echo "UserId=$UserId"
X- #            echo "GroupId=$GroupId"
X          ;;
X          n|N)
X  cat <<EOM
X--- 363,368 ----
X***************
X*** 423,439 ****
X  
X  EOM
X  echo "installing Count.cgi->$CGIBIN_DIR"
X! $INSTALL_PROG -c -m 755 $Binary $CGIBIN_DIR/Count.cgi
X! echo "installing $CONFIG_FILE->$CONFIG_DIR"
X! $INSTALL_PROG -c $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE
X  echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
X  $INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat
X  
X! echo "installing rgb.txt->$BASE_DIR"
X! $INSTALL_PROG -c $Rgbfile $BASE_DIR/rgb.txt
X  
X! echo "creating Log directory $LOG_DIR"
X! ./mkdirhier $LOG_DIR
X  
X  echo "installing image strip for digit style A->$DIGIT_DIR/A"
X  $INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif
X--- 375,390 ----
X  
X  EOM
X  echo "installing Count.cgi->$CGIBIN_DIR"
X! $INSTALL_PROG -s -c -m 755 $Binary $CGIBIN_DIR/Count.cgi
X  echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
X  $INSTALL_PROG -c $SAMPLE_DAT $DATA_DIR/sample.dat
X  
X! echo "installing rgb.txt->$RGB_DIR"
X! $INSTALL_PROG -c $Rgbfile $RGB_DIR/rgb.txt
X  
X! echo "installing $LOG_FILE->$LOG_DIR"
X! touch $LOG_DIR/$LOG_FILE
X! chmod 644 $LOG_DIR/$LOG_FILE
X  
X  echo "installing image strip for digit style A->$DIGIT_DIR/A"
X  $INSTALL_PROG -c $DigitA/strip.gif $DIGIT_DIR/A/strip.gif
X***************
X*** 464,472 ****
X  
X  echo "installing image strip for digit style cdd->$DIGIT_DIR/cdd"
X  $INSTALL_PROG -c $Digit_cdd/strip.gif $DIGIT_DIR/cdd/strip.gif
X- 
X- echo "installing the mirroring script"
X- $INSTALL_PROG -c $mirror_script $BASE_DIR/$mirror_file
X  
X      ;;
X          *)
X--- 415,420 ----
END-of-patches/patch-ae
echo c - pkg
mkdir -p pkg > /dev/null 2>&1
echo x - pkg/COMMENT
sed 's/^X//' >pkg/COMMENT << 'END-of-pkg/COMMENT'
XGraphical access counter, clock and date indicator for WWW pages
END-of-pkg/COMMENT
echo x - pkg/DESCR
sed 's/^X//' >pkg/DESCR << 'END-of-pkg/DESCR'
XThe counter, clock and date, all in one program.  This single program can
Xbe used for any number of web pages, for any number of users.
X
XWWW: http://www.semcor.com/~muquit/Count.html
END-of-pkg/DESCR
echo x - pkg/MESSAGE
sed 's/^X//' >pkg/MESSAGE << 'END-of-pkg/MESSAGE'
X
X     If you are using this program, I like to hear from you.  If you are
X     having any problem with the program, please let me know as well.
X     Feel free to send any suggestion.  If you think that the program is
X     cool, please consider sending me a picture postcard of the area
X     where you live.  Thanks to all of you who sent me the nice
X     postcards.  I really appreciate it.
X
X     snail-mail:
X
X         Muhammad A Muquit
X         Fox Chase Cancer Center
X         Research Computing Services (C119)
X         7701 Burholme Avenue
X         Philadelphia, PA 19111
X         USA
X         
X
X     email: ma_muquit@fccc.edu 
X
X     Thanks. 
X
X     Enjoy! 
X
END-of-pkg/MESSAGE
echo x - pkg/PLIST
sed 's/^X//' >pkg/PLIST << 'END-of-pkg/PLIST'
X@comment "@(#)$NetBSD$"
Xbin/mkstrip
Xbin/extdgts
Xlibdata/wwwcount/rgb.txt
Xlibdata/wwwcount/digits/A/peng.gif
Xlibdata/wwwcount/digits/A/strip.gif
Xlibdata/wwwcount/digits/B/strip.gif
Xlibdata/wwwcount/digits/C/strip.gif
Xlibdata/wwwcount/digits/D/lenna.gif
Xlibdata/wwwcount/digits/D/strip.gif
Xlibdata/wwwcount/digits/E/strip.gif
Xlibdata/wwwcount/digits/cd/strip.gif
Xlibdata/wwwcount/digits/cdd/strip.gif
Xlibdata/wwwcount/digits/cdr/strip.gif
Xlibdata/wwwcount/digits/mkstrip.sh
Xlibexec/cgi-bin/Count.cgi
Xshare/doc/wwwcount/blues.gif
Xshare/doc/wwwcount/index.html
Xshare/doc/wwwcount/Count.html
Xshare/doc/wwwcount/Count2_5-ex.html
Xshare/doc/wwwcount/Count_Changelog.html
Xshare/doc/wwwcount/Count_FAQ.html
Xshare/doc/wwwcount/Count_download.html
Xshare/doc/wwwcount/Count_mirrors.html
Xshare/doc/wwwcount/Count2.5/c-c.txt
Xshare/doc/wwwcount/Count2.5/gen-c.txt
Xshare/doc/wwwcount/Count2.5/images/styleA.gif
Xshare/doc/wwwcount/Count2.5/images/styleB.gif
Xshare/doc/wwwcount/Count2.5/images/styleC.gif
Xshare/doc/wwwcount/Count2.5/images/styleD.gif
Xshare/doc/wwwcount/Count2.5/images/styleE.gif
Xshare/doc/wwwcount/Count2.5/images/stylecd.gif
Xshare/doc/wwwcount/Count2.5/images/stylecdd.gif
Xshare/doc/wwwcount/Count2.5/images/stylecdr.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51026648.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51055166.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51083684.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51112202.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5114072.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51140720.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51169238.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51197756.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51226274.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51254792.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51283310.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51311828.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51340346.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_51368864.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5142590.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5171108.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5199626.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5228144.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5256662.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_528518.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5285180.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5313698.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5342216.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5370734.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5399252.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5427770.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5456288.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5484806.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5513324.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5541842.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_557036.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5570360.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5598878.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5627396.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5655914.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5684432.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5712950.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5741468.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5769986.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5798504.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5827022.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_585554.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5855540.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5884058.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5912576.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5941094.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5969612.gif
Xshare/doc/wwwcount/Count2.5/eximages/ex2_5998130.gif
Xshare/examples/wwwcount.conf
X@exec if [ ! -f %D/etc/wwwcount.conf ]; then cp -p %D/share/examples/wwwcount.conf %D/etc/wwwcount.conf; fi
Xshare/man/man1/mkstrip.1
Xvar/db/wwwcount/sample.dat
X@exec touch %D/var/log/wwwcount
X@exec chown nobody.nogroup %D/var/log/wwwcount
X@dirrm libdata/wwwcount/digits/A
X@dirrm libdata/wwwcount/digits/B
X@dirrm libdata/wwwcount/digits/C
X@dirrm libdata/wwwcount/digits/D
X@dirrm libdata/wwwcount/digits/E
X@dirrm libdata/wwwcount/digits/cd
X@dirrm libdata/wwwcount/digits/cdd
X@dirrm libdata/wwwcount/digits/cdr
X@dirrm libdata/wwwcount/digits
X@dirrm libdata/wwwcount
X@dirrm share/doc/wwwcount/Count2.5/images
X@dirrm share/doc/wwwcount/Count2.5/eximages
X@dirrm share/doc/wwwcount/Count2.5
X@dirrm share/doc/wwwcount
END-of-pkg/PLIST
exit

>Audit-Trail:
>Unformatted: