summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/zoneminder/PKGBUILD')
-rw-r--r--pcr/zoneminder/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/pcr/zoneminder/PKGBUILD b/pcr/zoneminder/PKGBUILD
index e5e54537b..a008bcc6c 100644
--- a/pcr/zoneminder/PKGBUILD
+++ b/pcr/zoneminder/PKGBUILD
@@ -8,7 +8,7 @@
pkgname=zoneminder
pkgver=1.25.0
-pkgrel=20
+pkgrel=21
pkgdesc='Capture, analyse, record and monitor video security cameras'
arch=(
i686
@@ -187,9 +187,12 @@ package() {
for i in events images temp; do
mv $pkgdir/srv/http/$pkgname/$i $pkgdir/var/cache/$pkgname/$i
ln -s /var/cache/$pkgname/$i $pkgdir/srv/http/$pkgname/$i
+ chown -h http.http $pkgdir/srv/http/$pkgname/$i
done
ln -s /srv/http/cgi-bin $pkgdir/srv/http/$pkgname
+ chown -h http.http $pkgdir/srv/http/{cgi-bin,$pkgname,$pkgname/cgi-bin}
+
ln -s /usr/share/cambozola/cambozola.jar $pkgdir/srv/http/$pkgname
install -D -m 644 $srcdir/httpd-$pkgname.conf $pkgdir/etc/httpd/conf/extra