Subject: CVS commit: [pkgsrc-2015Q1] pkgsrc/security/zoneminder
From: Hiramatsu Yoshifumi
Date: 2015-04-24 18:07:10
Message id: 20150424160710.8DF5598@cvs.netbsd.org

Log Message:
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.

Files:
RevisionActionfile
1.2.18.1modifypkgsrc/security/zoneminder/MESSAGE
1.13.6.1modifypkgsrc/security/zoneminder/Makefile
1.3.8.1modifypkgsrc/security/zoneminder/PLIST
1.4.8.1modifypkgsrc/security/zoneminder/distinfo
1.2.18.1modifypkgsrc/security/zoneminder/patches/patch-Makefile_am
1.2.18.1modifypkgsrc/security/zoneminder/patches/patch-configure_ac
1.1.8.1modifypkgsrc/security/zoneminder/patches/patch-scripts_ZoneMinder_lib_ZoneMinder_General_pm
1.2.18.1modifypkgsrc/security/zoneminder/patches/patch-scripts_zm_in
1.2.18.1modifypkgsrc/security/zoneminder/patches/patch-src_Makefile_am
1.2.16.1modifypkgsrc/security/zoneminder/patches/patch-src_zm__thread.h
1.1.18.1modifypkgsrc/security/zoneminder/patches/patch-src_zm__timer.h
1.1.18.1modifypkgsrc/security/zoneminder/patches/patch-src_zm__utils.h
1.3.16.1modifypkgsrc/security/zoneminder/patches/patch-src_zm_remote_camera_h
1.1.2.2addpkgsrc/security/zoneminder/patches/patch-src_zm_ffmpeg_camera_cpp
1.1.2.2addpkgsrc/security/zoneminder/patches/patch-src_zm_signal_cpp
1.2removepkgsrc/security/zoneminder/patches/patch-src_zm_signal_h
1.2removepkgsrc/security/zoneminder/patches/patch-src_zmf_cpp