summaryrefslogtreecommitdiff
path: root/testing/lighttpd
diff options
context:
space:
mode:
Diffstat (limited to 'testing/lighttpd')
-rw-r--r--testing/lighttpd/PKGBUILD12
-rw-r--r--testing/lighttpd/lighttpd.service1
-rw-r--r--testing/lighttpd/lighttpd.tmpfiles3
3 files changed, 9 insertions, 7 deletions
diff --git a/testing/lighttpd/PKGBUILD b/testing/lighttpd/PKGBUILD
index 90702eaa0..1d0748828 100644
--- a/testing/lighttpd/PKGBUILD
+++ b/testing/lighttpd/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 160014 2012-05-28 01:48:30Z pierre $
+# $Id: PKGBUILD 160045 2012-05-28 14:12:38Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=lighttpd
pkgver=1.4.30
-pkgrel=4
+pkgrel=6
pkgdesc='A secure, fast, compliant and very flexible web-server'
license=('custom')
arch=('i686' 'x86_64')
@@ -24,14 +24,14 @@ sha256sums=('c237692366935b19ef8a6a600b2f3c9b259a9c3107271594c081a45902bd9c9b'
'dacfa1d748e5ac38c2d51d8310acad76d85ba5c1fe02a93534cf032400429257'
'6df18675691384c48b9137c8f18ca238055001f1077baf05cb8322247b475a77'
'ee56422fe48f2683ccb5ca2e3dc6bad79ea8e1cbd043b21d2ea73b87018e35aa'
- 'ce214a5fdf81085c35cce0faa2e2b5712a70ba15896ef5fa90e6d674d5bdcd89'
- 'd6c302d190b53c85f69b48ce7ca15cab5f6a097af5f3af495bd3dc3ef52a5776')
+ '758275bd8d17115394caabc46e1bbbad01934b20ea957c7984d0b6ba78c4fd40'
+ '708cefe97541edba73f572ed3836bd056462b1467e45e1912c9d960139929696')
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr \
- --libexecdir=/usr/lib/lighttpd/modules \
+ --libdir=/usr/lib/lighttpd/ \
--sysconfdir=/etc/lighttpd \
--with-mysql \
--with-ldap \
@@ -60,7 +60,7 @@ package() {
install -D -m644 $srcdir/lighttpd.logrotate.d $pkgdir/etc/logrotate.d/lighttpd
install -D -m644 $srcdir/lighttpd.conf $pkgdir/etc/lighttpd/lighttpd.conf
install -d -m755 -o http -g http $pkgdir/var/{log,cache}/lighttpd/
- install -D -m644 ${srcdir}/lighttpd.tmpfiles ${pkgdir}/etc/tmpfiles.d/lighttpd.tmpfiles
+ install -D -m644 ${srcdir}/lighttpd.tmpfiles ${pkgdir}/usr/lib/tmpfiles.d/lighttpd.conf
install -D -m644 ${srcdir}/lighttpd.service ${pkgdir}/usr/lib/systemd/system/lighttpd.service
pushd doc/config >/dev/null
diff --git a/testing/lighttpd/lighttpd.service b/testing/lighttpd/lighttpd.service
index af427063e..b80db7695 100644
--- a/testing/lighttpd/lighttpd.service
+++ b/testing/lighttpd/lighttpd.service
@@ -3,6 +3,7 @@ Description=A secure, fast, compliant and very flexible web-server
After=syslog.target network.target
[Service]
+PrivateTmp=true
ExecStart=/usr/sbin/lighttpd-angel -D -f /etc/lighttpd/lighttpd.conf
ExecReload=/bin/kill -HUP $MAINPID
KillSignal=SIGINT
diff --git a/testing/lighttpd/lighttpd.tmpfiles b/testing/lighttpd/lighttpd.tmpfiles
index cb72b68c8..eb1a7699e 100644
--- a/testing/lighttpd/lighttpd.tmpfiles
+++ b/testing/lighttpd/lighttpd.tmpfiles
@@ -1 +1,2 @@
-d /var/run/lighttpd 755 http http
+d /var/run/lighttpd 755 http http -
+d /var/cache/lighttpd 755 http http 10d