From owner-freebsd-ports Mon Jun 1 02:09:05 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA29089 for freebsd-ports-outgoing; Mon, 1 Jun 1998 02:09:05 -0700 (PDT) (envelope-from owner-freebsd-ports@FreeBSD.ORG) Received: from tohokugw.tohoku.iij.ad.jp (firewall-user@tohokugw.tohoku.iij.ad.jp [202.232.14.98]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA29035; Mon, 1 Jun 1998 02:08:49 -0700 (PDT) (envelope-from taguchi@tohoku.iij.ad.jp) Received: by tohokugw.tohoku.iij.ad.jp; id SAA10933; Mon, 1 Jun 1998 18:07:26 +0900 (JST) Received: from unknown(192.168.144.5) by tohokugw.tohoku.iij.ad.jp via smap (3.2) id xma010931; Mon, 1 Jun 98 18:06:59 +0900 Received: from localhost (hirose.tohoku.iij.ad.jp [192.168.144.2]) by yubeshi.tohoku.iij.ad.jp (8.7.4/3.6W98060114) with ESMTP id JAA07826; Mon, 1 Jun 1998 09:06:58 GMT To: stas@sonet.crimea.ua Cc: ache@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: FreeBSD Port: wwwcount-2.4 From: Taguchi Takeshi In-Reply-To: Your message of "Thu, 28 May 1998 08:15:34 +0000" <356D1D26.41C67EA6@sonet.crimea.ua> References: <356D1D26.41C67EA6@sonet.crimea.ua> X-Mailer: Mew version 1.93b26 on XEmacs 20.4 (Emerald) X-Prom-Mew: Prom-Mew 1.92.9 (procmail reader for Mew) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <19980601180714K.taguchi@tohoku.iij.ad.jp> Date: Mon, 01 Jun 1998 18:07:14 +0900 X-Dispatcher: imput version 980407 Lines: 147 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi! > I guess I made all right, but got an error and tried to inform you. > I am sorry if I made an mistake and should not bother you. > Here is a patch. Enjoy! --- diff -ur wwwcount.orig/files/md5 wwwcount/files/md5 --- wwwcount.orig/files/md5 Mon Jun 1 17:09:36 1998 +++ wwwcount/files/md5 Mon Jun 1 17:08:50 1998 @@ -1 +1 @@ -MD5 (wwwcount2.4.tar.gz) = 0018e5632a9f296f1d771d04fb32a29d +MD5 (wwwcount2.4.tar.gz) = b9efab88431a1fd32f3908ba278d9375 diff -ur wwwcount.orig/patches/patch-ae wwwcount/patches/patch-ae --- wwwcount.orig/patches/patch-ae Mon Jun 1 17:09:35 1998 +++ wwwcount/patches/patch-ae Mon Jun 1 18:01:11 1998 @@ -1,5 +1,5 @@ -*** Count-install.orig Mon Nov 24 04:49:51 1997 ---- Count-install Sat Nov 29 18:33:38 1997 +*** Count-install.orig Sat May 9 21:53:02 1998 +--- Count-install Mon Jun 1 18:00:42 1998 *************** *** 193,199 **** @@ -30,11 +30,28 @@ read answer if [ .$answer = . ] then -! answer=y +! answer=y fi until [ $answer = "y" -o $answer = "Y" -o $answer = "n" -o $answer = "N" ] do *************** +*** 241,247 **** + read answer + if [ .$answer = . ] + then +! answer=x + fi + done + +--- 241,247 ---- + read answer + if [ .$answer = . ] + then +! answer=y + fi + done + +*************** *** 252,262 **** ### # enter user id -starts @@ -55,7 +72,7 @@ read answer if [ .$answer = . ] then -! answer=nobody +! answer=nobody fi until [ $answer != "x" ] do @@ -80,17 +97,34 @@ read answer if [ .$answer = . ] then -! answer=nogroup +! answer=nogroup 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 700 $Binary $CGIBIN_DIR/Count.cgi + echo "installing $CONFIG_FILE->$CONFIG_DIR" + + # +--- 298,304 ---- + # enter groud id -ends + ## + echo "installing Count.cgi->$CGIBIN_DIR" +! $INSTALL_PROG -s -c -o $UserId -g $GroupId -m 700 $Binary $CGIBIN_DIR/Count.cgi + echo "installing $CONFIG_FILE->$CONFIG_DIR" + + # +*************** *** 323,336 **** echo fi ! echo "installing rgb.txt->$BASE_DIR" -! $INSTALL_PROG -c -o $UserId -g $GroupId -m 644 $Rgbfile $BASE_DIR/rgb.txt +! $INSTALL_PROG -c -m 644 $Rgbfile $BASE_DIR/rgb.txt ! echo "creating Log directory $LOG_DIR" ! ./mkdirhier $LOG_DIR @@ -99,7 +133,7 @@ ! 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\ + $INSTALL_PROG -c -m 644 $DigitA/strip.gif\ --- 323,335 ---- echo fi @@ -113,15 +147,27 @@ ! 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\ + $INSTALL_PROG -c -m 644 $DigitA/strip.gif\ *************** -*** 362,367 **** ---- 361,368 ---- - #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 {} \; +*** 359,367 **** + # change ownership + # -R is not portable, reported by Geoff Scully and suggested + # the alternative (01/15/96) +! #chown -R $UserId.$GroupId $BASE_DIR +! #find $BASE_DIR -exec chown $UserId {} \; +! #find $BASE_DIR -exec chgrp $GroupId {} \; + # echo "UserId=$UserId" + # echo "GroupId=$GroupId" + ;; +--- 358,368 ---- + # change ownership + # -R is not portable, reported by Geoff Scully and suggested + # the alternative (01/15/96) +! 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" ;; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message