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

Git Clone URL: https://aur.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: mesmer
Last Packager: mesmer
Votes: 6
Popularity: 0.036495
First Submitted: 2015-01-05 01:58
Last Updated: 2017-06-21 06:40

Latest Comments

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:
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).

All comments