1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-13 23:36:08 +00:00
freebsd-ports/www/wwwcount/files/patch-ae

176 lines
4.6 KiB
Plaintext
Raw Normal View History

*** Count-install.orig Sat May 9 16:53:02 1998
--- Count-install Sun Jun 7 15:03:51 1998
***************
*** 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
##
1997-01-02 16:51:08 +00:00
! echo $n "*Enter group id of httpd's child process [nogroup]:$c? "
read answer
if [ .$answer = . ]
then
1997-01-02 16:51:08 +00:00
! answer=nogroup
fi
until [ $answer != "x" ]
do
***************
1997-11-06 00:12:19 +00:00
*** 323,336 ****
echo
fi
! echo "installing rgb.txt->$BASE_DIR"
! $INSTALL_PROG -c -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 -m 644 $DigitA/strip.gif\
1997-11-06 00:12:19 +00:00
--- 323,335 ----
echo
fi
! echo "installing rgb.txt->$RGB_DIR"
! $INSTALL_PROG -c -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 -m 644 $DigitA/strip.gif\
***************
*** 360,367 ****
# -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"
;;
--- 359,368 ----
# -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"
;;
***************
1997-11-06 00:12:19 +00:00
*** 376,392 ****
EOM
echo "installing Count.cgi->$CGIBIN_DIR"
! $INSTALL_PROG -c -m 755 $Binary $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
1997-11-06 00:12:19 +00:00
--- 377,394 ----
EOM
echo "installing Count.cgi->$CGIBIN_DIR"
! $INSTALL_PROG -s -c -m 755 $Binary $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