Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 1999 17:23:42 -0700 (PDT)
From:      dervish@ikhala.tcimet.net
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/13689: Update port www/wwwcount
Message-ID:  <19990911002342.DA250153BE@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         13689
>Category:       ports
>Synopsis:       Update port www/wwwcount
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Sep 10 17:30:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Bush Doctor
>Release:        4.0-current
>Organization:
>Environment:
FreeBSD ikhala.tcimet.net 4.0-CURRENT FreeBSD 4.0-CURRENT #23: Tue Sep  7 16:54:54 EDT 1999     root@ikhala.tcimet.net:/usr/src/sys/compile/GANJA  i386

>Description:
These diffs update wwwcount-2.4 to the
lastest stable release wwwcount-2.5
>How-To-Repeat:

>Fix:
diff -ruN wwwcount.old/Makefile wwwcount/Makefile 
--- wwwcount.old/Makefile       Tue Aug 31 02:15:27 1999
+++ wwwcount/Makefile   Fri Sep 10 16:00:24 1999
@@ -1,19 +1,15 @@
 # New ports collection makefile for:    wwwcount
-# Version required:     2.4
+# Version required:     2.5
 # Date created:         16 May 1996
 # Whom:                 ache
 #
 # $FreeBSD: ports/www/wwwcount/Makefile,v 1.14 1999/08/31 02:43:33 peter Exp $
 #
 
-# WWW site: http://www.fccc.edu/users/muquit/Count.html
-# For digit images look at:
-# http://www.digitmania.holowww.com/
-
-DISTNAME=       wwwcount2.4
-PKGNAME=        wwwcount-2.4
+DISTNAME=       wwwcount2.5
+PKGNAME=        wwwcount-2.5
 CATEGORIES=     www
-MASTER_SITES=   http://www.fccc.edu/users/muquit/src/wwwcount2.4/
+MASTER_SITES=   http://www.fccc.edu/users/muquit/src/wwwcount2.5/
 
 MAINTAINER=     dervish@ikhala.tcimet.net
 
@@ -23,15 +19,17 @@
 MAN1=          mkstrip.1 

 pre-configure:
-       cd ${WRKSRC}; yes "" | PREFIX=${PREFIX} ./Count-config
+       cd ${WRKSRC}; PREFIX=${PREFIX} ./Count-config
 
 post-build:
        cd ${WRKSRC}; ./Gen-conf
 
 do-install:
        cd ${WRKSRC}; yes "" | ./Count-install
+       cd ${WRKSRC}/utils/extdgts; \
+               ${INSTALL_PROGRAM} extdgts ${PREFIX}/bin;
        cd ${WRKSRC}/utils/mkstrip; \
-               ${INSTALL_PROGRAM} extdgts mkstrip ${PREFIX}/bin; \
+               ${INSTALL_PROGRAM} mkstrip ${PREFIX}/bin; \
                ${INSTALL_MAN} mkstrip.1 ${PREFIX}/man/man1; \
                ${INSTALL_SCRIPT} mkstrip.sh ${PREFIX}/lib/Counter/digits
 

diff -ruN wwwcount.old/files/md5 wwwcount/files/md5
--- wwwcount.old/files/md5      Sun Jun  7 18:39:06 1998
+++ wwwcount/files/md5  Fri Sep 10 13:05:53 1999
@@ -1 +1 @@
-MD5 (wwwcount2.4.tar.gz) = b9efab88431a1fd32f3908ba278d9375
+MD5 (wwwcount2.5.tar.gz) = 5e81fd01692269bb9fb56c2828e7dc74

diff -ruN wwwcount.old/patches/patch-aa wwwcount/patches/patch-aa
--- wwwcount.old/patches/patch-aa       Sat Nov 29 18:43:51 1997
+++ wwwcount/patches/patch-aa   Fri Sep 10 13:48:16 1999
@@ -1,8 +1,8 @@
-*** Count-config.orig  Mon Nov 24 04:49:51 1997
---- Count-config       Sat Nov 29 18:50:53 1997
+*** Count-config.orig  Fri Sep 10 13:26:09 1999
+--- Count-config       Fri Sep 10 13:40:21 1999
 ***************
 *** 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
+  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"
@@ -10,7 +10,7 @@
   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
+  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"
@@ -18,7 +18,7 @@
   if [ ! -f "./VERSION" ] 
   then
 ***************
-*** 37,49 ****
+*** 37,50 ****
   Version=`cat ./VERSION`
   Basedir="wwwcount$Version"
   ConfigH="src/config.h"
@@ -28,8 +28,9 @@
 ! DigitDir="$BaseDir/digits"
   DataDir="$BaseDir/data"
 ! LogDir="$BaseDir/logs"
-! LogFile="Count$Version.log"
-  RgbFile="./wcount/rgb.txt"
+! ext=`echo $Version | sed 's/\./_/g'`
+! LogFile="Count$ext.log"
+  RgbFile="./data/rgb.txt"
   
   #
 --- 37,50 ----
@@ -44,11 +45,11 @@
   DataDir="$BaseDir/data"
 ! LogDir="/var/log"
 ! LogFile="Counter.log"
-  RgbFile="./wcount/rgb.txt"
+  RgbFile="./data/rgb.txt"
   
   #
 ***************
-*** 117,123 ****
+*** 118,124 ****
   
   if [ .$answer = . ]
   then
@@ -65,7 +66,7 @@
       until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
       do
 ***************
-*** 183,191 ****
+*** 186,194 ****
   then
       BaseDir=$newpath
       ConfigDir=$BaseDir/conf
@@ -75,9 +76,9 @@
   fi
   
   #
---- 184,190 ----
+--- 186,192 ----
 ***************
-*** 374,380 ****
+*** 377,383 ****
   
   if [ .$answer = . ]
   then
@@ -85,7 +86,7 @@
   fi
       until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
       do
---- 373,379 ----
+--- 375,381 ----
   
   if [ .$answer = . ]
   then
@@ -94,7 +95,7 @@
       until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ]
       do
 ***************
-*** 517,523 ****
+*** 519,525 ****
   ** so RGB names can be looked up, but yet not allow users to make constant
   ** use of this very ineffiecient lookup.
   */
@@ -102,7 +103,7 @@
   EOX
   
   cat<<EOXXX>>$ConfigH
---- 516,522 ----
+--- 517,523 ----
   ** so RGB names can be looked up, but yet not allow users to make constant
   ** use of this very ineffiecient lookup.
   */
@@ -111,17 +112,17 @@
   
   cat<<EOXXX>>$ConfigH
 ***************
-*** 535,540 ****
---- 534,540 ----
-  ##
-  echo "creating variables template file $Tmpl for the install program.."
-  echo "BASE_DIR=\"$BaseDir\"" > $Tmpl
+*** 540,545 ****
+--- 538,544 ----
+  echo "CGIBIN_DIR=\"$CgiBinDir\"" > $Tmpl
+  
+  echo "BASE_DIR=\"$BaseDir\"" >> $Tmpl
 + echo "LIB_DIR=\"$LibDir\"" >> $Tmpl
-  echo "CGIBIN_DIR=\"$CgiBinDir\"" >> $Tmpl
   echo "CONFIG_FILE=\"$ConfFile\"" >> $Tmpl
   echo "CONFIG_DIR=\"$ConfigDir\"" >> $Tmpl
+  echo "DIGIT_DIR=\"$DigitDir\"" >> $Tmpl ***************
-*** 543,549 ****
+*** 547,553 ****
   echo "LOG_DIR=\"$LogDir\"" >> $Tmpl
   echo "LOG_FILE=\"$LogFile\"" >> $Tmpl
   echo "RGB_FILE=\"$RgbFile\"" >> $Tmpl
@@ -129,7 +130,7 @@
   ##
   # create template for install program --ends
   ##
---- 543,549 ----
+--- 546,552 ----
   echo "LOG_DIR=\"$LogDir\"" >> $Tmpl
   echo "LOG_FILE=\"$LogFile\"" >> $Tmpl
   echo "RGB_FILE=\"$RgbFile\"" >> $Tmpl


diff -ruN wwwcount.old/patches/patch-ab wwwcount/patches/patch-ab
--- wwwcount.old/patches/patch-ab       Thu Nov  6 06:31:58 1997
+++ wwwcount/patches/patch-ab   Fri Sep 10 14:01:13 1999
@@ -1,7 +1,7 @@
-*** configure.bak      Sat Oct 25 08:47:50 1997
---- configure  Thu Nov  6 00:59:05 1997
+*** configure.orig     Fri Sep 10 13:57:04 1999
+--- configure  Fri Sep 10 13:58:36 1999
 ***************
-*** 1587,1593 ****
+*** 1573,1579 ****
   s%@CFLAGS@%$CFLAGS%g
   s%@CPPFLAGS@%$CPPFLAGS%g
   s%@CXXFLAGS@%$CXXFLAGS%g
@@ -9,7 +9,7 @@
   s%@LDFLAGS@%$LDFLAGS%g
   s%@LIBS@%$LIBS%g
   s%@exec_prefix@%$exec_prefix%g
---- 1587,1593 ----
+--- 1573,1579 ----
   s%@CFLAGS@%$CFLAGS%g
   s%@CPPFLAGS@%$CPPFLAGS%g
   s%@CXXFLAGS@%$CXXFLAGS%g

diff -ruN wwwcount.old/pkg/DESCR wwwcount/pkg/DESCR
--- wwwcount.old/pkg/DESCR      Mon May  3 02:13:23 1999
+++ wwwcount/pkg/DESCR  Fri Sep 10 15:44:42 1999
@@ -1,4 +1,17 @@
-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 counter, clock and date all in one program.  This is a CGI
+program to record the number of raw hits on a web page.  It generates
+a GIF image of the number of hits and returns to the browser as an
+in-lined image. The program also has a run-time option not to show
+the digit images, this way the hits can be kept without being displayed.
+The hits can be be monitored without incrementing from a separate page
+as well. The program can also display the time and date of any timezone.
+It has a option to countdown to a specific date (past or future). Almost
+all of the features are run-time options.  The single program can be used
+for any number of web pages, for any number of users.
 
-WWW: http://www.semcor.com/~muquit/Count.html
+For digit images look at: http://www.digitmania.holowww.com/
+
+WWW: http://www.fccc.edu/users/muquit/Count.html
+
+- Bush Dcotor
+dervish@ikhala.tcimet.net


ikhala.tcimet.net:www> diff -ruN wwwcount.old/pkg/PLIST wwwcount/pkg/PLIST
--- wwwcount.old/pkg/PLIST      Sun Sep 13 07:10:46 1998
+++ wwwcount/pkg/PLIST  Fri Sep 10 18:08:51 1999
@@ -1,17 +1,39 @@
-www/cgi-bin/Count.cgi
+bin/extdgts
+bin/mkstrip
 etc/Counter/conf/count.cfg
 etc/Counter/data/sample.dat
-lib/Counter/rgb.txt
+etc/Counter/mirror_count.sh
 lib/Counter/digits/A/strip.gif
+lib/Counter/digits/A/peng.gif
+lib/Counter/digits/A/yeehaw.gif
 lib/Counter/digits/B/strip.gif
 lib/Counter/digits/C/strip.gif
 lib/Counter/digits/D/strip.gif
 lib/Counter/digits/D/lenna.gif
 lib/Counter/digits/E/strip.gif
+lib/Counter/digits/E/foo.gif
+lib/Counter/digits/cd/strip.gif
+lib/Counter/digits/cdr/strip.gif
+lib/Counter/digits/cdd/strip.gif
+lib/Counter/digits/bang/strip.gif
 lib/Counter/digits/mkstrip.sh
-bin/mkstrip
-bin/extdgts
+lib/Counter/rgb.txt
+www/cgi-bin/Count.cgi
 @exec touch /var/log/Counter.log
-@exec chown nobody.nogroup /var/log/Counter.log
+@exec chown nobody:nobody /var/log/Counter.log
 @exec chmod 644 /var/log/Counter.log
 @unexec rm /var/log/Counter.log
+@dirrm etc/Counter/conf
+@dirrm etc/Counter/data
+@dirrm etc/Counter
+@dirrm lib/Counter/digits/A
+@dirrm lib/Counter/digits/B
+@dirrm lib/Counter/digits/C
+@dirrm lib/Counter/digits/D
+@dirrm lib/Counter/digits/E
+@dirrm lib/Counter/digits/cd
+@dirrm lib/Counter/digits/cdr
+@dirrm lib/Counter/digits/cdd
+@dirrm lib/Counter/digits/bang
+@dirrm lib/Counter/digits
+@dirrm lib/Counter


To all users of this port sorry about the delay ...
Thanks to FDP for their excellent work.
Did I make the freeze deadline???

#:^)


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990911002342.DA250153BE>