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

180 lines
5.1 KiB
Plaintext
Raw Normal View History

*** Count-install.orig Fri May 3 06:20:31 1996
--- Count-install Fri Sep 6 18:05:28 1996
***************
*** 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
***************
*** 298,318 ****
# enter groud id -ends
##
echo "installing Count.cgi->$CGIBIN_DIR"
! $INSTALL_PROG -c -o $UserId -g $GroupId -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi
echo "installing $CONFIG_FILE->$CONFIG_DIR"
$INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE
echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
$INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat
chmod 775 $DATA_DIR
! echo "installing rgb.txt->$BASE_DIR"
! $INSTALL_PROG -c -o $UserId -g $GroupId -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 -o $UserId -g $GroupId -m 644 $DigitA/strip.gif\
--- 298,317 ----
# enter groud id -ends
##
echo "installing Count.cgi->$CGIBIN_DIR"
! $INSTALL_PROG -s -c -o $UserId -g $GroupId -m 755 ./Count.cgi $CGIBIN_DIR/Count.cgi
echo "installing $CONFIG_FILE->$CONFIG_DIR"
$INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $CONFIG_FILE $CONFIG_DIR/$CONFIG_FILE
echo "installing sample datafile $SAMPLE_DAT->$DATA_DIR"
$INSTALL_PROG -c -o $UserId -g $GroupId -m 664 $SAMPLE_DAT $DATA_DIR/sample.dat
chmod 775 $DATA_DIR
! echo "installing rgb.txt->$RGB_DIR"
! $INSTALL_PROG -c -o $UserId -g $GroupId -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 -o $UserId -g $GroupId -m 644 $DigitA/strip.gif\
***************
*** 344,349 ****
--- 343,350 ----
#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"
;;
***************
*** 358,374 ****
EOM
echo "installing Count.cgi->$CGIBIN_DIR"
! $INSTALL_PROG -c -m 755 ./Count.cgi $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
--- 359,376 ----
EOM
echo "installing Count.cgi->$CGIBIN_DIR"
! $INSTALL_PROG -s -c -m 755 ./Count.cgi $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