diff options
Diffstat (limited to 'abs/core/lighttpd')
-rw-r--r-- | abs/core/lighttpd/PKGBUILD | 8 | ||||
-rw-r--r-- | abs/core/lighttpd/__changelog | 3 | ||||
-rw-r--r-- | abs/core/lighttpd/lighttpd.conf | 2 | ||||
-rw-r--r-- | abs/core/lighttpd/lighttpd.logrotate.d | 1 |
4 files changed, 9 insertions, 5 deletions
diff --git a/abs/core/lighttpd/PKGBUILD b/abs/core/lighttpd/PKGBUILD index 99d9eac..809f82f 100644 --- a/abs/core/lighttpd/PKGBUILD +++ b/abs/core/lighttpd/PKGBUILD @@ -3,7 +3,7 @@ pkgname=lighttpd pkgver=1.4.28 -pkgrel=4 +pkgrel=5 pkgdesc='A secure, fast, compliant and very flexible web-server' license=('custom') arch=('i686' 'x86_64') @@ -69,7 +69,7 @@ package() { -e 's|#ssi.extension = ( ".shtml" )|ssi.extension = ( ".shtml" )|' \ -i ${pkgdir}/etc/lighttpd/lighttpd.conf || return 1 - /bin/touch ${pkgdir}/etc/lighttpd/{conf,html}.include || return 1 + /usr/bin/touch ${pkgdir}/etc/lighttpd/{conf,html}.include || return 1 /bin/echo 'include "/etc/lighttpd/conf.include"' >> ${pkgdir}/etc/lighttpd/lighttpd.conf || return 1 /bin/echo 'include "/etc/lighttpd/html.include"' >> ${pkgdir}/etc/lighttpd/lighttpd.conf || return 1 @@ -77,6 +77,6 @@ package() { } md5sums=('586eb535d31ac299652495b058dd87c4' 'bd690eee0d9e51857448770a151023b0' - '857e174643fd7761a2f0d8431a679f6c' - '1a55e81d5501584fdf00b6fd0196f82f' + 'e17a29ebcdac82a853389c3df468c980' + '1857cb0c145db64e2a5f54b79a144adb' 'c6e361131000ceec085f40b310ef4a2c') diff --git a/abs/core/lighttpd/__changelog b/abs/core/lighttpd/__changelog index 375590d..3c412af 100644 --- a/abs/core/lighttpd/__changelog +++ b/abs/core/lighttpd/__changelog @@ -1,6 +1,9 @@ changed docroot to /data/srv/ modified auth to require valid user (include auth-inc.conf) +logrotate: +missingok + # by mihanson: upgraded to 1.4.26 to address http://linhes.org/flyspray/index.php?do=details&task_id=624 Added -e 's|"^/mythweb|"^/{1,2}mythweb|' \ to the sed command to work around lighttpd no longer honoring // in a url and/or to work around mythweb producing url's with a // for streaming and downloading. diff --git a/abs/core/lighttpd/lighttpd.conf b/abs/core/lighttpd/lighttpd.conf index 9851727..7244961 100644 --- a/abs/core/lighttpd/lighttpd.conf +++ b/abs/core/lighttpd/lighttpd.conf @@ -242,7 +242,7 @@ server.groupname = "http" cgi.assign = ( ".pl" => "/usr/bin/perl", ".cgi" => "/usr/bin/perl", ".sh" => "/bin/bash", - ".py" => "/usr/bin/python") + ".py" => "/usr/bin/python2") url.rewrite-once = ( "^/mythweb/(css|data|images|js|themes|skins|[a-z_]+\.(php|pl)).*" => "$0", diff --git a/abs/core/lighttpd/lighttpd.logrotate.d b/abs/core/lighttpd/lighttpd.logrotate.d index 15cacc9..71c5191 100644 --- a/abs/core/lighttpd/lighttpd.logrotate.d +++ b/abs/core/lighttpd/lighttpd.logrotate.d @@ -1,4 +1,5 @@ /var/log/lighttpd/*log { + missingok postrotate /bin/kill -HUP `cat /var/run/lighttpd/lighttpd.pid 2>/dev/null` 2> /dev/null || true endscript |