head 1.5; access; symbols pkgsrc-2022Q3:1.4.0.18 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.16 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.14 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.4.0.12 pkgsrc-2021Q4-base:1.4 pkgsrc-2021Q3:1.4.0.10 pkgsrc-2021Q3-base:1.4 pkgsrc-2021Q2:1.4.0.8 pkgsrc-2021Q2-base:1.4 pkgsrc-2021Q1:1.4.0.6 pkgsrc-2021Q1-base:1.4 pkgsrc-2020Q4:1.4.0.4 pkgsrc-2020Q4-base:1.4 pkgsrc-2020Q3:1.4.0.2 pkgsrc-2020Q3-base:1.4 pkgsrc-2020Q2:1.3.0.40 pkgsrc-2020Q2-base:1.3 pkgsrc-2020Q1:1.3.0.20 pkgsrc-2020Q1-base:1.3 pkgsrc-2019Q4:1.3.0.42 pkgsrc-2019Q4-base:1.3 pkgsrc-2019Q3:1.3.0.38 pkgsrc-2019Q3-base:1.3 pkgsrc-2019Q2:1.3.0.36 pkgsrc-2019Q2-base:1.3 pkgsrc-2019Q1:1.3.0.34 pkgsrc-2019Q1-base:1.3 pkgsrc-2018Q4:1.3.0.32 pkgsrc-2018Q4-base:1.3 pkgsrc-2018Q3:1.3.0.30 pkgsrc-2018Q3-base:1.3 pkgsrc-2018Q2:1.3.0.28 pkgsrc-2018Q2-base:1.3 pkgsrc-2018Q1:1.3.0.26 pkgsrc-2018Q1-base:1.3 pkgsrc-2017Q4:1.3.0.24 pkgsrc-2017Q4-base:1.3 pkgsrc-2017Q3:1.3.0.22 pkgsrc-2017Q3-base:1.3 pkgsrc-2017Q2:1.3.0.18 pkgsrc-2017Q2-base:1.3 pkgsrc-2017Q1:1.3.0.16 pkgsrc-2017Q1-base:1.3 pkgsrc-2016Q4:1.3.0.14 pkgsrc-2016Q4-base:1.3 pkgsrc-2016Q3:1.3.0.12 pkgsrc-2016Q3-base:1.3 pkgsrc-2016Q2:1.3.0.10 pkgsrc-2016Q2-base:1.3 pkgsrc-2016Q1:1.3.0.8 pkgsrc-2016Q1-base:1.3 pkgsrc-2015Q4:1.3.0.6 pkgsrc-2015Q4-base:1.3 pkgsrc-2015Q3:1.3.0.4 pkgsrc-2015Q3-base:1.3 pkgsrc-2015Q2:1.3.0.2 pkgsrc-2015Q2-base:1.3 pkgsrc-2015Q1:1.2.0.18 pkgsrc-2015Q1-base:1.2 pkgsrc-2014Q4:1.2.0.16 pkgsrc-2014Q4-base:1.2 pkgsrc-2014Q3:1.2.0.14 pkgsrc-2014Q3-base:1.2 pkgsrc-2014Q2:1.2.0.12 pkgsrc-2014Q2-base:1.2 pkgsrc-2014Q1:1.2.0.10 pkgsrc-2014Q1-base:1.2 pkgsrc-2013Q4:1.2.0.8 pkgsrc-2013Q4-base:1.2 pkgsrc-2013Q3:1.2.0.6 pkgsrc-2013Q3-base:1.2 pkgsrc-2013Q2:1.2.0.4 pkgsrc-2013Q2-base:1.2 pkgsrc-2013Q1:1.2.0.2 pkgsrc-2013Q1-base:1.2; locks; strict; comment @# @; 1.5 date 2022.09.27.01.20.39; author gdt; state dead; branches; next 1.4; commitid zCqUVVvfPb2uhrVD; 1.4 date 2020.08.25.16.42.21; author gdt; state Exp; branches; next 1.3; commitid AWi8aZUk2bUCTslC; 1.3 date 2015.04.05.08.51.08; author dsainty; state Exp; branches; next 1.2; commitid iO4NHHrHVLogzngy; 1.2 date 2013.03.24.16.47.47; author joerg; state Exp; branches 1.2.18.1; next 1.1; 1.1 date 2013.03.15.02.01.47; author dsainty; state Exp; branches; next ; 1.2.18.1 date 2015.04.24.16.07.10; author hiramatsu; state Exp; branches; next ; commitid f73vVLbCJTHyoRiy; desc @@ 1.5 log @zoneminder: Update to 1.30.5 Welcome to 2016. MESSAGE content has been moved to an installed README and improved. Prepared in wip by dsainty@@ with some help from gdt@@. Upstream NEWS Onvif discovery is now enabled by default. This features increases build time, but the benefit is auto-discovery of any Onvif compliant camera. Please note that this feature is still experimental. It has not been tested in a large environment or with a large variety of cameras. Using this tool is largely self explanatory, but if you are looking for documentation it can be found on the @@altaroca ’s blog site. As time allows, we will bring the documentation over to our readthedocs site. Volunteers to do this work are welcome. ZoneMinder now has a telemetry deamon which collects information about your machine. This was done to learn how our user base uses ZoneMinder, the most common system size, choice of distro, cpu, memory, and a couple of other things. This will help us focus our efforts on what features get used the most. Since this was written in Perl, you can easily see for yourself what information is being sent. Note that this feature defaults to ON. If this is not what you want, then you can turn it off under Options. In a future release, we plan to include an install wizard, which will prompt the user about this feature. Have you ever wished for the motion detection zones to be live, rather than a static image? Well they are now! Creating or modifying zones works exactly the same as before, but with the live stream running in the background. If you need to freeze the stream, there is a Pause button at the bottom of the window to do just that. A new feature called Montage Review has been added. This can be thought of as a modified version of the original montage feature with features such as "scrubbing" through video. The Montage Review screen has received sufficient testing to be part of the release, but you should still treat this feature as experimental. We expect there to be additional fixes and refinements. @ text @$NetBSD: patch-Makefile_am,v 1.4 2020/08/25 16:42:21 gdt Exp $ Disable the hacks around ownership setup so Pkgsrc can take responsibility. Don't install zm.conf at all - let Pkgsrc install it into EGDIR. --- Makefile.am.orig 2016-02-03 18:40:30.000000000 +0000 +++ Makefile.am @@@@ -6,8 +6,8 @@@@ webuser = @@WEB_USER@@ webgroup = @@WEB_GROUP@@ zmconfigdir = @@ZM_CONFIG_DIR@@ -zmconfig_DATA = \ - zm.conf +#zmconfig_DATA = \ +# zm.conf if COND_ONVIF MAYBE_ONVIF = onvif @@@@ -26,7 +26,7 @@@@ EXTRA_DIST = \ zmconfgen.pl.in # Yes, you are correct. This is a HACK! -install-data-hook: +pkgsrc-disabled-install-data-hook: ( cd $(DESTDIR)$(zmconfigdir); chown $(webuser):$(webgroup) $(zmconfig_DATA); chmod 600 $(zmconfig_DATA) ) ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; if test "$(DESTDIR)$(ZM_RUNDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR); fi ) ( if ! test -e $(DESTDIR)$(ZM_SOCKDIR); then mkdir -p $(DESTDIR)$(ZM_SOCKDIR); fi; if test "$(DESTDIR)$(ZM_SOCKDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_SOCKDIR); chmod u+w $(DESTDIR)$(ZM_SOCKDIR); fi ) @ 1.4 log @security/zoneminder: Update to 1.29.0 This is the last version that supports autoconf, and this update is only because it's a reasonable benefit/cost tradeoff as an intermediaate step. Tested on netbsd-9/earmv7hf-el. Upstream chanages: many bug fixes and improvements zoneminder API Multiserver limted ONVIF support See more at https://github.com/ZoneMinder/zoneminder/releases/tag/v1.29.0-rc2 and before and after. Note that when updating, one must run zmupdate to modify the db schema. @ text @d1 1 a1 1 $NetBSD: patch-Makefile_am,v 1.3 2015/04/05 08:51:08 dsainty Exp $ @ 1.3 log @Update ZoneMinder from 1.25.0 to 1.28.1. Numerous changes, documented at: https://github.com/ZoneMinder/ZoneMinder/releases Addresses two security advisories: https://github.com/ZoneMinder/ZoneMinder/releases/tag/v1.28.0 http://secunia.com/advisories/62918/ Pkgsrc changes: patch-src_zm_signal_h is no longer necessary because zm_signal.h uses HAVE_EXECINFO_H. patch-src_zmf_cpp appears to be applied upstream. patch-configure_ac no longer needs to set PATH_BUILD to PREFIX/share/zoneminder, so that zmupdate.pl can locate the database build scripts as installed files. Upstream has now implemented this via the ZM_PATH_DATA entry in zm.conf, and adds a ZM_PATH_DATA/db subdirectory. src/Makefile.am no longer setuid's zmfix, as zmfix was removed from ZoneMinder 1.26.6. The code now uses clock_gettime(), which on some systems (like Linux), calls for -lrt. Since the build system isn't aware of this, but Pkgsrc is, just set PTHREAD_AUTO_VARS=yes. The PHP code now uses PDO for DB access, but it looks like there are some straggling dependencies on the raw MySQL driver, so both are pulled in. @ text @d1 1 a1 1 $NetBSD: patch-Makefile_am,v 1.2 2013/03/24 16:47:47 joerg Exp $ d6 1 a6 1 --- Makefile.am.orig 2011-05-20 09:39:37.000000000 +0000 d8 1 a8 1 @@@@ -5,8 +5,8 @@@@ d17 3 a19 3 SUBDIRS = \ src \ @@@@ -20,7 +20,7 @@@@ @ 1.2 log @Fix build with Clang and as unprivileged user. @ text @d1 1 a1 1 $NetBSD: patch-Makefile_am,v 1.1 2013/03/15 02:01:47 dsainty Exp $ d8 1 a8 2 @@@@ -4,8 +4,8 @@@@ AUTOMAKE_OPTIONS = gnu webuser = @@WEB_USER@@ d10 1 d12 1 a12 1 -sysconf_DATA = \ d14 1 a14 1 +#sysconf_DATA = \ d19 1 a19 1 @@@@ -19,7 +19,7 @@@@ EXTRA_DIST = \ d25 3 a27 3 ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) ) ( if ! test -e $(ZM_RUNDIR); then mkdir -p $(ZM_RUNDIR); fi; if test "$(ZM_RUNDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR); fi ) ( if ! test -e $(ZM_TMPDIR); then mkdir -m 700 -p $(ZM_TMPDIR); fi; if test "$(ZM_TMPDIR)" != "/tmp"; then chown $(webuser):$(webgroup) $(ZM_TMPDIR); chmod u+w $(ZM_TMPDIR); fi ) @ 1.2.18.1 log @Pullup ticket #4654 - requested by dsainty security/zoneminder: security update Revisions pulled up: - security/zoneminder/Makefile 1.18 - security/zoneminder/distinfo 1.7 - security/zoneminder/MESSAGE 1.3 - security/zoneminder/PLIST 1.4 - security/zoneminder/patches/patch-Makefile_am 1.3 - security/zoneminder/patches/patch-configure_ac 1.4 - security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm 1.2 - security/zoneminder/patches/patch-scripts_zm_in 1.3 - security/zoneminder/patches/patch-src_Makefile_am 1.3 - security/zoneminder/patches/patch-src_zm__thread.h 1.4 - security/zoneminder/patches/patch-src_zm__timer.h 1.3 - security/zoneminder/patches/patch-src_zm__utils.h 1.2 - security/zoneminder/patches/patch-src_zm_ffmpeg_camera_cpp 1.1 - security/zoneminder/patches/patch-src_zm_remote_camera_h 1.4 - security/zoneminder/patches/patch-src_zm_signal_cpp 1.1 - security/zoneminder/patches/patch-src_zm_signal_h deleted - security/zoneminder/patches/patch-src_zmf_cpp deleted --- Module Name: pkgsrc Committed By: dsainty Date: Sun Apr 5 08:51:08 UTC 2015 Modified Files: pkgsrc/security/zoneminder: MESSAGE Makefile PLIST distinfo pkgsrc/security/zoneminder/patches: patch-Makefile_am patch-configure_ac patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm patch-scripts_zm_in patch-src_Makefile_am patch-src_zm__thread.h patch-src_zm__timer.h patch-src_zm__utils.h patch-src_zm_remote_camera_h Removed Files: pkgsrc/security/zoneminder/patches: patch-src_zm_signal_h patch-src_zmf_cpp Log Message: Update ZoneMinder from 1.25.0 to 1.28.1. Numerous changes, documented at: https://github.com/ZoneMinder/ZoneMinder/releases Addresses two security advisories: https://github.com/ZoneMinder/ZoneMinder/releases/tag/v1.28.0 http://secunia.com/advisories/62918/ Pkgsrc changes: patch-src_zm_signal_h is no longer necessary because zm_signal.h uses HAVE_EXECINFO_H. patch-src_zmf_cpp appears to be applied upstream. patch-configure_ac no longer needs to set PATH_BUILD to PREFIX/share/zoneminder, so that zmupdate.pl can locate the database build scripts as installed files. Upstream has now implemented this via the ZM_PATH_DATA entry in zm.conf, and adds a ZM_PATH_DATA/db subdirectory. src/Makefile.am no longer setuid's zmfix, as zmfix was removed from ZoneMinder 1.26.6. The code now uses clock_gettime(), which on some systems (like Linux), calls for -lrt. Since the build system isn't aware of this, but Pkgsrc is, just set PTHREAD_AUTO_VARS=yes. The PHP code now uses PDO for DB access, but it looks like there are some straggling dependencies on the raw MySQL driver, so both are pulled in. --- Module Name: pkgsrc Committed By: dsainty Date: Tue Apr 7 12:32:59 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile Log Message: NetBSD's tar (6.1) does an exit(1) on the source archive, complaining: Invalid header, starting valid header search. As a workaround: EXTRACT_USING=gtar --- Module Name: pkgsrc Committed By: dsainty Date: Tue Apr 7 12:54:36 UTC 2015 Modified Files: pkgsrc/security/zoneminder: distinfo pkgsrc/security/zoneminder/patches: patch-configure_ac Log Message: Recognise lower-case "netbsd" as BSD. NB: This doesn't fix the threads portability issues yet for NetBSD, but gets through configuration. --- Module Name: pkgsrc Committed By: dsainty Date: Fri Apr 10 02:53:20 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile Log Message: New ZoneMinder supports the newer ffmpeg APIs, so switch the ffmpeg dependency from ffmpeg010 to ffmpeg2. --- Module Name: pkgsrc Committed By: dsainty Date: Fri Apr 10 02:58:49 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile distinfo pkgsrc/security/zoneminder/patches: patch-src_zm__thread.h patch-src_zm__timer.h Added Files: pkgsrc/security/zoneminder/patches: patch-src_zm_ffmpeg_camera_cpp patch-src_zm_signal_cpp Log Message: Patch up some Linux-specific assumptions in the code. Fixes build under NetBSD. Bump PKGREVISION for switch to ffmpeg2, and some portability changes that aren't expected to affect functionality. --- Module Name: pkgsrc Committed By: dsainty Date: Wed Apr 22 15:13:44 UTC 2015 Modified Files: pkgsrc/security/zoneminder: Makefile Log Message: Fix paths in two missed installed scripts. The intention of zmsystemctl.pl is to use bin/pkexec to allow the apache user to start and stop the ZoneMinder services on operating systems using systemd and newer versions of Polkit than Pkgsrc currently has. If the base OS doesn't use systemd (E.g. anything not Linux), this file shouldn't be used anyway. In Pkgsrc we ignore the potentially absent pkexec interpreter in this file. If the base OS uses systemd, it probably also has pkexec in its base installation. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-Makefile_am,v 1.3 2015/04/05 08:51:08 dsainty Exp $ d8 2 a9 1 @@@@ -5,8 +5,8 @@@@ a10 1 zmconfigdir = @@ZM_CONFIG_DIR@@ d12 1 a12 1 -zmconfig_DATA = \ d14 1 a14 1 +#zmconfig_DATA = \ d19 1 a19 1 @@@@ -20,7 +20,7 @@@@ d25 3 a27 3 ( cd $(DESTDIR)$(zmconfigdir); chown $(webuser):$(webgroup) $(zmconfig_DATA); chmod 600 $(zmconfig_DATA) ) ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; if test "$(DESTDIR)$(ZM_RUNDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR); fi ) ( if ! test -e $(DESTDIR)$(ZM_SOCKDIR); then mkdir -p $(DESTDIR)$(ZM_SOCKDIR); fi; if test "$(DESTDIR)$(ZM_SOCKDIR)" != "/var/run"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_SOCKDIR); chmod u+w $(DESTDIR)$(ZM_SOCKDIR); fi ) @ 1.1 log @ZoneMinder version 1.25.0: ZoneMinder is intended for use in single or multi-camera video security applications, including commercial or home CCTV, theft prevention and child, family member or home monitoring and other domestic care scenarios such as nanny cam installations. It supports capture, analysis, recording, and monitoring of video data coming from one or more video or network cameras attached to a system. ZoneMinder also support web and semi-automatic control of Pan/Tilt/Zoom cameras using a variety of protocols. It is suitable for use as a DIY home video security system and for commercial or professional video security and surveillance. It can also be integrated into a home automation system via X.10 or other protocols. @ text @d1 1 a1 1 $NetBSD$ d6 3 a8 3 --- Makefile.am.orig 2009-03-21 01:07:10.000000000 +1300 +++ Makefile.am 2010-11-23 00:34:37.003586001 +1300 @@@@ -4,8 +4,8 @@@@ d19 1 a19 1 @@@@ -19,7 +19,7 @@@@ @