diff options
Diffstat (limited to 'www/apache/INSTALL')
-rw-r--r-- | www/apache/INSTALL | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/www/apache/INSTALL b/www/apache/INSTALL deleted file mode 100644 index cf1122572a9..00000000000 --- a/www/apache/INSTALL +++ /dev/null @@ -1,73 +0,0 @@ -#!/bin/sh -# -# $NetBSD: INSTALL,v 1.1 2001/11/01 02:16:06 zuntum Exp $ - -PKGNAME=$1 -STAGE=$2 - -CAT="@CAT@" -CHMOD="@CHMOD@" -CHOWN="@CHOWN@" -CP="@CP@" -MKDIR="@MKDIR@" - -SERVERROOT="@APACHE_SYSCONFDIR@" -LOGDIR=/var/log/httpd -SPOOLDIR=/var/spool/httpd -SAMPLECONFDIR=${PKG_PREFIX}/share/examples/httpd -CONFDIR=${SERVERROOT} -CONFFILES="httpd.conf" -NONCONFFILES="magic mime.types" - -case ${STAGE} in -PRE-INSTALL) - ;; - -POST-INSTALL) - ${MKDIR} ${SERVERROOT} - ${MKDIR} ${SERVERROOT}/ssl.crl - ${MKDIR} ${SERVERROOT}/ssl.crt - ${MKDIR} ${SERVERROOT}/ssl.csr - ${MKDIR} ${SERVERROOT}/ssl.key - ${MKDIR} ${SERVERROOT}/ssl.prm - ${MKDIR} ${LOGDIR} - ${MKDIR} ${SPOOLDIR} - ${MKDIR} ${SPOOLDIR}/proxy - ${CHOWN} nobody:nobody ${SPOOLDIR}/proxy - - echo "Installing configuration files:" - for file in ${CONFFILES} ${NONCONFFILES} - do - FILE=${CONFDIR}/${file} - SAMPLEFILE=${SAMPLECONFDIR}/${file}.default - if [ -f ${FILE} ] - then - echo " ${FILE} already exists" - else - echo " ${FILE}" - ${CP} ${SAMPLEFILE} ${FILE} - ${CHMOD} 644 ${FILE} - fi - done - ${CAT} << EOF - -=========================================================================== -Some files you might need to customize include the following: - -EOF - for file in ${CONFFILES} - do - FILE=${CONFDIR}/${file} - echo " ${FILE}" - done - ${CAT} << EOF -=========================================================================== -EOF - ;; - -*) - echo "Unexpected argument: ${STAGE}" - exit 1 - ;; -esac -exit 0 |