summaryrefslogtreecommitdiffstats
path: root/network/lighttpd2/lighttpd2.SlackBuild
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2016-08-12 11:59:13 +0200
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-13 07:22:46 +0700
commit73a5930ef0e62632e556e4d9a67b66e67973e393 (patch)
tree1fa4f9f0e5a70dc8e90b433e44be104980bab528 /network/lighttpd2/lighttpd2.SlackBuild
parent2d5ef2bee514bc81930425d07434aeb4cd61aa4c (diff)
downloadslackbuilds-73a5930ef0e62632e556e4d9a67b66e67973e393.tar.gz
slackbuilds-73a5930ef0e62632e556e4d9a67b66e67973e393.tar.xz
network/lighttpd2: Updated for version 20151204_3a4698d.
Fixed php.ini location in README.SLACKWARE and hardcoded lighttpd user (thanks to Andrzej Telszewski) Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'network/lighttpd2/lighttpd2.SlackBuild')
-rw-r--r--network/lighttpd2/lighttpd2.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/network/lighttpd2/lighttpd2.SlackBuild b/network/lighttpd2/lighttpd2.SlackBuild
index 26a1b7331d..7461c69547 100644
--- a/network/lighttpd2/lighttpd2.SlackBuild
+++ b/network/lighttpd2/lighttpd2.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for lighttpd2
# Copyright (c) 2007 Daniel de Kok <moc.mikciat@leinad>
-# Copyright (c) 2012-2015 Matteo Bernardini <ponce@slackbuilds.org>
+# Copyright (c) 2012-2016 Matteo Bernardini <ponce@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@
# Twisted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
PRGNAM=lighttpd2
-VERSION=${VERSION:-20150810_d2c6a28}
+VERSION=${VERSION:-20151204_3a4698d}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -123,8 +123,11 @@ install -D -m 0644 $CWD/conf/lighttpd.conf $PKG/etc/$PRGNAM/lighttpd.conf.new
install -m 0644 $CWD/conf/angel.conf $PKG/etc/$PRGNAM/angel.conf.new
install -m 0644 contrib/mimetypes.conf $PKG/etc/$PRGNAM/mimetypes.conf.new
install -m 0644 $CWD/conf/php-fpm.lua $PKG/etc/$PRGNAM/php-fpm.lua.new
-install -D -m 0644 $CWD/conf/$PRGNAM.logrotate $PKG/etc/logrotate.d/$PRGNAM.new
install -D -m 0644 contrib/default.html $PKG/var/www/htdocs-lighttpd/index.html
+install -D -m 0644 $CWD/conf/$PRGNAM.logrotate $PKG/etc/logrotate.d/$PRGNAM.new
+mkdir -p $PKG/etc/logrotate.d
+sed "s|@LIGHTTPD_USER@|$LIGHTTPD_USER|" \
+ $CWD/conf/$PRGNAM.logrotate > $PKG/etc/logrotate.d/$PRGNAM.new
sed -i \
-e "s|user \"lighttpd|user \"$LIGHTTPD_USER|" \