summaryrefslogtreecommitdiff
path: root/network/lighttpd/lighttpd.SlackBuild
diff options
context:
space:
mode:
authorponce <matteo.bernardini@gmail.com>2012-07-31 11:16:41 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-08-21 08:55:35 -0500
commitbe1bc0c80f3239795474d5d929c23b0c449e8ca4 (patch)
tree72a57c92e05ee00b295141c2fa5fefe75edd9b96 /network/lighttpd/lighttpd.SlackBuild
parentef779ebd8e36cad1c5dc43db77b667c5b30e878c (diff)
downloadslackbuilds-be1bc0c80f3239795474d5d929c23b0c449e8ca4.tar.gz
network/lighttpd: Updated for version 1.4.31.
This commit also moves config files into a subdirectory and added notes about SSL/BEAST and another php example to lighttpd.conf. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'network/lighttpd/lighttpd.SlackBuild')
-rw-r--r--network/lighttpd/lighttpd.SlackBuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/network/lighttpd/lighttpd.SlackBuild b/network/lighttpd/lighttpd.SlackBuild
index 38e3ffb593..46b7245822 100644
--- a/network/lighttpd/lighttpd.SlackBuild
+++ b/network/lighttpd/lighttpd.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=lighttpd
-VERSION=1.4.28
+VERSION=1.4.31
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -79,7 +79,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -109,9 +109,9 @@ touch $PKG/var/log/lighttpd/{access,error}.log.new
mkdir -p $PKG/var/run/lighttpd
chown $LIGHTTPD_USER:$LIGHTTPD_GROUP $PKG/var/run/lighttpd
-install -D -m 0755 $CWD/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
-install -D -m 0644 $CWD/$PRGNAM.conf $PKG/etc/$PRGNAM/$PRGNAM.conf.new
-install -D -m 0644 $CWD/$PRGNAM.logrotate $PKG/etc/logrotate.d/lighttpd.new
+install -D -m 0755 $CWD/conf/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
+install -D -m 0644 $CWD/conf/$PRGNAM.conf $PKG/etc/$PRGNAM/$PRGNAM.conf.new
+install -D -m 0644 $CWD/conf/$PRGNAM.logrotate $PKG/etc/logrotate.d/lighttpd.new
chown -R $LIGHTTPD_USER:$LIGHTTPD_GROUP $PKG/var/log/lighttpd/
chown -R $LIGHTTPD_USER:$LIGHTTPD_GROUP $PKG/var/cache/lighttpd