summaryrefslogtreecommitdiff
path: root/pcr/zoneminder/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-30 21:36:16 -0200
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2012-10-30 21:36:16 -0200
commitade106c6633f8cc142ae3de92e2dc651fe0491fd (patch)
tree71f2d5a0adafafdf92b51f3d0f80711a3123c0eb /pcr/zoneminder/PKGBUILD
parented68dfd7e006d795685ea7d7e934a2268339fffa (diff)
zoneminder: fixing package
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