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:51:38 +0300
commit9c0b24ca50cb0eb4a20065e31e883b98be02f058 (patch)
treebf6fc8b038f24c4cb85b9a5b8247cf6217492b13
parentb66eb76431af165eef638b56d696a5231ca10339 (diff)
downloadaports-9c0b24ca50cb0eb4a20065e31e883b98be02f058.tar.gz
aports-9c0b24ca50cb0eb4a20065e31e883b98be02f058.tar.bz2
aports-9c0b24ca50cb0eb4a20065e31e883b98be02f058.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 b6f5be7ef9..2a611f0b86 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=2
+pkgrel=3
_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