diff options
author | Menno Duursma <druiloor@zonnet.nl> | 2010-05-11 19:46:03 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 19:46:03 +0200 |
commit | 4e84f3cb9a395b4b118d9af2385dd89901cf3378 (patch) | |
tree | 203acc03527aca404cef3ec83f682e1ca4451965 /network/suphp/suphp.SlackBuild | |
parent | d0d06bee043fb0b5099627b5e3de8872effecbc0 (diff) | |
download | slackbuilds-4e84f3cb9a395b4b118d9af2385dd89901cf3378.tar.gz |
network/suphp: Updated for version 0.6.2
Diffstat (limited to 'network/suphp/suphp.SlackBuild')
-rw-r--r-- | network/suphp/suphp.SlackBuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/network/suphp/suphp.SlackBuild b/network/suphp/suphp.SlackBuild index e2072d42b2..0fb2b13fb9 100644 --- a/network/suphp/suphp.SlackBuild +++ b/network/suphp/suphp.SlackBuild @@ -12,17 +12,17 @@ VERSION=0.6.2 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -CWD=`pwd` +CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} # Drop the package in /tmp # The stock Apache on Slackware runs httpd onder system -# user/group account 'nobody'. If you happen to use some +# user/group account 'apache'. If you happen to use some # other account (which should improve security) change below # and make sure /etc/apache/suphp.conf matches -HTTPD_USER=nobody -HTTPD_GROUP=nobody +HTTPD_USER=apache +HTTPD_GROUP=apache if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" @@ -50,7 +50,7 @@ CXXFLAGS="$SLKCFLAGS" \ --prefix=/usr \ --with-apr=/usr/bin/apr-1-config \ --with-apxs=/usr/sbin/apxs \ - --sysconfdir=/etc/apache \ + --sysconfdir=/etc/httpd \ --with-apache-user=$HTTPD_USER \ --with-logfile=/var/log/apache/suphp_log @@ -69,10 +69,10 @@ cp -a AUTHORS COPYING ChangeLog doc/* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild # Add a sample configuration file -mkdir -p $PKG/etc/apache +mkdir -p $PKG/etc/httpd cat $CWD/suphp.conf \ - | tr 'webserver_user=nobody' "webserver_user=$HTTPD_USER" \ - >> $PKG/etc/apache/suphp.conf.new + | tr 'webserver_user=apache' "webserver_user=$HTTPD_USER" \ + >> $PKG/etc/httpd/suphp.conf.new # Copy the slack-desc (and a custom doinst.sh if necessary) into ./install mkdir -p $PKG/install |