Package Details: zoneminder-git 1.30.4.r899.g36683d15d-1

Git Clone URL: (read-only)
Package Base: zoneminder-git
Description: Capture, analyse, record and monitor video security cameras
Upstream URL:
Licenses: GPL
Submitter: troydwill
Maintainer: mesmer
Last Packager: mesmer
Votes: 7
Popularity: 0.122986
First Submitted: 2015-01-05 01:58
Last Updated: 2017-06-21 06:40

Latest Comments

zombielinux commented on 2018-01-25 16:44


As of the latest, php71 is pulled in, but it still pulls php-apache in, it needs to also pull in php71-apache.

either the pkgbuild needs to be updated, or php71-apache needs to be explicitly added as a dependancy.

mesmer commented on 2017-06-24 16:45

Thx for the tip,ll do that

seylerius commented on 2017-06-23 19:04

You may want to add a provides and conflicts line for aur/zoneminder. It'll make it easier for people switching from one to the other.

mesmer commented on 2017-06-21 06:41

just updated to 1.30.4-1 some error plz say and i'll try fix

mesmer commented on 2017-06-17 07:30

I'm adopting this package, i'll update, the package without git it's working and has been updated by me

davidm commented on 2016-12-02 14:52

Just a tip: I just tried it and you can often go from zoneminder-git to zoneminder just by uninstalling using 'pacman -R' (this should leave the configuration files and database intact but manually back them up if important) and then installing the other package 'packer -S zoneminder'. Then just run zmupdate. For me my old config was still there and all worked fine. It's helpful at the moment because zoneminder-git is out of date and the other 'zoneminder' package is actually newer and functional.

teme commented on 2016-03-08 13:10

Please add this dependencies:

without this zoneminder doesn't start

escentrix commented on 2015-12-24 17:37

my build is failing with (per CMakeError.log):

aur-zoneminder-git/src/zoneminder/CMakeFiles/CMakeTmp/CheckIncludeFile.c:1:28: fatal error: gnutls/openssl.h: No such file or directory

gnutls is installed as required.

Edit (1/4/16): The update to 1.29 seems to have fixed it. Thanks!

Anonymous comment on 2011-11-29 04:21

BTW 403 is generally an apache / php problem

Anonymous comment on 2011-11-22 05:42

Try this, appears to work here.

# This is a ZoneMinder PKGBUILD file.
# Contributor: Ross melin <>

pkgdesc="Capture, analyse, record and monitor video security cameras."
arch=('i686' 'x86_64')
depends=('apache' 'php' 'mysql' 'pcre' 'openssl' 'ffmpeg' 'perl-php-serialization' 'perl-libwww' 'perl-date-manip' 'perl-unicode-map' 'perl-dbi' 'perl-dbd-mysql' 'perl-io-stringy' 'perl-mime-lite' 'perl-timedate' 'perl-x10' 'perl-time-modules' 'perl-net-smtp-ssl' 'perl-sys-mmap' 'sudo' 'libv4l')
source=(zm.rc.d \
zm.conf.patch \
zmupdate.patch \
Makefile.patch \
zminit.arch \
customdb \
httpd-zm.conf \
mootools.v1.11.js \ \ \ \

build() {
cd ${srcdir}

if [ -d $_svnmod/.svn ]; then
(cd $_svnmod && svn up -r $pkgver)
svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod

msg "SVN checkout done or server timeout"
msg "Starting make..."

rm -rf $_svnmod-build
cp -r $_svnmod $_svnmod-build
cd "$_svnmod-build"

patch -p1 < ../zm.conf.patch || read
# No longer needed? Broken anyway.
# patch -p1 < ../zmupdate.patch || read
sed -i '60s/^$/$ENV{LD_PRELOAD} = "\/usr\/lib\/libv4l\/" ;/' \
scripts/ || read
sed -i '22s/^$/#include <cstdio>/' \
src/zm_utils.cpp || read
sed -i 's/$max_socket_tries = 3;/$max_socket_tries = 15;/' \
web/ajax/stream.php || read
./configure --prefix=/usr \
--sysconfdir=/etc \
--with-webuser=http \
--with-webgroup=http \
--with-mysql=/usr \
--with-webdir=/var/lib/zm/www \
--with-cgidir=/var/lib/zm/cgi-bin \
--bindir=/usr/lib/zm/bin \
--enable-mmap=no \
ZM_SSL_LIB=openssl \

# No longer needed? Broken anyway.
# patch -p1 < ../Makefile.patch || read
make || return 1
# Race in make install if >1 threads.
make MAKEFLAGS="-j1" DESTDIR="$pkgdir" install || return 1

install -D -m 700 $startdir/src/zminit.arch $startdir/pkg/usr/lib/zm/bin/zminit
install -D -m 700 $startdir/src/zm.rc.d $startdir/pkg/etc/rc.d/zm
install -D -m 700 scripts/zmdbbackup $startdir/pkg/usr/lib/zm/bin/zmdbbackup
install -D -m 700 scripts/zmdbbackup $startdir/pkg/usr/lib/zm/bin/zmdbbackup
install -D -m 700 scripts/zmdbrestore $startdir/pkg/usr/lib/zm/bin/zmdbrestore
install -D -m 700 scripts/zmeventdump $startdir/pkg/usr/lib/zm/bin/zmeventdump
install -D -m 700 scripts/zmlogrotate.conf $startdir/pkg/etc/logrotate.d/zm
install -D -m 700 $startdir/src/zmeventbackup $startdir/pkg/etc/cron.hourly/zmeventbackup
# Broken.
# install -D -m 755 $startdir/src/ $startdir/pkg/usr/lib/zm/bin/

tar -zxf $startdir/src/cambozola-0.50.tar.gz
install -m 644 cambozola-0.50/dist/cambozola.jar $startdir/pkg/var/lib/zm/www/cambozola.jar

mkdir -p $startdir/pkg/etc/httpd/conf/extra/
install -m 644 $startdir/src/httpd-zm.conf $startdir/pkg/etc/httpd/conf/extra/httpd-zm.conf

mkdir -p $startdir/pkg/var/lib/zm/www/tools/mootools
install $startdir/src/mootools.v1.11.js $startdir/pkg/var/lib/zm/www/tools/mootools/mootools.js

unzip $startdir/src/
mv $startdir/src/jscalendar-1.0 $startdir/pkg/var/lib/zm/www/tools/jscalendar

install -D -m 700 $startdir/src/customdb $startdir/pkg/usr/lib/zm/upgrade/customdb
install -D db/zm*.sql $startdir/pkg/usr/lib/zm/upgrade/

mkdir -p $startdir/pkg/var/run/zm

### remove special files
find $startdir/pkg/ -name "perllocal.pod" \
-o -name ".packlist" \
-o -name "*.bs" \
|xargs -i rm -f {}


# vim:set ts=2 sw=2 et:

All comments