summaryrefslogtreecommitdiff
path: root/network/lighttpd2/lighttpd2.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/lighttpd2/lighttpd2.SlackBuild')
-rw-r--r--network/lighttpd2/lighttpd2.SlackBuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/network/lighttpd2/lighttpd2.SlackBuild b/network/lighttpd2/lighttpd2.SlackBuild
index 984dbcfaaa..fefcab2cd0 100644
--- a/network/lighttpd2/lighttpd2.SlackBuild
+++ b/network/lighttpd2/lighttpd2.SlackBuild
@@ -3,6 +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>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
-# twisted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
+# Twisted for lighttpd2 by Matteo Bernardini <ponce@slackbuilds.org>
PRGNAM=lighttpd2
-VERSION=${VERSION:-20130910_0d40b25}
+VERSION=${VERSION:-20150125_6b22f2f}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -120,10 +121,10 @@ chown -R $LIGHTTPD_USER:root $PKG/var/log/$PRGNAM
install -D -m 0755 $CWD/conf/rc.$PRGNAM $PKG/etc/rc.d/rc.$PRGNAM.new
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 doc/mimetypes.conf $PKG/etc/$PRGNAM/mimetypes.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 doc/default.html $PKG/var/www/htdocs-lighttpd/index.html
+install -D -m 0644 contrib/default.html $PKG/var/www/htdocs-lighttpd/index.html
sed -i \
-e "s|user \"lighttpd|user \"$LIGHTTPD_USER|" \