aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2019-10-07 18:51:38 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2019-10-07 18:55:11 +0300
commit1b5ddad804a4efa040c3183ba765c76d47e8fa1f (patch)
tree9a13ecc9709a0cb31b2dce2f8077d3ec7f5ce141
parente3e3e3952958b31bf6f3e01e6c73b30e3e126745 (diff)
downloadaports-1b5ddad804a4efa040c3183ba765c76d47e8fa1f.tar.gz
aports-1b5ddad804a4efa040c3183ba765c76d47e8fa1f.tar.bz2
aports-1b5ddad804a4efa040c3183ba765c76d47e8fa1f.tar.xz
community/zoneminder: add missing symlink and deps
-rw-r--r--community/zoneminder/APKBUILD10
1 files changed, 6 insertions, 4 deletions
diff --git a/community/zoneminder/APKBUILD b/community/zoneminder/APKBUILD
index fac8d848f0..137beb6fcf 100644
--- a/community/zoneminder/APKBUILD
+++ b/community/zoneminder/APKBUILD
@@ -3,7 +3,7 @@
# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
pkgname=zoneminder
pkgver=1.32.3
-pkgrel=1
+pkgrel=2
_crud=c3976f1478c681b0bbc132ec3a3e82c3984eeed5
pkgdesc="Video camera surveillance system"
url="https://www.zoneminder.com/"
@@ -13,9 +13,9 @@ _php=php7
depends="bash ffmpeg perl perl-archive-zip perl-date-manip perl-dbd-mysql
perl-dbi perl-device-serialport perl-libwww linux-headers
perl-lwp-protocol-https perl-mailtools perl-mime-lite
- perl-mime-tools perl-php-serialization perl-sys-mmap
- perl-time-hires $_php $_php-apcu $_php-ctype $_php-gd $_php-pdo_mysql
- $_php-sockets procps sudo zip"
+ perl-mime-tools perl-php-serialization perl-sys-meminfo perl-sys-mmap
+ perl-time-hires $_php $_php-apcu $_php-ctype $_php-gd $_php-json
+ $_php-pdo_mysql $_php-session $_php-sockets procps sudo zip"
makedepends="bzip2-dev cmake curl-dev ffmpeg-dev gnutls-dev libgcrypt-dev
libjpeg-turbo-dev mariadb-connector-c-dev pcre-dev perl-dev ${_php}-cli
polkit-dev vlc-dev x264-dev gzip"
@@ -76,6 +76,8 @@ package() {
install -D -m 755 "$srcdir/$pkgname.initd" "$pkgdir/etc/init.d/$pkgname"
chmod 640 "$pkgdir/etc/zm.conf"
+ ln -s /var/cache/zoneminder \
+ "$pkgdir"/usr/share/webapps/zoneminder/htdocs/cache
install -g wheel -m 2750 -d "$pkgdir"/var/log/$pkgname
# create symlinks from webapps to default http location