summaryrefslogtreecommitdiff
path: root/extra/lighttpd
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-01-20 23:14:48 +0000
committerroot <root@rshg054.dnsready.net>2012-01-20 23:14:48 +0000
commita1922d0ec660fdc1892f2783515f781c090df0a9 (patch)
tree6d38a09231ff439c051261d41bfa066870e1fccb /extra/lighttpd
parenteefecc8813e0c062a2058b33209cb30830f824b6 (diff)
Fri Jan 20 23:14:48 UTC 2012
Diffstat (limited to 'extra/lighttpd')
-rw-r--r--extra/lighttpd/PKGBUILD8
-rw-r--r--extra/lighttpd/lighttpd.conf2
-rw-r--r--extra/lighttpd/lighttpd.logrotate.d3
3 files changed, 8 insertions, 5 deletions
diff --git a/extra/lighttpd/PKGBUILD b/extra/lighttpd/PKGBUILD
index bf13443ab..6491559d8 100644
--- a/extra/lighttpd/PKGBUILD
+++ b/extra/lighttpd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 145165 2011-12-18 18:44:31Z pierre $
+# $Id: PKGBUILD 146963 2012-01-19 18:03:44Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=lighttpd
pkgver=1.4.30
-pkgrel=1
+pkgrel=2
pkgdesc='a secure, fast, compliant and very flexible web-server'
license=('custom')
arch=('i686' 'x86_64')
@@ -22,8 +22,8 @@ source=("http://download.lighttpd.net/lighttpd/releases-1.4.x/lighttpd-${pkgver}
sha256sums=('c237692366935b19ef8a6a600b2f3c9b259a9c3107271594c081a45902bd9c9b'
'941ab747aeb97ca111fb670d21eefecdf745debc5e139bc5bd6881ee66b2742a'
'ceff3a88e876f6104c094379d507b89bc504777d0f98a0930406a70624fcf024'
- '6c5892830e77731d27e3ebb64a0d87ab9139c68eb703aec6741c591814cef26f'
- '44267e8b670faaf5712ad0bc9fd84b8c52281ddd22ef2c22d4b474dbb1cf5d2a')
+ '550aa1abaced6bc9e8d65c2b069bfc96bf4d06734b17eeb140c5d00705de1230'
+ 'ee56422fe48f2683ccb5ca2e3dc6bad79ea8e1cbd043b21d2ea73b87018e35aa')
build() {
cd $srcdir/$pkgname-$pkgver
diff --git a/extra/lighttpd/lighttpd.conf b/extra/lighttpd/lighttpd.conf
index 4ca1b23a4..ed192352a 100644
--- a/extra/lighttpd/lighttpd.conf
+++ b/extra/lighttpd/lighttpd.conf
@@ -9,4 +9,4 @@ server.document-root = "/srv/http"
server.errorlog = "/var/log/lighttpd/error.log"
dir-listing.activate = "enable"
index-file.names = ( "index.html" )
-mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png" )
+mimetype.assign = ( ".html" => "text/html", ".txt" => "text/plain", ".jpg" => "image/jpeg", ".png" => "image/png", "" => "application/octet-stream" )
diff --git a/extra/lighttpd/lighttpd.logrotate.d b/extra/lighttpd/lighttpd.logrotate.d
index 5ff32a0c5..5be47b863 100644
--- a/extra/lighttpd/lighttpd.logrotate.d
+++ b/extra/lighttpd/lighttpd.logrotate.d
@@ -1,5 +1,8 @@
/var/log/lighttpd/*log {
missingok
+ copytruncate
+ notifempty
+ sharedscripts
postrotate
/etc/rc.d/lighttpd reload >/dev/null || true
endscript