Warning: file_exists(): open_basedir restriction in effect. File(/srv/http/vhosts/aur.archlinux.org/public/web/locale//en/LC_MESSAGES/aurweb.mo) is not within the allowed path(s): (/srv/http/vhosts/aur-dev.archlinux.org/:/etc/aurweb/) in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/streams.php on line 90
AUR (en) - zoneminder-git

Notice: Undefined variable: name in /srv/http/vhosts/aur-dev.archlinux.org/public/web/lib/pkgfuncs.inc.php on line 248

Package Details: zoneminder-git 1.29.0-3

Git Clone URL: https://aur-dev.archlinux.org/zoneminder-git.git (read-only)
Package Base: zoneminder-git
Description: Capture, analyse, record and monitor video security cameras
Upstream URL: https://github.com/ZoneMinder/ZoneMinder/releases
Licenses: GPL
Submitter: troydwill
Maintainer: troydwill
Last Packager: troydwill
Votes: 4
Popularity: 0.001918
First Submitted: 2015-01-05 01:58
Last Updated: 2016-01-10 22:03

Latest Comments

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:
perl-crypt-ssleay
perl-sys-meminfo
perl-sys-cpu

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 <rdmelin@gmail.com>

pkgname=zoneminder-svn
pkgver=3522
pkgrel=2
pkgdesc="Capture, analyse, record and monitor video security cameras."
arch=('i686' 'x86_64')
url="http://www.zoneminder.com"
license=('GPL')
groups=()
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')
makedepends=(subversion)
provides=(zoneminder)
conflicts=(zoneminder)
replaces=(zoneminder)
backup=(etc/zm.conf)
options=()
install=zoneminder.install
source=(zm.rc.d \
zm.conf.patch \
zmupdate.patch \
Makefile.patch \
zminit.arch \
customdb \
httpd-zm.conf \
mootools.v1.11.js \
zmfilter.pl \
http://www.dynarch.com/static/jscalendar-1.0.zip \
http://www.charliemouse.com:8080/code/cambozola/cambozola-0.50.tar.gz \
zmeventbackup)
noextract=()
md5sums=('b20fb25b187eb6abb21321e153a7fb25'
'1d2a4233af027452ae38a3e0b6d062ee'
'e0732e7e8307281196daf5a3e99c854d'
'b7b532b39f0985c2b995c7923728bc1b'
'f9720872736f26d17bc49d8725b75ae4'
'4ace13d1e20934abe192ef7372c75988'
'00201eba9c0a5d1ed14b10cc55410698'
'0df5bf23f9b09f0cae2e7f0a9e0ef16e'
'73d1aec4cb2a8d72d752e9c332ceba78'
'80c94ee5a11f5b79d70be328efde2582'
'daded58688e16ab513920a54a0599267'
'8b40137b6ff54f2fb26104b70edd22e9')
_svntrunk=http://svn.zoneminder.com/svn/zm/trunk
_svnmod=zm


build() {
cd ${srcdir}

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

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\/v4l1compat.so" ;/' \
scripts/zmdc.pl.in || 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 \
CPPFLAGS="-D__STDC_CONSTANT_MACROS"

# 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/zmfilter.pl $startdir/pkg/usr/lib/zm/bin/zmfilter.pl

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/jscalendar-1.0.zip
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:

Anonymous comment on 2011-11-12 15:02

Couple of bugs with this package:
* Running /usr/lib/zm/bin/zminit failed for me. Adding 'ZM_PATH_UPDATE=/usr/lib/zm/upgrade' to the top of zminit worked for me.
* Running rc.d start zm or equivalent returns an missing file error on zmpkg.pl. Copying the file from /srv/zoneminder/bin to /usr/lib/zm/bin fixes the problem.
* Despite (or because of) above fixes, it still doesn't seem to work. The ZoneMinder daemon starts but access to localhost/zm is forbidden (403).

Anonymous comment on 2011-11-05 16:41

There is something wrong with the included zmfilter.pl:
Undefined subroutine &main::zmDbgInit called at ./zmfilter.pl~ line 60, <DATA> line 496.
Apart from that this build still works

Anonymous comment on 2011-03-23 13:17

I install zoneminder with new PKGBUILD, but i can't see video in zm

# This is a ZoneMinder PKGBUILD file.
# Contributor: Ross melin <rdmelin@gmail.com>

pkgname=zoneminder
pkgver=1.24.3
pkgrel=1
pkgdesc="Capture, analyse, record and monitor video security cameras."
arch=('i686')
url="http://www.zoneminder.com"
license=('GPL')
groups=()
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')
makedepends=(subversion)
provides=(zoneminder)
conflicts=(zoneminder)
replaces=(zoneminder)
backup=(etc/zm.conf)
options=()
install=zoneminder.install
source=(http://www2.zoneminder.com/downloads/ZoneMinder-1.24.3.tar.gz \
zm.rc.d \
zm.conf.patch \
zmupdate.patch \
Makefile.patch \
zminit.arch \
customdb \
httpd-zm.conf \
mootools.v1.11.js \
zmfilter.pl \
http://www.dynarch.com/static/jscalendar-1.0.zip \
http://www.charliemouse.com:8080/code/cambozola/cambozola-0.50.tar.gz \
zmeventbackup)
noextract=()
md5sums=('6dad313df893995375a14532bc78379d'
'b20fb25b187eb6abb21321e153a7fb25'
'1d2a4233af027452ae38a3e0b6d062ee'
'e0732e7e8307281196daf5a3e99c854d'
'b7b532b39f0985c2b995c7923728bc1b'
'f9720872736f26d17bc49d8725b75ae4'
'4ace13d1e20934abe192ef7372c75988'
'00201eba9c0a5d1ed14b10cc55410698'
'0df5bf23f9b09f0cae2e7f0a9e0ef16e'
'73d1aec4cb2a8d72d752e9c332ceba78'
'80c94ee5a11f5b79d70be328efde2582'
'daded58688e16ab513920a54a0599267'
'8b40137b6ff54f2fb26104b70edd22e9')


build() {
cd "$srcdir/ZoneMinder-$pkgver"

patch -p1 < ../zm.conf.patch || read
patch -p1 < ../zmupdate.patch || read
sed -i '60s/^$/$ENV{LD_PRELOAD} = "\/usr\/lib\/libv4l\/v4l1compat.so" ;/' \
scripts/zmdc.pl.in || 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 \
CPPFLAGS="-D__STDC_CONSTANT_MACROS"

patch -p1 < ../Makefile.patch || read
make || return 1
make 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
install -D -m 755 $startdir/src/zmfilter.pl $startdir/pkg/usr/lib/zm/bin/zmfilter.pl

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/jscalendar-1.0.zip
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:

StingRay commented on 2011-01-19 21:06

I get the same thing, But it looks to me like it is trying to execute one of the install scripts instead of only building the package. It looks like it is trying to setup a zmuser for MySql. Note: this is the first time I've every tried this package or used this program... I'm testing it to see if we can use it at our school...

Following are the last few lines during the "makepkg".

config.status: creating config.h
config.status: executing depfiles commands
config.status: executing src/zm_config_defines.h commands
Warning, overriding installed ./zm.conf file with local copy
DBI connect('database=zm;host=localhost','zmuser',...) failed: Access denied for user 'zmuser'@'localhost' (using password: YES) at scripts/ZoneMinder/lib/ZoneMinder/Config.pm line 89
Can't call method "prepare_cached" on an undefined value at scripts/ZoneMinder/lib/ZoneMinder/Config.pm line 91.
BEGIN failed--compilation aborted at scripts/ZoneMinder/lib/ZoneMinder/Config.pm line 100.
Compilation failed in require at scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm line 67.
BEGIN failed--compilation aborted at scripts/ZoneMinder/lib/ZoneMinder/ConfigAdmin.pm line 67.
Compilation failed in require at ./zmconfgen.pl line 29.
BEGIN failed--compilation aborted at ./zmconfgen.pl line 29.
config.status: executing scripts/ZoneMinder/Makefile commands
perl Makefile.PL PREFIX=/usr
Checking if your kit is complete...
Looks good
Writing Makefile for ZoneMinder
patching file Makefile
Hunk #1 FAILED at 687.
1 out of 1 hunk FAILED -- saving rejects to file Makefile.rej

Anonymous comment on 2011-01-15 22:12

After installing dependencies from AUR makepkg failed zoneminder-svn displaying error "1 out of 1 hunk failed --saving rejects to file makefile.rej". Any workarounds?