summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-31 01:35:35 -0700
committerroot <root@rshg054.dnsready.net>2012-10-31 01:35:35 -0700
commit5827948456201df72a1bd73e87977c569129fb27 (patch)
tree4842639ddc958690e68f74c496ea60844200450b /pcr/zoneminder/PKGBUILD
parent455295fdb5009a8cd7b033a93e01f7450fd3087b (diff)
Wed Oct 31 01:34:59 PDT 2012
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