Date: Mon, 01 Jun 1998 18:07:14 +0900 From: Taguchi Takeshi <taguchi@tohoku.iij.ad.jp> To: stas@sonet.crimea.ua Cc: ache@FreeBSD.ORG, ports@FreeBSD.ORG Subject: Re: FreeBSD Port: wwwcount-2.4 Message-ID: <19980601180714K.taguchi@tohoku.iij.ad.jp> In-Reply-To: Your message of "Thu, 28 May 1998 08:15:34 %2B0000" <356D1D26.41C67EA6@sonet.crimea.ua> References: <356D1D26.41C67EA6@sonet.crimea.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <gws@dis.on.ca> 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 <gws@dis.on.ca> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980601180714K.taguchi>