# Maintainer: Luis Aranguren # Contributor: Mesmer # Contributor: Troy Will # Contributor: /dev/rs0 # Contributor: Jacek Burghardt # Contributor: Vojtech Aschenbrenner # Contributor: Jason Gardner # Contributor: Ross melin # Contributor: (Parabola): Márcio Silva # Contributor: (Parabola): André Silva # Contributor: Charles Spence IV # Contributor: Joe Julian # Orginally based on a Debian Squeeze package # Update to 1.33.15 - based on https://aur.archlinux.org/packages/zoneminder/ by Alexandros Michalopoulos (Nocifer) ### Important notes for version 1.32.x ### # # 1) git-clone for CakePHP and Crud sources was replaced with published precompiled packages, as follows: # - CakePHP-Enum-Behaviour is pulled from the ZoneMinder repo, because a change is needed that has not yet been merged upstream. # - Crud is pulled from its official repo, since Pull Request #582 has been merged as required by the ZoneMinder devs. # # 2) By default, ZoneMinder now runs at localhost:8095 instead of localhost/zm (this can be changed by editing the provided conf files). # # 3) Apache was switched out in favor of Nginx, but remains as an optional dependency. ####################################################################################################################### # # # If you're upgrading from a release older than 1.32.0: # # # # Due to the many breaking changes in new releases (both upstream and in the packaging), it's recommended to backup # # any existing ZoneMinder databases and perform a clean installation. Failure to do so may have very weird results. # # # ####################################################################################################################### pkgname=zoneminder-git _pkgname=zoneminder pkgver=1.33.16.r14355.fd633a217 pkgrel=2 pkgdesc='A complete surveillance solution allowing capture, analysis, recording and monitoring of any CCTV or security cameras' arch=('x86_64') url='https://github.com/ZoneMinder/ZoneMinder' license=('GPL2') depends=('polkit' 'ffmpeg' 'libmp4v2' 'php-apcu' 'php-fpm' 'php-gd' 'perl-archive-zip' 'perl-data-dump' 'perl-date-manip' 'perl-dbd-mysql' 'perl-device-serialport' 'perl-file-slurp' 'perl-image-info' 'perl-libwww' 'perl-mime-lite' 'perl-mime-tools' 'perl-number-bytes-human' 'perl-sys-meminfo' 'perl-sys-mmap' #Needed for upgrade with zmupdate.pl 'perl-crypt-eksblowfish' 'perl-data-entropy' # Needed for ONVIF support 'perl-class-load' 'perl-data-uuid' 'perl-io-socket-multicast' 'perl-soap-wsdl' 'perl-xml-parser' 'perl-datetime' # Needed for SSL support 'perl-lwp-protocol-https' # Apparently needed for Telemetry support 'perl-json-maybexs' # Unverified dependencies. So far not installing them hasn't raised any red flags, but I can't be 100% sure whether they're leftovers from # previous ZoneMinder incarnations or if they're needed for proper operation during runtime, so for the time being I'm leaving them in. 'perl-net-sftp-foreign' 'perl-php-serialization' 'perl-sys-cpu' 'perl-uri-encode' # Remove the following line if you don't need Nginx 'nginx-mainline' 'fcgiwrap' 'spawn-fcgi' 'multiwatch' # Remove the following line if you don't need MariaDB 'mariadb' ) makedepends=('cmake') optdepends=('apache: alternative web server' 'vlc: provides libvlc (may achieve better performance with some camera models)' 'zmeventnotification-git: suppport for push notifications and machine learning recognition') provides=($_pkgname) conflicts=($_pkgname) backup=("etc/nginx/sites-available/$_pkgname.conf" "etc/httpd/conf/extra/$_pkgname.conf" "etc/php/conf.d/$_pkgname.ini") install=$_pkgname.install source=("git://github.com/$_pkgname/$_pkgname.git" "https://github.com/FriendsOfCake/crud/archive/v3.2.0.tar.gz" "https://github.com/ZoneMinder/CakePHP-Enum-Behavior/archive/1.0-zm.tar.gz" "zoneminder-nginx.conf" "zoneminder-httpd.conf" "zoneminder-php.ini" "zoneminder.service" "zoneminder-tmpfile.conf" "fcgiwrap-multiwatch.service" ) sha256sums=('SKIP' '55be29e1eccb44d4ad0db8b23c37cec50f5341f8e498583d472ed1f0493876e3' 'dbd231e97b950c698f0f501d6a53c7291c9985e766b09e3afe00cfe69a969f44' 'f176e0262e3ad0a93b73760ba01eee47f97b3e51c58ebbd82c0dc31eadafc274' '091b9167cb381b8a81c57dfd19f68e35b7319ed1f7a41814daa2a26d97776c6b' 'c02653c52acb790a95d4d28166a087077eb25ae2921590c890247c0396f13b62' '3e4de227e3154dffa887f2286c339ab3cf456f6d74a400b2786192b7e2b129c0' 'b69ac1deaaf3cf84b4ae4dbab794e1b062823de817f1e3a816ccf5438db440c0' 'e95f9bef77aef647dd633bd9ad75dc099b6d7184684e133f2f20702de83a6260') pkgver() { cd "$_pkgname" printf $(