From 49b0714c0cd4c9efb6cc5b4a2e1d59c30a1fa897 Mon Sep 17 00:00:00 2001 From: mebourne Date: Mon, 15 Dec 2008 21:22:20 +0000 Subject: [PATCH 01/82] - Fix permissions on zm.conf --- zoneminder.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 5dc2a60..dec8770 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.23.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -155,7 +155,7 @@ fi %files %defattr(-,root,root,-) %doc AUTHORS COPYING README README.Fedora jscalendar-doc -%config(noreplace) %attr(600,%{zmuid_final},%{zmgid_final}) %{_sysconfdir}/zm.conf +%config(noreplace) %attr(640,root,%{zmgid_final}) %{_sysconfdir}/zm.conf %config(noreplace) %attr(644,root,root) %{_sysconfdir}/httpd/conf.d/zoneminder.conf %attr(755,root,root) %{_initrddir}/zoneminder @@ -191,6 +191,9 @@ fi %changelog +* Mon Dec 15 2008 Martin Ebourne - 1.23.3-2 +- Fix permissions on zm.conf + * Fri Jul 11 2008 Jason L Tibbitts III - 1.23.3-1 - Initial attempt at packaging 1.23. From a19727e8ec3c668d055bfa3b5bafc8bf3547953e Mon Sep 17 00:00:00 2001 From: Caolan McNamara Date: Sat, 24 Jan 2009 15:34:26 +0000 Subject: [PATCH 02/82] rebuild for dependencies --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index dec8770..dd9403c 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.23.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -191,6 +191,9 @@ fi %changelog +* Sat Jan 24 2009 Caolán McNamara - 1.23.3-3 +- rebuild for dependencies + * Mon Dec 15 2008 Martin Ebourne - 1.23.3-2 - Fix permissions on zm.conf From 9ac63fc1b5a2e460f89b3c0ca0611652e9b58ed0 Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Wed, 25 Feb 2009 18:44:44 +0000 Subject: [PATCH 03/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index dd9403c..b5f0cc8 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.23.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -191,6 +191,9 @@ fi %changelog +* Wed Feb 25 2009 Fedora Release Engineering - 1.23.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + * Sat Jan 24 2009 Caolán McNamara - 1.23.3-3 - rebuild for dependencies From b075e8172b80d903be7c94d5e3a365b4d426cc01 Mon Sep 17 00:00:00 2001 From: mebourne Date: Sat, 14 Mar 2009 23:59:49 +0000 Subject: [PATCH 04/82] Added ZoneMinder-1.24.1.tar.gz archive --- .cvsignore | 5 +---- sources | 5 +---- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.cvsignore b/.cvsignore index 99733b8..170e5b1 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,4 +1 @@ -mootools-1.2-core-yc.js -jscalendar-1.0.zip -ZoneMinder-1.23.3.tar.gz -cambozola-0.68.tar.gz +ZoneMinder-1.24.1.tar.gz diff --git a/sources b/sources index c728b89..53f5838 100644 --- a/sources +++ b/sources @@ -1,4 +1 @@ -741c1ef4d6602c12a54d8a1b629988c8 mootools-1.2-core-yc.js -10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip -ee803f0f71d6e67adf602c3557fb6bc9 ZoneMinder-1.23.3.tar.gz -e4fac8b6ee94c9075b14bb95be4f860b cambozola-0.68.tar.gz +1e4ce392d645cbb28037ecebc5a56584 ZoneMinder-1.24.1.tar.gz From b1334c042729c8d67ca0b92309cd9831faf941e6 Mon Sep 17 00:00:00 2001 From: mebourne Date: Sun, 15 Mar 2009 00:37:00 +0000 Subject: [PATCH 05/82] - Upgrade to 1.24.1 --- .cvsignore | 3 ++ sources | 3 ++ ...patch => zoneminder-1.24.1-dbinstall.patch | 33 ++++++++++--------- ....patch => zoneminder-1.24.1-runlevel.patch | 6 ++-- zoneminder.spec | 11 ++++--- 5 files changed, 34 insertions(+), 22 deletions(-) rename zoneminder-1.23.3-dbinstall.patch => zoneminder-1.24.1-dbinstall.patch (80%) rename zoneminder-1.22.3-runlevel.patch => zoneminder-1.24.1-runlevel.patch (67%) diff --git a/.cvsignore b/.cvsignore index 170e5b1..3da56c4 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1,4 @@ ZoneMinder-1.24.1.tar.gz +cambozola-0.68.tar.gz +mootools-1.2-core-yc.js +jscalendar-1.0.zip diff --git a/sources b/sources index 53f5838..dc97c99 100644 --- a/sources +++ b/sources @@ -1 +1,4 @@ 1e4ce392d645cbb28037ecebc5a56584 ZoneMinder-1.24.1.tar.gz +e4fac8b6ee94c9075b14bb95be4f860b cambozola-0.68.tar.gz +741c1ef4d6602c12a54d8a1b629988c8 mootools-1.2-core-yc.js +10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip diff --git a/zoneminder-1.23.3-dbinstall.patch b/zoneminder-1.24.1-dbinstall.patch similarity index 80% rename from zoneminder-1.23.3-dbinstall.patch rename to zoneminder-1.24.1-dbinstall.patch index 5033ce1..f89ab4f 100644 --- a/zoneminder-1.23.3-dbinstall.patch +++ b/zoneminder-1.24.1-dbinstall.patch @@ -19,22 +19,25 @@ zm_update-0.9.8.sql \ --- scripts/zmupdate.pl.orig 2006-12-27 23:59:20.000000000 +0000 +++ scripts/zmupdate.pl 2006-12-27 23:59:35.000000000 +0000 -@@ -320,7 +320,7 @@ - $command .= " -p".$db_pass; - } - } -- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; -+ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; +@@ -402,7 +402,7 @@ + $command .= " -p".$db_pass; + } + } +- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; ++ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; - print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); - my $output = qx($command); ---- configure.in.orig 2006-12-27 23:55:41.000000000 +0000 -+++ configure.in 2006-12-27 23:59:07.000000000 +0000 -@@ -1,10 +1,8 @@ --AC_INIT(zm,1.23.3,support@zoneminder.com,ZoneMinder) -+AC_INIT(zm,1.23.3,support@zoneminder.com,zoneminder) - AC_CONFIG_SRCDIR(src/zm.h) + print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); + my $output = qx($command); +--- configure.ac.orig 2006-12-27 23:55:41.000000000 +0000 ++++ configure.ac 2006-12-27 23:59:07.000000000 +0000 +--- configure.ac.dbinstall 2009-02-23 10:56:58.000000000 +0000 ++++ configure.ac 2009-03-15 00:23:05.000000000 +0000 +@@ -1,11 +1,9 @@ + AC_PREREQ(2.61) +-AC_INIT(zm,1.24.1,support@zoneminder.com,ZoneMinder) ++AC_INIT(zm,1.24.1,support@zoneminder.com,zoneminder) AM_INIT_AUTOMAKE + AC_CONFIG_SRCDIR(src/zm.h) AM_CONFIG_HEADER(config.h) -PATH_BUILD=`pwd` @@ -42,7 +45,7 @@ TIME_BUILD=`date +'%s'` AC_SUBST(TIME_BUILD) -@@ -216,8 +214,10 @@ +@@ -318,8 +316,10 @@ AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) diff --git a/zoneminder-1.22.3-runlevel.patch b/zoneminder-1.24.1-runlevel.patch similarity index 67% rename from zoneminder-1.22.3-runlevel.patch rename to zoneminder-1.24.1-runlevel.patch index 1887b88..7e356ba 100644 --- a/zoneminder-1.22.3-runlevel.patch +++ b/zoneminder-1.24.1-runlevel.patch @@ -1,8 +1,8 @@ ---- scripts/zm.in.runlevel 2008-05-06 22:54:36.000000000 +0100 -+++ scripts/zm.in 2008-05-06 23:01:35.000000000 +0100 +--- scripts/zm.in.runlevel 2009-03-15 00:24:49.000000000 +0000 ++++ scripts/zm.in 2009-03-15 00:28:20.000000000 +0000 @@ -1,6 +1,6 @@ #!/bin/sh - # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2006 + # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 -# chkconfig: 2345 99 00 +# chkconfig: - 99 00 # processname: zmpkg.pl diff --git a/zoneminder.spec b/zoneminder.spec index b5f0cc8..21e20f6 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -4,8 +4,8 @@ %define zmgid_final apache Name: zoneminder -Version: 1.23.3 -Release: 4%{?dist} +Version: 1.24.1 +Release: 1%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -21,8 +21,8 @@ Source3: redalert.wav Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip Source6: http://mootools.net/downloads/mootools-1.2-core-yc.js -Patch1: zoneminder-1.23.3-dbinstall.patch -Patch2: zoneminder-1.22.3-runlevel.patch +Patch1: zoneminder-1.24.1-dbinstall.patch +Patch2: zoneminder-1.24.1-runlevel.patch Patch10: zoneminder-1.22.3-installfix.patch Conflicts: zm <= 1.22.3 @@ -191,6 +191,9 @@ fi %changelog +* Sun Mar 15 2009 Martin Ebourne - 1.24.1-1 +- Upgrade to 1.24.1 + * Wed Feb 25 2009 Fedora Release Engineering - 1.23.3-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild From cfd761b6a733f756a6c8fa6422a87dceaf05965a Mon Sep 17 00:00:00 2001 From: mebourne Date: Sat, 21 Mar 2009 21:50:04 +0000 Subject: [PATCH 06/82] - Patch for gcc 4.4 compilation errors - Upgrade to 1.24.1 --- zoneminder-1.24.1-gcc44.patch | 10 ++++++++++ zoneminder.spec | 4 +++- 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 zoneminder-1.24.1-gcc44.patch diff --git a/zoneminder-1.24.1-gcc44.patch b/zoneminder-1.24.1-gcc44.patch new file mode 100644 index 0000000..f572f3d --- /dev/null +++ b/zoneminder-1.24.1-gcc44.patch @@ -0,0 +1,10 @@ +--- src/zm_utils.cpp.orig 2009-03-21 21:46:01.000000000 +0000 ++++ src/zm_utils.cpp 2009-03-21 21:46:36.000000000 +0000 +@@ -19,6 +19,7 @@ + + #include "zm_utils.h" + ++#include + #include + + const std::string stringtf( const char *format, ... ) diff --git a/zoneminder.spec b/zoneminder.spec index 21e20f6..a64c7c9 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -24,6 +24,7 @@ Source6: http://mootools.net/downloads/mootools-1.2-core-yc.js Patch1: zoneminder-1.24.1-dbinstall.patch Patch2: zoneminder-1.24.1-runlevel.patch Patch10: zoneminder-1.22.3-installfix.patch +Patch11: zoneminder-1.24.1-gcc44.patch Conflicts: zm <= 1.22.3 @@ -191,7 +192,8 @@ fi %changelog -* Sun Mar 15 2009 Martin Ebourne - 1.24.1-1 +* Sat Mar 21 2009 Martin Ebourne - 1.24.1-1 +- Patch for gcc 4.4 compilation errors - Upgrade to 1.24.1 * Wed Feb 25 2009 Fedora Release Engineering - 1.23.3-4 From 361ab5c2461e5f3366b1135a00e4a5a82ea55422 Mon Sep 17 00:00:00 2001 From: mebourne Date: Sat, 21 Mar 2009 21:57:57 +0000 Subject: [PATCH 07/82] Apply the patch --- zoneminder.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/zoneminder.spec b/zoneminder.spec index a64c7c9..e3abd36 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -68,6 +68,7 @@ popd %patch1 -p0 -b .dbinstall %patch2 -p0 -b .runlevel %patch10 -p0 -b .installfix +%patch11 -p0 -b .gcc44 gunzip -c %{SOURCE1} | tar xf - cambozola-*/dist/cambozola.jar cp %{SOURCE4} README.Fedora From 3e6d69bf7d272e263b211f39a57f5ec7f9c36f01 Mon Sep 17 00:00:00 2001 From: mebourne Date: Tue, 7 Apr 2009 20:51:58 +0000 Subject: [PATCH 08/82] Fix typo in patch --- zoneminder-1.24.1-gcc44.patch | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/zoneminder-1.24.1-gcc44.patch b/zoneminder-1.24.1-gcc44.patch index f572f3d..144e04a 100644 --- a/zoneminder-1.24.1-gcc44.patch +++ b/zoneminder-1.24.1-gcc44.patch @@ -1,10 +1,12 @@ ---- src/zm_utils.cpp.orig 2009-03-21 21:46:01.000000000 +0000 -+++ src/zm_utils.cpp 2009-03-21 21:46:36.000000000 +0000 -@@ -19,6 +19,7 @@ +--- src/zm_utils.cpp.gcc44 2008-07-25 10:33:24.000000000 +0100 ++++ src/zm_utils.cpp 2009-04-07 21:25:05.000000000 +0100 +@@ -19,7 +19,8 @@ #include "zm_utils.h" -+#include - #include +-#include ++#include ++#include const std::string stringtf( const char *format, ... ) + { From 314f419e693b9ab934113c7eb30237ea97bab5e6 Mon Sep 17 00:00:00 2001 From: mebourne Date: Sat, 11 Apr 2009 01:19:34 +0000 Subject: [PATCH 09/82] - Update gcc44 patch to disable -frepo, seems to be broken with gcc44 - Added noffmpeg patch to make building outside mock easier --- zoneminder-1.24.1-gcc44.patch | 11 +++++++++++ zoneminder-1.24.1-noffmpeg.patch | 17 +++++++++++++++++ zoneminder.spec | 8 +++++++- 3 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 zoneminder-1.24.1-noffmpeg.patch diff --git a/zoneminder-1.24.1-gcc44.patch b/zoneminder-1.24.1-gcc44.patch index 144e04a..d1b8684 100644 --- a/zoneminder-1.24.1-gcc44.patch +++ b/zoneminder-1.24.1-gcc44.patch @@ -10,3 +10,14 @@ const std::string stringtf( const char *format, ... ) { +--- src/Makefile.am.frepo 2009-04-11 02:08:57.000000000 +0100 ++++ src/Makefile.am 2009-04-11 02:09:07.000000000 +0100 +@@ -1,7 +1,7 @@ + AUTOMAKE_OPTIONS = gnu + + AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline +-AM_CXXFLAGS = -frepo ++#AM_CXXFLAGS = -frepo + + CLEANFILES = *.rpo + diff --git a/zoneminder-1.24.1-noffmpeg.patch b/zoneminder-1.24.1-noffmpeg.patch new file mode 100644 index 0000000..db6e67f --- /dev/null +++ b/zoneminder-1.24.1-noffmpeg.patch @@ -0,0 +1,17 @@ +--- configure.ac.noffmpeg 2009-04-11 02:15:30.000000000 +0100 ++++ configure.ac 2009-04-11 02:15:52.000000000 +0100 +@@ -245,10 +245,10 @@ + AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) + fi + AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) +-AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) +-AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) +-AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) +-AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) ++dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) ++dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) ++dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) ++dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) + AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) + + # Checks for header files. diff --git a/zoneminder.spec b/zoneminder.spec index e3abd36..0164532 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -4,7 +4,7 @@ %define zmgid_final apache Name: zoneminder -Version: 1.24.1 +Version: 1.24.2 Release: 1%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons @@ -23,6 +23,7 @@ Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip Source6: http://mootools.net/downloads/mootools-1.2-core-yc.js Patch1: zoneminder-1.24.1-dbinstall.patch Patch2: zoneminder-1.24.1-runlevel.patch +Patch3: zoneminder-1.24.1-noffmpeg.patch Patch10: zoneminder-1.22.3-installfix.patch Patch11: zoneminder-1.24.1-gcc44.patch @@ -67,6 +68,7 @@ popd %patch1 -p0 -b .dbinstall %patch2 -p0 -b .runlevel +%patch3 -p0 -b .noffmpeg %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc44 gunzip -c %{SOURCE1} | tar xf - cambozola-*/dist/cambozola.jar @@ -193,6 +195,10 @@ fi %changelog +* Sat Apr 11 2009 Martin Ebourne - 1.24.1-2 +- Update gcc44 patch to disable -frepo, seems to be broken with gcc44 +- Added noffmpeg patch to make building outside mock easier + * Sat Mar 21 2009 Martin Ebourne - 1.24.1-1 - Patch for gcc 4.4 compilation errors - Upgrade to 1.24.1 From 75f093b5f81fbc2267532ed7f58907571d03eace Mon Sep 17 00:00:00 2001 From: mebourne Date: Sat, 11 Apr 2009 01:24:27 +0000 Subject: [PATCH 10/82] Fix version/release typo. --- zoneminder.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 0164532..ebf680e 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -4,8 +4,8 @@ %define zmgid_final apache Name: zoneminder -Version: 1.24.2 -Release: 1%{?dist} +Version: 1.24.1 +Release: 2%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ From 8c19563c5c5f9dc983dcbacefd403e284824a001 Mon Sep 17 00:00:00 2001 From: mebourne Date: Sat, 11 Apr 2009 18:03:48 +0000 Subject: [PATCH 11/82] - Remove unused Sys::Mmap perl dependency RPM is finding --- zoneminder-1.24.1-perldep.patch | 12 ++++++++++++ zoneminder.spec | 7 ++++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 zoneminder-1.24.1-perldep.patch diff --git a/zoneminder-1.24.1-perldep.patch b/zoneminder-1.24.1-perldep.patch new file mode 100644 index 0000000..aa327b9 --- /dev/null +++ b/zoneminder-1.24.1-perldep.patch @@ -0,0 +1,12 @@ +--- scripts/ZoneMinder/lib/ZoneMinder/Memory/Mapped.pm.perldep 2009-04-11 19:00:53.000000000 +0100 ++++ scripts/ZoneMinder/lib/ZoneMinder/Memory/Mapped.pm 2009-04-11 19:00:29.000000000 +0100 +@@ -66,7 +66,8 @@ + use ZoneMinder::Config qw(:all); + use ZoneMinder::Debug qw(:all); + +-use Sys::Mmap; ++# Remove this, we don't use it but RPM is finding it as a dependency ++# use Sys::Mmap; + + sub zmMemKey( $ ) + { diff --git a/zoneminder.spec b/zoneminder.spec index ebf680e..c340cc0 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -24,6 +24,7 @@ Source6: http://mootools.net/downloads/mootools-1.2-core-yc.js Patch1: zoneminder-1.24.1-dbinstall.patch Patch2: zoneminder-1.24.1-runlevel.patch Patch3: zoneminder-1.24.1-noffmpeg.patch +Patch4: zoneminder-1.24.1-perldep.patch Patch10: zoneminder-1.22.3-installfix.patch Patch11: zoneminder-1.24.1-gcc44.patch @@ -69,6 +70,7 @@ popd %patch1 -p0 -b .dbinstall %patch2 -p0 -b .runlevel %patch3 -p0 -b .noffmpeg +%patch4 -p0 -b .perldep %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc44 gunzip -c %{SOURCE1} | tar xf - cambozola-*/dist/cambozola.jar @@ -195,6 +197,9 @@ fi %changelog +* Sat Apr 11 2009 Martin Ebourne - 1.24.1-3 +- Remove unused Sys::Mmap perl dependency RPM is finding + * Sat Apr 11 2009 Martin Ebourne - 1.24.1-2 - Update gcc44 patch to disable -frepo, seems to be broken with gcc44 - Added noffmpeg patch to make building outside mock easier From 2180d71d505e221e6a7acdbe806caf9f116848a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Wed, 22 Jul 2009 20:01:54 +0000 Subject: [PATCH 12/82] - Initial update to 1.24.2. - Rebase patches. - Update mootools download location. - Update to mootools 1.2.3. - Add additional dependencies for some optional features. --- .cvsignore | 4 +- sources | 4 +- ...patch => zoneminder-1.24.2-dbinstall.patch | 124 +++++++++--------- ...c44.patch => zoneminder-1.24.2-gcc44.patch | 18 +-- ....patch => zoneminder-1.24.2-noffmpeg.patch | 8 +- zoneminder.spec | 40 +++--- 6 files changed, 105 insertions(+), 93 deletions(-) rename zoneminder-1.24.1-dbinstall.patch => zoneminder-1.24.2-dbinstall.patch (71%) rename zoneminder-1.24.1-gcc44.patch => zoneminder-1.24.2-gcc44.patch (53%) rename zoneminder-1.24.1-noffmpeg.patch => zoneminder-1.24.2-noffmpeg.patch (86%) diff --git a/.cvsignore b/.cvsignore index 3da56c4..38fe763 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1,4 +1,4 @@ -ZoneMinder-1.24.1.tar.gz cambozola-0.68.tar.gz -mootools-1.2-core-yc.js jscalendar-1.0.zip +mootools-1.2.3-core-yc.js +ZoneMinder-1.24.2.tar.gz diff --git a/sources b/sources index dc97c99..39edb8a 100644 --- a/sources +++ b/sources @@ -1,4 +1,4 @@ -1e4ce392d645cbb28037ecebc5a56584 ZoneMinder-1.24.1.tar.gz e4fac8b6ee94c9075b14bb95be4f860b cambozola-0.68.tar.gz -741c1ef4d6602c12a54d8a1b629988c8 mootools-1.2-core-yc.js 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip +2107736d116f31767cadb15902c6c7fd mootools-1.2.3-core-yc.js +550d2f8f08852134028c3b1cf8fa437f ZoneMinder-1.24.2.tar.gz diff --git a/zoneminder-1.24.1-dbinstall.patch b/zoneminder-1.24.2-dbinstall.patch similarity index 71% rename from zoneminder-1.24.1-dbinstall.patch rename to zoneminder-1.24.2-dbinstall.patch index f89ab4f..b43fb83 100644 --- a/zoneminder-1.24.1-dbinstall.patch +++ b/zoneminder-1.24.2-dbinstall.patch @@ -1,5 +1,34 @@ ---- db/Makefile.am.orig 2006-12-27 23:50:07.000000000 +0000 -+++ db/Makefile.am 2006-12-27 23:50:21.000000000 +0000 +diff -up ./configure.ac.dbinstall ./configure.ac +--- ./configure.ac.dbinstall 2009-06-24 05:22:23.000000000 -0500 ++++ ./configure.ac 2009-07-19 22:40:16.000000000 -0500 +@@ -1,11 +1,9 @@ + AC_PREREQ(2.59) +-AC_INIT(zm,1.24.2,support@zoneminder.com,ZoneMinder) ++AC_INIT(zm,1.24.2,support@zoneminder.com,zoneminder) + AM_INIT_AUTOMAKE + AC_CONFIG_SRCDIR(src/zm.h) + AM_CONFIG_HEADER(config.h) + +-PATH_BUILD=`pwd` +-AC_SUBST(PATH_BUILD) + TIME_BUILD=`date +'%s'` + AC_SUBST(TIME_BUILD) + +@@ -319,8 +317,10 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC + + AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) + AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) ++AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) ++AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") + AC_SUBST(RUNDIR,"/var/run") +-AC_SUBST(ZM_RUNDIR,"$RUNDIR/zm") ++AC_SUBST(ZM_RUNDIR,"$RUNDIR/$PACKAGE") + AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") + AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) + AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") +diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am +--- ./db/Makefile.am.dbinstall 2009-03-31 09:06:34.000000000 -0500 ++++ ./db/Makefile.am 2009-07-19 22:27:02.000000000 -0500 @@ -1,7 +1,16 @@ AUTOMAKE_OPTIONS = gnu @@ -17,61 +46,9 @@ zm_update-0.0.1.sql \ zm_update-0.9.7.sql \ zm_update-0.9.8.sql \ ---- scripts/zmupdate.pl.orig 2006-12-27 23:59:20.000000000 +0000 -+++ scripts/zmupdate.pl 2006-12-27 23:59:35.000000000 +0000 -@@ -402,7 +402,7 @@ - $command .= " -p".$db_pass; - } - } -- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; -+ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; - - print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); - my $output = qx($command); ---- configure.ac.orig 2006-12-27 23:55:41.000000000 +0000 -+++ configure.ac 2006-12-27 23:59:07.000000000 +0000 ---- configure.ac.dbinstall 2009-02-23 10:56:58.000000000 +0000 -+++ configure.ac 2009-03-15 00:23:05.000000000 +0000 -@@ -1,11 +1,9 @@ - AC_PREREQ(2.61) --AC_INIT(zm,1.24.1,support@zoneminder.com,ZoneMinder) -+AC_INIT(zm,1.24.1,support@zoneminder.com,zoneminder) - AM_INIT_AUTOMAKE - AC_CONFIG_SRCDIR(src/zm.h) - AM_CONFIG_HEADER(config.h) - --PATH_BUILD=`pwd` --AC_SUBST(PATH_BUILD) - TIME_BUILD=`date +'%s'` - AC_SUBST(TIME_BUILD) - -@@ -318,8 +316,10 @@ - - AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) - AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) -+AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) -+AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") - AC_SUBST(RUNDIR,"/var/run") --AC_SUBST(ZM_RUNDIR,"$RUNDIR/zm") -+AC_SUBST(ZM_RUNDIR,"$RUNDIR/$PACKAGE") - AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") - AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) - AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") ---- zm.conf.in.orig 2006-12-27 23:53:38.000000000 +0000 -+++ zm.conf.in 2006-12-27 23:59:11.000000000 +0000 -@@ -12,8 +12,8 @@ - # Current version of ZoneMinder - ZM_VERSION=@VERSION@ - --# Path to build directory, used mostly for finding DB upgrade scripts --ZM_PATH_BUILD=@PATH_BUILD@ -+# Path to installed data directory, used mostly for finding DB upgrade scripts -+ZM_PATH_DATA=@PKGDATADIR@ - - # Build time, used to record when to trigger various checks - ZM_TIME_BUILD=@TIME_BUILD@ ---- scripts/zm.in.dbinstall 2007-04-03 00:41:48.000000000 +0100 -+++ scripts/zm.in 2007-04-03 00:42:46.000000000 +0100 +diff -up ./scripts/zm.in.dbinstall ./scripts/zm.in +--- ./scripts/zm.in.dbinstall 2009-03-20 07:07:02.000000000 -0500 ++++ ./scripts/zm.in 2009-07-19 22:27:02.000000000 -0500 @@ -6,10 +6,10 @@ # Source function library. . /etc/rc.d/init.d/functions @@ -85,7 +62,7 @@ loadconf() { -@@ -27,9 +27,8 @@ +@@ -27,9 +27,8 @@ command="$ZM_PATH_BIN/zmpkg.pl" start() { zmupdate || return $? @@ -96,7 +73,7 @@ && mkdir -m 774 $pidfile \ && chown $ZM_WEB_USER:$ZM_WEB_GROUP $pidfile #Make sure the folder for the socks file exists or create one -@@ -49,7 +48,6 @@ +@@ -56,7 +55,6 @@ start() stop() { @@ -104,7 +81,7 @@ echo -n $"Stopping $prog: " $command stop RETVAL=$? -@@ -60,22 +58,21 @@ +@@ -67,22 +65,21 @@ stop() zmstatus() { @@ -131,7 +108,7 @@ fi } -@@ -92,7 +89,6 @@ +@@ -99,7 +96,6 @@ case "$1" in start ;; 'condrestart') @@ -139,3 +116,28 @@ result=`$ZM_PATH_BIN/zmdc.pl check` if [ "$result" = "running" ]; then $ZM_PATH_BIN/zmdc.pl shutdown > /dev/null +--- ./scripts/zmupdate.pl.in.dbinstall 2009-06-30 02:42:12.000000000 -0500 ++++ ./scripts/zmupdate.pl.in 2009-07-19 22:27:02.000000000 -0500 +@@ -403,7 +403,7 @@ if ( $version ) + $command .= " -p".$db_pass; + } + } +- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; ++ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; + + print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); + my $output = qx($command); +diff -up ./zm.conf.in.dbinstall ./zm.conf.in +--- ./zm.conf.in.dbinstall 2009-03-20 07:07:10.000000000 -0500 ++++ ./zm.conf.in 2009-07-19 22:27:02.000000000 -0500 +@@ -12,8 +12,8 @@ + # Current version of ZoneMinder + ZM_VERSION=@VERSION@ + +-# Path to build directory, used mostly for finding DB upgrade scripts +-ZM_PATH_BUILD=@PATH_BUILD@ ++# Path to installed data directory, used mostly for finding DB upgrade scripts ++ZM_PATH_DATA=@PKGDATADIR@ + + # Build time, used to record when to trigger various checks + ZM_TIME_BUILD=@TIME_BUILD@ diff --git a/zoneminder-1.24.1-gcc44.patch b/zoneminder-1.24.2-gcc44.patch similarity index 53% rename from zoneminder-1.24.1-gcc44.patch rename to zoneminder-1.24.2-gcc44.patch index d1b8684..149b922 100644 --- a/zoneminder-1.24.1-gcc44.patch +++ b/zoneminder-1.24.2-gcc44.patch @@ -1,7 +1,7 @@ ---- src/zm_utils.cpp.gcc44 2008-07-25 10:33:24.000000000 +0100 -+++ src/zm_utils.cpp 2009-04-07 21:25:05.000000000 +0100 -@@ -19,7 +19,8 @@ - +--- src/zm_utils.cpp.gcc44 2009-05-28 03:47:59.000000000 -0500 ++++ src/zm_utils.cpp 2009-07-20 00:28:43.000000000 -0500 +@@ -20,7 +20,8 @@ + //#include "zm_debug.h" #include "zm_utils.h" -#include @@ -10,14 +10,14 @@ const std::string stringtf( const char *format, ... ) { ---- src/Makefile.am.frepo 2009-04-11 02:08:57.000000000 +0100 -+++ src/Makefile.am 2009-04-11 02:09:07.000000000 +0100 +--- src/Makefile.am.frepo 2009-04-11 02:08:57.000000000 +0100 ++++ src/Makefile.am 2009-04-11 02:09:07.000000000 +0100 @@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = gnu - + AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline -AM_CXXFLAGS = -frepo +#AM_CXXFLAGS = -frepo - + CLEANFILES = *.rpo - + diff --git a/zoneminder-1.24.1-noffmpeg.patch b/zoneminder-1.24.2-noffmpeg.patch similarity index 86% rename from zoneminder-1.24.1-noffmpeg.patch rename to zoneminder-1.24.2-noffmpeg.patch index db6e67f..c8e81d6 100644 --- a/zoneminder-1.24.1-noffmpeg.patch +++ b/zoneminder-1.24.2-noffmpeg.patch @@ -1,6 +1,6 @@ ---- configure.ac.noffmpeg 2009-04-11 02:15:30.000000000 +0100 -+++ configure.ac 2009-04-11 02:15:52.000000000 +0100 -@@ -245,10 +245,10 @@ +--- configure.ac.noffmpeg 2009-07-20 00:24:37.000000000 -0500 ++++ configure.ac 2009-07-20 00:25:51.000000000 -0500 +@@ -244,10 +244,10 @@ AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) fi AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) @@ -13,5 +13,5 @@ +dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) +dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) + AC_CHECK_LIB(z,compress,,) - # Checks for header files. diff --git a/zoneminder.spec b/zoneminder.spec index c340cc0..03fea11 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -3,16 +3,16 @@ %define zmuid_final apache %define zmgid_final apache -Name: zoneminder -Version: 1.24.1 -Release: 3%{?dist} -Summary: A camera monitoring and analysis tool -Group: System Environment/Daemons +Name: zoneminder +Version: 1.24.2 +Release: 1%{?dist} +Summary: A camera monitoring and analysis tool +Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ # Mootools is inder the MIT license: http://mootools.net/ -License: GPLv2+ and LGPLv2+ and MIT -URL: http://www.zoneminder.com/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +License: GPLv2+ and LGPLv2+ and MIT +URL: http://www.zoneminder.com/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://www.zoneminder.com/fileadmin/downloads/ZoneMinder-%{version}.tar.gz Source1: http://www.charliemouse.com/code/cambozola/cambozola-0.68.tar.gz @@ -20,13 +20,13 @@ Source2: zoneminder.conf Source3: redalert.wav Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip -Source6: http://mootools.net/downloads/mootools-1.2-core-yc.js -Patch1: zoneminder-1.24.1-dbinstall.patch +Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js +Patch1: zoneminder-1.24.2-dbinstall.patch Patch2: zoneminder-1.24.1-runlevel.patch -Patch3: zoneminder-1.24.1-noffmpeg.patch +Patch3: zoneminder-1.24.2-noffmpeg.patch Patch4: zoneminder-1.24.1-perldep.patch Patch10: zoneminder-1.22.3-installfix.patch -Patch11: zoneminder-1.24.1-gcc44.patch +Patch11: zoneminder-1.24.2-gcc44.patch Conflicts: zm <= 1.22.3 @@ -37,9 +37,12 @@ BuildRequires: perl(Date::Manip) perl(DBD::mysql) BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) BuildRequires: perl(MIME::Entity) perl(MIME::Lite) BuildRequires: perl(PHP::Serialization) + Requires: httpd php php-mysql Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(DBD::mysql) +Requires: perl(DBD::mysql) perl(Archive::Tar) perl(Archive::Zip) +Requires: perl(MIME::Entity) perl(MIME::Lite) perl(Net::SMTP) perl(Net::FTP) + Requires(post): /sbin/chkconfig Requires(preun): /sbin/chkconfig Requires(preun): /sbin/service @@ -133,8 +136,8 @@ cp -rp jscalendar-1.0/* $RPM_BUILD_ROOT%{_datadir}/%{name}/www/jscalendar # Install mootools pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/www -install -m 644 %{SOURCE6} mootools-1.2-core-yc.js -ln -s mootools-1.2-core-yc.js mootools.js +install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js +ln -s mootools-1.2.3-core-yc.js mootools.js popd %clean @@ -197,6 +200,13 @@ fi %changelog +* Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-1 +- Initial update to 1.24.2. +- Rebase patches. +- Update mootools download location. +- Update to mootools 1.2.3. +- Add additional dependencies for some optional features. + * Sat Apr 11 2009 Martin Ebourne - 1.24.1-3 - Remove unused Sys::Mmap perl dependency RPM is finding From 0e2845b2acbfeeea739cfb2c418ee1b5048ae3d7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jason=20=E3=83=86=E3=82=A3=E3=83=93=E3=83=84?= Date: Wed, 22 Jul 2009 20:18:50 +0000 Subject: [PATCH 13/82] - Bump release since 1.24.2-1 was mistakenly tagged a few months ago. --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 03fea11..21746fa 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.2 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -200,6 +200,9 @@ fi %changelog +* Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-2 +- Bump release since 1.24.2-1 was mistakenly tagged a few months ago. + * Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-1 - Initial update to 1.24.2. - Rebase patches. From 3412f5eb2c7963730a57aaa0eacd6fa1a6db53af Mon Sep 17 00:00:00 2001 From: Jesse Keating Date: Mon, 27 Jul 2009 09:04:40 +0000 Subject: [PATCH 14/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 21746fa..067d106 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.2 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -200,6 +200,9 @@ fi %changelog +* Mon Jul 27 2009 Fedora Release Engineering - 1.24.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + * Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-2 - Bump release since 1.24.2-1 was mistakenly tagged a few months ago. From b1c707c88b0a21064545b29a3fe507764f8e3381 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Wed, 25 Nov 2009 22:39:21 +0000 Subject: [PATCH 15/82] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 537d8ee..d82be1e 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,10 @@ # Makefile for source rpm: zoneminder -# $Id$ +# $Id: Makefile,v 1.1 2007/06/28 20:07:46 kevin Exp $ NAME := zoneminder SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From 1743cb51c3f414e903310201bc43d47f54d8c12e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Kasal?= Date: Sun, 6 Dec 2009 23:36:44 +0000 Subject: [PATCH 16/82] - rebuild against perl 5.10.1 --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 067d106..b1b6100 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.2 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -200,6 +200,9 @@ fi %changelog +* Fri Dec 4 2009 Stepan Kasal - 1.24.2-4 +- rebuild against perl 5.10.1 + * Mon Jul 27 2009 Fedora Release Engineering - 1.24.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From 4b630c3bcda32b86fe2ff960f52d81d42f1b7cff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Kasal?= Date: Sun, 6 Dec 2009 23:54:45 +0000 Subject: [PATCH 17/82] - use Perl vendorarch and archlib variables correctly --- zoneminder.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index b1b6100..79e7704 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -114,8 +114,7 @@ rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_localstatedir}/run make install DESTDIR=$RPM_BUILD_ROOT \ INSTALLDIRS=vendor -rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_lib}/perl5/vendor_perl/*.*/*-* -rm -rf $RPM_BUILD_ROOT%{_prefix}/%{_lib}/perl5/*.*/*-* +rm -rf $RPM_BUILD_ROOT%{perl_vendorarch} $RPM_BUILD_ROOT%{perl_archlib} rm -f $RPM_BUILD_ROOT%{_bindir}/zmx10.pl install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/zoneminder @@ -202,6 +201,7 @@ fi %changelog * Fri Dec 4 2009 Stepan Kasal - 1.24.2-4 - rebuild against perl 5.10.1 +- use Perl vendorarch and archlib variables correctly * Mon Jul 27 2009 Fedora Release Engineering - 1.24.2-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild From d5903e7b46fdd377cd44a4332e10ff54a08b6bdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcela=20Ma=C5=A1l=C3=A1=C5=88ov=C3=A1?= Date: Wed, 2 Jun 2010 10:18:39 +0000 Subject: [PATCH 18/82] - Mass rebuild with perl-5.12.0 --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 79e7704..1c8ca12 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.2 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -199,6 +199,9 @@ fi %changelog +* Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 +- Mass rebuild with perl-5.12.0 + * Fri Dec 4 2009 Stepan Kasal - 1.24.2-4 - rebuild against perl 5.10.1 - use Perl vendorarch and archlib variables correctly From 757adca12c95a2c4d71779b69dcceb93133aed53 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 16:32:38 +0000 Subject: [PATCH 19/82] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- 2 files changed, 21 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index d82be1e..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: zoneminder -# $Id: Makefile,v 1.1 2007/06/28 20:07:46 kevin Exp $ -NAME := zoneminder -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) From d637c48ed54ee392c4086de05fdc6b67562c2a4d Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 00:08:03 -0600 Subject: [PATCH 20/82] Use separately-packaged cambozola jar. --- zoneminder.spec | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 1c8ca12..2ed2fce 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.2 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -15,7 +15,6 @@ URL: http://www.zoneminder.com/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://www.zoneminder.com/fileadmin/downloads/ZoneMinder-%{version}.tar.gz -Source1: http://www.charliemouse.com/code/cambozola/cambozola-0.68.tar.gz Source2: zoneminder.conf Source3: redalert.wav Source4: README.Fedora @@ -38,7 +37,7 @@ BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) BuildRequires: perl(MIME::Entity) perl(MIME::Lite) BuildRequires: perl(PHP::Serialization) -Requires: httpd php php-mysql +Requires: httpd php php-mysql cambozola Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(DBD::mysql) perl(Archive::Tar) perl(Archive::Zip) Requires: perl(MIME::Entity) perl(MIME::Lite) perl(Net::SMTP) perl(Net::FTP) @@ -56,7 +55,7 @@ have attached to a Linux based machine. It is designed to run on kernels which support the Video For Linux (V4L) interface and has been tested with cameras attached to BTTV cards, various USB cameras and IP network cameras. It is designed to support as many cameras as you can attach to your computer without -too much degradation of performance. This package includes cambozola.jar. +too much degradation of performance. %prep @@ -76,7 +75,6 @@ popd %patch4 -p0 -b .perldep %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc44 -gunzip -c %{SOURCE1} | tar xf - cambozola-*/dist/cambozola.jar cp %{SOURCE4} README.Fedora cat <> db/zm_create.sql.in @@ -125,7 +123,6 @@ do ln -sf ../../../..%{_localstatedir}/lib/zoneminder/$dir $RPM_BUILD_ROOT%{_datadir}/%{name}/www/$dir done install -D -m 755 scripts/zm $RPM_BUILD_ROOT%{_initrddir}/zoneminder -install -D -m 644 cambozola-*/dist/cambozola.jar $RPM_BUILD_ROOT%{_datadir}/%{name}/www/cambozola.jar install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zoneminder.conf install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/www/sounds/redalert.wav @@ -133,6 +130,11 @@ install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/www/sounds/redal install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/www/jscalendar cp -rp jscalendar-1.0/* $RPM_BUILD_ROOT%{_datadir}/%{name}/www/jscalendar +# Set up cambozola +pushd %{buildroot}/%{_datadir}/%{name}/www +ln -s ../../java/cambozola.jar +popd + # Install mootools pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/www install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js @@ -199,6 +201,9 @@ fi %changelog +* Fri Jan 21 2011 Jason L Tibbitts III - 1.24.2-6 +- Unbundle mootools; instead link to the separately pacakged copy. + * Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 - Mass rebuild with perl-5.12.0 From 0e7fe5a768866b3fc2b4168b46a9319f6db81813 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 00:09:54 -0600 Subject: [PATCH 21/82] Remove some things unnecessary on modern Fedora. --- zoneminder.spec | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 2ed2fce..7af1af0 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -12,7 +12,6 @@ Group: System Environment/Daemons # Mootools is inder the MIT license: http://mootools.net/ License: GPLv2+ and LGPLv2+ and MIT URL: http://www.zoneminder.com/ -BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Source: http://www.zoneminder.com/fileadmin/downloads/ZoneMinder-%{version}.tar.gz Source2: zoneminder.conf @@ -107,8 +106,6 @@ make %{?_smp_mflags} %install -rm -rf $RPM_BUILD_ROOT - install -d $RPM_BUILD_ROOT%{_localstatedir}/run make install DESTDIR=$RPM_BUILD_ROOT \ INSTALLDIRS=vendor @@ -141,9 +138,6 @@ install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js ln -s mootools-1.2.3-core-yc.js mootools.js popd -%clean -rm -rf $RPM_BUILD_ROOT - %post /sbin/chkconfig --add zoneminder @@ -203,6 +197,7 @@ fi %changelog * Fri Jan 21 2011 Jason L Tibbitts III - 1.24.2-6 - Unbundle mootools; instead link to the separately pacakged copy. +- Remove BuildRoot:, %%clean and buildroot cleaning in %%install. * Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 - Mass rebuild with perl-5.12.0 From d7d790c83ce8825cb2790625b9effb6295af8e74 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 00:25:27 -0600 Subject: [PATCH 22/82] Fix mixed space/tab usage. --- zoneminder.spec | 93 +++++++++++++++++++++++++------------------------ 1 file changed, 47 insertions(+), 46 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 7af1af0..cee9bfb 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -14,31 +14,31 @@ License: GPLv2+ and LGPLv2+ and MIT URL: http://www.zoneminder.com/ Source: http://www.zoneminder.com/fileadmin/downloads/ZoneMinder-%{version}.tar.gz -Source2: zoneminder.conf -Source3: redalert.wav -Source4: README.Fedora +Source2: zoneminder.conf +Source3: redalert.wav +Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js -Patch1: zoneminder-1.24.2-dbinstall.patch -Patch2: zoneminder-1.24.1-runlevel.patch -Patch3: zoneminder-1.24.2-noffmpeg.patch -Patch4: zoneminder-1.24.1-perldep.patch -Patch10: zoneminder-1.22.3-installfix.patch -Patch11: zoneminder-1.24.2-gcc44.patch +Patch1: zoneminder-1.24.2-dbinstall.patch +Patch2: zoneminder-1.24.1-runlevel.patch +Patch3: zoneminder-1.24.2-noffmpeg.patch +Patch4: zoneminder-1.24.1-perldep.patch +Patch10: zoneminder-1.22.3-installfix.patch +Patch11: zoneminder-1.24.2-gcc44.patch -Conflicts: zm <= 1.22.3 +Conflicts: zm <= 1.22.3 -BuildRequires: automake gnutls-devel -BuildRequires: mysql-devel pcre-devel libjpeg-devel -BuildRequires: perl(Archive::Tar) perl(Archive::Zip) +BuildRequires: automake gnutls-devel +BuildRequires: mysql-devel pcre-devel libjpeg-devel +BuildRequires: perl(Archive::Tar) perl(Archive::Zip) BuildRequires: perl(Date::Manip) perl(DBD::mysql) -BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) -BuildRequires: perl(MIME::Entity) perl(MIME::Lite) +BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) +BuildRequires: perl(MIME::Entity) perl(MIME::Lite) BuildRequires: perl(PHP::Serialization) -Requires: httpd php php-mysql cambozola -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(DBD::mysql) perl(Archive::Tar) perl(Archive::Zip) +Requires: httpd php php-mysql cambozola +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) +Requires: perl(DBD::mysql) perl(Archive::Tar) perl(Archive::Zip) Requires: perl(MIME::Entity) perl(MIME::Lite) perl(Net::SMTP) perl(Net::FTP) Requires(post): /sbin/chkconfig @@ -88,44 +88,44 @@ autoreconf OPTS="" %ifnarch %{ix86} x86_64 - OPTS="$OPTS --disable-crashtrace" + OPTS="$OPTS --disable-crashtrace" %endif %configure \ - --with-libarch=%{_lib} \ - --with-mysql=%{_prefix} \ - --with-webdir=%{_datadir}/%{name}/www \ - --with-cgidir=%{_libexecdir}/%{name}/cgi-bin \ - --with-webuser=%{zmuid} \ - --with-webgroup=%{zmgid} \ - --disable-debug \ - $OPTS + --with-libarch=%{_lib} \ + --with-mysql=%{_prefix} \ + --with-webdir=%{_datadir}/%{name}/www \ + --with-cgidir=%{_libexecdir}/%{name}/cgi-bin \ + --with-webuser=%{zmuid} \ + --with-webgroup=%{zmgid} \ + --disable-debug \ + $OPTS make %{?_smp_mflags} %{__perl} -pi -e 's/(ZM_WEB_USER=).*$/${1}%{zmuid_final}/;' \ - -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf + -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf %install -install -d $RPM_BUILD_ROOT%{_localstatedir}/run -make install DESTDIR=$RPM_BUILD_ROOT \ - INSTALLDIRS=vendor -rm -rf $RPM_BUILD_ROOT%{perl_vendorarch} $RPM_BUILD_ROOT%{perl_archlib} -rm -f $RPM_BUILD_ROOT%{_bindir}/zmx10.pl +install -d %{buildroot}/%{_localstatedir}/run +make install DESTDIR=%{buildroot} \ + INSTALLDIRS=vendor +rm -rf %{buildroot}/%{perl_vendorarch} %{buildroot}/%{perl_archlib} +rm -f %{buildroot}/%{_bindir}/zmx10.pl -install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/log/zoneminder +install -m 755 -d %{buildroot}/%{_localstatedir}/log/zoneminder for dir in events images temp do - install -m 755 -d $RPM_BUILD_ROOT%{_localstatedir}/lib/zoneminder/$dir - rmdir $RPM_BUILD_ROOT%{_datadir}/%{name}/www/$dir - ln -sf ../../../..%{_localstatedir}/lib/zoneminder/$dir $RPM_BUILD_ROOT%{_datadir}/%{name}/www/$dir + install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/$dir + rmdir %{buildroot}/%{_datadir}/%{name}/www/$dir + ln -sf ../../../..%{_localstatedir}/lib/zoneminder/$dir %{buildroot}/%{_datadir}/%{name}/www/$dir done -install -D -m 755 scripts/zm $RPM_BUILD_ROOT%{_initrddir}/zoneminder -install -D -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/conf.d/zoneminder.conf -install -D -m 755 %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/%{name}/www/sounds/redalert.wav +install -D -m 755 scripts/zm %{buildroot}/%{_initrddir}/zoneminder +install -D -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/conf.d/zoneminder.conf +install -D -m 755 %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/www/sounds/redalert.wav # Install jscalendar - this really should be in its own package -install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}/www/jscalendar -cp -rp jscalendar-1.0/* $RPM_BUILD_ROOT%{_datadir}/%{name}/www/jscalendar +install -d -m 755 %{buildroot}/%{_datadir}/%{name}/www/jscalendar +cp -rp jscalendar-1.0/* %{buildroot}/%{_datadir}/%{name}/www/jscalendar # Set up cambozola pushd %{buildroot}/%{_datadir}/%{name}/www @@ -133,7 +133,7 @@ ln -s ../../java/cambozola.jar popd # Install mootools -pushd $RPM_BUILD_ROOT%{_datadir}/%{name}/www +pushd %{buildroot}/%{_datadir}/%{name}/www install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js ln -s mootools-1.2.3-core-yc.js mootools.js popd @@ -145,14 +145,14 @@ popd %preun if [ $1 -eq 0 ]; then - /sbin/service zoneminder stop > /dev/null 2>&1 || : - /sbin/chkconfig --del zoneminder + /sbin/service zoneminder stop > /dev/null 2>&1 || : + /sbin/chkconfig --del zoneminder fi %postun if [ $1 -ge 1 ]; then - /sbin/service zoneminder condrestart > /dev/null 2>&1 || : + /sbin/service zoneminder condrestart > /dev/null 2>&1 || : fi @@ -198,6 +198,7 @@ fi * Fri Jan 21 2011 Jason L Tibbitts III - 1.24.2-6 - Unbundle mootools; instead link to the separately pacakged copy. - Remove BuildRoot:, %%clean and buildroot cleaning in %%install. +- Git rid of mixed space/tab usage by removing all tabs. * Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 - Mass rebuild with perl-5.12.0 From 85647fc4867eca5a1dc855438cfce6d41aa97cc2 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 00:26:06 -0600 Subject: [PATCH 23/82] Remove unnecessary Conflicts: --- zoneminder.spec | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index cee9bfb..ba8ca42 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -26,8 +26,6 @@ Patch4: zoneminder-1.24.1-perldep.patch Patch10: zoneminder-1.22.3-installfix.patch Patch11: zoneminder-1.24.2-gcc44.patch -Conflicts: zm <= 1.22.3 - BuildRequires: automake gnutls-devel BuildRequires: mysql-devel pcre-devel libjpeg-devel BuildRequires: perl(Archive::Tar) perl(Archive::Zip) @@ -199,6 +197,7 @@ fi - Unbundle mootools; instead link to the separately pacakged copy. - Remove BuildRoot:, %%clean and buildroot cleaning in %%install. - Git rid of mixed space/tab usage by removing all tabs. +- Remove unnecessary Conflicts: line. * Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 - Mass rebuild with perl-5.12.0 From 3d9ed97c5b4b4876e86a6be05336c101fbe772ab Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 10:26:15 -0600 Subject: [PATCH 24/82] Fix thinko in changelog. --- zoneminder.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index ba8ca42..c6adab0 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -194,7 +194,7 @@ fi %changelog * Fri Jan 21 2011 Jason L Tibbitts III - 1.24.2-6 -- Unbundle mootools; instead link to the separately pacakged copy. +- Unbundle cambozola; instead link to the separately pacakged copy. - Remove BuildRoot:, %%clean and buildroot cleaning in %%install. - Git rid of mixed space/tab usage by removing all tabs. - Remove unnecessary Conflicts: line. From f391cc557595b6c578f3b2a0a4ce18aa4216a4e4 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 10:31:58 -0600 Subject: [PATCH 25/82] Attempt to force short_open_tag on. --- zoneminder.conf | 3 +++ zoneminder.spec | 1 + 2 files changed, 4 insertions(+) diff --git a/zoneminder.conf b/zoneminder.conf index 3e61dcc..4a4d932 100644 --- a/zoneminder.conf +++ b/zoneminder.conf @@ -18,6 +18,9 @@ Alias /zm "/usr/share/zoneminder/www" AllowOverride All Order allow,deny Allow from all + # The code unfortunately uses short tags in many places + php_value short_open_tag 1 + Deny from all # DELETE THIS LINE diff --git a/zoneminder.spec b/zoneminder.spec index c6adab0..2032f25 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -198,6 +198,7 @@ fi - Remove BuildRoot:, %%clean and buildroot cleaning in %%install. - Git rid of mixed space/tab usage by removing all tabs. - Remove unnecessary Conflicts: line. +- Attempt to force short_open_tag on for the code directories. * Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 - Mass rebuild with perl-5.12.0 From b8ca1475c7ee1409b29321779a5a99b314d93bf9 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 16:07:30 -0600 Subject: [PATCH 26/82] Relocate some directories to please selinux. --- zoneminder.spec | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/zoneminder.spec b/zoneminder.spec index 2032f25..a2adc0b 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -75,7 +75,14 @@ popd cp %{SOURCE4} README.Fedora cat <> db/zm_create.sql.in +# Fedora change: +# Alter some default paths to match the default URL and selinux expectations update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS'; +update Config set Value = '/var/log/zoneminder' where Name = 'ZM_PATH_LOGS'; +update Config set Value = '/var/log/zoneminder/zm_debug_log+' where Name = 'ZM_EXTRA_DEBUG_LOG'; +update Config set Value = '/var/lib/zoneminder/sock' where Name = 'ZM_PATH_SOCKS'; +update Config set Value = '/var/lib/zoneminder/swap' where Name = 'ZM_PATH_SWAP'; +update Config set Value = '/var/spool/zoneminder-upload' where Name = 'ZM_UPLOAD_FTP_LOC_DIR'; use mysql; grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'; EOF @@ -117,6 +124,10 @@ do rmdir %{buildroot}/%{_datadir}/%{name}/www/$dir ln -sf ../../../..%{_localstatedir}/lib/zoneminder/$dir %{buildroot}/%{_datadir}/%{name}/www/$dir done +install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/sock +install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/swap +install -m 755 -d %{buildroot}/%{_localstatedir}/spool/zoneminder-upload + install -D -m 755 scripts/zm %{buildroot}/%{_initrddir}/zoneminder install -D -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/conf.d/zoneminder.conf install -D -m 755 %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/www/sounds/redalert.wav @@ -188,8 +199,11 @@ fi %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/events %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/images +%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/sock +%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/swap %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/temp %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/log/zoneminder +%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/spool/zoneminder-upload %changelog @@ -199,6 +213,8 @@ fi - Git rid of mixed space/tab usage by removing all tabs. - Remove unnecessary Conflicts: line. - Attempt to force short_open_tag on for the code directories. +- Move default location of sockets, swaps, logfiles and some temporary files to + make more sense and allow things to work better with a future selinux policy. * Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 - Mass rebuild with perl-5.12.0 From 0778c78812dbd09196b439704fbd6aba69a8128e Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 16:21:53 -0600 Subject: [PATCH 27/82] Fix errors in README.Fedora. --- README.Fedora | 3 ++- zoneminder.spec | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/README.Fedora b/README.Fedora index 254f60f..8a6ab42 100644 --- a/README.Fedora +++ b/README.Fedora @@ -5,11 +5,12 @@ New installs remotely you will need to ensure that the server is installed: yum install mysql-server + service mysql start 2. You will need to create the ZoneMinder database. These commands should do the trick: - mysql mysql < /usr/share/zoneminder/db/zm_create.sql + mysql < /usr/share/zoneminder/db/zm_create.sql mysqladmin reload 3. The ZoneMinder web interface is disabled by default, you will need to edit diff --git a/zoneminder.spec b/zoneminder.spec index a2adc0b..ccd6657 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -215,6 +215,7 @@ fi - Attempt to force short_open_tag on for the code directories. - Move default location of sockets, swaps, logfiles and some temporary files to make more sense and allow things to work better with a future selinux policy. +- Fix errors in README.Fedora. * Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 - Mass rebuild with perl-5.12.0 From 5ba46bbd45b54f085394c00aef4e9f2c63a057ef Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 22 Jan 2011 18:00:20 -0600 Subject: [PATCH 28/82] No need for cambozola in sources. --- sources | 1 - 1 file changed, 1 deletion(-) diff --git a/sources b/sources index 39edb8a..aad7e42 100644 --- a/sources +++ b/sources @@ -1,4 +1,3 @@ -e4fac8b6ee94c9075b14bb95be4f860b cambozola-0.68.tar.gz 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip 2107736d116f31767cadb15902c6c7fd mootools-1.2.3-core-yc.js 550d2f8f08852134028c3b1cf8fa437f ZoneMinder-1.24.2.tar.gz From cba1166e6b11f94d5410fcd7ca23f6e5fdfdd806 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 25 Jan 2011 16:55:13 -0600 Subject: [PATCH 29/82] Update to 1.24.3 and try to build without v4l1 Note that this won't build, but it's no worse than before this work. --- zoneminder-1.22.3-installfix.patch | 15 -- zoneminder-1.24.2-dbinstall.patch | 143 ------------------ zoneminder-1.24.2-gcc44.patch | 23 --- zoneminder-1.24.3-dbinstall.patch | 67 ++++++++ zoneminder-1.24.3-gcc44.patch | 26 ++++ zoneminder-1.24.3-installfix.patch | 18 +++ ....patch => zoneminder-1.24.3-noffmpeg.patch | 17 ++- ....patch => zoneminder-1.24.3-runlevel.patch | 19 +-- zoneminder-1.24.3-v4l2.patch | 12 ++ zoneminder.spec | 23 ++- 10 files changed, 159 insertions(+), 204 deletions(-) delete mode 100644 zoneminder-1.22.3-installfix.patch delete mode 100644 zoneminder-1.24.2-dbinstall.patch delete mode 100644 zoneminder-1.24.2-gcc44.patch create mode 100644 zoneminder-1.24.3-dbinstall.patch create mode 100644 zoneminder-1.24.3-gcc44.patch create mode 100644 zoneminder-1.24.3-installfix.patch rename zoneminder-1.24.2-noffmpeg.patch => zoneminder-1.24.3-noffmpeg.patch (52%) rename zoneminder-1.24.1-runlevel.patch => zoneminder-1.24.3-runlevel.patch (66%) create mode 100644 zoneminder-1.24.3-v4l2.patch diff --git a/zoneminder-1.22.3-installfix.patch b/zoneminder-1.22.3-installfix.patch deleted file mode 100644 index 516d634..0000000 --- a/zoneminder-1.22.3-installfix.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- Makefile.am.orig 2006-12-25 01:21:07.000000000 +0000 -+++ Makefile.am 2006-12-25 01:22:04.000000000 +0000 -@@ -23,9 +23,9 @@ - # Yes, you are correct. This is a HACK! - install-data-hook: - ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) ) -- -( if ! test -e $(RUNDIR); then mkdir $(RUNDIR); fi ) -- ( if ! test -e $(ZM_RUNDIR); then mkdir $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) ) -+ -( if ! test -e $(DESTDIR)$(RUNDIR); then mkdir $(DESTDIR)$(RUNDIR); fi ) -+ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir $(DESTDIR)$(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR) ) - - uninstall-hook: - @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) -- @-( rm -rf $(ZM_RUNDIR) ) -+ @-( rm -rf $(DESTDIR)$(ZM_RUNDIR) ) diff --git a/zoneminder-1.24.2-dbinstall.patch b/zoneminder-1.24.2-dbinstall.patch deleted file mode 100644 index b43fb83..0000000 --- a/zoneminder-1.24.2-dbinstall.patch +++ /dev/null @@ -1,143 +0,0 @@ -diff -up ./configure.ac.dbinstall ./configure.ac ---- ./configure.ac.dbinstall 2009-06-24 05:22:23.000000000 -0500 -+++ ./configure.ac 2009-07-19 22:40:16.000000000 -0500 -@@ -1,11 +1,9 @@ - AC_PREREQ(2.59) --AC_INIT(zm,1.24.2,support@zoneminder.com,ZoneMinder) -+AC_INIT(zm,1.24.2,support@zoneminder.com,zoneminder) - AM_INIT_AUTOMAKE - AC_CONFIG_SRCDIR(src/zm.h) - AM_CONFIG_HEADER(config.h) - --PATH_BUILD=`pwd` --AC_SUBST(PATH_BUILD) - TIME_BUILD=`date +'%s'` - AC_SUBST(TIME_BUILD) - -@@ -319,8 +317,10 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC - - AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) - AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) -+AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) -+AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") - AC_SUBST(RUNDIR,"/var/run") --AC_SUBST(ZM_RUNDIR,"$RUNDIR/zm") -+AC_SUBST(ZM_RUNDIR,"$RUNDIR/$PACKAGE") - AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") - AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) - AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") -diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am ---- ./db/Makefile.am.dbinstall 2009-03-31 09:06:34.000000000 -0500 -+++ ./db/Makefile.am 2009-07-19 22:27:02.000000000 -0500 -@@ -1,7 +1,16 @@ - AUTOMAKE_OPTIONS = gnu - -+zmdbdatadir = $(pkgdatadir)/db -+ - EXTRA_DIST = \ - zm_create.sql.in \ -+ $(dbupgrade_scripts) -+ -+dist_zmdbdata_DATA = \ -+ zm_create.sql \ -+ $(dbupgrade_scripts) -+ -+dbupgrade_scripts = \ - zm_update-0.0.1.sql \ - zm_update-0.9.7.sql \ - zm_update-0.9.8.sql \ -diff -up ./scripts/zm.in.dbinstall ./scripts/zm.in ---- ./scripts/zm.in.dbinstall 2009-03-20 07:07:02.000000000 -0500 -+++ ./scripts/zm.in 2009-07-19 22:27:02.000000000 -0500 -@@ -6,10 +6,10 @@ - # Source function library. - . /etc/rc.d/init.d/functions - --prog=ZoneMinder -+prog="@PACKAGE@" - ZM_CONFIG="@ZM_CONFIG@" - pidfile="@ZM_RUNDIR@" --LOCKFILE=/var/lock/subsys/zm -+LOCKFILE=/var/lock/subsys/$prog - - loadconf() - { -@@ -27,9 +27,8 @@ command="$ZM_PATH_BIN/zmpkg.pl" - start() - { - zmupdate || return $? -- loadconf || return $? - #Make sure the directory for our PID folder exists or create one. -- [ ! -d /var/run/zm ] \ -+ [ ! -d $pidfile ] \ - && mkdir -m 774 $pidfile \ - && chown $ZM_WEB_USER:$ZM_WEB_GROUP $pidfile - #Make sure the folder for the socks file exists or create one -@@ -56,7 +55,6 @@ start() - - stop() - { -- loadconf - echo -n $"Stopping $prog: " - $command stop - RETVAL=$? -@@ -67,22 +65,21 @@ stop() - - zmstatus() - { -- loadconf - result=`$command status` - if [ "$result" = "running" ]; then -- echo "ZoneMinder is running" -+ echo "$prog is running" - $ZM_PATH_BIN/zmu -l - RETVAL=0 - else -- echo "ZoneMinder is stopped" -+ echo "$prog is stopped" - RETVAL=1 - fi - } - - zmupdate() - { -- if [ -x $ZM_PATH_BIN/zm_update ]; then -- $ZM_PATH_BIN/zm_update noi -+ if [ -x $ZM_PATH_BIN/zmupdate.pl ]; then -+ $ZM_PATH_BIN/zmupdate.pl --freshen >/dev/null - fi - } - -@@ -99,7 +96,6 @@ case "$1" in - start - ;; - 'condrestart') -- loadconf - result=`$ZM_PATH_BIN/zmdc.pl check` - if [ "$result" = "running" ]; then - $ZM_PATH_BIN/zmdc.pl shutdown > /dev/null ---- ./scripts/zmupdate.pl.in.dbinstall 2009-06-30 02:42:12.000000000 -0500 -+++ ./scripts/zmupdate.pl.in 2009-07-19 22:27:02.000000000 -0500 -@@ -403,7 +403,7 @@ if ( $version ) - $command .= " -p".$db_pass; - } - } -- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; -+ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; - - print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); - my $output = qx($command); -diff -up ./zm.conf.in.dbinstall ./zm.conf.in ---- ./zm.conf.in.dbinstall 2009-03-20 07:07:10.000000000 -0500 -+++ ./zm.conf.in 2009-07-19 22:27:02.000000000 -0500 -@@ -12,8 +12,8 @@ - # Current version of ZoneMinder - ZM_VERSION=@VERSION@ - --# Path to build directory, used mostly for finding DB upgrade scripts --ZM_PATH_BUILD=@PATH_BUILD@ -+# Path to installed data directory, used mostly for finding DB upgrade scripts -+ZM_PATH_DATA=@PKGDATADIR@ - - # Build time, used to record when to trigger various checks - ZM_TIME_BUILD=@TIME_BUILD@ diff --git a/zoneminder-1.24.2-gcc44.patch b/zoneminder-1.24.2-gcc44.patch deleted file mode 100644 index 149b922..0000000 --- a/zoneminder-1.24.2-gcc44.patch +++ /dev/null @@ -1,23 +0,0 @@ ---- src/zm_utils.cpp.gcc44 2009-05-28 03:47:59.000000000 -0500 -+++ src/zm_utils.cpp 2009-07-20 00:28:43.000000000 -0500 -@@ -20,7 +20,8 @@ - //#include "zm_debug.h" - #include "zm_utils.h" - --#include -+#include -+#include - - const std::string stringtf( const char *format, ... ) - { ---- src/Makefile.am.frepo 2009-04-11 02:08:57.000000000 +0100 -+++ src/Makefile.am 2009-04-11 02:09:07.000000000 +0100 -@@ -1,7 +1,7 @@ - AUTOMAKE_OPTIONS = gnu - - AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline --AM_CXXFLAGS = -frepo -+#AM_CXXFLAGS = -frepo - - CLEANFILES = *.rpo - diff --git a/zoneminder-1.24.3-dbinstall.patch b/zoneminder-1.24.3-dbinstall.patch new file mode 100644 index 0000000..1981005 --- /dev/null +++ b/zoneminder-1.24.3-dbinstall.patch @@ -0,0 +1,67 @@ +diff -up ./configure.ac.dbinstall ./configure.ac +--- ./configure.ac.dbinstall 2011-01-20 12:29:50.000000000 -0600 ++++ ./configure.ac 2011-01-24 12:36:27.744207538 -0600 +@@ -4,8 +4,6 @@ AM_INIT_AUTOMAKE + AC_CONFIG_SRCDIR(src/zm.h) + AM_CONFIG_HEADER(config.h) + +-PATH_BUILD=`pwd` +-AC_SUBST(PATH_BUILD) + TIME_BUILD=`date +'%s'` + AC_SUBST(TIME_BUILD) + +@@ -347,6 +345,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC + + AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) + AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) ++AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) ++AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") + AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") + AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) + AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") +diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am +--- ./db/Makefile.am.dbinstall 2009-09-28 09:19:56.000000000 -0500 ++++ ./db/Makefile.am 2011-01-24 11:40:24.311956165 -0600 +@@ -1,7 +1,16 @@ + AUTOMAKE_OPTIONS = gnu + ++zmdbdatadir = $(pkgdatadir)/db ++ + EXTRA_DIST = \ + zm_create.sql.in \ ++ $(dbupgrade_scripts) ++ ++dist_zmdbdata_DATA = \ ++ zm_create.sql \ ++ $(dbupgrade_scripts) ++ ++dbupgrade_scripts = \ + zm_update-0.0.1.sql \ + zm_update-0.9.7.sql \ + zm_update-0.9.8.sql \ +diff -up ./scripts/zmupdate.pl.in.dbinstall ./scripts/zmupdate.pl.in +--- ./scripts/zmupdate.pl.in.dbinstall 2011-01-17 12:21:37.000000000 -0600 ++++ ./scripts/zmupdate.pl.in 2011-01-24 11:40:24.311956165 -0600 +@@ -403,7 +403,7 @@ if ( $version ) + $command .= " -p".$db_pass; + } + } +- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; ++ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; + + print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); + my $output = qx($command); +diff -up ./zm.conf.in.dbinstall ./zm.conf.in +--- ./zm.conf.in.dbinstall 2008-07-25 04:48:17.000000000 -0500 ++++ ./zm.conf.in 2011-01-24 11:40:24.313004813 -0600 +@@ -12,8 +12,8 @@ + # Current version of ZoneMinder + ZM_VERSION=@VERSION@ + +-# Path to build directory, used mostly for finding DB upgrade scripts +-ZM_PATH_BUILD=@PATH_BUILD@ ++# Path to installed data directory, used mostly for finding DB upgrade scripts ++ZM_PATH_DATA=@PKGDATADIR@ + + # Build time, used to record when to trigger various checks + ZM_TIME_BUILD=@TIME_BUILD@ diff --git a/zoneminder-1.24.3-gcc44.patch b/zoneminder-1.24.3-gcc44.patch new file mode 100644 index 0000000..c1d39bd --- /dev/null +++ b/zoneminder-1.24.3-gcc44.patch @@ -0,0 +1,26 @@ +diff -up ./src/Makefile.am.gcc44 ./src/Makefile.am +--- ./src/Makefile.am.gcc44 2011-01-06 12:09:40.000000000 -0600 ++++ ./src/Makefile.am 2011-01-23 23:23:07.697087069 -0600 +@@ -1,7 +1,7 @@ + AUTOMAKE_OPTIONS = gnu + + AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline +-AM_CXXFLAGS = -frepo ++#AM_CXXFLAGS = -frepo + + CLEANFILES = *.rpo + +diff -up ./src/zm_utils.cpp.gcc44 ./src/zm_utils.cpp +--- ./src/zm_utils.cpp.gcc44 2009-11-24 05:41:16.000000000 -0600 ++++ ./src/zm_utils.cpp 2011-01-23 23:24:34.117082494 -0600 +@@ -20,8 +20,8 @@ + //#include "zm_debug.h" + #include "zm_utils.h" + +-#include +-#include ++#include ++#include + + const std::string stringtf( const char *format, ... ) + { diff --git a/zoneminder-1.24.3-installfix.patch b/zoneminder-1.24.3-installfix.patch new file mode 100644 index 0000000..32e0dac --- /dev/null +++ b/zoneminder-1.24.3-installfix.patch @@ -0,0 +1,18 @@ +diff -up ./Makefile.am.installfix ./Makefile.am +--- ./Makefile.am.installfix 2011-01-06 13:07:00.000000000 -0600 ++++ ./Makefile.am 2011-01-23 17:38:32.408147528 -0600 +@@ -20,10 +20,10 @@ EXTRA_DIST = \ + # Yes, you are correct. This is a HACK! + install-data-hook: + ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) ) +- ( if ! test -e $(ZM_RUNDIR); then mkdir -p $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) ) +- ( if ! test -e $(ZM_TMPDIR); then mkdir -p $(ZM_TMPDIR); fi; chown $(webuser):$(webgroup) $(ZM_TMPDIR); chmod u+w $(ZM_TMPDIR) ) +- ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR) ) ++ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR) ) ++ ( if ! test -e $(DESTDIR)$(ZM_TMPDIR); then mkdir -p $(DESTDIR)$(ZM_TMPDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_TMPDIR); chmod u+w $(DESTDIR)$(ZM_TMPDIR) ) ++ ( if ! test -e $(DESTDIR)$(ZM_LOGDIR); then mkdir -p $(DESTDIR)$(ZM_LOGDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_LOGDIR); chmod u+w $(DESTDIR)$(ZM_LOGDIR) ) + + uninstall-hook: + @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) +- @-( rm -rf $(ZM_RUNDIR) $(ZM_TMPDIR) $(ZM_LOGDIR) ) ++ @-( rm -rf $(DESTDIR)$(ZM_RUNDIR) $(DESTDIR)$(ZM_TMPDIR) $(DESTDIR)$(ZM_LOGDIR) ) diff --git a/zoneminder-1.24.2-noffmpeg.patch b/zoneminder-1.24.3-noffmpeg.patch similarity index 52% rename from zoneminder-1.24.2-noffmpeg.patch rename to zoneminder-1.24.3-noffmpeg.patch index c8e81d6..0a4419a 100644 --- a/zoneminder-1.24.2-noffmpeg.patch +++ b/zoneminder-1.24.3-noffmpeg.patch @@ -1,16 +1,21 @@ ---- configure.ac.noffmpeg 2009-07-20 00:24:37.000000000 -0500 -+++ configure.ac 2009-07-20 00:25:51.000000000 -0500 -@@ -244,10 +244,10 @@ - AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) +diff -up ./configure.ac.noffmpeg ./configure.ac +--- ./configure.ac.noffmpeg 2011-01-23 16:44:11.000000000 -0600 ++++ ./configure.ac 2011-01-23 16:51:13.288146918 -0600 +@@ -269,12 +269,12 @@ AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_ fi AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) + AC_CHECK_LIB(x264,x264_predict_16x16_init) -AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) +-AC_CHECK_LIB(avcore,av_image_copy,,AC_MSG_WARN(libavcore.a may be required for MPEG streaming)) -AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) --AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) +-AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) +-AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) -AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) +dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) ++dnl AC_CHECK_LIB(avcore,av_image_copy,,AC_MSG_WARN(libavcore.a may be required for MPEG streaming)) +dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) -+dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming),[-lavcodec -lavutil]) ++dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) ++dnl AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) +dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) AC_CHECK_LIB(z,compress,,) diff --git a/zoneminder-1.24.1-runlevel.patch b/zoneminder-1.24.3-runlevel.patch similarity index 66% rename from zoneminder-1.24.1-runlevel.patch rename to zoneminder-1.24.3-runlevel.patch index 7e356ba..f2dd107 100644 --- a/zoneminder-1.24.1-runlevel.patch +++ b/zoneminder-1.24.3-runlevel.patch @@ -1,10 +1,11 @@ ---- scripts/zm.in.runlevel 2009-03-15 00:24:49.000000000 +0000 -+++ scripts/zm.in 2009-03-15 00:28:20.000000000 +0000 +diff -up ./scripts/zm.in.runlevel ./scripts/zm.in +--- ./scripts/zm.in.runlevel 2010-11-28 15:22:05.000000000 -0600 ++++ ./scripts/zm.in 2011-01-23 16:43:51.927147491 -0600 @@ -1,6 +1,6 @@ - #!/bin/sh - # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 --# chkconfig: 2345 99 00 -+# chkconfig: - 99 00 - # processname: zmpkg.pl - - # Source function library. + #!/bin/sh + # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 +-# chkconfig: 2345 99 00 ++# chkconfig: - 99 00 + # processname: zmpkg.pl + + # Source function library. diff --git a/zoneminder-1.24.3-v4l2.patch b/zoneminder-1.24.3-v4l2.patch new file mode 100644 index 0000000..543ace5 --- /dev/null +++ b/zoneminder-1.24.3-v4l2.patch @@ -0,0 +1,12 @@ +diff -up ./configure.ac.v4l2 ./configure.ac +--- ./configure.ac.v4l2 2011-01-24 12:49:16.092209967 -0600 ++++ ./configure.ac 2011-01-24 12:58:58.823207570 -0600 +@@ -282,7 +282,7 @@ AC_CHECK_LIB(z,compress,,) + AC_FUNC_ALLOCA + AC_HEADER_STDC + AC_CHECK_HEADERS([fcntl.h limits.h memory.h netdb.h netinet/in.h stddef.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h values.h]) +-AC_CHECK_HEADERS(linux/videodev.h,,AC_MSG_ERROR(zm requires Video4Linux to be installed),) ++AC_CHECK_HEADERS(linux/videodev.h,,AC_MSG_WARN(zm requires Video4Linux to be installed for V4L1 support),) + AC_CHECK_HEADERS(linux/videodev2.h,AC_SUBST(ZM_V4L2,"1"),AC_MSG_WARN(zm requires Video4Linux2 to be installed for V4L2 support),) + AC_CHECK_HEADERS(jpeglib.h,,AC_MSG_ERROR(zm requires libjpeg headers to be installed),) + AC_CHECK_HEADERS(mysql/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers - check that MySQL development packages are installed),) diff --git a/zoneminder.spec b/zoneminder.spec index ccd6657..a9d9e14 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -4,8 +4,8 @@ %define zmgid_final apache Name: zoneminder -Version: 1.24.2 -Release: 6%{?dist} +Version: 1.24.3 +Release: 1%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -19,12 +19,13 @@ Source3: redalert.wav Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js -Patch1: zoneminder-1.24.2-dbinstall.patch -Patch2: zoneminder-1.24.1-runlevel.patch -Patch3: zoneminder-1.24.2-noffmpeg.patch +Patch1: zoneminder-1.24.3-dbinstall.patch +Patch2: zoneminder-1.24.3-runlevel.patch +Patch3: zoneminder-1.24.3-noffmpeg.patch Patch4: zoneminder-1.24.1-perldep.patch -Patch10: zoneminder-1.22.3-installfix.patch -Patch11: zoneminder-1.24.2-gcc44.patch +Patch10: zoneminder-1.24.3-installfix.patch +Patch11: zoneminder-1.24.3-gcc44.patch +Patch12: zoneminder-1.24.3-v4l2.patch BuildRequires: automake gnutls-devel BuildRequires: mysql-devel pcre-devel libjpeg-devel @@ -32,7 +33,7 @@ BuildRequires: perl(Archive::Tar) perl(Archive::Zip) BuildRequires: perl(Date::Manip) perl(DBD::mysql) BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) BuildRequires: perl(MIME::Entity) perl(MIME::Lite) -BuildRequires: perl(PHP::Serialization) +BuildRequires: perl(PHP::Serialization) perl(Sys::Mmap) Requires: httpd php php-mysql cambozola Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -72,6 +73,7 @@ popd %patch4 -p0 -b .perldep %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc44 +%patch12 -p0 -b .v4l2 cp %{SOURCE4} README.Fedora cat <> db/zm_create.sql.in @@ -207,6 +209,11 @@ fi %changelog +* Tue Jan 25 2011 Jason L Tibbitts III - 1.24.3-1 +- Update to latest upstream version. +- Rebase patches. +- Initial incomplete attempt to disable v4l1 support. + * Fri Jan 21 2011 Jason L Tibbitts III - 1.24.2-6 - Unbundle cambozola; instead link to the separately pacakged copy. - Remove BuildRoot:, %%clean and buildroot cleaning in %%install. From 547511fbee2a2f57d78baaaf5d1b3b12d4d9eb65 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Tue, 8 Feb 2011 03:13:55 -0600 Subject: [PATCH 30/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index a9d9e14..6105db2 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.3 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -209,6 +209,9 @@ fi %changelog +* Tue Feb 08 2011 Fedora Release Engineering - 1.24.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + * Tue Jan 25 2011 Jason L Tibbitts III - 1.24.3-1 - Update to latest upstream version. - Rebase patches. From 6b446b40a5726739b47af17cb54f2a044491e758 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 10 Feb 2011 12:17:03 -0600 Subject: [PATCH 31/82] Update sources. --- .gitignore | 1 + sources | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 38fe763..35c4418 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ cambozola-0.68.tar.gz jscalendar-1.0.zip mootools-1.2.3-core-yc.js ZoneMinder-1.24.2.tar.gz +/ZoneMinder-1.24.3.tar.gz diff --git a/sources b/sources index aad7e42..86e965e 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip 2107736d116f31767cadb15902c6c7fd mootools-1.2.3-core-yc.js -550d2f8f08852134028c3b1cf8fa437f ZoneMinder-1.24.2.tar.gz +d66068db4496329883d21d843bcbd567 ZoneMinder-1.24.3.tar.gz From 3b324907c27ccfcb8be8b4c3b0cced83923c2932 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 23 Mar 2011 19:59:42 +0100 Subject: [PATCH 32/82] rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 6105db2..3e39bed 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.24.3 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -209,6 +209,9 @@ fi %changelog +* Wed Mar 23 2011 Dan Horák - 1.24.3-3 +- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) + * Tue Feb 08 2011 Fedora Release Engineering - 1.24.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild From 8185da404196745ea41c2ab83afee889ca9a9726 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Fri, 25 Mar 2011 00:19:27 -0500 Subject: [PATCH 33/82] Update to 1.24.3 snapshot. --- .gitignore | 1 + sources | 2 +- zoneminder-1.24.3-dbinstall.patch | 22 +++++++++++++--------- zoneminder-1.24.3-gcc44.patch | 12 ------------ zoneminder-1.24.3-noffmpeg.patch | 13 +++++++------ zoneminder-1.24.3-runlevel.patch | 16 ++++++++-------- zoneminder-svn-checkout.sh | 10 ++++++++++ zoneminder.spec | 21 +++++++++++++++------ 8 files changed, 55 insertions(+), 42 deletions(-) create mode 100755 zoneminder-svn-checkout.sh diff --git a/.gitignore b/.gitignore index 35c4418..a8b8dbb 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ jscalendar-1.0.zip mootools-1.2.3-core-yc.js ZoneMinder-1.24.2.tar.gz /ZoneMinder-1.24.3.tar.gz +/zoneminder-20110324svn.tar.xz diff --git a/sources b/sources index 86e965e..8c2ce91 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip 2107736d116f31767cadb15902c6c7fd mootools-1.2.3-core-yc.js -d66068db4496329883d21d843bcbd567 ZoneMinder-1.24.3.tar.gz +d0161a6d909e38ea3f858c7c606ecf84 zoneminder-20110324svn.tar.xz diff --git a/zoneminder-1.24.3-dbinstall.patch b/zoneminder-1.24.3-dbinstall.patch index 1981005..75180a0 100644 --- a/zoneminder-1.24.3-dbinstall.patch +++ b/zoneminder-1.24.3-dbinstall.patch @@ -1,7 +1,11 @@ diff -up ./configure.ac.dbinstall ./configure.ac ---- ./configure.ac.dbinstall 2011-01-20 12:29:50.000000000 -0600 -+++ ./configure.ac 2011-01-24 12:36:27.744207538 -0600 -@@ -4,8 +4,6 @@ AM_INIT_AUTOMAKE +--- ./configure.ac.dbinstall 2011-02-15 15:59:06.000000000 -0600 ++++ ./configure.ac 2011-03-24 22:50:36.615225107 -0500 +@@ -1,11 +1,9 @@ + AC_PREREQ(2.59) +-AC_INIT(zm,1.24.3,support@zoneminder.com,ZoneMinder,http://www.zoneminder.com/downloads.html) ++AC_INIT(zm,1.24.3,support@zoneminder.com,zoneminder,http://www.zoneminder.com/downloads.html) + AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR(src/zm.h) AM_CONFIG_HEADER(config.h) @@ -10,7 +14,7 @@ diff -up ./configure.ac.dbinstall ./configure.ac TIME_BUILD=`date +'%s'` AC_SUBST(TIME_BUILD) -@@ -347,6 +345,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC +@@ -354,6 +352,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) @@ -20,8 +24,8 @@ diff -up ./configure.ac.dbinstall ./configure.ac AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am ---- ./db/Makefile.am.dbinstall 2009-09-28 09:19:56.000000000 -0500 -+++ ./db/Makefile.am 2011-01-24 11:40:24.311956165 -0600 +--- ./db/Makefile.am.dbinstall 2009-10-14 04:42:46.000000000 -0500 ++++ ./db/Makefile.am 2011-03-24 22:50:14.173912137 -0500 @@ -1,7 +1,16 @@ AUTOMAKE_OPTIONS = gnu @@ -41,7 +45,7 @@ diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am zm_update-0.9.8.sql \ diff -up ./scripts/zmupdate.pl.in.dbinstall ./scripts/zmupdate.pl.in --- ./scripts/zmupdate.pl.in.dbinstall 2011-01-17 12:21:37.000000000 -0600 -+++ ./scripts/zmupdate.pl.in 2011-01-24 11:40:24.311956165 -0600 ++++ ./scripts/zmupdate.pl.in 2011-03-24 22:50:14.174912107 -0500 @@ -403,7 +403,7 @@ if ( $version ) $command .= " -p".$db_pass; } @@ -52,8 +56,8 @@ diff -up ./scripts/zmupdate.pl.in.dbinstall ./scripts/zmupdate.pl.in print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); my $output = qx($command); diff -up ./zm.conf.in.dbinstall ./zm.conf.in ---- ./zm.conf.in.dbinstall 2008-07-25 04:48:17.000000000 -0500 -+++ ./zm.conf.in 2011-01-24 11:40:24.313004813 -0600 +--- ./zm.conf.in.dbinstall 2008-07-25 04:48:16.000000000 -0500 ++++ ./zm.conf.in 2011-03-24 22:50:14.175912077 -0500 @@ -12,8 +12,8 @@ # Current version of ZoneMinder ZM_VERSION=@VERSION@ diff --git a/zoneminder-1.24.3-gcc44.patch b/zoneminder-1.24.3-gcc44.patch index c1d39bd..a021c47 100644 --- a/zoneminder-1.24.3-gcc44.patch +++ b/zoneminder-1.24.3-gcc44.patch @@ -1,15 +1,3 @@ -diff -up ./src/Makefile.am.gcc44 ./src/Makefile.am ---- ./src/Makefile.am.gcc44 2011-01-06 12:09:40.000000000 -0600 -+++ ./src/Makefile.am 2011-01-23 23:23:07.697087069 -0600 -@@ -1,7 +1,7 @@ - AUTOMAKE_OPTIONS = gnu - - AM_CPPFLAGS = @MYSQL_CFLAGS@ @FFMPEG_CFLAGS@ -Wall -Wno-sign-compare -fno-inline --AM_CXXFLAGS = -frepo -+#AM_CXXFLAGS = -frepo - - CLEANFILES = *.rpo - diff -up ./src/zm_utils.cpp.gcc44 ./src/zm_utils.cpp --- ./src/zm_utils.cpp.gcc44 2009-11-24 05:41:16.000000000 -0600 +++ ./src/zm_utils.cpp 2011-01-23 23:24:34.117082494 -0600 diff --git a/zoneminder-1.24.3-noffmpeg.patch b/zoneminder-1.24.3-noffmpeg.patch index 0a4419a..7b89060 100644 --- a/zoneminder-1.24.3-noffmpeg.patch +++ b/zoneminder-1.24.3-noffmpeg.patch @@ -1,18 +1,19 @@ diff -up ./configure.ac.noffmpeg ./configure.ac ---- ./configure.ac.noffmpeg 2011-01-23 16:44:11.000000000 -0600 -+++ ./configure.ac 2011-01-23 16:51:13.288146918 -0600 -@@ -269,12 +269,12 @@ AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_ +--- ./configure.ac.noffmpeg 2011-03-24 21:41:02.000000000 -0500 ++++ ./configure.ac 2011-03-24 21:42:40.497276440 -0500 +@@ -269,13 +269,13 @@ AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_ fi AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) AC_CHECK_LIB(x264,x264_predict_16x16_init) -AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) --AC_CHECK_LIB(avcore,av_image_copy,,AC_MSG_WARN(libavcore.a may be required for MPEG streaming)) ++dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) + # Don't bother to warn about this one +-AC_CHECK_LIB(avcore,av_image_copy,,) -AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) -AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) -AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) -AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) -+dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) -+dnl AC_CHECK_LIB(avcore,av_image_copy,,AC_MSG_WARN(libavcore.a may be required for MPEG streaming)) ++dnl AC_CHECK_LIB(avcore,av_image_copy,,) +dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) +dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) +dnl AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) diff --git a/zoneminder-1.24.3-runlevel.patch b/zoneminder-1.24.3-runlevel.patch index f2dd107..de7b49b 100644 --- a/zoneminder-1.24.3-runlevel.patch +++ b/zoneminder-1.24.3-runlevel.patch @@ -1,11 +1,11 @@ diff -up ./scripts/zm.in.runlevel ./scripts/zm.in --- ./scripts/zm.in.runlevel 2010-11-28 15:22:05.000000000 -0600 -+++ ./scripts/zm.in 2011-01-23 16:43:51.927147491 -0600 ++++ ./scripts/zm.in 2011-03-24 21:39:01.973010160 -0500 @@ -1,6 +1,6 @@ - #!/bin/sh - # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 --# chkconfig: 2345 99 00 -+# chkconfig: - 99 00 - # processname: zmpkg.pl - - # Source function library. + #!/bin/sh + # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 +-# chkconfig: 2345 99 00 ++# chkconfig: - 99 00 + # processname: zmpkg.pl + + # Source function library. diff --git a/zoneminder-svn-checkout.sh b/zoneminder-svn-checkout.sh new file mode 100755 index 0000000..e30ff4a --- /dev/null +++ b/zoneminder-svn-checkout.sh @@ -0,0 +1,10 @@ +#!/bin/bash +DATE=$(date +%Y%m%d) + +set -x + +rm -rf zm +svn export http://svn.zoneminder.com/svn/zm/trunk zm +tar cJf zoneminder-${DATE}svn.tar.xz zm + +rm -rf zm diff --git a/zoneminder.spec b/zoneminder.spec index 3e39bed..c42db7c 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -1,3 +1,6 @@ +%define svndate 20110324 +%define svnrev 3310 + %define zmuid $(id -un) %define zmgid $(id -gn) %define zmuid_final apache @@ -5,7 +8,7 @@ Name: zoneminder Version: 1.24.3 -Release: 3%{?dist} +Release: 4.%{svndate}svn%{svnrev}%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -13,7 +16,8 @@ Group: System Environment/Daemons License: GPLv2+ and LGPLv2+ and MIT URL: http://www.zoneminder.com/ -Source: http://www.zoneminder.com/fileadmin/downloads/ZoneMinder-%{version}.tar.gz +#Source: http://www.zoneminder.com/downloads/ZoneMinder-%{version}.tar.gz +Source0: zoneminder-%{svndate}svn.tar.xz Source2: zoneminder.conf Source3: redalert.wav Source4: README.Fedora @@ -25,7 +29,6 @@ Patch3: zoneminder-1.24.3-noffmpeg.patch Patch4: zoneminder-1.24.1-perldep.patch Patch10: zoneminder-1.24.3-installfix.patch Patch11: zoneminder-1.24.3-gcc44.patch -Patch12: zoneminder-1.24.3-v4l2.patch BuildRequires: automake gnutls-devel BuildRequires: mysql-devel pcre-devel libjpeg-devel @@ -57,10 +60,10 @@ too much degradation of performance. %prep -%setup -q -n ZoneMinder-%{version} +%setup -q -n zm # Unpack jscalendar and move some files around -%setup -q -D -T -a 5 -n ZoneMinder-%{version} +%setup -q -D -T -a 5 -n zm mkdir jscalendar-doc pushd jscalendar-1.0 mv *html *php doc/* README ../jscalendar-doc @@ -73,7 +76,6 @@ popd %patch4 -p0 -b .perldep %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc44 -%patch12 -p0 -b .v4l2 cp %{SOURCE4} README.Fedora cat <> db/zm_create.sql.in @@ -105,6 +107,7 @@ OPTS="" --with-cgidir=%{_libexecdir}/%{name}/cgi-bin \ --with-webuser=%{zmuid} \ --with-webgroup=%{zmgid} \ + --enable-mmap=yes \ --disable-debug \ $OPTS make %{?_smp_mflags} @@ -183,6 +186,7 @@ fi %{_bindir}/zmfilter.pl %attr(4755,root,root) %{_bindir}/zmfix %{_bindir}/zmpkg.pl +%{_bindir}/zmstreamer %{_bindir}/zmtrack.pl %{_bindir}/zmtrigger.pl %{_bindir}/zmu @@ -209,6 +213,11 @@ fi %changelog +* Thu Mar 24 2011 Jason L Tibbitts III - 1.24.3-4.20110324svn3310 +- Update to latest 1.24.3 subversion. Turns out that what upstream was calling + 1.24.3 is really just an occasionally updated devel snapshot. +- Rebase various patches. + * Wed Mar 23 2011 Dan Horák - 1.24.3-3 - rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) From 9e3e74d2486b99f87a62ca7a685d80bbcd5cc3ee Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Mon, 9 May 2011 12:38:14 -0500 Subject: [PATCH 34/82] Bump for gnutls update. --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index c42db7c..5f41a11 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -8,7 +8,7 @@ Name: zoneminder Version: 1.24.3 -Release: 4.%{svndate}svn%{svnrev}%{?dist} +Release: 5.%{svndate}svn%{svnrev}%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -213,6 +213,9 @@ fi %changelog +* Mon May 09 2011 Jason L Tibbitts III - 1.24.3-5.20110324svn3310 +- Bump for gnutls update. + * Thu Mar 24 2011 Jason L Tibbitts III - 1.24.3-4.20110324svn3310 - Update to latest 1.24.3 subversion. Turns out that what upstream was calling 1.24.3 is really just an occasionally updated devel snapshot. From 558b70197b7769d8d2337c3ce4e730850a6fba2b Mon Sep 17 00:00:00 2001 From: Petr Sabata Date: Wed, 20 Jul 2011 01:55:59 +0200 Subject: [PATCH 35/82] Perl mass rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 5f41a11..cf13d6c 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -8,7 +8,7 @@ Name: zoneminder Version: 1.24.3 -Release: 5.%{svndate}svn%{svnrev}%{?dist} +Release: 6.%{svndate}svn%{svnrev}%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -213,6 +213,9 @@ fi %changelog +* Wed Jul 20 2011 Petr Sabata - 1.24.3-6.20110324svn3310 +- Perl mass rebuild + * Mon May 09 2011 Jason L Tibbitts III - 1.24.3-5.20110324svn3310 - Bump for gnutls update. From c3fbfeb2f2515f3bc196fb43e45972720aa85160 Mon Sep 17 00:00:00 2001 From: Petr Sabata Date: Thu, 21 Jul 2011 15:20:09 +0200 Subject: [PATCH 36/82] Perl mass rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index cf13d6c..5ca26ae 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -8,7 +8,7 @@ Name: zoneminder Version: 1.24.3 -Release: 6.%{svndate}svn%{svnrev}%{?dist} +Release: 7.%{svndate}svn%{svnrev}%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -213,6 +213,9 @@ fi %changelog +* Thu Jul 21 2011 Petr Sabata - 1.24.3-7.20110324svn3310 +- Perl mass rebuild + * Wed Jul 20 2011 Petr Sabata - 1.24.3-6.20110324svn3310 - Perl mass rebuild From 0ebeb3586ca5bfe8c999cd049c3cc89bb36d7cc7 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sun, 14 Aug 2011 09:18:45 -0500 Subject: [PATCH 37/82] Update to 1.24.4. Initial attempt to upgrade to 1.24.4. Add patch from BZ 460310 to build against libgcrypt instead of requiring the gnutls openssl libs. --- zoneminder-1.24.3-installfix.patch | 18 ----- ...patch => zoneminder-1.24.4-dbinstall.patch | 29 +++------ zoneminder-1.24.4-gcrypt.patch | 65 +++++++++++++++++++ zoneminder-1.24.4-installfix.patch | 22 +++++++ zoneminder.spec | 26 +++++--- 5 files changed, 112 insertions(+), 48 deletions(-) delete mode 100644 zoneminder-1.24.3-installfix.patch rename zoneminder-1.24.3-dbinstall.patch => zoneminder-1.24.4-dbinstall.patch (58%) create mode 100644 zoneminder-1.24.4-gcrypt.patch create mode 100644 zoneminder-1.24.4-installfix.patch diff --git a/zoneminder-1.24.3-installfix.patch b/zoneminder-1.24.3-installfix.patch deleted file mode 100644 index 32e0dac..0000000 --- a/zoneminder-1.24.3-installfix.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -up ./Makefile.am.installfix ./Makefile.am ---- ./Makefile.am.installfix 2011-01-06 13:07:00.000000000 -0600 -+++ ./Makefile.am 2011-01-23 17:38:32.408147528 -0600 -@@ -20,10 +20,10 @@ EXTRA_DIST = \ - # Yes, you are correct. This is a HACK! - install-data-hook: - ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) ) -- ( if ! test -e $(ZM_RUNDIR); then mkdir -p $(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR) ) -- ( if ! test -e $(ZM_TMPDIR); then mkdir -p $(ZM_TMPDIR); fi; chown $(webuser):$(webgroup) $(ZM_TMPDIR); chmod u+w $(ZM_TMPDIR) ) -- ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR) ) -+ ( if ! test -e $(DESTDIR)$(ZM_RUNDIR); then mkdir -p $(DESTDIR)$(ZM_RUNDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_RUNDIR); chmod u+w $(DESTDIR)$(ZM_RUNDIR) ) -+ ( if ! test -e $(DESTDIR)$(ZM_TMPDIR); then mkdir -p $(DESTDIR)$(ZM_TMPDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_TMPDIR); chmod u+w $(DESTDIR)$(ZM_TMPDIR) ) -+ ( if ! test -e $(DESTDIR)$(ZM_LOGDIR); then mkdir -p $(DESTDIR)$(ZM_LOGDIR); fi; chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_LOGDIR); chmod u+w $(DESTDIR)$(ZM_LOGDIR) ) - - uninstall-hook: - @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) -- @-( rm -rf $(ZM_RUNDIR) $(ZM_TMPDIR) $(ZM_LOGDIR) ) -+ @-( rm -rf $(DESTDIR)$(ZM_RUNDIR) $(DESTDIR)$(ZM_TMPDIR) $(DESTDIR)$(ZM_LOGDIR) ) diff --git a/zoneminder-1.24.3-dbinstall.patch b/zoneminder-1.24.4-dbinstall.patch similarity index 58% rename from zoneminder-1.24.3-dbinstall.patch rename to zoneminder-1.24.4-dbinstall.patch index 75180a0..c7a3a0f 100644 --- a/zoneminder-1.24.3-dbinstall.patch +++ b/zoneminder-1.24.4-dbinstall.patch @@ -1,10 +1,10 @@ diff -up ./configure.ac.dbinstall ./configure.ac ---- ./configure.ac.dbinstall 2011-02-15 15:59:06.000000000 -0600 -+++ ./configure.ac 2011-03-24 22:50:36.615225107 -0500 +--- ./configure.ac.dbinstall 2011-06-24 11:22:44.000000000 -0500 ++++ ./configure.ac 2011-08-13 20:11:32.798360728 -0500 @@ -1,11 +1,9 @@ AC_PREREQ(2.59) --AC_INIT(zm,1.24.3,support@zoneminder.com,ZoneMinder,http://www.zoneminder.com/downloads.html) -+AC_INIT(zm,1.24.3,support@zoneminder.com,zoneminder,http://www.zoneminder.com/downloads.html) +-AC_INIT(zm,1.24.4,support@zoneminder.com,ZoneMinder,http://www.zoneminder.com/downloads.html) ++AC_INIT(zm,1.24.4,support@zoneminder.com,zoneminder,http://www.zoneminder.com/downloads.html) AM_INIT_AUTOMAKE AC_CONFIG_SRCDIR(src/zm.h) AM_CONFIG_HEADER(config.h) @@ -14,7 +14,7 @@ diff -up ./configure.ac.dbinstall ./configure.ac TIME_BUILD=`date +'%s'` AC_SUBST(TIME_BUILD) -@@ -354,6 +352,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC +@@ -353,6 +351,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) @@ -24,8 +24,8 @@ diff -up ./configure.ac.dbinstall ./configure.ac AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am ---- ./db/Makefile.am.dbinstall 2009-10-14 04:42:46.000000000 -0500 -+++ ./db/Makefile.am 2011-03-24 22:50:14.173912137 -0500 +--- ./db/Makefile.am.dbinstall 2011-06-19 15:51:12.000000000 -0500 ++++ ./db/Makefile.am 2011-08-13 19:25:20.504156586 -0500 @@ -1,7 +1,16 @@ AUTOMAKE_OPTIONS = gnu @@ -44,20 +44,9 @@ diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am zm_update-0.9.7.sql \ zm_update-0.9.8.sql \ diff -up ./scripts/zmupdate.pl.in.dbinstall ./scripts/zmupdate.pl.in ---- ./scripts/zmupdate.pl.in.dbinstall 2011-01-17 12:21:37.000000000 -0600 -+++ ./scripts/zmupdate.pl.in 2011-03-24 22:50:14.174912107 -0500 -@@ -403,7 +403,7 @@ if ( $version ) - $command .= " -p".$db_pass; - } - } -- $command .= " ".ZM_DB_NAME." < ".ZM_PATH_BUILD."/db/zm_update-".$version.".sql"; -+ $command .= " ".ZM_DB_NAME." < ".ZM_PATH_DATA."/db/zm_update-".$version.".sql"; - - print( "Executing '$command'\n" ) if ( DBG_LEVEL > 0 ); - my $output = qx($command); diff -up ./zm.conf.in.dbinstall ./zm.conf.in ---- ./zm.conf.in.dbinstall 2008-07-25 04:48:16.000000000 -0500 -+++ ./zm.conf.in 2011-03-24 22:50:14.175912077 -0500 +--- ./zm.conf.in.dbinstall 2011-06-19 15:51:14.000000000 -0500 ++++ ./zm.conf.in 2011-08-13 19:25:20.512156338 -0500 @@ -12,8 +12,8 @@ # Current version of ZoneMinder ZM_VERSION=@VERSION@ diff --git a/zoneminder-1.24.4-gcrypt.patch b/zoneminder-1.24.4-gcrypt.patch new file mode 100644 index 0000000..0c30005 --- /dev/null +++ b/zoneminder-1.24.4-gcrypt.patch @@ -0,0 +1,65 @@ +diff -up ./configure.ac.gcrypt ./configure.ac +--- ./configure.ac.gcrypt 2011-08-13 21:52:38.004585396 -0500 ++++ ./configure.ac 2011-08-13 21:56:49.861786449 -0500 +@@ -11,7 +11,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo + AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm]) + AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser]) + AC_ARG_VAR(ZM_DB_PASS,[Password of ZoneMinder database user, default zmpass]) +-AC_ARG_VAR(ZM_SSL_LIB,[Library to use for ssl functions, default gnutls]) ++AC_ARG_VAR(ZM_SSL_LIB,[Library to use for MD5 function, default libgcrypt]) + AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default MyISAM]) + AC_ARG_VAR(ZM_RUNDIR,[Location of transient process files, default /var/run/zm]) + AC_ARG_VAR(ZM_TMPDIR,[Location of temporary files, default /tmp/zm]) +@@ -30,7 +30,7 @@ if test "$ZM_DB_PASS" == ""; then + AC_SUBST(ZM_DB_PASS,[zmpass]) + fi + if test "$ZM_SSL_LIB" == ""; then +- AC_SUBST(ZM_SSL_LIB,gnutls) ++ AC_SUBST(ZM_SSL_LIB,libgcrypt) + fi + if test "$ZM_MYSQL_ENGINE" == ""; then + AC_SUBST(ZM_MYSQL_ENGINE,MyISAM) +@@ -261,11 +261,10 @@ AC_CHECK_LIB(jpeg,jpeg_start_compress,,A + AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR(zm requires libpthread.a)) + AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a)) + if test "$ZM_SSL_LIB" == "openssl"; then +-AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select gnutls instead])) ++AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select libgcrypt instead])) + else +-AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed for gnutls),) ++AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed),) + AC_CHECK_LIB(gcrypt,gcry_check_version,,AC_MSG_WARN([libgcrypt.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) +-AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) + fi + AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) + AC_CHECK_LIB(x264,x264_predict_16x16_init) +@@ -316,9 +315,6 @@ AC_CHECK_DECLS(round,,,[#include + #include ]) +-else +-AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires gnutls/openssl.h - use ZM_SSL_LIB option to select openssl instead]),[#include +-#include ]) + fi + AC_CHECK_DECLS(backtrace,,,[#include ]) + +diff -up ./src/zm_user.cpp.gcrypt ./src/zm_user.cpp +diff -up ./src/zm_user.h.gcrypt ./src/zm_user.h +--- ./src/zm_user.h.gcrypt 2011-06-19 15:51:13.000000000 -0500 ++++ ./src/zm_user.h 2011-08-13 21:52:38.014585086 -0500 +@@ -23,14 +23,11 @@ + #ifndef ZM_USER_H + #define ZM_USER_H + +-#if HAVE_LIBGNUTLS_OPENSSL +-#include + #if HAVE_GCRYPT_H + #include +-#endif // HAVE_GCRYPT_H + #elif HAVE_LIBCRYPTO + #include +-#endif // HAVE_LIBGNUTLS_OPENSSL || HAVE_LIBCRYPTO ++#endif // HAVE_GCRYPT_H || HAVE_LIBCRYPTO + + class User + { diff --git a/zoneminder-1.24.4-installfix.patch b/zoneminder-1.24.4-installfix.patch new file mode 100644 index 0000000..8831d59 --- /dev/null +++ b/zoneminder-1.24.4-installfix.patch @@ -0,0 +1,22 @@ +diff -up ./Makefile.am.installfix ./Makefile.am +--- ./Makefile.am.installfix 2011-06-19 15:51:14.000000000 -0500 ++++ ./Makefile.am 2011-08-13 20:33:30.288587436 -0500 +@@ -21,12 +21,12 @@ EXTRA_DIST = \ + # Yes, you are correct. This is a HACK! + install-data-hook: + ( 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 ) +- ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; if test "$(ZM_LOGDIR)" != "/var/log"; then chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR); fi ) ++ ( 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_TMPDIR); then mkdir -m 700 -p $(DESTDIR)$(ZM_TMPDIR); fi; if test "$(DESTDIR)$(ZM_TMPDIR)" != "/tmp"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_TMPDIR); chmod u+w $(DESTDIR)$(ZM_TMPDIR); fi ) ++ ( if ! test -e $(DESTDIR)$(ZM_LOGDIR); then mkdir -p $(DESTDIR)$(ZM_LOGDIR); fi; if test "$(DESTDIR)$(ZM_LOGDIR)" != "/var/log"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_LOGDIR); chmod u+w $(DESTDIR)$(ZM_LOGDIR); fi ) + + uninstall-hook: + @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) +- @-( if test "$(ZM_RUNDIR)" != "/var/run"; then rm -rf $(ZM_RUNDIR); fi ) +- @-( if test "$(ZM_TMPDIR)" != "/tmp"; then rm -rf $(ZM_TMPDIR); fi ) +- @-( if test "$(ZM_LOGDIR)" != "/var/log"; then rm -rf $(ZM_LOGDIR); fi ) ++ @-( if test "$(DESTDIR)$(ZM_RUNDIR)" != "/var/run"; then rm -rf $(DESTDIR)$(ZM_RUNDIR); fi ) ++ @-( if test "$(DESTDIR)$(ZM_TMPDIR)" != "/tmp"; then rm -rf $(DESTDIR)$(ZM_TMPDIR); fi ) ++ @-( if test "$(DESTDIR)$(ZM_LOGDIR)" != "/var/log"; then rm -rf $(DESTDIR)$(ZM_LOGDIR); fi ) diff --git a/zoneminder.spec b/zoneminder.spec index 5ca26ae..90a4bc4 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -1,5 +1,5 @@ -%define svndate 20110324 -%define svnrev 3310 +#define svndate 20110324 +#define svnrev 3310 %define zmuid $(id -un) %define zmgid $(id -gn) @@ -7,8 +7,8 @@ %define zmgid_final apache Name: zoneminder -Version: 1.24.3 -Release: 7.%{svndate}svn%{svnrev}%{?dist} +Version: 1.24.4 +Release: 1 Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -16,19 +16,19 @@ Group: System Environment/Daemons License: GPLv2+ and LGPLv2+ and MIT URL: http://www.zoneminder.com/ -#Source: http://www.zoneminder.com/downloads/ZoneMinder-%{version}.tar.gz -Source0: zoneminder-%{svndate}svn.tar.xz +Source: http://www.zoneminder.com/downloads/ZoneMinder-%{version}.tar.gz Source2: zoneminder.conf Source3: redalert.wav Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js -Patch1: zoneminder-1.24.3-dbinstall.patch +Patch1: zoneminder-1.24.4-dbinstall.patch Patch2: zoneminder-1.24.3-runlevel.patch Patch3: zoneminder-1.24.3-noffmpeg.patch Patch4: zoneminder-1.24.1-perldep.patch -Patch10: zoneminder-1.24.3-installfix.patch +Patch10: zoneminder-1.24.4-installfix.patch Patch11: zoneminder-1.24.3-gcc44.patch +Patch12: zoneminder-1.24.4-gcrypt.patch BuildRequires: automake gnutls-devel BuildRequires: mysql-devel pcre-devel libjpeg-devel @@ -60,10 +60,10 @@ too much degradation of performance. %prep -%setup -q -n zm +%setup -q -n ZoneMinder-%{version} # Unpack jscalendar and move some files around -%setup -q -D -T -a 5 -n zm +%setup -q -D -T -a 5 -n ZoneMinder-%{version} mkdir jscalendar-doc pushd jscalendar-1.0 mv *html *php doc/* README ../jscalendar-doc @@ -76,6 +76,7 @@ popd %patch4 -p0 -b .perldep %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc44 +%patch12 -p0 -b .gcrypt cp %{SOURCE4} README.Fedora cat <> db/zm_create.sql.in @@ -213,6 +214,11 @@ fi %changelog +* Sun Aug 14 2011 Jason L Tibbitts III - 1.24.4-1 +- Initial attempt to upgrade to 1.24.4. +- Add patch from BZ 460310 to build against libgcrypt instead of requiring the + gnutls openssl libs. + * Thu Jul 21 2011 Petr Sabata - 1.24.3-7.20110324svn3310 - Perl mass rebuild From 29ddbffb10a44fe5a7bb39a65d9ea4dd5b3ce240 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sun, 14 Aug 2011 11:58:04 -0500 Subject: [PATCH 38/82] Forgot to update sources. Ugh. --- sources | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sources b/sources index 8c2ce91..2c10d3e 100644 --- a/sources +++ b/sources @@ -1,3 +1,3 @@ 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip 2107736d116f31767cadb15902c6c7fd mootools-1.2.3-core-yc.js -d0161a6d909e38ea3f858c7c606ecf84 zoneminder-20110324svn.tar.xz +946452cd3c89072eaef4b37f8ab07f7c ZoneMinder-1.24.4.tar.gz From a869364df4ee8e00946646afc5e408deac6f4d90 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sun, 14 Aug 2011 12:10:53 -0500 Subject: [PATCH 39/82] And the .gitignore file. Ugh. --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index a8b8dbb..8de7cb6 100644 --- a/.gitignore +++ b/.gitignore @@ -4,3 +4,4 @@ mootools-1.2.3-core-yc.js ZoneMinder-1.24.2.tar.gz /ZoneMinder-1.24.3.tar.gz /zoneminder-20110324svn.tar.xz +/ZoneMinder-1.24.4.tar.gz From 898c96a052f89a02ea7ca0d16ed64acef213c3b5 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 15 Sep 2011 17:00:10 -0500 Subject: [PATCH 40/82] Get things back in order - Add patch for bug 711780 - fix syntax issue in Mapped.pm. - Undo that patch, and undo another which was the cause of the whole mess. - Fix up other patches so ZM_PATH_BUILD is both defined and useful. - Make sure database creation mods actually take. - Update Fedora-specific docs with some additional info. - Use bundled mootools (javascript, so no guideline violation). - Update download location. - Update the gcrypt patch to actually work. - Upstream changed the tarball without changing the version to patch a vulnerability, so redownload. --- README.Fedora | 58 ++++++++++++++++++++++++++----- zoneminder-1.24.1-perldep.patch | 12 ------- zoneminder-1.24.4-dbinstall.patch | 26 +++++++------- zoneminder-1.24.4-gcrypt.patch | 34 +++++++++++++----- zoneminder.spec | 58 +++++++++++++++++++------------ 5 files changed, 123 insertions(+), 65 deletions(-) delete mode 100644 zoneminder-1.24.1-perldep.patch diff --git a/README.Fedora b/README.Fedora index 8a6ab42..1c58446 100644 --- a/README.Fedora +++ b/README.Fedora @@ -2,31 +2,71 @@ New installs ============ 1. Unless you are already using the MySQL server or you are running it - remotely you will need to ensure that the server is installed: + remotely you will need to ensure that the server is installed and secured: yum install mysql-server + chkconfig mysql on service mysql start + mysql_secure_installation 2. You will need to create the ZoneMinder database. These commands should do - the trick: + the trick, assuming your database server is local: - mysql < /usr/share/zoneminder/db/zm_create.sql + mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql mysqladmin reload -3. The ZoneMinder web interface is disabled by default, you will need to edit - this file to enable it: +3. The database needs a user. One is not created by default because this would + introduce an obvious security issue. The following should set this up: - /etc/httpd/conf.d/zoneminder.conf + mysql -u root -p + grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'; -4. This package probably does not work with SELinux enabled at the moment. It + Obviously, change at least zmpass to an actual, secure password or + passphrase. You can change zmuser as well if you like. + +4. Edit /etc/zm.conf and, at the bottom, change ZM_DB_PASS and perhaps + ZM_DB_USER to match. + +5. This package probably does not work with SELinux enabled at the moment. It may be necessary to disable SELinux for httpd, or even completely for - ZoneMinder to function. This will be addressed in a later release. + ZoneMinder to function. This will be addressed in a later release. Run + + setenforce 0 + + for testing, and edit /etc/sysconfig/selinux to disable it at boot time. + +6. Enable and start the zoneminder service: + + chkconfig zoneminder on + service zoneminder start + +7. The ZoneMinder web interface is disabled by default (which makes it rather + useless but also secure by default), you will need to edit + /etc/httpd/conf.d/zoneminder.conf to enable it. Afterwards, you can start + the web server: + + chkconfig httpd on + service httpd start + +8. You should immediately visit http://localhost/zm and secure the system if + you wish for it to be network facing. To do this: + + a) click Options, then System. + b) check OPT_USE_AUTH. + c) set AUTH_HASH_SECRET to a random string. + d) click Save and refresh the main browser window. + e) You should be prompted to log in; the default username/password is admin/admin. + f) Open Options again, choose the newly visible Users tab. + g) click the admin user and set a password. Upgrades ======== -1. You will need to upgrade the ZoneMinder database as described in the +1. Check for any new settings in /etc/zm.conf. Specifically, zmupdate.pl may + fail if ZM_PATH_BUILD is not set. + +2. You will need to upgrade the ZoneMinder database as described in the manual. This command should be sufficient: zmupdate.pl --version= diff --git a/zoneminder-1.24.1-perldep.patch b/zoneminder-1.24.1-perldep.patch deleted file mode 100644 index aa327b9..0000000 --- a/zoneminder-1.24.1-perldep.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- scripts/ZoneMinder/lib/ZoneMinder/Memory/Mapped.pm.perldep 2009-04-11 19:00:53.000000000 +0100 -+++ scripts/ZoneMinder/lib/ZoneMinder/Memory/Mapped.pm 2009-04-11 19:00:29.000000000 +0100 -@@ -66,7 +66,8 @@ - use ZoneMinder::Config qw(:all); - use ZoneMinder::Debug qw(:all); - --use Sys::Mmap; -+# Remove this, we don't use it but RPM is finding it as a dependency -+# use Sys::Mmap; - - sub zmMemKey( $ ) - { diff --git a/zoneminder-1.24.4-dbinstall.patch b/zoneminder-1.24.4-dbinstall.patch index c7a3a0f..a591b08 100644 --- a/zoneminder-1.24.4-dbinstall.patch +++ b/zoneminder-1.24.4-dbinstall.patch @@ -1,7 +1,7 @@ diff -up ./configure.ac.dbinstall ./configure.ac --- ./configure.ac.dbinstall 2011-06-24 11:22:44.000000000 -0500 -+++ ./configure.ac 2011-08-13 20:11:32.798360728 -0500 -@@ -1,11 +1,9 @@ ++++ ./configure.ac 2011-09-08 17:30:00.009282471 -0500 +@@ -1,10 +1,10 @@ AC_PREREQ(2.59) -AC_INIT(zm,1.24.4,support@zoneminder.com,ZoneMinder,http://www.zoneminder.com/downloads.html) +AC_INIT(zm,1.24.4,support@zoneminder.com,zoneminder,http://www.zoneminder.com/downloads.html) @@ -10,11 +10,11 @@ diff -up ./configure.ac.dbinstall ./configure.ac AM_CONFIG_HEADER(config.h) -PATH_BUILD=`pwd` --AC_SUBST(PATH_BUILD) ++PATH_BUILD=/usr/share/zoneminder + AC_SUBST(PATH_BUILD) TIME_BUILD=`date +'%s'` AC_SUBST(TIME_BUILD) - -@@ -353,6 +351,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC +@@ -353,6 +353,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) @@ -25,7 +25,7 @@ diff -up ./configure.ac.dbinstall ./configure.ac AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am --- ./db/Makefile.am.dbinstall 2011-06-19 15:51:12.000000000 -0500 -+++ ./db/Makefile.am 2011-08-13 19:25:20.504156586 -0500 ++++ ./db/Makefile.am 2011-09-08 17:29:19.171528213 -0500 @@ -1,7 +1,16 @@ AUTOMAKE_OPTIONS = gnu @@ -43,18 +43,16 @@ diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am zm_update-0.0.1.sql \ zm_update-0.9.7.sql \ zm_update-0.9.8.sql \ -diff -up ./scripts/zmupdate.pl.in.dbinstall ./scripts/zmupdate.pl.in diff -up ./zm.conf.in.dbinstall ./zm.conf.in --- ./zm.conf.in.dbinstall 2011-06-19 15:51:14.000000000 -0500 -+++ ./zm.conf.in 2011-08-13 19:25:20.512156338 -0500 -@@ -12,8 +12,8 @@ - # Current version of ZoneMinder - ZM_VERSION=@VERSION@ ++++ ./zm.conf.in 2011-09-08 17:30:22.154604007 -0500 +@@ -15,6 +15,9 @@ ZM_VERSION=@VERSION@ + # Path to build directory, used mostly for finding DB upgrade scripts + ZM_PATH_BUILD=@PATH_BUILD@ --# Path to build directory, used mostly for finding DB upgrade scripts --ZM_PATH_BUILD=@PATH_BUILD@ +# Path to installed data directory, used mostly for finding DB upgrade scripts +ZM_PATH_DATA=@PKGDATADIR@ - ++ # Build time, used to record when to trigger various checks ZM_TIME_BUILD=@TIME_BUILD@ + diff --git a/zoneminder-1.24.4-gcrypt.patch b/zoneminder-1.24.4-gcrypt.patch index 0c30005..a70fd1d 100644 --- a/zoneminder-1.24.4-gcrypt.patch +++ b/zoneminder-1.24.4-gcrypt.patch @@ -1,6 +1,5 @@ -diff -up ./configure.ac.gcrypt ./configure.ac ---- ./configure.ac.gcrypt 2011-08-13 21:52:38.004585396 -0500 -+++ ./configure.ac 2011-08-13 21:56:49.861786449 -0500 +--- configure.ac 2011-08-02 16:25:43.000000000 +0200 ++++ configure.ac.gcrypt 2011-08-02 16:37:56.000000000 +0200 @@ -11,7 +11,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm]) AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser]) @@ -43,11 +42,30 @@ diff -up ./configure.ac.gcrypt ./configure.ac fi AC_CHECK_DECLS(backtrace,,,[#include ]) -diff -up ./src/zm_user.cpp.gcrypt ./src/zm_user.cpp -diff -up ./src/zm_user.h.gcrypt ./src/zm_user.h ---- ./src/zm_user.h.gcrypt 2011-06-19 15:51:13.000000000 -0500 -+++ ./src/zm_user.h 2011-08-13 21:52:38.014585086 -0500 -@@ -23,14 +23,11 @@ +--- src/zm_user.cpp 2010-11-11 13:22:35.000000000 +0100 ++++ src/zm_user.cpp.gcrypt 2011-08-02 16:31:39.000000000 +0200 +@@ -144,6 +144,18 @@ User *zmLoadUser( const char *username, + return( user ); + } + ++#ifdef HAVE_GCRYPT_H ++#define HAVE_DECL_MD5 1 ++#define MD5_DIGEST_LENGTH 16 ++static unsigned char *MD5(const unsigned char *data, unsigned long len, ++ unsigned char *md) ++{ ++ gcry_md_hash_buffer(GCRY_MD_MD5, md, data, len); ++ ++ return md; ++} ++#endif ++ + // Function to validate an authentication string + User *zmLoadAuthUser( const char *auth, bool use_remote_addr ) + { +--- src/zm_user.h 2010-11-11 13:11:06.000000000 +0100 ++++ src/zm_user.h.gcrypt 2011-08-02 16:33:21.000000000 +0200 +@@ -23,14 +23,11 @@ #ifndef ZM_USER_H #define ZM_USER_H diff --git a/zoneminder.spec b/zoneminder.spec index 90a4bc4..b8f5ad2 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -8,7 +8,7 @@ Name: zoneminder Version: 1.24.4 -Release: 1 +Release: 2 Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -16,16 +16,19 @@ Group: System Environment/Daemons License: GPLv2+ and LGPLv2+ and MIT URL: http://www.zoneminder.com/ -Source: http://www.zoneminder.com/downloads/ZoneMinder-%{version}.tar.gz +Source: http://www2.zoneminder.com/downloads/ZoneMinder-%{version}.tar.gz Source2: zoneminder.conf Source3: redalert.wav Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip -Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js +# Need to unravel the proper mootools files to grab from upstream, since the +# number of them keeps multiplying. In the meantime, rely on the ones bundled +# with zoneminder. As these are javascript, there is no guideline violation +# here. +#Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js Patch1: zoneminder-1.24.4-dbinstall.patch Patch2: zoneminder-1.24.3-runlevel.patch Patch3: zoneminder-1.24.3-noffmpeg.patch -Patch4: zoneminder-1.24.1-perldep.patch Patch10: zoneminder-1.24.4-installfix.patch Patch11: zoneminder-1.24.3-gcc44.patch Patch12: zoneminder-1.24.4-gcrypt.patch @@ -73,25 +76,11 @@ popd %patch1 -p0 -b .dbinstall %patch2 -p0 -b .runlevel %patch3 -p0 -b .noffmpeg -%patch4 -p0 -b .perldep %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc44 %patch12 -p0 -b .gcrypt cp %{SOURCE4} README.Fedora -cat <> db/zm_create.sql.in -# Fedora change: -# Alter some default paths to match the default URL and selinux expectations -update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS'; -update Config set Value = '/var/log/zoneminder' where Name = 'ZM_PATH_LOGS'; -update Config set Value = '/var/log/zoneminder/zm_debug_log+' where Name = 'ZM_EXTRA_DEBUG_LOG'; -update Config set Value = '/var/lib/zoneminder/sock' where Name = 'ZM_PATH_SOCKS'; -update Config set Value = '/var/lib/zoneminder/swap' where Name = 'ZM_PATH_SWAP'; -update Config set Value = '/var/spool/zoneminder-upload' where Name = 'ZM_UPLOAD_FTP_LOC_DIR'; -use mysql; -grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'; -EOF - %build autoreconf @@ -111,6 +100,19 @@ OPTS="" --enable-mmap=yes \ --disable-debug \ $OPTS + +# Have to do this now because the configure script wipes out modifications made to this file +cat <> db/zm_create.sql +# Fedora change: +# Alter some default paths to match the default URL and selinux expectations +update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS'; +update Config set Value = '/var/log/zoneminder' where Name = 'ZM_PATH_LOGS'; +update Config set Value = '/var/log/zoneminder/zm_debug_log+' where Name = 'ZM_EXTRA_DEBUG_LOG'; +update Config set Value = '/var/lib/zoneminder/sock' where Name = 'ZM_PATH_SOCKS'; +update Config set Value = '/var/lib/zoneminder/swap' where Name = 'ZM_PATH_SWAP'; +update Config set Value = '/var/spool/zoneminder-upload' where Name = 'ZM_UPLOAD_FTP_LOC_DIR'; +EOF + make %{?_smp_mflags} %{__perl} -pi -e 's/(ZM_WEB_USER=).*$/${1}%{zmuid_final}/;' \ -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf @@ -148,10 +150,10 @@ ln -s ../../java/cambozola.jar popd # Install mootools -pushd %{buildroot}/%{_datadir}/%{name}/www -install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js -ln -s mootools-1.2.3-core-yc.js mootools.js -popd +#pushd %{buildroot}/%{_datadir}/%{name}/www +#install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js +#ln -s mootools-1.2.3-core-yc.js mootools.js +#popd %post @@ -214,6 +216,18 @@ fi %changelog +* Thu Sep 15 2011 Jason L Tibbitts III - 1.24.4-2 +- Add patch for bug 711780 - fix syntax issue in Mapped.pm. +- Undo that patch, and undo another which was the cause of the whole mess. +- Fix up other patches so ZM_PATH_BUILD is both defined and useful. +- Make sure database creation mods actually take. +- Update Fedora-specific docs with some additional info. +- Use bundled mootools (javascript, so no guideline violation). +- Update download location. +- Update the gcrypt patch to actually work. +- Upstream changed the tarball without changing the version to patch a + vulnerability, so redownload. + * Sun Aug 14 2011 Jason L Tibbitts III - 1.24.4-1 - Initial attempt to upgrade to 1.24.4. - Add patch from BZ 460310 to build against libgcrypt instead of requiring the From 131373ec6308dd62c5a9177c1a4ce16f93f04c98 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 15 Sep 2011 17:47:26 -0500 Subject: [PATCH 41/82] Updated sources. --- sources | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sources b/sources index 2c10d3e..be980e6 100644 --- a/sources +++ b/sources @@ -1,3 +1,2 @@ 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip -2107736d116f31767cadb15902c6c7fd mootools-1.2.3-core-yc.js -946452cd3c89072eaef4b37f8ab07f7c ZoneMinder-1.24.4.tar.gz +733629e1eda99be53f37c7554d169c84 ZoneMinder-1.24.4.tar.gz From c0b340de9e2adc62b6a26c8b85e09ea3146d643a Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 15 Sep 2011 18:17:01 -0500 Subject: [PATCH 42/82] Re-add the dist tag. --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index b8f5ad2..5b5e568 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -8,7 +8,7 @@ Name: zoneminder Version: 1.24.4 -Release: 2 +Release: 3%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -216,6 +216,9 @@ fi %changelog +* Thu Sep 15 2011 Jason L Tibbitts III - 1.24.4-3 +- Re-add the dist-tag that somehow got lost. + * Thu Sep 15 2011 Jason L Tibbitts III - 1.24.4-2 - Add patch for bug 711780 - fix syntax issue in Mapped.pm. - Undo that patch, and undo another which was the cause of the whole mess. From cea30f41028d85c9fefe949ddb20de0b0869b3ca Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 14 Jan 2012 03:39:29 -0600 Subject: [PATCH 43/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 5b5e568..5624fe0 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -8,7 +8,7 @@ Name: zoneminder Version: 1.24.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -216,6 +216,9 @@ fi %changelog +* Sat Jan 14 2012 Fedora Release Engineering - 1.24.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + * Thu Sep 15 2011 Jason L Tibbitts III - 1.24.4-3 - Re-add the dist-tag that somehow got lost. From 587c797f645374e18d10538dbed8af4e82800828 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 19 Jan 2012 14:15:12 -0600 Subject: [PATCH 44/82] Update to 1.25.0 and fix gcc 4.7 build issues. --- .gitignore | 1 + sources | 2 +- zoneminder-1.24.3-gcc44.patch | 14 ------ zoneminder-1.24.3-noffmpeg.patch | 23 --------- zoneminder-1.24.3-v4l2.patch | 12 ----- zoneminder-1.24.4-dbinstall.patch | 58 --------------------- zoneminder-1.24.4-gcrypt.patch | 83 ------------------------------- zoneminder.spec | 26 ++++++---- 8 files changed, 18 insertions(+), 201 deletions(-) delete mode 100644 zoneminder-1.24.3-gcc44.patch delete mode 100644 zoneminder-1.24.3-noffmpeg.patch delete mode 100644 zoneminder-1.24.3-v4l2.patch delete mode 100644 zoneminder-1.24.4-dbinstall.patch delete mode 100644 zoneminder-1.24.4-gcrypt.patch diff --git a/.gitignore b/.gitignore index 8de7cb6..1ebc556 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ ZoneMinder-1.24.2.tar.gz /ZoneMinder-1.24.3.tar.gz /zoneminder-20110324svn.tar.xz /ZoneMinder-1.24.4.tar.gz +/ZoneMinder-1.25.0.tar.gz diff --git a/sources b/sources index be980e6..c61a1cd 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip -733629e1eda99be53f37c7554d169c84 ZoneMinder-1.24.4.tar.gz +eaefa14befd482154970541252aa1a39 ZoneMinder-1.25.0.tar.gz diff --git a/zoneminder-1.24.3-gcc44.patch b/zoneminder-1.24.3-gcc44.patch deleted file mode 100644 index a021c47..0000000 --- a/zoneminder-1.24.3-gcc44.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -up ./src/zm_utils.cpp.gcc44 ./src/zm_utils.cpp ---- ./src/zm_utils.cpp.gcc44 2009-11-24 05:41:16.000000000 -0600 -+++ ./src/zm_utils.cpp 2011-01-23 23:24:34.117082494 -0600 -@@ -20,8 +20,8 @@ - //#include "zm_debug.h" - #include "zm_utils.h" - --#include --#include -+#include -+#include - - const std::string stringtf( const char *format, ... ) - { diff --git a/zoneminder-1.24.3-noffmpeg.patch b/zoneminder-1.24.3-noffmpeg.patch deleted file mode 100644 index 7b89060..0000000 --- a/zoneminder-1.24.3-noffmpeg.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -up ./configure.ac.noffmpeg ./configure.ac ---- ./configure.ac.noffmpeg 2011-03-24 21:41:02.000000000 -0500 -+++ ./configure.ac 2011-03-24 21:42:40.497276440 -0500 -@@ -269,13 +269,13 @@ AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_ - fi - AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) - AC_CHECK_LIB(x264,x264_predict_16x16_init) --AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) -+dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) - # Don't bother to warn about this one --AC_CHECK_LIB(avcore,av_image_copy,,) --AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) --AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) --AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) --AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) -+dnl AC_CHECK_LIB(avcore,av_image_copy,,) -+dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) -+dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) -+dnl AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) -+dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) - AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) - AC_CHECK_LIB(z,compress,,) - diff --git a/zoneminder-1.24.3-v4l2.patch b/zoneminder-1.24.3-v4l2.patch deleted file mode 100644 index 543ace5..0000000 --- a/zoneminder-1.24.3-v4l2.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up ./configure.ac.v4l2 ./configure.ac ---- ./configure.ac.v4l2 2011-01-24 12:49:16.092209967 -0600 -+++ ./configure.ac 2011-01-24 12:58:58.823207570 -0600 -@@ -282,7 +282,7 @@ AC_CHECK_LIB(z,compress,,) - AC_FUNC_ALLOCA - AC_HEADER_STDC - AC_CHECK_HEADERS([fcntl.h limits.h memory.h netdb.h netinet/in.h stddef.h stdlib.h string.h strings.h sys/ioctl.h sys/param.h sys/socket.h sys/time.h syslog.h unistd.h values.h]) --AC_CHECK_HEADERS(linux/videodev.h,,AC_MSG_ERROR(zm requires Video4Linux to be installed),) -+AC_CHECK_HEADERS(linux/videodev.h,,AC_MSG_WARN(zm requires Video4Linux to be installed for V4L1 support),) - AC_CHECK_HEADERS(linux/videodev2.h,AC_SUBST(ZM_V4L2,"1"),AC_MSG_WARN(zm requires Video4Linux2 to be installed for V4L2 support),) - AC_CHECK_HEADERS(jpeglib.h,,AC_MSG_ERROR(zm requires libjpeg headers to be installed),) - AC_CHECK_HEADERS(mysql/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers - check that MySQL development packages are installed),) diff --git a/zoneminder-1.24.4-dbinstall.patch b/zoneminder-1.24.4-dbinstall.patch deleted file mode 100644 index a591b08..0000000 --- a/zoneminder-1.24.4-dbinstall.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff -up ./configure.ac.dbinstall ./configure.ac ---- ./configure.ac.dbinstall 2011-06-24 11:22:44.000000000 -0500 -+++ ./configure.ac 2011-09-08 17:30:00.009282471 -0500 -@@ -1,10 +1,10 @@ - AC_PREREQ(2.59) --AC_INIT(zm,1.24.4,support@zoneminder.com,ZoneMinder,http://www.zoneminder.com/downloads.html) -+AC_INIT(zm,1.24.4,support@zoneminder.com,zoneminder,http://www.zoneminder.com/downloads.html) - AM_INIT_AUTOMAKE - AC_CONFIG_SRCDIR(src/zm.h) - AM_CONFIG_HEADER(config.h) - --PATH_BUILD=`pwd` -+PATH_BUILD=/usr/share/zoneminder - AC_SUBST(PATH_BUILD) - TIME_BUILD=`date +'%s'` - AC_SUBST(TIME_BUILD) -@@ -353,6 +353,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC - - AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) - AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) -+AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) -+AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") - AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") - AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) - AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") -diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am ---- ./db/Makefile.am.dbinstall 2011-06-19 15:51:12.000000000 -0500 -+++ ./db/Makefile.am 2011-09-08 17:29:19.171528213 -0500 -@@ -1,7 +1,16 @@ - AUTOMAKE_OPTIONS = gnu - -+zmdbdatadir = $(pkgdatadir)/db -+ - EXTRA_DIST = \ - zm_create.sql.in \ -+ $(dbupgrade_scripts) -+ -+dist_zmdbdata_DATA = \ -+ zm_create.sql \ -+ $(dbupgrade_scripts) -+ -+dbupgrade_scripts = \ - zm_update-0.0.1.sql \ - zm_update-0.9.7.sql \ - zm_update-0.9.8.sql \ -diff -up ./zm.conf.in.dbinstall ./zm.conf.in ---- ./zm.conf.in.dbinstall 2011-06-19 15:51:14.000000000 -0500 -+++ ./zm.conf.in 2011-09-08 17:30:22.154604007 -0500 -@@ -15,6 +15,9 @@ ZM_VERSION=@VERSION@ - # Path to build directory, used mostly for finding DB upgrade scripts - ZM_PATH_BUILD=@PATH_BUILD@ - -+# Path to installed data directory, used mostly for finding DB upgrade scripts -+ZM_PATH_DATA=@PKGDATADIR@ -+ - # Build time, used to record when to trigger various checks - ZM_TIME_BUILD=@TIME_BUILD@ - diff --git a/zoneminder-1.24.4-gcrypt.patch b/zoneminder-1.24.4-gcrypt.patch deleted file mode 100644 index a70fd1d..0000000 --- a/zoneminder-1.24.4-gcrypt.patch +++ /dev/null @@ -1,83 +0,0 @@ ---- configure.ac 2011-08-02 16:25:43.000000000 +0200 -+++ configure.ac.gcrypt 2011-08-02 16:37:56.000000000 +0200 -@@ -11,7 +11,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo - AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm]) - AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser]) - AC_ARG_VAR(ZM_DB_PASS,[Password of ZoneMinder database user, default zmpass]) --AC_ARG_VAR(ZM_SSL_LIB,[Library to use for ssl functions, default gnutls]) -+AC_ARG_VAR(ZM_SSL_LIB,[Library to use for MD5 function, default libgcrypt]) - AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default MyISAM]) - AC_ARG_VAR(ZM_RUNDIR,[Location of transient process files, default /var/run/zm]) - AC_ARG_VAR(ZM_TMPDIR,[Location of temporary files, default /tmp/zm]) -@@ -30,7 +30,7 @@ if test "$ZM_DB_PASS" == ""; then - AC_SUBST(ZM_DB_PASS,[zmpass]) - fi - if test "$ZM_SSL_LIB" == ""; then -- AC_SUBST(ZM_SSL_LIB,gnutls) -+ AC_SUBST(ZM_SSL_LIB,libgcrypt) - fi - if test "$ZM_MYSQL_ENGINE" == ""; then - AC_SUBST(ZM_MYSQL_ENGINE,MyISAM) -@@ -261,11 +261,10 @@ AC_CHECK_LIB(jpeg,jpeg_start_compress,,A - AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR(zm requires libpthread.a)) - AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a)) - if test "$ZM_SSL_LIB" == "openssl"; then --AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select gnutls instead])) -+AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select libgcrypt instead])) - else --AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed for gnutls),) -+AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed),) - AC_CHECK_LIB(gcrypt,gcry_check_version,,AC_MSG_WARN([libgcrypt.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) --AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) - fi - AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) - AC_CHECK_LIB(x264,x264_predict_16x16_init) -@@ -316,9 +315,6 @@ AC_CHECK_DECLS(round,,,[#include - #include ]) --else --AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires gnutls/openssl.h - use ZM_SSL_LIB option to select openssl instead]),[#include --#include ]) - fi - AC_CHECK_DECLS(backtrace,,,[#include ]) - ---- src/zm_user.cpp 2010-11-11 13:22:35.000000000 +0100 -+++ src/zm_user.cpp.gcrypt 2011-08-02 16:31:39.000000000 +0200 -@@ -144,6 +144,18 @@ User *zmLoadUser( const char *username, - return( user ); - } - -+#ifdef HAVE_GCRYPT_H -+#define HAVE_DECL_MD5 1 -+#define MD5_DIGEST_LENGTH 16 -+static unsigned char *MD5(const unsigned char *data, unsigned long len, -+ unsigned char *md) -+{ -+ gcry_md_hash_buffer(GCRY_MD_MD5, md, data, len); -+ -+ return md; -+} -+#endif -+ - // Function to validate an authentication string - User *zmLoadAuthUser( const char *auth, bool use_remote_addr ) - { ---- src/zm_user.h 2010-11-11 13:11:06.000000000 +0100 -+++ src/zm_user.h.gcrypt 2011-08-02 16:33:21.000000000 +0200 -@@ -23,14 +23,11 @@ - #ifndef ZM_USER_H - #define ZM_USER_H - --#if HAVE_LIBGNUTLS_OPENSSL --#include - #if HAVE_GCRYPT_H - #include --#endif // HAVE_GCRYPT_H - #elif HAVE_LIBCRYPTO - #include --#endif // HAVE_LIBGNUTLS_OPENSSL || HAVE_LIBCRYPTO -+#endif // HAVE_GCRYPT_H || HAVE_LIBCRYPTO - - class User - { diff --git a/zoneminder.spec b/zoneminder.spec index 5624fe0..22b03af 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -1,14 +1,11 @@ -#define svndate 20110324 -#define svnrev 3310 - %define zmuid $(id -un) %define zmgid $(id -gn) %define zmuid_final apache %define zmgid_final apache Name: zoneminder -Version: 1.24.4 -Release: 4%{?dist} +Version: 1.25.0 +Release: 1%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -26,12 +23,12 @@ Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip # with zoneminder. As these are javascript, there is no guideline violation # here. #Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js -Patch1: zoneminder-1.24.4-dbinstall.patch +Patch1: zoneminder-1.25.0-dbinstall.patch Patch2: zoneminder-1.24.3-runlevel.patch -Patch3: zoneminder-1.24.3-noffmpeg.patch +Patch3: zoneminder-1.25.0-noffmpeg.patch Patch10: zoneminder-1.24.4-installfix.patch -Patch11: zoneminder-1.24.3-gcc44.patch -Patch12: zoneminder-1.24.4-gcrypt.patch +Patch11: zoneminder-1.25.0-gcc47.patch +Patch12: zoneminder-1.25.0-gcrypt.patch BuildRequires: automake gnutls-devel BuildRequires: mysql-devel pcre-devel libjpeg-devel @@ -77,7 +74,7 @@ popd %patch2 -p0 -b .runlevel %patch3 -p0 -b .noffmpeg %patch10 -p0 -b .installfix -%patch11 -p0 -b .gcc44 +%patch11 -p0 -b .gcc47 %patch12 -p0 -b .gcrypt cp %{SOURCE4} README.Fedora @@ -90,6 +87,8 @@ OPTS="" OPTS="$OPTS --disable-crashtrace" %endif +export ZM_RUNDIR=/var/run/zoneminder +export ZM_TMPDIR=/var/lib/zoneminder/temp %configure \ --with-libarch=%{_lib} \ --with-mysql=%{_prefix} \ @@ -216,6 +215,13 @@ fi %changelog +* Thu Jan 19 2012 Jason L Tibbitts III - 1.25.0 +- Update to 1.25.0 +- Fix gcc4.7 build problems. +- Drop gcc4.4 build fixes; for whatever reason they now break the build. +- Clean up old patches. +- Force setting of ZM_TMPDIR and ZM_RUNDIR. + * Sat Jan 14 2012 Fedora Release Engineering - 1.24.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild From a6f1399eaefa4ccd5f1ed0f6bc55aea7f712e923 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 19 Jan 2012 14:19:27 -0600 Subject: [PATCH 45/82] Forgot to add the new patches; doh. --- zoneminder-1.25.0-dbinstall.patch | 58 +++++++++++++++++++++ zoneminder-1.25.0-gcc47.patch | 33 ++++++++++++ zoneminder-1.25.0-gcrypt.patch | 86 +++++++++++++++++++++++++++++++ zoneminder-1.25.0-noffmpeg.patch | 23 +++++++++ 4 files changed, 200 insertions(+) create mode 100644 zoneminder-1.25.0-dbinstall.patch create mode 100644 zoneminder-1.25.0-gcc47.patch create mode 100644 zoneminder-1.25.0-gcrypt.patch create mode 100644 zoneminder-1.25.0-noffmpeg.patch diff --git a/zoneminder-1.25.0-dbinstall.patch b/zoneminder-1.25.0-dbinstall.patch new file mode 100644 index 0000000..8aba378 --- /dev/null +++ b/zoneminder-1.25.0-dbinstall.patch @@ -0,0 +1,58 @@ +diff -up ./configure.ac.dbinstall ./configure.ac +--- ./configure.ac.dbinstall 2011-08-23 10:10:32.000000000 -0500 ++++ ./configure.ac 2012-01-19 12:52:29.201006160 -0600 +@@ -1,10 +1,10 @@ + AC_PREREQ(2.59) +-AC_INIT(zm,1.25.0,[http://www.zoneminder.com/forums/ - Please check FAQ first],ZoneMinder,http://www.zoneminder.com/downloads.html) ++AC_INIT(zm,1.25.0,[http://www.zoneminder.com/forums/ - Please check FAQ first],zoneminder,http://www.zoneminder.com/downloads.html) + AM_INIT_AUTOMAKE + AC_CONFIG_SRCDIR(src/zm.h) + AM_CONFIG_HEADER(config.h) + +-PATH_BUILD=`pwd` ++PATH_BUILD=/usr/share/zoneminder + AC_SUBST(PATH_BUILD) + TIME_BUILD=`date +'%s'` + AC_SUBST(TIME_BUILD) +@@ -358,6 +358,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC + + AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) + AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) ++AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) ++AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") + AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") + AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) + AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") +diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am +--- ./db/Makefile.am.dbinstall 2011-06-21 02:40:11.000000000 -0500 ++++ ./db/Makefile.am 2012-01-19 12:15:03.871582792 -0600 +@@ -1,7 +1,16 @@ + AUTOMAKE_OPTIONS = gnu + ++zmdbdatadir = $(pkgdatadir)/db ++ + EXTRA_DIST = \ + zm_create.sql.in \ ++ $(dbupgrade_scripts) ++ ++dist_zmdbdata_DATA = \ ++ zm_create.sql \ ++ $(dbupgrade_scripts) ++ ++dbupgrade_scripts = \ + zm_update-0.0.1.sql \ + zm_update-0.9.7.sql \ + zm_update-0.9.8.sql \ +diff -up ./zm.conf.in.dbinstall ./zm.conf.in +--- ./zm.conf.in.dbinstall 2008-07-25 04:48:17.000000000 -0500 ++++ ./zm.conf.in 2012-01-19 12:15:03.872582761 -0600 +@@ -15,6 +15,9 @@ ZM_VERSION=@VERSION@ + # Path to build directory, used mostly for finding DB upgrade scripts + ZM_PATH_BUILD=@PATH_BUILD@ + ++# Path to installed data directory, used mostly for finding DB upgrade scripts ++ZM_PATH_DATA=@PKGDATADIR@ ++ + # Build time, used to record when to trigger various checks + ZM_TIME_BUILD=@TIME_BUILD@ + diff --git a/zoneminder-1.25.0-gcc47.patch b/zoneminder-1.25.0-gcc47.patch new file mode 100644 index 0000000..a083c6d --- /dev/null +++ b/zoneminder-1.25.0-gcc47.patch @@ -0,0 +1,33 @@ +diff -up ./src/zm_local_camera.cpp.gcc47 ./src/zm_local_camera.cpp +--- ./src/zm_local_camera.cpp.gcc47 2011-06-21 04:19:10.000000000 -0500 ++++ ./src/zm_local_camera.cpp 2012-01-19 13:43:49.142440717 -0600 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -up ./src/zm_logger.cpp.gcc47 ./src/zm_logger.cpp +--- ./src/zm_logger.cpp.gcc47 2011-06-28 06:07:35.000000000 -0500 ++++ ./src/zm_logger.cpp 2012-01-19 13:43:49.142440717 -0600 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + bool Logger::smInitialised = false; + Logger *Logger::smInstance = 0; +diff -up ./src/zm_thread.h.gcc47 ./src/zm_thread.h +--- ./src/zm_thread.h.gcc47 2012-01-19 13:44:43.082766722 -0600 ++++ ./src/zm_thread.h 2012-01-19 13:44:56.966335869 -0600 +@@ -21,6 +21,7 @@ + #define ZM_THREAD_H + + #include ++#include + #include "zm_exception.h" + #include "zm_utils.h" + diff --git a/zoneminder-1.25.0-gcrypt.patch b/zoneminder-1.25.0-gcrypt.patch new file mode 100644 index 0000000..21f197e --- /dev/null +++ b/zoneminder-1.25.0-gcrypt.patch @@ -0,0 +1,86 @@ +diff -up ./configure.ac.gcrypt ./configure.ac +--- ./configure.ac.gcrypt 2012-01-19 12:58:20.647123209 -0600 ++++ ./configure.ac 2012-01-19 13:12:34.186669577 -0600 +@@ -13,7 +13,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo + AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm]) + AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser]) + AC_ARG_VAR(ZM_DB_PASS,[Password of ZoneMinder database user, default zmpass]) +-AC_ARG_VAR(ZM_SSL_LIB,[Library to use for ssl functions, default gnutls]) ++AC_ARG_VAR(ZM_SSL_LIB,[Library to use for MD5 function, default libgcrypt]) + AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default MyISAM]) + AC_ARG_VAR(ZM_RUNDIR,[Location of transient process files, default /var/run/zm]) + AC_ARG_VAR(ZM_TMPDIR,[Location of temporary files, default /tmp/zm]) +@@ -32,7 +32,7 @@ if test "$ZM_DB_PASS" == ""; then + AC_SUBST(ZM_DB_PASS,[zmpass]) + fi + if test "$ZM_SSL_LIB" == ""; then +- AC_SUBST(ZM_SSL_LIB,gnutls) ++ AC_SUBST(ZM_SSL_LIB,libgcrypt) + fi + if test "$ZM_MYSQL_ENGINE" == ""; then + AC_SUBST(ZM_MYSQL_ENGINE,MyISAM) +@@ -264,11 +264,10 @@ AC_CHECK_LIB(jpeg,jpeg_start_compress,,A + AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR(zm requires libpthread.a)) + AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a)) + if test "$ZM_SSL_LIB" == "openssl"; then +-AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select gnutls instead])) ++AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select libgcrypt instead])) + else +-AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed for gnutls),) ++AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed),) + AC_CHECK_LIB(gcrypt,gcry_check_version,,AC_MSG_WARN([libgcrypt.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) +-AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) + fi + AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) + AC_CHECK_LIB(z,zlibVersion) +@@ -320,9 +319,6 @@ AC_CHECK_DECLS(round,,,[#include + #include ]) +-else +-AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires gnutls/openssl.h - use ZM_SSL_LIB option to select openssl instead]),[#include +-#include ]) + fi + AC_CHECK_DECLS(backtrace,,,[#include ]) + +diff -up ./src/zm_user.cpp.gcrypt ./src/zm_user.cpp +--- ./src/zm_user.cpp.gcrypt 2011-08-03 06:31:06.000000000 -0500 ++++ ./src/zm_user.cpp 2012-01-19 12:58:20.654122992 -0600 +@@ -140,6 +140,18 @@ User *zmLoadUser( const char *username, + return( user ); + } + ++#ifdef HAVE_GCRYPT_H ++#define HAVE_DECL_MD5 1 ++#define MD5_DIGEST_LENGTH 16 ++static unsigned char *MD5(const unsigned char *data, unsigned long len, ++ unsigned char *md) ++{ ++ gcry_md_hash_buffer(GCRY_MD_MD5, md, data, len); ++ ++ return md; ++} ++#endif ++ + // Function to validate an authentication string + User *zmLoadAuthUser( const char *auth, bool use_remote_addr ) + { +diff -up ./src/zm_user.h.gcrypt ./src/zm_user.h +--- ./src/zm_user.h.gcrypt 2010-11-11 06:11:07.000000000 -0600 ++++ ./src/zm_user.h 2012-01-19 13:14:11.200654694 -0600 +@@ -23,14 +23,11 @@ + #ifndef ZM_USER_H + #define ZM_USER_H + +-#if HAVE_LIBGNUTLS_OPENSSL +-#include + #if HAVE_GCRYPT_H + #include +-#endif // HAVE_GCRYPT_H + #elif HAVE_LIBCRYPTO + #include +-#endif // HAVE_LIBGNUTLS_OPENSSL || HAVE_LIBCRYPTO ++#endif // HAVE_GCRYPT_H || HAVE_LIBCRYPTO + + class User + { diff --git a/zoneminder-1.25.0-noffmpeg.patch b/zoneminder-1.25.0-noffmpeg.patch new file mode 100644 index 0000000..032222d --- /dev/null +++ b/zoneminder-1.25.0-noffmpeg.patch @@ -0,0 +1,23 @@ +diff -up ./configure.ac.noffmpeg ./configure.ac +--- ./configure.ac.noffmpeg 2012-01-19 12:53:04.000000000 -0600 ++++ ./configure.ac 2012-01-19 12:54:29.575278231 -0600 +@@ -273,13 +273,13 @@ fi + AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) + AC_CHECK_LIB(z,zlibVersion) + AC_CHECK_LIB(x264,x264_predict_16x16_init) +-AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) ++dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) + # Don't bother to warn about this one +-AC_CHECK_LIB(avcore,av_image_copy,,) +-AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) +-AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) +-AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) +-AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) ++dnl AC_CHECK_LIB(avcore,av_image_copy,,) ++dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) ++dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) ++dnl AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) ++dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) + AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) + AC_CHECK_LIB(z,compress,,) + From a943b9333adb0b2fe3dffdf6aa0eddb6eba50945 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 9 Feb 2012 14:23:38 -0600 Subject: [PATCH 46/82] Rebuild for new pcre. --- zoneminder.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 22b03af..4cb226a 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -215,7 +215,10 @@ fi %changelog -* Thu Jan 19 2012 Jason L Tibbitts III - 1.25.0 +* Thu Feb 09 2012 Jason L Tibbitts III - 1.25.0-2 +- Rebuild for new pcre. + +* Thu Jan 19 2012 Jason L Tibbitts III - 1.25.0-1 - Update to 1.25.0 - Fix gcc4.7 build problems. - Drop gcc4.4 build fixes; for whatever reason they now break the build. From 34995c5295be9bca254829ae3cf77ad3f53fb796 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 22 Feb 2012 19:20:46 -0600 Subject: [PATCH 47/82] Minor updates - Update README.Fedora to reference systemctl and mention timezone info in php.ini. - Add proper default for EYEZM_LOG_TO_FILE. --- README.Fedora | 31 ++++++++++++++++++++----------- zoneminder.spec | 9 ++++++++- 2 files changed, 28 insertions(+), 12 deletions(-) diff --git a/README.Fedora b/README.Fedora index 1c58446..438ef7f 100644 --- a/README.Fedora +++ b/README.Fedora @@ -27,7 +27,15 @@ New installs 4. Edit /etc/zm.conf and, at the bottom, change ZM_DB_PASS and perhaps ZM_DB_USER to match. -5. This package probably does not work with SELinux enabled at the moment. It +5. Edit /etc/php.ini, uncomment the date.timezone line, and add your local + timezone. For whatever reason, PHP will complain loudly if this is not set, + or if it is set incorrectly, and these complaints will show up in the + zoneminder logging system as errors. + + If you are not sure of the proper timezone specification to use, look in + /etc/sysconfig/clock. + +6. This package probably does not work with SELinux enabled at the moment. It may be necessary to disable SELinux for httpd, or even completely for ZoneMinder to function. This will be addressed in a later release. Run @@ -35,20 +43,20 @@ New installs for testing, and edit /etc/sysconfig/selinux to disable it at boot time. -6. Enable and start the zoneminder service: +7. Enable and start the zoneminder service: - chkconfig zoneminder on - service zoneminder start + systemctl enable zoneminder.service + systemctl start zoneminder.service -7. The ZoneMinder web interface is disabled by default (which makes it rather +8. The ZoneMinder web interface is disabled by default (which makes it rather useless but also secure by default), you will need to edit /etc/httpd/conf.d/zoneminder.conf to enable it. Afterwards, you can start the web server: - chkconfig httpd on - service httpd start + systemctl enable httpd.service + systemctl start httpd.service -8. You should immediately visit http://localhost/zm and secure the system if +9. You should immediately visit http://localhost/zm and secure the system if you wish for it to be network facing. To do this: a) click Options, then System. @@ -63,10 +71,11 @@ New installs Upgrades ======== -1. Check for any new settings in /etc/zm.conf. Specifically, zmupdate.pl may - fail if ZM_PATH_BUILD is not set. +1. Update /etc/zm.conf. Check for any new settings and update the version + information. Comparing /etc/zm.conf and /etc/zm.conf.rpmnew should help to + do this. 2. You will need to upgrade the ZoneMinder database as described in the - manual. This command should be sufficient: + manual. This command should be sufficient when run as root: zmupdate.pl --version= diff --git a/zoneminder.spec b/zoneminder.spec index 4cb226a..7fa76e4 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -107,6 +107,7 @@ cat <> db/zm_create.sql update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS'; update Config set Value = '/var/log/zoneminder' where Name = 'ZM_PATH_LOGS'; update Config set Value = '/var/log/zoneminder/zm_debug_log+' where Name = 'ZM_EXTRA_DEBUG_LOG'; +update Config set Value = '/var/log/zoneminder/zm_xml.log'; update Config set Value = '/var/lib/zoneminder/sock' where Name = 'ZM_PATH_SOCKS'; update Config set Value = '/var/lib/zoneminder/swap' where Name = 'ZM_PATH_SWAP'; update Config set Value = '/var/spool/zoneminder-upload' where Name = 'ZM_UPLOAD_FTP_LOC_DIR'; @@ -215,6 +216,12 @@ fi %changelog +* Wed Feb 22 2012 Jason L Tibbitts III - 1.25.0-3 +- Update README.Fedora to reference systemctl and mention timezone info in + php.ini. +- Add proper default for EYEZM_LOG_TO_FILE. + + * Thu Feb 09 2012 Jason L Tibbitts III - 1.25.0-2 - Rebuild for new pcre. From fb5277dfec7c168d03bcb5a8d79ce4e4e08372bd Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Fri, 24 Feb 2012 23:43:18 -0600 Subject: [PATCH 48/82] COnvert to systemd. --- README.Fedora | 2 +- zoneminder.service | 11 +++++++++++ zoneminder.spec | 47 +++++++++++++++++++++++++++++++--------------- 3 files changed, 44 insertions(+), 16 deletions(-) create mode 100644 zoneminder.service diff --git a/README.Fedora b/README.Fedora index 438ef7f..f1a4b58 100644 --- a/README.Fedora +++ b/README.Fedora @@ -57,7 +57,7 @@ New installs systemctl start httpd.service 9. You should immediately visit http://localhost/zm and secure the system if - you wish for it to be network facing. To do this: + it is network facing. To do this: a) click Options, then System. b) check OPT_USE_AUTH. diff --git a/zoneminder.service b/zoneminder.service new file mode 100644 index 0000000..a4bd277 --- /dev/null +++ b/zoneminder.service @@ -0,0 +1,11 @@ +[Unit] +Description=Video security and surveillance system + +[Service] +Type=forking +ExecStart=/usr/bin/zmpkg.pl start +PIDFile=/run/zoneminder/zm.pid + +[Install] +WantedBy=multi-user.target + diff --git a/zoneminder.spec b/zoneminder.spec index 7fa76e4..e551b6b 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -18,6 +18,7 @@ Source2: zoneminder.conf Source3: redalert.wav Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip +Source6: zoneminder.service # Need to unravel the proper mootools files to grab from upstream, since the # number of them keeps multiplying. In the meantime, rely on the ones bundled # with zoneminder. As these are javascript, there is no guideline violation @@ -43,10 +44,9 @@ Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) Requires: perl(DBD::mysql) perl(Archive::Tar) perl(Archive::Zip) Requires: perl(MIME::Entity) perl(MIME::Lite) perl(Net::SMTP) perl(Net::FTP) -Requires(post): /sbin/chkconfig -Requires(preun): /sbin/chkconfig -Requires(preun): /sbin/service -Requires(postun): /sbin/service +Requires(post): systemd-units systemd-sysv +Requires(preun): systemd-units +Requires(postun): systemd-units %description @@ -136,9 +136,9 @@ install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/sock install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/swap install -m 755 -d %{buildroot}/%{_localstatedir}/spool/zoneminder-upload -install -D -m 755 scripts/zm %{buildroot}/%{_initrddir}/zoneminder install -D -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/conf.d/zoneminder.conf install -D -m 755 %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/www/sounds/redalert.wav +install -D -m 644 %{SOURCE6} %{buildroot}/%{_unitdir}/zoneminder.service # Install jscalendar - this really should be in its own package install -d -m 755 %{buildroot}/%{_datadir}/%{name}/www/jscalendar @@ -157,28 +157,41 @@ popd %post -/sbin/chkconfig --add zoneminder - +if [ $1 -eq 1 ] ; then + # Initial installation + /bin/systemctl daemon-reload >/dev/null 2>&1 || : +fi %preun -if [ $1 -eq 0 ]; then - /sbin/service zoneminder stop > /dev/null 2>&1 || : - /sbin/chkconfig --del zoneminder +if [ $1 -eq 0 ] ; then + # Package removal, not upgrade + /bin/systemctl --no-reload disable zoneminder.service > /dev/null 2>&1 || : + /bin/systemctl stop zoneminder.service > /dev/null 2>&1 || : fi - %postun -if [ $1 -ge 1 ]; then - /sbin/service zoneminder condrestart > /dev/null 2>&1 || : +/bin/systemctl daemon-reload >/dev/null 2>&1 || : +if [ $1 -ge 1 ] ; then + # Package upgrade, not uninstall + /bin/systemctl try-restart zoneminder.service >/dev/null 2>&1 || : fi +%triggerun -- zoneminder < 2.6-25 +# Save the current service runlevel info +# User must manually run systemd-sysv-convert --apply zoneminder +# to migrate them to systemd targets +/usr/bin/systemd-sysv-convert --save zoneminder >/dev/null 2>&1 ||: + +# Run these because the SysV package being removed won't do them +/sbin/chkconfig --del zoneminder >/dev/null 2>&1 || : +/bin/systemctl try-restart zoneminder.service >/dev/null 2>&1 || : + %files %defattr(-,root,root,-) %doc AUTHORS COPYING README README.Fedora jscalendar-doc %config(noreplace) %attr(640,root,%{zmgid_final}) %{_sysconfdir}/zm.conf %config(noreplace) %attr(644,root,root) %{_sysconfdir}/httpd/conf.d/zoneminder.conf -%attr(755,root,root) %{_initrddir}/zoneminder %{_bindir}/zma %{_bindir}/zmaudit.pl @@ -214,8 +227,12 @@ fi %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/log/zoneminder %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/spool/zoneminder-upload +%{_unitdir}/zoneminder.service %changelog +* Fri Feb 24 2012 Jason L Tibbitts III - 1.25.0-4 +- Convert to systemd. + * Wed Feb 22 2012 Jason L Tibbitts III - 1.25.0-3 - Update README.Fedora to reference systemctl and mention timezone info in php.ini. From 3334d2a550397092662416ebfb13417901450120 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 25 Feb 2012 00:19:38 -0600 Subject: [PATCH 49/82] Add tmpfiles.d config. --- zoneminder.spec | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/zoneminder.spec b/zoneminder.spec index e551b6b..83c6590 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -155,6 +155,11 @@ popd #ln -s mootools-1.2.3-core-yc.js mootools.js #popd +install -d -m 755 %{buildroot}/etc/tmpfiles.d +cat > %{buildroot}/etc/tmpfiles.d/zoneminder < - 1.25.0-4 - Convert to systemd. +- Add tmpfiles.d configuration since the initscript isn't around to create + /run/zoneminder. * Wed Feb 22 2012 Jason L Tibbitts III - 1.25.0-3 - Update README.Fedora to reference systemctl and mention timezone info in From c3e85c3516f2826a69f277317c7f12d2ccfc2fd7 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 25 Feb 2012 00:23:49 -0600 Subject: [PATCH 50/82] Remove spurious executable perms. --- zoneminder.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/zoneminder.spec b/zoneminder.spec index 83c6590..9229621 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -77,6 +77,7 @@ popd %patch11 -p0 -b .gcc47 %patch12 -p0 -b .gcrypt cp %{SOURCE4} README.Fedora +chmod -x src/zm_event.cpp src/zm_user.h %build @@ -240,6 +241,7 @@ fi - Convert to systemd. - Add tmpfiles.d configuration since the initscript isn't around to create /run/zoneminder. +- Remove some pointless executable permissions. * Wed Feb 22 2012 Jason L Tibbitts III - 1.25.0-3 - Update README.Fedora to reference systemctl and mention timezone info in From 32f0cfc99e4f757498ec478ee6a65b04d09b5666 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 25 Feb 2012 12:18:14 -0600 Subject: [PATCH 51/82] Doh, fix version in systemd conversion trigger. --- zoneminder.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 9229621..e33f09f 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -182,7 +182,7 @@ if [ $1 -ge 1 ] ; then /bin/systemctl try-restart zoneminder.service >/dev/null 2>&1 || : fi -%triggerun -- zoneminder < 2.6-25 +%triggerun -- zoneminder < 1.25.0-4 # Save the current service runlevel info # User must manually run systemd-sysv-convert --apply zoneminder # to migrate them to systemd targets From 205e49448907de587fd6856e21757b477ac3e6a9 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 25 Feb 2012 15:19:53 -0600 Subject: [PATCH 52/82] Add logrotate file. --- zoneminder.logrotate | 8 ++++++++ zoneminder.spec | 13 +++++++++---- 2 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 zoneminder.logrotate diff --git a/zoneminder.logrotate b/zoneminder.logrotate new file mode 100644 index 0000000..7bd1d18 --- /dev/null +++ b/zoneminder.logrotate @@ -0,0 +1,8 @@ +/var/log/zoneminder/*.log { + missingok + notifempty + sharedscripts + postrotate + /usr/bin/zmpkg.pl logrot 2> /dev/null > /dev/null || : + endscript +} diff --git a/zoneminder.spec b/zoneminder.spec index e33f09f..ca36e61 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -19,11 +19,12 @@ Source3: redalert.wav Source4: README.Fedora Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip Source6: zoneminder.service +Source7: zoneminder.logrotate # Need to unravel the proper mootools files to grab from upstream, since the # number of them keeps multiplying. In the meantime, rely on the ones bundled # with zoneminder. As these are javascript, there is no guideline violation # here. -#Source6: http://mootools.net/download/get/mootools-1.2.3-core-yc.js +#Source8: http://mootools.net/download/get/mootools-1.2.3-core-yc.js Patch1: zoneminder-1.25.0-dbinstall.patch Patch2: zoneminder-1.24.3-runlevel.patch Patch3: zoneminder-1.25.0-noffmpeg.patch @@ -140,6 +141,7 @@ install -m 755 -d %{buildroot}/%{_localstatedir}/spool/zoneminder-upload install -D -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/conf.d/zoneminder.conf install -D -m 755 %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/www/sounds/redalert.wav install -D -m 644 %{SOURCE6} %{buildroot}/%{_unitdir}/zoneminder.service +install -D -m 644 %{SOURCE7} %{buildroot}/etc/logrotate.d/zoneminder # Install jscalendar - this really should be in its own package install -d -m 755 %{buildroot}/%{_datadir}/%{name}/www/jscalendar @@ -198,6 +200,10 @@ fi %doc AUTHORS COPYING README README.Fedora jscalendar-doc %config(noreplace) %attr(640,root,%{zmgid_final}) %{_sysconfdir}/zm.conf %config(noreplace) %attr(644,root,root) %{_sysconfdir}/httpd/conf.d/zoneminder.conf +%config(noreplace) /etc/tmpfiles.d/zoneminder +%config(noreplace) /etc/logrotate.d/zoneminder + +%{_unitdir}/zoneminder.service %{_bindir}/zma %{_bindir}/zmaudit.pl @@ -233,15 +239,14 @@ fi %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/log/zoneminder %dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/spool/zoneminder-upload -%{_unitdir}/zoneminder.service -%config(noreplace) /etc/tmpfiles.d/zoneminder %changelog -* Fri Feb 24 2012 Jason L Tibbitts III - 1.25.0-4 +* Sat Feb 25 2012 Jason L Tibbitts III - 1.25.0-4 - Convert to systemd. - Add tmpfiles.d configuration since the initscript isn't around to create /run/zoneminder. - Remove some pointless executable permissions. +- Add logrotate file. * Wed Feb 22 2012 Jason L Tibbitts III - 1.25.0-3 - Update README.Fedora to reference systemctl and mention timezone info in From 708033ca21f41c2ecfe44379632dcf2079c39774 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Sat, 25 Feb 2012 17:40:38 -0600 Subject: [PATCH 53/82] More systemd fixes. Add ExecReload to the service file. BR: systemd-units for _unitdir. --- zoneminder.service | 1 + zoneminder.spec | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/zoneminder.service b/zoneminder.service index a4bd277..d59fc67 100644 --- a/zoneminder.service +++ b/zoneminder.service @@ -4,6 +4,7 @@ Description=Video security and surveillance system [Service] Type=forking ExecStart=/usr/bin/zmpkg.pl start +ExecReload=/usr/bin/zmpkg.pl reload PIDFile=/run/zoneminder/zm.pid [Install] diff --git a/zoneminder.spec b/zoneminder.spec index ca36e61..8cd1523 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -32,7 +32,7 @@ Patch10: zoneminder-1.24.4-installfix.patch Patch11: zoneminder-1.25.0-gcc47.patch Patch12: zoneminder-1.25.0-gcrypt.patch -BuildRequires: automake gnutls-devel +BuildRequires: automake gnutls-devel systemd-units BuildRequires: mysql-devel pcre-devel libjpeg-devel BuildRequires: perl(Archive::Tar) perl(Archive::Zip) BuildRequires: perl(Date::Manip) perl(DBD::mysql) @@ -152,12 +152,6 @@ pushd %{buildroot}/%{_datadir}/%{name}/www ln -s ../../java/cambozola.jar popd -# Install mootools -#pushd %{buildroot}/%{_datadir}/%{name}/www -#install -m 644 %{SOURCE6} mootools-1.2.3-core-yc.js -#ln -s mootools-1.2.3-core-yc.js mootools.js -#popd - install -d -m 755 %{buildroot}/etc/tmpfiles.d cat > %{buildroot}/etc/tmpfiles.d/zoneminder < Date: Sat, 25 Feb 2012 17:49:01 -0600 Subject: [PATCH 54/82] Fix name of tmpfiles.d conffile. --- zoneminder.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 8cd1523..bd7df46 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -153,7 +153,7 @@ ln -s ../../java/cambozola.jar popd install -d -m 755 %{buildroot}/etc/tmpfiles.d -cat > %{buildroot}/etc/tmpfiles.d/zoneminder < %{buildroot}/etc/tmpfiles.d/zoneminder.conf < Date: Sat, 25 Feb 2012 18:35:20 -0600 Subject: [PATCH 55/82] Properly install /run/zoneminder with the package. --- redalert.wav | Bin zoneminder.spec | 2 ++ 2 files changed, 2 insertions(+) mode change 100755 => 100644 redalert.wav diff --git a/redalert.wav b/redalert.wav old mode 100755 new mode 100644 diff --git a/zoneminder.spec b/zoneminder.spec index bd7df46..7901692 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -156,6 +156,7 @@ install -d -m 755 %{buildroot}/etc/tmpfiles.d cat > %{buildroot}/etc/tmpfiles.d/zoneminder.conf < Date: Sat, 25 Feb 2012 18:52:03 -0600 Subject: [PATCH 56/82] Clean up macro usage. --- zoneminder.spec | 57 ++++++++++++++++++++++++++----------------------- 1 file changed, 30 insertions(+), 27 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 7901692..428b614 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -127,28 +127,28 @@ make install DESTDIR=%{buildroot} \ rm -rf %{buildroot}/%{perl_vendorarch} %{buildroot}/%{perl_archlib} rm -f %{buildroot}/%{_bindir}/zmx10.pl -install -m 755 -d %{buildroot}/%{_localstatedir}/log/zoneminder +install -m 755 -d %{buildroot}/var/log/zoneminder for dir in events images temp do - install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/$dir - rmdir %{buildroot}/%{_datadir}/%{name}/www/$dir - ln -sf ../../../..%{_localstatedir}/lib/zoneminder/$dir %{buildroot}/%{_datadir}/%{name}/www/$dir + install -m 755 -d %{buildroot}/var/lib/zoneminder/$dir + rmdir %{buildroot}/%{_datadir}/zoneminder/www/$dir + ln -sf ../../../../var/lib/zoneminder/$dir %{buildroot}/%{_datadir}/zoneminder/www/$dir done -install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/sock -install -m 755 -d %{buildroot}/%{_localstatedir}/lib/zoneminder/swap -install -m 755 -d %{buildroot}/%{_localstatedir}/spool/zoneminder-upload +install -m 755 -d %{buildroot}/var/lib/zoneminder/sock +install -m 755 -d %{buildroot}/var/lib/zoneminder/swap +install -m 755 -d %{buildroot}/var/spool/zoneminder-upload -install -D -m 644 %{SOURCE2} %{buildroot}/%{_sysconfdir}/httpd/conf.d/zoneminder.conf -install -D -m 755 %{SOURCE3} %{buildroot}/%{_datadir}/%{name}/www/sounds/redalert.wav +install -D -m 644 %{SOURCE2} %{buildroot}/etc/httpd/conf.d/zoneminder.conf +install -D -m 755 %{SOURCE3} %{buildroot}/%{_datadir}/zoneminder/www/sounds/redalert.wav install -D -m 644 %{SOURCE6} %{buildroot}/%{_unitdir}/zoneminder.service install -D -m 644 %{SOURCE7} %{buildroot}/etc/logrotate.d/zoneminder # Install jscalendar - this really should be in its own package install -d -m 755 %{buildroot}/%{_datadir}/%{name}/www/jscalendar -cp -rp jscalendar-1.0/* %{buildroot}/%{_datadir}/%{name}/www/jscalendar +cp -rp jscalendar-1.0/* %{buildroot}/%{_datadir}/zoneminder/www/jscalendar # Set up cambozola -pushd %{buildroot}/%{_datadir}/%{name}/www +pushd %{buildroot}/%{_datadir}/zoneminder/www ln -s ../../java/cambozola.jar popd @@ -193,8 +193,8 @@ fi %files %defattr(-,root,root,-) %doc AUTHORS COPYING README README.Fedora jscalendar-doc -%config(noreplace) %attr(640,root,%{zmgid_final}) %{_sysconfdir}/zm.conf -%config(noreplace) %attr(644,root,root) %{_sysconfdir}/httpd/conf.d/zoneminder.conf +%config(noreplace) %attr(640,root,%{zmgid_final}) /etc/zm.conf +%config(noreplace) %attr(644,root,root) /etc/httpd/conf.d/zoneminder.conf %config(noreplace) /etc/tmpfiles.d/zoneminder.conf %config(noreplace) /etc/logrotate.d/zoneminder @@ -219,24 +219,27 @@ fi %{perl_vendorlib}/ZoneMinder* %{_mandir}/man*/* -%dir %{_libexecdir}/%{name} -%{_libexecdir}/%{name}/cgi-bin -%dir %{_datadir}/%{name} -%{_datadir}/%{name}/db -%{_datadir}/%{name}/www +%dir %{_libexecdir}/zoneminder +%{_libexecdir}/zoneminder/cgi-bin +%dir %{_datadir}/zoneminder +%{_datadir}/zoneminder/db +%{_datadir}/zoneminder/www -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/events -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/images -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/sock -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/swap -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/lib/zoneminder/temp -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/log/zoneminder -%dir %attr(755,%{zmuid_final},%{zmgid_final}) %{_localstatedir}/spool/zoneminder-upload +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/events +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/images +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/sock +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/swap +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/temp +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/log/zoneminder +%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/spool/zoneminder-upload %dir %attr(755,%{zmuid_final},%{zmgid_final}) /run/zoneminder %changelog +* Sat Feb 25 2012 Jason L Tibbitts III - 1.25.0-5 +- Clean up macro usage. + * Sat Feb 25 2012 Jason L Tibbitts III - 1.25.0-4 - Convert to systemd. - Add tmpfiles.d configuration since the initscript isn't around to create From 21efc1a028552692269988a085b1167c55604cc8 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Wed, 21 Mar 2012 18:59:56 -0500 Subject: [PATCH 57/82] Fix stupid thinko in sql modifications. --- zoneminder.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 428b614..d763c0e 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -109,7 +109,7 @@ cat <> db/zm_create.sql update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS'; update Config set Value = '/var/log/zoneminder' where Name = 'ZM_PATH_LOGS'; update Config set Value = '/var/log/zoneminder/zm_debug_log+' where Name = 'ZM_EXTRA_DEBUG_LOG'; -update Config set Value = '/var/log/zoneminder/zm_xml.log'; +update Config set Value = '/var/log/zoneminder/zm_xml.log' where Name = 'ZM_EYEZM_LOG_FILE'; update Config set Value = '/var/lib/zoneminder/sock' where Name = 'ZM_PATH_SOCKS'; update Config set Value = '/var/lib/zoneminder/swap' where Name = 'ZM_PATH_SWAP'; update Config set Value = '/var/spool/zoneminder-upload' where Name = 'ZM_UPLOAD_FTP_LOC_DIR'; @@ -237,6 +237,9 @@ fi %changelog +* Wed Mar 21 2012 Jason L Tibbitts III - 1.25.0-6 +- Fix stupid thinko in sql modifications. + * Sat Feb 25 2012 Jason L Tibbitts III - 1.25.0-5 - Clean up macro usage. From 895553fb0a4496865fa785c2c951820f7a71e0d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Sat, 23 Jun 2012 06:01:56 +0200 Subject: [PATCH 58/82] Perl 5.16 rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index d763c0e..c832e9c 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 6%{?dist} +Release: 7%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -237,6 +237,9 @@ fi %changelog +* Sat Jun 23 2012 Petr Pisar - 1.25.0-7 +- Perl 5.16 rebuild + * Wed Mar 21 2012 Jason L Tibbitts III - 1.25.0-6 - Fix stupid thinko in sql modifications. From f89d2a7bf17e97d3f0377402af4d2e79a9947280 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 22 Jul 2012 03:32:26 -0500 Subject: [PATCH 59/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index c832e9c..1e545af 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 7%{?dist} +Release: 8%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -237,6 +237,9 @@ fi %changelog +* Sun Jul 22 2012 Fedora Release Engineering - 1.25.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + * Sat Jun 23 2012 Petr Pisar - 1.25.0-7 - Perl 5.16 rebuild From b4e5abd74063b1e99567d78ae30ef29121f01d9b Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Thu, 9 Aug 2012 20:34:21 -0500 Subject: [PATCH 60/82] Work around v4l2 api breakage in 3.5 kernel. --- zoneminder-1.25.0-kernel35.patch | 21 +++++++++++++++++++++ zoneminder.spec | 7 ++++++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 zoneminder-1.25.0-kernel35.patch diff --git a/zoneminder-1.25.0-kernel35.patch b/zoneminder-1.25.0-kernel35.patch new file mode 100644 index 0000000..51bc128 --- /dev/null +++ b/zoneminder-1.25.0-kernel35.patch @@ -0,0 +1,21 @@ +diff -up ./src/zm_local_camera.cpp.kernel35 ./src/zm_local_camera.cpp +--- ./src/zm_local_camera.cpp.kernel35 2012-07-16 15:01:22.182614878 -0500 ++++ ./src/zm_local_camera.cpp 2012-07-16 15:02:16.491941730 -0500 +@@ -740,7 +740,7 @@ void LocalCamera::Terminate() + { + Debug( 3, "Terminating video stream" ); + //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE; +- enum v4l2_buf_type type = v4l2_data.fmt.type; ++ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type; + if ( vidioctl( vid_fd, VIDIOC_STREAMOFF, &type ) < 0 ) + Error( "Failed to stop capture stream: %s", strerror(errno) ); + +@@ -1520,7 +1520,7 @@ int LocalCamera::PrimeCapture() + + Debug( 3, "Starting video stream" ); + //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE; +- enum v4l2_buf_type type = v4l2_data.fmt.type; ++ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type; + if ( vidioctl( vid_fd, VIDIOC_STREAMON, &type ) < 0 ) + Fatal( "Failed to start capture stream: %s", strerror(errno) ); + } diff --git a/zoneminder.spec b/zoneminder.spec index 1e545af..b275d55 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 8%{?dist} +Release: 9%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -31,6 +31,7 @@ Patch3: zoneminder-1.25.0-noffmpeg.patch Patch10: zoneminder-1.24.4-installfix.patch Patch11: zoneminder-1.25.0-gcc47.patch Patch12: zoneminder-1.25.0-gcrypt.patch +Patch13: zoneminder-1.25.0-kernel35.patch BuildRequires: automake gnutls-devel systemd-units BuildRequires: mysql-devel pcre-devel libjpeg-devel @@ -77,6 +78,7 @@ popd %patch10 -p0 -b .installfix %patch11 -p0 -b .gcc47 %patch12 -p0 -b .gcrypt +%patch13 -p0 -b .kernel35 cp %{SOURCE4} README.Fedora chmod -x src/zm_event.cpp src/zm_user.h @@ -237,6 +239,9 @@ fi %changelog +* Thu Aug 09 2012 Jason L Tibbitts III - 1.25.0-9 +- Add patch to work around v4l2 api breakage in 3.5 kernel. + * Sun Jul 22 2012 Fedora Release Engineering - 1.25.0-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild From e5baff393d912dcd2ac6aa35bfdf1371d75e78c4 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Fri, 21 Dec 2012 20:45:01 +0100 Subject: [PATCH 61/82] rebuild against new libjpeg Signed-off-by: Adam Tkac --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index b275d55..b3a3a0f 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 9%{?dist} +Release: 10%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -239,6 +239,9 @@ fi %changelog +* Fri Dec 21 2012 Adam Tkac - 1.25.0-10 +- rebuild against new libjpeg + * Thu Aug 09 2012 Jason L Tibbitts III - 1.25.0-9 - Add patch to work around v4l2 api breakage in 3.5 kernel. From ae3d33f9c6b326a5f72f6631c0e8edca26141472 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 7 Jan 2013 14:56:59 +0100 Subject: [PATCH 62/82] fix configuration file for httpd 2.4, #871502 --- zoneminder.conf | 26 +++++++++++++++++++------- zoneminder.spec | 5 ++++- 2 files changed, 23 insertions(+), 8 deletions(-) diff --git a/zoneminder.conf b/zoneminder.conf index 4a4d932..597ea2b 100644 --- a/zoneminder.conf +++ b/zoneminder.conf @@ -14,20 +14,32 @@ Alias /zm "/usr/share/zoneminder/www" - Options -Indexes MultiViews FollowSymLinks + Options -Indexes +MultiViews +FollowSymLinks AllowOverride All - Order allow,deny - Allow from all + + # Apache 2.4 + Require all granted + + + # Apache 2.2 + Order deny,allow + Allow from all + # The code unfortunately uses short tags in many places php_value short_open_tag 1 - -Deny from all # DELETE THIS LINE ScriptAlias /cgi-bin/zm "/usr/libexec/zoneminder/cgi-bin" AllowOverride All Options ExecCGI - Order allow,deny - Allow from all + + # Apache 2.4 + Require all granted + + + # Apache 2.2 + Order deny,allow + Allow from all + diff --git a/zoneminder.spec b/zoneminder.spec index b3a3a0f..b8c618c 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 10%{?dist} +Release: 11%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -239,6 +239,9 @@ fi %changelog +* Mon Jan 7 2013 Remi Collet - 1.25.0-11 +- fix configuration file for httpd 2.4, #871502 + * Fri Dec 21 2012 Adam Tkac - 1.25.0-10 - rebuild against new libjpeg From 44ae8e1fac5858e17349857de130b13fb9e2ad50 Mon Sep 17 00:00:00 2001 From: Adam Tkac Date: Mon, 21 Jan 2013 18:10:55 +0100 Subject: [PATCH 63/82] Rebuild due to "jpeg8-ABI" feature drop Signed-off-by: Adam Tkac --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index b8c618c..cde2316 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 11%{?dist} +Release: 12%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -239,6 +239,9 @@ fi %changelog +* Mon Jan 21 2013 Adam Tkac - 1.25.0-12 +- rebuild due to "jpeg8-ABI" feature drop + * Mon Jan 7 2013 Remi Collet - 1.25.0-11 - fix configuration file for httpd 2.4, #871502 From 8c2fe5801976b27af8bde5775687d3015181d289 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Thu, 14 Feb 2013 22:24:18 -0600 Subject: [PATCH 64/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index cde2316..b4aceed 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 12%{?dist} +Release: 13%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -239,6 +239,9 @@ fi %changelog +* Fri Feb 15 2013 Fedora Release Engineering - 1.25.0-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + * Mon Jan 21 2013 Adam Tkac - 1.25.0-12 - rebuild due to "jpeg8-ABI" feature drop From 6fc9c4e10db44453d945011c8109d56301c7ffc2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 29 Jul 2013 07:40:56 +0200 Subject: [PATCH 65/82] Perl 5.18 rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index b4aceed..a792a91 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 13%{?dist} +Release: 14%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -239,6 +239,9 @@ fi %changelog +* Mon Jul 29 2013 Petr Pisar - 1.25.0-14 +- Perl 5.18 rebuild + * Fri Feb 15 2013 Fedora Release Engineering - 1.25.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From f21f07da5e5d93023d275b29747b54fd9f9c0524 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Mon, 29 Jul 2013 11:08:05 +0200 Subject: [PATCH 66/82] zoneminder --- zoneminder.spec | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index a792a91..e668bc2 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -35,11 +35,20 @@ Patch13: zoneminder-1.25.0-kernel35.patch BuildRequires: automake gnutls-devel systemd-units BuildRequires: mysql-devel pcre-devel libjpeg-devel -BuildRequires: perl(Archive::Tar) perl(Archive::Zip) -BuildRequires: perl(Date::Manip) perl(DBD::mysql) -BuildRequires: perl(ExtUtils::MakeMaker) perl(LWP::UserAgent) -BuildRequires: perl(MIME::Entity) perl(MIME::Lite) -BuildRequires: perl(PHP::Serialization) perl(Sys::Mmap) +BuildRequires: perl(Archive::Tar) +BuildRequires: perl(Archive::Zip) +BuildRequires: perl(Date::Manip) +BuildRequires: perl(DBD::mysql) +BuildRequires: perl(DBI) +BuildRequires: perl(ExtUtils::MakeMaker) +BuildRequires: perl(Getopt::Long) +BuildRequires: perl(LWP::UserAgent) +BuildRequires: perl(MIME::Entity) +BuildRequires: perl(MIME::Lite) +BuildRequires: perl(PHP::Serialization) +BuildRequires: perl(Sys::Mmap) +BuildRequires: perl(Sys::Syslog) +BuildRequires: perl(Time::HiRes) Requires: httpd php php-mysql cambozola Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) @@ -241,6 +250,7 @@ fi %changelog * Mon Jul 29 2013 Petr Pisar - 1.25.0-14 - Perl 5.18 rebuild +- Specify mandatory perl dependencies * Fri Feb 15 2013 Fedora Release Engineering - 1.25.0-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild From e0072264249f29203214230292edf101134a4978 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sun, 4 Aug 2013 04:59:18 -0500 Subject: [PATCH 67/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index e668bc2..058764f 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 14%{?dist} +Release: 15%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -248,6 +248,9 @@ fi %changelog +* Sun Aug 04 2013 Fedora Release Engineering - 1.25.0-15 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + * Mon Jul 29 2013 Petr Pisar - 1.25.0-14 - Perl 5.18 rebuild - Specify mandatory perl dependencies From 293328f0c84c721f198c3d9e9735ad66862f4774 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Sat, 7 Jun 2014 13:17:15 -0500 Subject: [PATCH 68/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 058764f..1da98e2 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 15%{?dist} +Release: 16%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -248,6 +248,9 @@ fi %changelog +* Sat Jun 07 2014 Fedora Release Engineering - 1.25.0-16 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + * Sun Aug 04 2013 Fedora Release Engineering - 1.25.0-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild From ec5a5a820047ada762bee0211c148fe6abd01a5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 12 Jun 2014 15:06:04 +0200 Subject: [PATCH 69/82] Allow autotools to install missing files --- zoneminder.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/zoneminder.spec b/zoneminder.spec index 1da98e2..3aa40ce 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 16%{?dist} +Release: 17%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -93,7 +93,7 @@ chmod -x src/zm_event.cpp src/zm_user.h %build -autoreconf +autoreconf --install OPTS="" %ifnarch %{ix86} x86_64 @@ -248,6 +248,9 @@ fi %changelog +* Thu Jun 12 2014 Petr Pisar - 1.25.0-17 +- Allow autotools to install missing files (bug #1059131) + * Sat Jun 07 2014 Fedora Release Engineering - 1.25.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From e5eb56a503ce4218a9a21a2f5a19a7eaa541a9d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Thu, 12 Jun 2014 15:25:00 +0200 Subject: [PATCH 70/82] Fix a format-security warning --- ...1.25.0-Fix-some-compilation-warnings.patch | 28 +++++++++++++++++++ zoneminder.spec | 4 +++ 2 files changed, 32 insertions(+) create mode 100644 zoneminder-1.25.0-Fix-some-compilation-warnings.patch diff --git a/zoneminder-1.25.0-Fix-some-compilation-warnings.patch b/zoneminder-1.25.0-Fix-some-compilation-warnings.patch new file mode 100644 index 0000000..2dacc64 --- /dev/null +++ b/zoneminder-1.25.0-Fix-some-compilation-warnings.patch @@ -0,0 +1,28 @@ +From ac7f7f08a7d78f5046e4855f3bd1c121f884aa64 Mon Sep 17 00:00:00 2001 +From: mastertheknife +Date: Tue, 24 Sep 2013 07:31:02 +0300 +Subject: [PATCH] Fix some compilation warnings +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Petr Písař + +Petr Pisar: Ported to 1.25.0. + +diff --git a/src/zm_signal.cpp b/src/zm_signal.cpp +index 5bb000f..dc6144a 100644 +--- a/src/zm_signal.cpp ++++ b/src/zm_signal.cpp +@@ -110,7 +110,7 @@ RETSIGTYPE zm_die_handler( int signal ) + char **messages = backtrace_symbols( trace, trace_size ); + if ( size_t offset = strcspn( messages[trace_size-1], " " ) ) + { +- snprintf( cmd_ptr, sizeof(cmd)-(cmd_ptr-cmd), messages[trace_size-1] ); ++ snprintf( cmd_ptr, sizeof(cmd)-(cmd_ptr-cmd), "%s", messages[trace_size-1] ); + cmd_ptr += offset; + } + else +-- +1.9.3 + diff --git a/zoneminder.spec b/zoneminder.spec index 3aa40ce..7e62a5d 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -32,6 +32,8 @@ Patch10: zoneminder-1.24.4-installfix.patch Patch11: zoneminder-1.25.0-gcc47.patch Patch12: zoneminder-1.25.0-gcrypt.patch Patch13: zoneminder-1.25.0-kernel35.patch +# Fix a format-security warning, in upstream after 1.26.3 +Patch14: zoneminder-1.25.0-Fix-some-compilation-warnings.patch BuildRequires: automake gnutls-devel systemd-units BuildRequires: mysql-devel pcre-devel libjpeg-devel @@ -88,6 +90,7 @@ popd %patch11 -p0 -b .gcc47 %patch12 -p0 -b .gcrypt %patch13 -p0 -b .kernel35 +%patch14 -p1 -b .format cp %{SOURCE4} README.Fedora chmod -x src/zm_event.cpp src/zm_user.h @@ -250,6 +253,7 @@ fi %changelog * Thu Jun 12 2014 Petr Pisar - 1.25.0-17 - Allow autotools to install missing files (bug #1059131) +- Fix a format-security warning * Sat Jun 07 2014 Fedora Release Engineering - 1.25.0-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild From 59ff8671b4d4995715a1eaff8570d97c3d46ebfa Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Mon, 18 Aug 2014 11:47:29 +0000 Subject: [PATCH 71/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 7e62a5d..068fead 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 17%{?dist} +Release: 18%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -251,6 +251,9 @@ fi %changelog +* Mon Aug 18 2014 Fedora Release Engineering - 1.25.0-18 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + * Thu Jun 12 2014 Petr Pisar - 1.25.0-17 - Allow autotools to install missing files (bug #1059131) - Fix a format-security warning From 7b2e61cb64c0b7c045f6e62ffa8099ee21575618 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 21 Aug 2014 11:55:58 -0600 Subject: [PATCH 72/82] Rebuild for rpm bug 1131960 --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 068fead..b21e93e 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 18%{?dist} +Release: 19%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -251,6 +251,9 @@ fi %changelog +* Thu Aug 21 2014 Kevin Fenzi - 1.25.0-19 +- Rebuild for rpm bug 1131960 + * Mon Aug 18 2014 Fedora Release Engineering - 1.25.0-18 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild From 52c37beda3aa9abb8e6eb44a5e2f08723c238454 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 1 Sep 2014 08:28:40 +0200 Subject: [PATCH 73/82] Perl 5.20 rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index b21e93e..1566cad 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.25.0 -Release: 19%{?dist} +Release: 20%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -251,6 +251,9 @@ fi %changelog +* Mon Sep 01 2014 Jitka Plesnikova - 1.25.0-20 +- Perl 5.20 rebuild + * Thu Aug 21 2014 Kevin Fenzi - 1.25.0-19 - Rebuild for rpm bug 1131960 From 6539dcfdebd2155f7368e1d24c29f158e480e960 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Mar 2015 11:52:12 -0500 Subject: [PATCH 74/82] Commit some old uncommitted changes. --- README.Fedora | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/README.Fedora b/README.Fedora index f1a4b58..961aadd 100644 --- a/README.Fedora +++ b/README.Fedora @@ -5,8 +5,8 @@ New installs remotely you will need to ensure that the server is installed and secured: yum install mysql-server - chkconfig mysql on - service mysql start + systemctl enable mysqld + systemctl start mysqld mysql_secure_installation 2. You will need to create the ZoneMinder database. These commands should do @@ -32,12 +32,13 @@ New installs or if it is set incorrectly, and these complaints will show up in the zoneminder logging system as errors. - If you are not sure of the proper timezone specification to use, look in - /etc/sysconfig/clock. + If you are not sure of the proper timezone specification to use, run + timedatectl. 6. This package probably does not work with SELinux enabled at the moment. It may be necessary to disable SELinux for httpd, or even completely for - ZoneMinder to function. This will be addressed in a later release. Run + ZoneMinder to function. The policy is being worked on and the issues will be + addressed in a later release. Run setenforce 0 @@ -45,8 +46,8 @@ New installs 7. Enable and start the zoneminder service: - systemctl enable zoneminder.service - systemctl start zoneminder.service + systemctl enable zoneminder + systemctl start zoneminder 8. The ZoneMinder web interface is disabled by default (which makes it rather useless but also secure by default), you will need to edit From 45a36809a079dbe6fd9324261ce84a793abeea17 Mon Sep 17 00:00:00 2001 From: Jason Tibbitts Date: Tue, 10 Mar 2015 11:55:51 -0500 Subject: [PATCH 75/82] Begin working on 1.28.1. --- .gitignore | 3 +++ sources | 2 +- zoneminder.spec | 8 ++++---- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 1ebc556..c289abc 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,6 @@ ZoneMinder-1.24.2.tar.gz /zoneminder-20110324svn.tar.xz /ZoneMinder-1.24.4.tar.gz /ZoneMinder-1.25.0.tar.gz +/v1.28.1.tar.gz +*.rpm +ZoneMinder-*/ diff --git a/sources b/sources index c61a1cd..9ca0223 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ 10f2160fe68294013efcd1473cd36f72 jscalendar-1.0.zip -eaefa14befd482154970541252aa1a39 ZoneMinder-1.25.0.tar.gz +e8b27b818e074e5739b2bad8c57671a1 v1.28.1.tar.gz diff --git a/zoneminder.spec b/zoneminder.spec index 1566cad..30b2690 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -4,16 +4,16 @@ %define zmgid_final apache Name: zoneminder -Version: 1.25.0 -Release: 20%{?dist} +Version: 1.28.1 +Release: 1%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ # Mootools is inder the MIT license: http://mootools.net/ -License: GPLv2+ and LGPLv2+ and MIT +License: GPLv2+ and LGPLv2+ and MIT URL: http://www.zoneminder.com/ -Source: http://www2.zoneminder.com/downloads/ZoneMinder-%{version}.tar.gz +Source: https://github.com/ZoneMinder/ZoneMinder/archive/v%{version}.tar.gz Source2: zoneminder.conf Source3: redalert.wav Source4: README.Fedora From 8400183b388aac30d0e4d4fdd830a2b754f6cbb0 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Sat, 6 Jun 2015 18:03:48 +0200 Subject: [PATCH 76/82] Perl 5.22 rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 30b2690..e36c42e 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.28.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -251,6 +251,9 @@ fi %changelog +* Sat Jun 06 2015 Jitka Plesnikova - 1.28.1-2 +- Perl 5.22 rebuild + * Mon Sep 01 2014 Jitka Plesnikova - 1.25.0-20 - Perl 5.20 rebuild From 82ba890782fe22ac68df2e62ee9b7abea05a75a5 Mon Sep 17 00:00:00 2001 From: "Charles R. Anderson" Date: Fri, 12 Jun 2015 13:44:44 -0400 Subject: [PATCH 77/82] Fix build --- zoneminder-1.24.4-installfix.patch | 22 ----- ...1.25.0-Fix-some-compilation-warnings.patch | 28 ------ zoneminder-1.25.0-dbinstall.patch | 58 ------------ zoneminder-1.25.0-gcc47.patch | 33 ------- zoneminder-1.25.0-kernel35.patch | 21 ----- zoneminder-1.28.1-gcc47.patch | 23 +++++ ...pt.patch => zoneminder-1.28.1-gcrypt.patch | 89 +++++++++++-------- ....patch => zoneminder-1.28.1-noffmpeg.patch | 24 ++--- ....patch => zoneminder-1.28.1-runlevel.patch | 8 +- zoneminder.spec | 41 ++++----- 10 files changed, 115 insertions(+), 232 deletions(-) delete mode 100644 zoneminder-1.24.4-installfix.patch delete mode 100644 zoneminder-1.25.0-Fix-some-compilation-warnings.patch delete mode 100644 zoneminder-1.25.0-dbinstall.patch delete mode 100644 zoneminder-1.25.0-gcc47.patch delete mode 100644 zoneminder-1.25.0-kernel35.patch create mode 100644 zoneminder-1.28.1-gcc47.patch rename zoneminder-1.25.0-gcrypt.patch => zoneminder-1.28.1-gcrypt.patch (52%) rename zoneminder-1.25.0-noffmpeg.patch => zoneminder-1.28.1-noffmpeg.patch (50%) rename zoneminder-1.24.3-runlevel.patch => zoneminder-1.28.1-runlevel.patch (51%) diff --git a/zoneminder-1.24.4-installfix.patch b/zoneminder-1.24.4-installfix.patch deleted file mode 100644 index 8831d59..0000000 --- a/zoneminder-1.24.4-installfix.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff -up ./Makefile.am.installfix ./Makefile.am ---- ./Makefile.am.installfix 2011-06-19 15:51:14.000000000 -0500 -+++ ./Makefile.am 2011-08-13 20:33:30.288587436 -0500 -@@ -21,12 +21,12 @@ EXTRA_DIST = \ - # Yes, you are correct. This is a HACK! - install-data-hook: - ( 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 ) -- ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; if test "$(ZM_LOGDIR)" != "/var/log"; then chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR); fi ) -+ ( 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_TMPDIR); then mkdir -m 700 -p $(DESTDIR)$(ZM_TMPDIR); fi; if test "$(DESTDIR)$(ZM_TMPDIR)" != "/tmp"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_TMPDIR); chmod u+w $(DESTDIR)$(ZM_TMPDIR); fi ) -+ ( if ! test -e $(DESTDIR)$(ZM_LOGDIR); then mkdir -p $(DESTDIR)$(ZM_LOGDIR); fi; if test "$(DESTDIR)$(ZM_LOGDIR)" != "/var/log"; then chown $(webuser):$(webgroup) $(DESTDIR)$(ZM_LOGDIR); chmod u+w $(DESTDIR)$(ZM_LOGDIR); fi ) - - uninstall-hook: - @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) -- @-( if test "$(ZM_RUNDIR)" != "/var/run"; then rm -rf $(ZM_RUNDIR); fi ) -- @-( if test "$(ZM_TMPDIR)" != "/tmp"; then rm -rf $(ZM_TMPDIR); fi ) -- @-( if test "$(ZM_LOGDIR)" != "/var/log"; then rm -rf $(ZM_LOGDIR); fi ) -+ @-( if test "$(DESTDIR)$(ZM_RUNDIR)" != "/var/run"; then rm -rf $(DESTDIR)$(ZM_RUNDIR); fi ) -+ @-( if test "$(DESTDIR)$(ZM_TMPDIR)" != "/tmp"; then rm -rf $(DESTDIR)$(ZM_TMPDIR); fi ) -+ @-( if test "$(DESTDIR)$(ZM_LOGDIR)" != "/var/log"; then rm -rf $(DESTDIR)$(ZM_LOGDIR); fi ) diff --git a/zoneminder-1.25.0-Fix-some-compilation-warnings.patch b/zoneminder-1.25.0-Fix-some-compilation-warnings.patch deleted file mode 100644 index 2dacc64..0000000 --- a/zoneminder-1.25.0-Fix-some-compilation-warnings.patch +++ /dev/null @@ -1,28 +0,0 @@ -From ac7f7f08a7d78f5046e4855f3bd1c121f884aa64 Mon Sep 17 00:00:00 2001 -From: mastertheknife -Date: Tue, 24 Sep 2013 07:31:02 +0300 -Subject: [PATCH] Fix some compilation warnings -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Signed-off-by: Petr Písař - -Petr Pisar: Ported to 1.25.0. - -diff --git a/src/zm_signal.cpp b/src/zm_signal.cpp -index 5bb000f..dc6144a 100644 ---- a/src/zm_signal.cpp -+++ b/src/zm_signal.cpp -@@ -110,7 +110,7 @@ RETSIGTYPE zm_die_handler( int signal ) - char **messages = backtrace_symbols( trace, trace_size ); - if ( size_t offset = strcspn( messages[trace_size-1], " " ) ) - { -- snprintf( cmd_ptr, sizeof(cmd)-(cmd_ptr-cmd), messages[trace_size-1] ); -+ snprintf( cmd_ptr, sizeof(cmd)-(cmd_ptr-cmd), "%s", messages[trace_size-1] ); - cmd_ptr += offset; - } - else --- -1.9.3 - diff --git a/zoneminder-1.25.0-dbinstall.patch b/zoneminder-1.25.0-dbinstall.patch deleted file mode 100644 index 8aba378..0000000 --- a/zoneminder-1.25.0-dbinstall.patch +++ /dev/null @@ -1,58 +0,0 @@ -diff -up ./configure.ac.dbinstall ./configure.ac ---- ./configure.ac.dbinstall 2011-08-23 10:10:32.000000000 -0500 -+++ ./configure.ac 2012-01-19 12:52:29.201006160 -0600 -@@ -1,10 +1,10 @@ - AC_PREREQ(2.59) --AC_INIT(zm,1.25.0,[http://www.zoneminder.com/forums/ - Please check FAQ first],ZoneMinder,http://www.zoneminder.com/downloads.html) -+AC_INIT(zm,1.25.0,[http://www.zoneminder.com/forums/ - Please check FAQ first],zoneminder,http://www.zoneminder.com/downloads.html) - AM_INIT_AUTOMAKE - AC_CONFIG_SRCDIR(src/zm.h) - AM_CONFIG_HEADER(config.h) - --PATH_BUILD=`pwd` -+PATH_BUILD=/usr/share/zoneminder - AC_SUBST(PATH_BUILD) - TIME_BUILD=`date +'%s'` - AC_SUBST(TIME_BUILD) -@@ -358,6 +358,8 @@ AC_PROG_PERL_MODULES(X10::ActiveHome,,AC - - AC_DEFINE_DIR([BINDIR],[bindir],[Expanded binary directory]) - AC_DEFINE_DIR([LIBDIR],[libdir],[Expanded library directory]) -+AC_DEFINE_DIR([DATADIR],[datadir],[Expanded data directory]) -+AC_SUBST(PKGDATADIR,"$DATADIR/$PACKAGE") - AC_SUBST(ZM_PID,"$ZM_RUNDIR/zm.pid") - AC_DEFINE_DIR([SYSCONFDIR],[sysconfdir],[Expanded configuration directory]) - AC_SUBST(ZM_CONFIG,"$SYSCONFDIR/zm.conf") -diff -up ./db/Makefile.am.dbinstall ./db/Makefile.am ---- ./db/Makefile.am.dbinstall 2011-06-21 02:40:11.000000000 -0500 -+++ ./db/Makefile.am 2012-01-19 12:15:03.871582792 -0600 -@@ -1,7 +1,16 @@ - AUTOMAKE_OPTIONS = gnu - -+zmdbdatadir = $(pkgdatadir)/db -+ - EXTRA_DIST = \ - zm_create.sql.in \ -+ $(dbupgrade_scripts) -+ -+dist_zmdbdata_DATA = \ -+ zm_create.sql \ -+ $(dbupgrade_scripts) -+ -+dbupgrade_scripts = \ - zm_update-0.0.1.sql \ - zm_update-0.9.7.sql \ - zm_update-0.9.8.sql \ -diff -up ./zm.conf.in.dbinstall ./zm.conf.in ---- ./zm.conf.in.dbinstall 2008-07-25 04:48:17.000000000 -0500 -+++ ./zm.conf.in 2012-01-19 12:15:03.872582761 -0600 -@@ -15,6 +15,9 @@ ZM_VERSION=@VERSION@ - # Path to build directory, used mostly for finding DB upgrade scripts - ZM_PATH_BUILD=@PATH_BUILD@ - -+# Path to installed data directory, used mostly for finding DB upgrade scripts -+ZM_PATH_DATA=@PKGDATADIR@ -+ - # Build time, used to record when to trigger various checks - ZM_TIME_BUILD=@TIME_BUILD@ - diff --git a/zoneminder-1.25.0-gcc47.patch b/zoneminder-1.25.0-gcc47.patch deleted file mode 100644 index a083c6d..0000000 --- a/zoneminder-1.25.0-gcc47.patch +++ /dev/null @@ -1,33 +0,0 @@ -diff -up ./src/zm_local_camera.cpp.gcc47 ./src/zm_local_camera.cpp ---- ./src/zm_local_camera.cpp.gcc47 2011-06-21 04:19:10.000000000 -0500 -+++ ./src/zm_local_camera.cpp 2012-01-19 13:43:49.142440717 -0600 -@@ -26,6 +26,7 @@ - #include - #include - #include -+#include - #include - #include - #include -diff -up ./src/zm_logger.cpp.gcc47 ./src/zm_logger.cpp ---- ./src/zm_logger.cpp.gcc47 2011-06-28 06:07:35.000000000 -0500 -+++ ./src/zm_logger.cpp 2012-01-19 13:43:49.142440717 -0600 -@@ -33,6 +33,7 @@ - #include - #include - #include -+#include - - bool Logger::smInitialised = false; - Logger *Logger::smInstance = 0; -diff -up ./src/zm_thread.h.gcc47 ./src/zm_thread.h ---- ./src/zm_thread.h.gcc47 2012-01-19 13:44:43.082766722 -0600 -+++ ./src/zm_thread.h 2012-01-19 13:44:56.966335869 -0600 -@@ -21,6 +21,7 @@ - #define ZM_THREAD_H - - #include -+#include - #include "zm_exception.h" - #include "zm_utils.h" - diff --git a/zoneminder-1.25.0-kernel35.patch b/zoneminder-1.25.0-kernel35.patch deleted file mode 100644 index 51bc128..0000000 --- a/zoneminder-1.25.0-kernel35.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -up ./src/zm_local_camera.cpp.kernel35 ./src/zm_local_camera.cpp ---- ./src/zm_local_camera.cpp.kernel35 2012-07-16 15:01:22.182614878 -0500 -+++ ./src/zm_local_camera.cpp 2012-07-16 15:02:16.491941730 -0500 -@@ -740,7 +740,7 @@ void LocalCamera::Terminate() - { - Debug( 3, "Terminating video stream" ); - //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE; -- enum v4l2_buf_type type = v4l2_data.fmt.type; -+ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type; - if ( vidioctl( vid_fd, VIDIOC_STREAMOFF, &type ) < 0 ) - Error( "Failed to stop capture stream: %s", strerror(errno) ); - -@@ -1520,7 +1520,7 @@ int LocalCamera::PrimeCapture() - - Debug( 3, "Starting video stream" ); - //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE; -- enum v4l2_buf_type type = v4l2_data.fmt.type; -+ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type; - if ( vidioctl( vid_fd, VIDIOC_STREAMON, &type ) < 0 ) - Fatal( "Failed to start capture stream: %s", strerror(errno) ); - } diff --git a/zoneminder-1.28.1-gcc47.patch b/zoneminder-1.28.1-gcc47.patch new file mode 100644 index 0000000..c1e2dd5 --- /dev/null +++ b/zoneminder-1.28.1-gcc47.patch @@ -0,0 +1,23 @@ +diff -up ZoneMinder-1.28.1/src/zm_local_camera.cpp.gcc47 ZoneMinder-1.28.1/src/zm_local_camera.cpp +--- ZoneMinder-1.28.1/src/zm_local_camera.cpp.gcc47 2015-02-04 21:52:37.000000000 -0500 ++++ ZoneMinder-1.28.1/src/zm_local_camera.cpp 2015-06-12 11:07:38.295420171 -0400 +@@ -26,6 +26,7 @@ + #include + #include + #include ++#include + #include + #include + #include +diff -up ZoneMinder-1.28.1/src/zm_logger.cpp.gcc47 ZoneMinder-1.28.1/src/zm_logger.cpp +--- ZoneMinder-1.28.1/src/zm_logger.cpp.gcc47 2015-02-04 21:52:37.000000000 -0500 ++++ ZoneMinder-1.28.1/src/zm_logger.cpp 2015-06-12 11:07:38.296420176 -0400 +@@ -31,6 +31,7 @@ + #include + #include + #include ++#include + + bool Logger::smInitialised = false; + Logger *Logger::smInstance = 0; +diff -up ZoneMinder-1.28.1/src/zm_thread.h.gcc47 ZoneMinder-1.28.1/src/zm_thread.h diff --git a/zoneminder-1.25.0-gcrypt.patch b/zoneminder-1.28.1-gcrypt.patch similarity index 52% rename from zoneminder-1.25.0-gcrypt.patch rename to zoneminder-1.28.1-gcrypt.patch index 21f197e..0f18ae6 100644 --- a/zoneminder-1.25.0-gcrypt.patch +++ b/zoneminder-1.28.1-gcrypt.patch @@ -1,16 +1,16 @@ -diff -up ./configure.ac.gcrypt ./configure.ac ---- ./configure.ac.gcrypt 2012-01-19 12:58:20.647123209 -0600 -+++ ./configure.ac 2012-01-19 13:12:34.186669577 -0600 -@@ -13,7 +13,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo +diff -up ZoneMinder-1.28.1/configure.ac.gcrypt ZoneMinder-1.28.1/configure.ac +--- ZoneMinder-1.28.1/configure.ac.gcrypt 2015-06-12 11:10:08.256091967 -0400 ++++ ZoneMinder-1.28.1/configure.ac 2015-06-12 11:19:51.190736931 -0400 +@@ -40,7 +40,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm]) AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser]) AC_ARG_VAR(ZM_DB_PASS,[Password of ZoneMinder database user, default zmpass]) -AC_ARG_VAR(ZM_SSL_LIB,[Library to use for ssl functions, default gnutls]) +AC_ARG_VAR(ZM_SSL_LIB,[Library to use for MD5 function, default libgcrypt]) - AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default MyISAM]) + AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default InnoDB]) AC_ARG_VAR(ZM_RUNDIR,[Location of transient process files, default /var/run/zm]) - AC_ARG_VAR(ZM_TMPDIR,[Location of temporary files, default /tmp/zm]) -@@ -32,7 +32,7 @@ if test "$ZM_DB_PASS" == ""; then + AC_ARG_VAR(ZM_SOCKDIR,[Location of Unix domain socket files, default /var/run/zm]) +@@ -64,7 +64,7 @@ if test "$ZM_DB_PASS" == ""; then AC_SUBST(ZM_DB_PASS,[zmpass]) fi if test "$ZM_SSL_LIB" == ""; then @@ -18,35 +18,48 @@ diff -up ./configure.ac.gcrypt ./configure.ac + AC_SUBST(ZM_SSL_LIB,libgcrypt) fi if test "$ZM_MYSQL_ENGINE" == ""; then - AC_SUBST(ZM_MYSQL_ENGINE,MyISAM) -@@ -264,11 +264,10 @@ AC_CHECK_LIB(jpeg,jpeg_start_compress,,A - AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR(zm requires libpthread.a)) + AC_SUBST(ZM_MYSQL_ENGINE,InnoDB) +@@ -314,19 +314,10 @@ AC_CHECK_LIB(pthread,pthread_create,,AC_ AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a)) if test "$ZM_SSL_LIB" == "openssl"; then + AC_CHECK_HEADERS(openssl/md5.h,,AC_MSG_WARN(zm requires openssl/md5.h header to be installed for openssl),) -AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select gnutls instead])) +AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select libgcrypt instead])) else +-AC_CHECK_HEADERS(gnutls/openssl.h,AC_SUBST(ZM_HAS_GNUTLS_OPENSSL,1),AC_SUBST(ZM_HAS_GNUTLS_OPENSSL,0),) +-AC_CHECK_HEADERS(gnutls/gnutls.h,AC_SUBST(ZM_HAS_GNUTLS,1),AC_SUBST(ZM_HAS_GNUTLS,0),) +-if test "$ZM_HAS_GNUTLS_OPENSSL" == "0" && test "$ZM_HAS_GNUTLS" == "0"; then +-AC_MSG_WARN(gnutls is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead) +-fi -AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed for gnutls),) +AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed),) AC_CHECK_LIB(gcrypt,gcry_check_version,,AC_MSG_WARN([libgcrypt.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) --AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) +-AC_CHECK_LIB(gnutls,gnutls_fingerprint,,AC_MSG_WARN([libgnutls.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) +-if test "$ZM_HAS_GNUTLS_OPENSSL" == "1"; then +-AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([libgnutls.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) +-fi fi AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) AC_CHECK_LIB(z,zlibVersion) -@@ -320,9 +319,6 @@ AC_CHECK_DECLS(round,,,[#include #include ]) -else +-if test "$ZM_HAS_GNUTLS_OPENSSL" == "1"; then -AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires gnutls/openssl.h - use ZM_SSL_LIB option to select openssl instead]),[#include -#include ]) +-else +-AC_CHECK_DECLS(gnutls_fingerprint,,AC_MSG_ERROR([zm requires gnutls/gnutls.h - use ZM_SSL_LIB option to select openssl instead]),[#include +-#include ]) +-fi fi AC_CHECK_DECLS(backtrace,,,[#include ]) - -diff -up ./src/zm_user.cpp.gcrypt ./src/zm_user.cpp ---- ./src/zm_user.cpp.gcrypt 2011-08-03 06:31:06.000000000 -0500 -+++ ./src/zm_user.cpp 2012-01-19 12:58:20.654122992 -0600 -@@ -140,6 +140,18 @@ User *zmLoadUser( const char *username, + AC_CHECK_DECLS(backtrace_symbols,,,[#include ]) +diff -up ZoneMinder-1.28.1/src/zm_user.cpp.gcrypt ZoneMinder-1.28.1/src/zm_user.cpp +--- ZoneMinder-1.28.1/src/zm_user.cpp.gcrypt 2015-02-04 21:52:37.000000000 -0500 ++++ ZoneMinder-1.28.1/src/zm_user.cpp 2015-06-12 11:10:08.256091967 -0400 +@@ -144,6 +144,18 @@ User *zmLoadUser( const char *username, return( user ); } @@ -65,22 +78,26 @@ diff -up ./src/zm_user.cpp.gcrypt ./src/zm_user.cpp // Function to validate an authentication string User *zmLoadAuthUser( const char *auth, bool use_remote_addr ) { -diff -up ./src/zm_user.h.gcrypt ./src/zm_user.h ---- ./src/zm_user.h.gcrypt 2010-11-11 06:11:07.000000000 -0600 -+++ ./src/zm_user.h 2012-01-19 13:14:11.200654694 -0600 -@@ -23,14 +23,11 @@ - #ifndef ZM_USER_H - #define ZM_USER_H - --#if HAVE_LIBGNUTLS_OPENSSL --#include - #if HAVE_GCRYPT_H - #include --#endif // HAVE_GCRYPT_H - #elif HAVE_LIBCRYPTO - #include --#endif // HAVE_LIBGNUTLS_OPENSSL || HAVE_LIBCRYPTO -+#endif // HAVE_GCRYPT_H || HAVE_LIBCRYPTO - - class User - { +diff -up ZoneMinder-1.28.1/src/zm_user.h.gcrypt ZoneMinder-1.28.1/src/zm_user.h +--- ZoneMinder-1.28.1/src/zm_user.h.gcrypt 2015-06-12 11:10:08.257091972 -0400 ++++ ZoneMinder-1.28.1/src/zm_user.h 2015-06-12 11:22:11.503378854 -0400 +@@ -23,18 +23,11 @@ + #ifndef ZM_USER_H + #define ZM_USER_H + +-#if HAVE_GNUTLS_OPENSSL_H +-#include +-#endif +-#if HAVE_GNUTLS_GNUTLS_H +-#include +-#endif +- + #if HAVE_GCRYPT_H + #include + #elif HAVE_LIBCRYPTO + #include +-#endif // HAVE_L || HAVE_LIBCRYPTO ++#endif // HAVE_GCRYPT_H || HAVE_LIBCRYPTO + + class User + { diff --git a/zoneminder-1.25.0-noffmpeg.patch b/zoneminder-1.28.1-noffmpeg.patch similarity index 50% rename from zoneminder-1.25.0-noffmpeg.patch rename to zoneminder-1.28.1-noffmpeg.patch index 032222d..fab1a30 100644 --- a/zoneminder-1.25.0-noffmpeg.patch +++ b/zoneminder-1.28.1-noffmpeg.patch @@ -1,7 +1,7 @@ -diff -up ./configure.ac.noffmpeg ./configure.ac ---- ./configure.ac.noffmpeg 2012-01-19 12:53:04.000000000 -0600 -+++ ./configure.ac 2012-01-19 12:54:29.575278231 -0600 -@@ -273,13 +273,13 @@ fi +diff -up ZoneMinder-1.28.1/configure.ac.noffmpeg ZoneMinder-1.28.1/configure.ac +--- ZoneMinder-1.28.1/configure.ac.noffmpeg 2015-06-12 11:01:37.147798556 -0400 ++++ ZoneMinder-1.28.1/configure.ac 2015-06-12 11:04:39.315618375 -0400 +@@ -331,16 +331,16 @@ fi AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) AC_CHECK_LIB(z,zlibVersion) AC_CHECK_LIB(x264,x264_predict_16x16_init) @@ -9,15 +9,19 @@ diff -up ./configure.ac.noffmpeg ./configure.ac +dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) # Don't bother to warn about this one -AC_CHECK_LIB(avcore,av_image_copy,,) --AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) --AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) +-AC_CHECK_LIB(avcodec,avcodec_version,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) +-AC_CHECK_LIB(avformat,avformat_version,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) ++dnl AC_CHECK_LIB(avcore,av_image_copy,,) ++dnl AC_CHECK_LIB(avcodec,avcodec_version,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) ++dnl AC_CHECK_LIB(avformat,avformat_version,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) + #AC_CHECK_LIB(avcodec,avcodec_open,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) + #AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) -AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) -AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) -+dnl AC_CHECK_LIB(avcore,av_image_copy,,) -+dnl AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) -+dnl AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) +-AC_CHECK_LIB(vlc,libvlc_new,,AC_MSG_WARN(libvlc.a may be required for streaming)) +dnl AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) +dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) ++dnl AC_CHECK_LIB(vlc,libvlc_new,,AC_MSG_WARN(libvlc.a may be required for streaming)) AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) AC_CHECK_LIB(z,compress,,) - + AC_CHECK_LIB(curl,curl_global_init,,) diff --git a/zoneminder-1.24.3-runlevel.patch b/zoneminder-1.28.1-runlevel.patch similarity index 51% rename from zoneminder-1.24.3-runlevel.patch rename to zoneminder-1.28.1-runlevel.patch index de7b49b..427cf34 100644 --- a/zoneminder-1.24.3-runlevel.patch +++ b/zoneminder-1.28.1-runlevel.patch @@ -1,6 +1,6 @@ -diff -up ./scripts/zm.in.runlevel ./scripts/zm.in ---- ./scripts/zm.in.runlevel 2010-11-28 15:22:05.000000000 -0600 -+++ ./scripts/zm.in 2011-03-24 21:39:01.973010160 -0500 +diff -up ZoneMinder-1.28.1/scripts/zm.in.runlevel ZoneMinder-1.28.1/scripts/zm.in +--- ZoneMinder-1.28.1/scripts/zm.in.runlevel 2015-06-12 10:58:22.477921885 -0400 ++++ ZoneMinder-1.28.1/scripts/zm.in 2015-06-12 10:59:53.869333454 -0400 @@ -1,6 +1,6 @@ #!/bin/sh # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 @@ -8,4 +8,4 @@ diff -up ./scripts/zm.in.runlevel ./scripts/zm.in +# chkconfig: - 99 00 # processname: zmpkg.pl - # Source function library. + # This script is intended for use with legacy SysV init environments ONLY diff --git a/zoneminder.spec b/zoneminder.spec index e36c42e..48180f0 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.28.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -25,18 +25,14 @@ Source7: zoneminder.logrotate # with zoneminder. As these are javascript, there is no guideline violation # here. #Source8: http://mootools.net/download/get/mootools-1.2.3-core-yc.js -Patch1: zoneminder-1.25.0-dbinstall.patch -Patch2: zoneminder-1.24.3-runlevel.patch -Patch3: zoneminder-1.25.0-noffmpeg.patch -Patch10: zoneminder-1.24.4-installfix.patch -Patch11: zoneminder-1.25.0-gcc47.patch -Patch12: zoneminder-1.25.0-gcrypt.patch -Patch13: zoneminder-1.25.0-kernel35.patch -# Fix a format-security warning, in upstream after 1.26.3 -Patch14: zoneminder-1.25.0-Fix-some-compilation-warnings.patch +Patch2: zoneminder-1.28.1-runlevel.patch +Patch3: zoneminder-1.28.1-noffmpeg.patch +Patch11: zoneminder-1.28.1-gcc47.patch +Patch12: zoneminder-1.28.1-gcrypt.patch BuildRequires: automake gnutls-devel systemd-units BuildRequires: mysql-devel pcre-devel libjpeg-devel +BuildRequires: polkit-devel BuildRequires: perl(Archive::Tar) BuildRequires: perl(Archive::Zip) BuildRequires: perl(Date::Manip) @@ -83,14 +79,10 @@ mv *html *php doc/* README ../jscalendar-doc rmdir doc popd -%patch1 -p0 -b .dbinstall -%patch2 -p0 -b .runlevel -%patch3 -p0 -b .noffmpeg -%patch10 -p0 -b .installfix -%patch11 -p0 -b .gcc47 -%patch12 -p0 -b .gcrypt -%patch13 -p0 -b .kernel35 -%patch14 -p1 -b .format +%patch2 -p1 -b .runlevel +%patch3 -p1 -b .noffmpeg +%patch11 -p1 -b .gcc47 +%patch12 -p1 -b .gcrypt cp %{SOURCE4} README.Fedora chmod -x src/zm_event.cpp src/zm_user.h @@ -206,24 +198,27 @@ fi %files %defattr(-,root,root,-) -%doc AUTHORS COPYING README README.Fedora jscalendar-doc +%doc AUTHORS COPYING README.md README.Fedora jscalendar-doc %config(noreplace) %attr(640,root,%{zmgid_final}) /etc/zm.conf %config(noreplace) %attr(644,root,root) /etc/httpd/conf.d/zoneminder.conf %config(noreplace) /etc/tmpfiles.d/zoneminder.conf %config(noreplace) /etc/logrotate.d/zoneminder %{_unitdir}/zoneminder.service +%{_datadir}/polkit-1/actions/com.zoneminder.systemctl.policy +%{_datadir}/polkit-1/rules.d/com.zoneminder.systemctl.rules %{_bindir}/zma %{_bindir}/zmaudit.pl %{_bindir}/zmc +%{_bindir}/zmcamtool.pl %{_bindir}/zmcontrol.pl %{_bindir}/zmdc.pl %{_bindir}/zmf %{_bindir}/zmfilter.pl -%attr(4755,root,root) %{_bindir}/zmfix %{_bindir}/zmpkg.pl %{_bindir}/zmstreamer +%{_bindir}/zmsystemctl.pl %{_bindir}/zmtrack.pl %{_bindir}/zmtrigger.pl %{_bindir}/zmu @@ -251,6 +246,12 @@ fi %changelog +* Fri Jun 12 2015 Charles R. Anderson - 1.28.1-3 +- Update patches to apply against 1.28.1 +- Remove unneeded patches +- zmfix no longer provided +- zmcamtool.pl and zmsystemctl.pl added + * Sat Jun 06 2015 Jitka Plesnikova - 1.28.1-2 - Perl 5.22 rebuild From 5ca5e1a30d51331cf92cf61c71810e9daabb05c3 Mon Sep 17 00:00:00 2001 From: Dennis Gilmore Date: Fri, 19 Jun 2015 04:50:03 +0000 Subject: [PATCH 78/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 48180f0..f23125a 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.28.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -246,6 +246,9 @@ fi %changelog +* Fri Jun 19 2015 Fedora Release Engineering - 1.28.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + * Fri Jun 12 2015 Charles R. Anderson - 1.28.1-3 - Update patches to apply against 1.28.1 - Remove unneeded patches From 91475aef518b1ff5b82dc94826d664f5af52febd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 5 Feb 2016 04:08:34 +0000 Subject: [PATCH 79/82] - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index f23125a..5e59fda 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.28.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -246,6 +246,9 @@ fi %changelog +* Fri Feb 05 2016 Fedora Release Engineering - 1.28.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + * Fri Jun 19 2015 Fedora Release Engineering - 1.28.1-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild From fcc625e70b9f7558708b00b68ebad0882b6adf05 Mon Sep 17 00:00:00 2001 From: Jitka Plesnikova Date: Mon, 16 May 2016 17:03:45 +0200 Subject: [PATCH 80/82] Perl 5.24 rebuild --- zoneminder.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zoneminder.spec b/zoneminder.spec index 5e59fda..9c4f544 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -5,7 +5,7 @@ Name: zoneminder Version: 1.28.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: A camera monitoring and analysis tool Group: System Environment/Daemons # jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ @@ -246,6 +246,9 @@ fi %changelog +* Mon May 16 2016 Jitka Plesnikova - 1.28.1-6 +- Perl 5.24 rebuild + * Fri Feb 05 2016 Fedora Release Engineering - 1.28.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild From 9465aeb66bd0db0303f6813981251ad17fa121a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= Date: Fri, 24 Jun 2016 09:53:36 +0200 Subject: [PATCH 81/82] Mandatory Perl build-requires added --- zoneminder.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/zoneminder.spec b/zoneminder.spec index 9c4f544..030d971 100644 --- a/zoneminder.spec +++ b/zoneminder.spec @@ -33,6 +33,7 @@ Patch12: zoneminder-1.28.1-gcrypt.patch BuildRequires: automake gnutls-devel systemd-units BuildRequires: mysql-devel pcre-devel libjpeg-devel BuildRequires: polkit-devel +BuildRequires: perl-generators BuildRequires: perl(Archive::Tar) BuildRequires: perl(Archive::Zip) BuildRequires: perl(Date::Manip) From 8f7f5a9a6d0aa2f9e2ee72e5e0c8294eb2a61828 Mon Sep 17 00:00:00 2001 From: "Charles R. Anderson" Date: Fri, 6 Jan 2017 11:38:11 -0500 Subject: [PATCH 82/82] Moving to rpmfusion repo --- .gitignore | 11 - README.Fedora | 82 ------ dead.package | 1 + redalert.wav | Bin 45404 -> 0 bytes sources | 2 - zoneminder-1.28.1-gcc47.patch | 23 -- zoneminder-1.28.1-gcrypt.patch | 103 ------- zoneminder-1.28.1-noffmpeg.patch | 27 -- zoneminder-1.28.1-runlevel.patch | 11 - zoneminder-svn-checkout.sh | 10 - zoneminder.conf | 45 --- zoneminder.logrotate | 8 - zoneminder.service | 12 - zoneminder.spec | 483 ------------------------------- 14 files changed, 1 insertion(+), 817 deletions(-) delete mode 100644 .gitignore delete mode 100644 README.Fedora create mode 100644 dead.package delete mode 100644 redalert.wav delete mode 100644 sources delete mode 100644 zoneminder-1.28.1-gcc47.patch delete mode 100644 zoneminder-1.28.1-gcrypt.patch delete mode 100644 zoneminder-1.28.1-noffmpeg.patch delete mode 100644 zoneminder-1.28.1-runlevel.patch delete mode 100755 zoneminder-svn-checkout.sh delete mode 100644 zoneminder.conf delete mode 100644 zoneminder.logrotate delete mode 100644 zoneminder.service delete mode 100644 zoneminder.spec diff --git a/.gitignore b/.gitignore deleted file mode 100644 index c289abc..0000000 --- a/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -cambozola-0.68.tar.gz -jscalendar-1.0.zip -mootools-1.2.3-core-yc.js -ZoneMinder-1.24.2.tar.gz -/ZoneMinder-1.24.3.tar.gz -/zoneminder-20110324svn.tar.xz -/ZoneMinder-1.24.4.tar.gz -/ZoneMinder-1.25.0.tar.gz -/v1.28.1.tar.gz -*.rpm -ZoneMinder-*/ diff --git a/README.Fedora b/README.Fedora deleted file mode 100644 index 961aadd..0000000 --- a/README.Fedora +++ /dev/null @@ -1,82 +0,0 @@ -New installs -============ - -1. Unless you are already using the MySQL server or you are running it - remotely you will need to ensure that the server is installed and secured: - - yum install mysql-server - systemctl enable mysqld - systemctl start mysqld - mysql_secure_installation - -2. You will need to create the ZoneMinder database. These commands should do - the trick, assuming your database server is local: - - mysql -u root -p < /usr/share/zoneminder/db/zm_create.sql - mysqladmin reload - -3. The database needs a user. One is not created by default because this would - introduce an obvious security issue. The following should set this up: - - mysql -u root -p - grant select,insert,update,delete on zm.* to 'zmuser'@localhost identified by 'zmpass'; - - Obviously, change at least zmpass to an actual, secure password or - passphrase. You can change zmuser as well if you like. - -4. Edit /etc/zm.conf and, at the bottom, change ZM_DB_PASS and perhaps - ZM_DB_USER to match. - -5. Edit /etc/php.ini, uncomment the date.timezone line, and add your local - timezone. For whatever reason, PHP will complain loudly if this is not set, - or if it is set incorrectly, and these complaints will show up in the - zoneminder logging system as errors. - - If you are not sure of the proper timezone specification to use, run - timedatectl. - -6. This package probably does not work with SELinux enabled at the moment. It - may be necessary to disable SELinux for httpd, or even completely for - ZoneMinder to function. The policy is being worked on and the issues will be - addressed in a later release. Run - - setenforce 0 - - for testing, and edit /etc/sysconfig/selinux to disable it at boot time. - -7. Enable and start the zoneminder service: - - systemctl enable zoneminder - systemctl start zoneminder - -8. The ZoneMinder web interface is disabled by default (which makes it rather - useless but also secure by default), you will need to edit - /etc/httpd/conf.d/zoneminder.conf to enable it. Afterwards, you can start - the web server: - - systemctl enable httpd.service - systemctl start httpd.service - -9. You should immediately visit http://localhost/zm and secure the system if - it is network facing. To do this: - - a) click Options, then System. - b) check OPT_USE_AUTH. - c) set AUTH_HASH_SECRET to a random string. - d) click Save and refresh the main browser window. - e) You should be prompted to log in; the default username/password is admin/admin. - f) Open Options again, choose the newly visible Users tab. - g) click the admin user and set a password. - - -Upgrades -======== - -1. Update /etc/zm.conf. Check for any new settings and update the version - information. Comparing /etc/zm.conf and /etc/zm.conf.rpmnew should help to - do this. - -2. You will need to upgrade the ZoneMinder database as described in the - manual. This command should be sufficient when run as root: - - zmupdate.pl --version= diff --git a/dead.package b/dead.package new file mode 100644 index 0000000..d82fb65 --- /dev/null +++ b/dead.package @@ -0,0 +1 @@ +Moving to rpmfusion repo diff --git a/redalert.wav b/redalert.wav deleted file mode 100644 index 41e23e0794bdc42f187e51b454767b51727346c5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 45404 zcmaHhRd7@ZpkS}GyT>~2?t}or-60GzxNC5CcOM8dxVyVM1d3vq+^O$;X^sBXX*FdSM3MMI;&Xn;dyl2t@C;X`g9wd8Ut z7@&g!$O|^YQ)u02%V7#+0VTvIY&2^2)S@1|gVI8S=+hY;bO+1^D+w_+)?;*=Jb}23 z>H~4;jf}sTqZl+A2-3&`tQsARmEw)$Pk;|?hk8R7Km#xvfPlMHDs_@v8HEyP!4Te&83yrr6|NJQyQ9R?l|qI{6Yh$pG2$Y&$~-MUZtKm&@bqa82{n;P-(f z+Bb%ZIi8tBH-l5j8Q62rV^0!xo`?n%5CZ*%G+;9j2AHS_U?=b#H~~ZekEwOkLuxWG z0h|bl;J$DfR0vK7O2`~yBOZre!JCN!Diqp88^T~Q=P{Ph_JZ@s&zJ<==*jckMq99H zL^PEQM!;KW_h~C(8JJCm;X^S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Ggs=_X!v$yxdnuesn4HGY6AFR`kOXq5 zqB3%m4x%9%G~l2js-OVq4r}2w9D^BPg1>1Vji(>!D%mIm;vp2|AdsJUP=gLsAOS{< z5M-bP6(~UtGLVBD6#usW^8dpBHKqh5C_oC5f6v!|2IN5GCq@b|LNI8-PnA?j0MSq% z62MNU=zE$#KT{R;gI(}DEP^KBp)ATHfx@8%M1c&fR7%yPf>=m~P^hMVXg4jV^>mgB zC=gPh2I#>_WmHWXNPrrkgK~OD#gqbD!43&1!^02^`)CM_pndd(Vxb|#g9NN(C89tG z0~08Lk)McU|IS(kGLV226#tvi|H=A4eE+4wf3yF;f<i|NH-`0{^`;|I - #include - #include -+#include - #include - #include - #include -diff -up ZoneMinder-1.28.1/src/zm_logger.cpp.gcc47 ZoneMinder-1.28.1/src/zm_logger.cpp ---- ZoneMinder-1.28.1/src/zm_logger.cpp.gcc47 2015-02-04 21:52:37.000000000 -0500 -+++ ZoneMinder-1.28.1/src/zm_logger.cpp 2015-06-12 11:07:38.296420176 -0400 -@@ -31,6 +31,7 @@ - #include - #include - #include -+#include - - bool Logger::smInitialised = false; - Logger *Logger::smInstance = 0; -diff -up ZoneMinder-1.28.1/src/zm_thread.h.gcc47 ZoneMinder-1.28.1/src/zm_thread.h diff --git a/zoneminder-1.28.1-gcrypt.patch b/zoneminder-1.28.1-gcrypt.patch deleted file mode 100644 index 0f18ae6..0000000 --- a/zoneminder-1.28.1-gcrypt.patch +++ /dev/null @@ -1,103 +0,0 @@ -diff -up ZoneMinder-1.28.1/configure.ac.gcrypt ZoneMinder-1.28.1/configure.ac ---- ZoneMinder-1.28.1/configure.ac.gcrypt 2015-06-12 11:10:08.256091967 -0400 -+++ ZoneMinder-1.28.1/configure.ac 2015-06-12 11:19:51.190736931 -0400 -@@ -40,7 +40,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo - AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm]) - AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser]) - AC_ARG_VAR(ZM_DB_PASS,[Password of ZoneMinder database user, default zmpass]) --AC_ARG_VAR(ZM_SSL_LIB,[Library to use for ssl functions, default gnutls]) -+AC_ARG_VAR(ZM_SSL_LIB,[Library to use for MD5 function, default libgcrypt]) - AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default InnoDB]) - AC_ARG_VAR(ZM_RUNDIR,[Location of transient process files, default /var/run/zm]) - AC_ARG_VAR(ZM_SOCKDIR,[Location of Unix domain socket files, default /var/run/zm]) -@@ -64,7 +64,7 @@ if test "$ZM_DB_PASS" == ""; then - AC_SUBST(ZM_DB_PASS,[zmpass]) - fi - if test "$ZM_SSL_LIB" == ""; then -- AC_SUBST(ZM_SSL_LIB,gnutls) -+ AC_SUBST(ZM_SSL_LIB,libgcrypt) - fi - if test "$ZM_MYSQL_ENGINE" == ""; then - AC_SUBST(ZM_MYSQL_ENGINE,InnoDB) -@@ -314,19 +314,10 @@ AC_CHECK_LIB(pthread,pthread_create,,AC_ - AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a)) - if test "$ZM_SSL_LIB" == "openssl"; then - AC_CHECK_HEADERS(openssl/md5.h,,AC_MSG_WARN(zm requires openssl/md5.h header to be installed for openssl),) --AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select gnutls instead])) -+AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select libgcrypt instead])) - else --AC_CHECK_HEADERS(gnutls/openssl.h,AC_SUBST(ZM_HAS_GNUTLS_OPENSSL,1),AC_SUBST(ZM_HAS_GNUTLS_OPENSSL,0),) --AC_CHECK_HEADERS(gnutls/gnutls.h,AC_SUBST(ZM_HAS_GNUTLS,1),AC_SUBST(ZM_HAS_GNUTLS,0),) --if test "$ZM_HAS_GNUTLS_OPENSSL" == "0" && test "$ZM_HAS_GNUTLS" == "0"; then --AC_MSG_WARN(gnutls is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead) --fi --AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed for gnutls),) -+AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed),) - AC_CHECK_LIB(gcrypt,gcry_check_version,,AC_MSG_WARN([libgcrypt.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) --AC_CHECK_LIB(gnutls,gnutls_fingerprint,,AC_MSG_WARN([libgnutls.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) --if test "$ZM_HAS_GNUTLS_OPENSSL" == "1"; then --AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([libgnutls.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead])) --fi - fi - AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) - AC_CHECK_LIB(z,zlibVersion) -@@ -386,14 +377,6 @@ AC_CHECK_HEADERS(curl/curl.h,,,) - if test "$ZM_SSL_LIB" == "openssl"; then - AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires openssl/md5.h - use ZM_SSL_LIB option to select gnutls instead]),[#include - #include ]) --else --if test "$ZM_HAS_GNUTLS_OPENSSL" == "1"; then --AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires gnutls/openssl.h - use ZM_SSL_LIB option to select openssl instead]),[#include --#include ]) --else --AC_CHECK_DECLS(gnutls_fingerprint,,AC_MSG_ERROR([zm requires gnutls/gnutls.h - use ZM_SSL_LIB option to select openssl instead]),[#include --#include ]) --fi - fi - AC_CHECK_DECLS(backtrace,,,[#include ]) - AC_CHECK_DECLS(backtrace_symbols,,,[#include ]) -diff -up ZoneMinder-1.28.1/src/zm_user.cpp.gcrypt ZoneMinder-1.28.1/src/zm_user.cpp ---- ZoneMinder-1.28.1/src/zm_user.cpp.gcrypt 2015-02-04 21:52:37.000000000 -0500 -+++ ZoneMinder-1.28.1/src/zm_user.cpp 2015-06-12 11:10:08.256091967 -0400 -@@ -144,6 +144,18 @@ User *zmLoadUser( const char *username, - return( user ); - } - -+#ifdef HAVE_GCRYPT_H -+#define HAVE_DECL_MD5 1 -+#define MD5_DIGEST_LENGTH 16 -+static unsigned char *MD5(const unsigned char *data, unsigned long len, -+ unsigned char *md) -+{ -+ gcry_md_hash_buffer(GCRY_MD_MD5, md, data, len); -+ -+ return md; -+} -+#endif -+ - // Function to validate an authentication string - User *zmLoadAuthUser( const char *auth, bool use_remote_addr ) - { -diff -up ZoneMinder-1.28.1/src/zm_user.h.gcrypt ZoneMinder-1.28.1/src/zm_user.h ---- ZoneMinder-1.28.1/src/zm_user.h.gcrypt 2015-06-12 11:10:08.257091972 -0400 -+++ ZoneMinder-1.28.1/src/zm_user.h 2015-06-12 11:22:11.503378854 -0400 -@@ -23,18 +23,11 @@ - #ifndef ZM_USER_H - #define ZM_USER_H - --#if HAVE_GNUTLS_OPENSSL_H --#include --#endif --#if HAVE_GNUTLS_GNUTLS_H --#include --#endif -- - #if HAVE_GCRYPT_H - #include - #elif HAVE_LIBCRYPTO - #include --#endif // HAVE_L || HAVE_LIBCRYPTO -+#endif // HAVE_GCRYPT_H || HAVE_LIBCRYPTO - - class User - { diff --git a/zoneminder-1.28.1-noffmpeg.patch b/zoneminder-1.28.1-noffmpeg.patch deleted file mode 100644 index fab1a30..0000000 --- a/zoneminder-1.28.1-noffmpeg.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -up ZoneMinder-1.28.1/configure.ac.noffmpeg ZoneMinder-1.28.1/configure.ac ---- ZoneMinder-1.28.1/configure.ac.noffmpeg 2015-06-12 11:01:37.147798556 -0400 -+++ ZoneMinder-1.28.1/configure.ac 2015-06-12 11:04:39.315618375 -0400 -@@ -331,16 +331,16 @@ fi - AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support)) - AC_CHECK_LIB(z,zlibVersion) - AC_CHECK_LIB(x264,x264_predict_16x16_init) --AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) -+dnl AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming)) - # Don't bother to warn about this one --AC_CHECK_LIB(avcore,av_image_copy,,) --AC_CHECK_LIB(avcodec,avcodec_version,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) --AC_CHECK_LIB(avformat,avformat_version,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) -+dnl AC_CHECK_LIB(avcore,av_image_copy,,) -+dnl AC_CHECK_LIB(avcodec,avcodec_version,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) -+dnl AC_CHECK_LIB(avformat,avformat_version,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) - #AC_CHECK_LIB(avcodec,avcodec_open,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming)) - #AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming)) --AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) --AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) --AC_CHECK_LIB(vlc,libvlc_new,,AC_MSG_WARN(libvlc.a may be required for streaming)) -+dnl AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming)) -+dnl AC_CHECK_LIB(swscale,sws_scale,,,-lswscale) -+dnl AC_CHECK_LIB(vlc,libvlc_new,,AC_MSG_WARN(libvlc.a may be required for streaming)) - AC_CHECK_LIB(bz2,BZ2_bzCompress,,AC_MSG_WARN(zm requires libbz2.a for recent versions of ffmpeg)) - AC_CHECK_LIB(z,compress,,) - AC_CHECK_LIB(curl,curl_global_init,,) diff --git a/zoneminder-1.28.1-runlevel.patch b/zoneminder-1.28.1-runlevel.patch deleted file mode 100644 index 427cf34..0000000 --- a/zoneminder-1.28.1-runlevel.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up ZoneMinder-1.28.1/scripts/zm.in.runlevel ZoneMinder-1.28.1/scripts/zm.in ---- ZoneMinder-1.28.1/scripts/zm.in.runlevel 2015-06-12 10:58:22.477921885 -0400 -+++ ZoneMinder-1.28.1/scripts/zm.in 2015-06-12 10:59:53.869333454 -0400 -@@ -1,6 +1,6 @@ - #!/bin/sh - # description: ZoneMinder is the top Linux video camera security and surveillance solution. ZoneMinder is intended for use in single or multi-camera video security applications.Copyright: Philip Coombes, Corey DeLasaux 2003-2008 --# chkconfig: 2345 99 00 -+# chkconfig: - 99 00 - # processname: zmpkg.pl - - # This script is intended for use with legacy SysV init environments ONLY diff --git a/zoneminder-svn-checkout.sh b/zoneminder-svn-checkout.sh deleted file mode 100755 index e30ff4a..0000000 --- a/zoneminder-svn-checkout.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/bash -DATE=$(date +%Y%m%d) - -set -x - -rm -rf zm -svn export http://svn.zoneminder.com/svn/zm/trunk zm -tar cJf zoneminder-${DATE}svn.tar.xz zm - -rm -rf zm diff --git a/zoneminder.conf b/zoneminder.conf deleted file mode 100644 index 597ea2b..0000000 --- a/zoneminder.conf +++ /dev/null @@ -1,45 +0,0 @@ -# The Zoneminder web interface has been disabled by default due to a small -# security issue in the default install. -# -# When using Zoneminder's own authentication, recorded CCTV images are -# accessible from the web directly without passing the authentication. This -# means any attacker could see your CCTV images without a password. In order -# to avoid this you can disable Zoneminder's authentication and configure -# standard Apache authentication (see the Apache documentation for details on -# this). -# -# If you still wish to use Zoneminder's own authentication, or have an -# internal site which needs no authentication, you need to delete the line -# marked below and restart Apache. - -Alias /zm "/usr/share/zoneminder/www" - - Options -Indexes +MultiViews +FollowSymLinks - AllowOverride All - - # Apache 2.4 - Require all granted - - - # Apache 2.2 - Order deny,allow - Allow from all - - # The code unfortunately uses short tags in many places - php_value short_open_tag 1 - - -ScriptAlias /cgi-bin/zm "/usr/libexec/zoneminder/cgi-bin" - - AllowOverride All - Options ExecCGI - - # Apache 2.4 - Require all granted - - - # Apache 2.2 - Order deny,allow - Allow from all - - diff --git a/zoneminder.logrotate b/zoneminder.logrotate deleted file mode 100644 index 7bd1d18..0000000 --- a/zoneminder.logrotate +++ /dev/null @@ -1,8 +0,0 @@ -/var/log/zoneminder/*.log { - missingok - notifempty - sharedscripts - postrotate - /usr/bin/zmpkg.pl logrot 2> /dev/null > /dev/null || : - endscript -} diff --git a/zoneminder.service b/zoneminder.service deleted file mode 100644 index d59fc67..0000000 --- a/zoneminder.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=Video security and surveillance system - -[Service] -Type=forking -ExecStart=/usr/bin/zmpkg.pl start -ExecReload=/usr/bin/zmpkg.pl reload -PIDFile=/run/zoneminder/zm.pid - -[Install] -WantedBy=multi-user.target - diff --git a/zoneminder.spec b/zoneminder.spec deleted file mode 100644 index 030d971..0000000 --- a/zoneminder.spec +++ /dev/null @@ -1,483 +0,0 @@ -%define zmuid $(id -un) -%define zmgid $(id -gn) -%define zmuid_final apache -%define zmgid_final apache - -Name: zoneminder -Version: 1.28.1 -Release: 6%{?dist} -Summary: A camera monitoring and analysis tool -Group: System Environment/Daemons -# jscalendar is LGPL (any version): http://www.dynarch.com/projects/calendar/ -# Mootools is inder the MIT license: http://mootools.net/ -License: GPLv2+ and LGPLv2+ and MIT -URL: http://www.zoneminder.com/ - -Source: https://github.com/ZoneMinder/ZoneMinder/archive/v%{version}.tar.gz -Source2: zoneminder.conf -Source3: redalert.wav -Source4: README.Fedora -Source5: http://downloads.sourceforge.net/jscalendar/jscalendar-1.0.zip -Source6: zoneminder.service -Source7: zoneminder.logrotate -# Need to unravel the proper mootools files to grab from upstream, since the -# number of them keeps multiplying. In the meantime, rely on the ones bundled -# with zoneminder. As these are javascript, there is no guideline violation -# here. -#Source8: http://mootools.net/download/get/mootools-1.2.3-core-yc.js -Patch2: zoneminder-1.28.1-runlevel.patch -Patch3: zoneminder-1.28.1-noffmpeg.patch -Patch11: zoneminder-1.28.1-gcc47.patch -Patch12: zoneminder-1.28.1-gcrypt.patch - -BuildRequires: automake gnutls-devel systemd-units -BuildRequires: mysql-devel pcre-devel libjpeg-devel -BuildRequires: polkit-devel -BuildRequires: perl-generators -BuildRequires: perl(Archive::Tar) -BuildRequires: perl(Archive::Zip) -BuildRequires: perl(Date::Manip) -BuildRequires: perl(DBD::mysql) -BuildRequires: perl(DBI) -BuildRequires: perl(ExtUtils::MakeMaker) -BuildRequires: perl(Getopt::Long) -BuildRequires: perl(LWP::UserAgent) -BuildRequires: perl(MIME::Entity) -BuildRequires: perl(MIME::Lite) -BuildRequires: perl(PHP::Serialization) -BuildRequires: perl(Sys::Mmap) -BuildRequires: perl(Sys::Syslog) -BuildRequires: perl(Time::HiRes) - -Requires: httpd php php-mysql cambozola -Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) -Requires: perl(DBD::mysql) perl(Archive::Tar) perl(Archive::Zip) -Requires: perl(MIME::Entity) perl(MIME::Lite) perl(Net::SMTP) perl(Net::FTP) - -Requires(post): systemd-units systemd-sysv -Requires(preun): systemd-units -Requires(postun): systemd-units - - -%description -ZoneMinder is a set of applications which is intended to provide a complete -solution allowing you to capture, analyse, record and monitor any cameras you -have attached to a Linux based machine. It is designed to run on kernels which -support the Video For Linux (V4L) interface and has been tested with cameras -attached to BTTV cards, various USB cameras and IP network cameras. It is -designed to support as many cameras as you can attach to your computer without -too much degradation of performance. - - -%prep -%setup -q -n ZoneMinder-%{version} - -# Unpack jscalendar and move some files around -%setup -q -D -T -a 5 -n ZoneMinder-%{version} -mkdir jscalendar-doc -pushd jscalendar-1.0 -mv *html *php doc/* README ../jscalendar-doc -rmdir doc -popd - -%patch2 -p1 -b .runlevel -%patch3 -p1 -b .noffmpeg -%patch11 -p1 -b .gcc47 -%patch12 -p1 -b .gcrypt -cp %{SOURCE4} README.Fedora -chmod -x src/zm_event.cpp src/zm_user.h - - -%build -autoreconf --install - -OPTS="" -%ifnarch %{ix86} x86_64 - OPTS="$OPTS --disable-crashtrace" -%endif - -export ZM_RUNDIR=/var/run/zoneminder -export ZM_TMPDIR=/var/lib/zoneminder/temp -%configure \ - --with-libarch=%{_lib} \ - --with-mysql=%{_prefix} \ - --with-webdir=%{_datadir}/%{name}/www \ - --with-cgidir=%{_libexecdir}/%{name}/cgi-bin \ - --with-webuser=%{zmuid} \ - --with-webgroup=%{zmgid} \ - --enable-mmap=yes \ - --disable-debug \ - $OPTS - -# Have to do this now because the configure script wipes out modifications made to this file -cat <> db/zm_create.sql -# Fedora change: -# Alter some default paths to match the default URL and selinux expectations -update Config set Value = '/cgi-bin/zm/nph-zms' where Name = 'ZM_PATH_ZMS'; -update Config set Value = '/var/log/zoneminder' where Name = 'ZM_PATH_LOGS'; -update Config set Value = '/var/log/zoneminder/zm_debug_log+' where Name = 'ZM_EXTRA_DEBUG_LOG'; -update Config set Value = '/var/log/zoneminder/zm_xml.log' where Name = 'ZM_EYEZM_LOG_FILE'; -update Config set Value = '/var/lib/zoneminder/sock' where Name = 'ZM_PATH_SOCKS'; -update Config set Value = '/var/lib/zoneminder/swap' where Name = 'ZM_PATH_SWAP'; -update Config set Value = '/var/spool/zoneminder-upload' where Name = 'ZM_UPLOAD_FTP_LOC_DIR'; -EOF - -make %{?_smp_mflags} -%{__perl} -pi -e 's/(ZM_WEB_USER=).*$/${1}%{zmuid_final}/;' \ - -e 's/(ZM_WEB_GROUP=).*$/${1}%{zmgid_final}/;' zm.conf - - -%install -install -d %{buildroot}/%{_localstatedir}/run -make install DESTDIR=%{buildroot} \ - INSTALLDIRS=vendor -rm -rf %{buildroot}/%{perl_vendorarch} %{buildroot}/%{perl_archlib} -rm -f %{buildroot}/%{_bindir}/zmx10.pl - -install -m 755 -d %{buildroot}/var/log/zoneminder -for dir in events images temp -do - install -m 755 -d %{buildroot}/var/lib/zoneminder/$dir - rmdir %{buildroot}/%{_datadir}/zoneminder/www/$dir - ln -sf ../../../../var/lib/zoneminder/$dir %{buildroot}/%{_datadir}/zoneminder/www/$dir -done -install -m 755 -d %{buildroot}/var/lib/zoneminder/sock -install -m 755 -d %{buildroot}/var/lib/zoneminder/swap -install -m 755 -d %{buildroot}/var/spool/zoneminder-upload - -install -D -m 644 %{SOURCE2} %{buildroot}/etc/httpd/conf.d/zoneminder.conf -install -D -m 755 %{SOURCE3} %{buildroot}/%{_datadir}/zoneminder/www/sounds/redalert.wav -install -D -m 644 %{SOURCE6} %{buildroot}/%{_unitdir}/zoneminder.service -install -D -m 644 %{SOURCE7} %{buildroot}/etc/logrotate.d/zoneminder - -# Install jscalendar - this really should be in its own package -install -d -m 755 %{buildroot}/%{_datadir}/%{name}/www/jscalendar -cp -rp jscalendar-1.0/* %{buildroot}/%{_datadir}/zoneminder/www/jscalendar - -# Set up cambozola -pushd %{buildroot}/%{_datadir}/zoneminder/www -ln -s ../../java/cambozola.jar -popd - -install -d -m 755 %{buildroot}/etc/tmpfiles.d -cat > %{buildroot}/etc/tmpfiles.d/zoneminder.conf </dev/null 2>&1 || : -fi - -%preun -if [ $1 -eq 0 ] ; then - # Package removal, not upgrade - /bin/systemctl --no-reload disable zoneminder.service > /dev/null 2>&1 || : - /bin/systemctl stop zoneminder.service > /dev/null 2>&1 || : -fi - -%postun -/bin/systemctl daemon-reload >/dev/null 2>&1 || : -if [ $1 -ge 1 ] ; then - # Package upgrade, not uninstall - /bin/systemctl try-restart zoneminder.service >/dev/null 2>&1 || : -fi - -%triggerun -- zoneminder < 1.25.0-4 -# Save the current service runlevel info -# User must manually run systemd-sysv-convert --apply zoneminder -# to migrate them to systemd targets -/usr/bin/systemd-sysv-convert --save zoneminder >/dev/null 2>&1 ||: - -# Run these because the SysV package being removed won't do them -/sbin/chkconfig --del zoneminder >/dev/null 2>&1 || : -/bin/systemctl try-restart zoneminder.service >/dev/null 2>&1 || : - - -%files -%defattr(-,root,root,-) -%doc AUTHORS COPYING README.md README.Fedora jscalendar-doc -%config(noreplace) %attr(640,root,%{zmgid_final}) /etc/zm.conf -%config(noreplace) %attr(644,root,root) /etc/httpd/conf.d/zoneminder.conf -%config(noreplace) /etc/tmpfiles.d/zoneminder.conf -%config(noreplace) /etc/logrotate.d/zoneminder - -%{_unitdir}/zoneminder.service -%{_datadir}/polkit-1/actions/com.zoneminder.systemctl.policy -%{_datadir}/polkit-1/rules.d/com.zoneminder.systemctl.rules - -%{_bindir}/zma -%{_bindir}/zmaudit.pl -%{_bindir}/zmc -%{_bindir}/zmcamtool.pl -%{_bindir}/zmcontrol.pl -%{_bindir}/zmdc.pl -%{_bindir}/zmf -%{_bindir}/zmfilter.pl -%{_bindir}/zmpkg.pl -%{_bindir}/zmstreamer -%{_bindir}/zmsystemctl.pl -%{_bindir}/zmtrack.pl -%{_bindir}/zmtrigger.pl -%{_bindir}/zmu -%{_bindir}/zmupdate.pl -%{_bindir}/zmvideo.pl -%{_bindir}/zmwatch.pl - -%{perl_vendorlib}/ZoneMinder* -%{_mandir}/man*/* -%dir %{_libexecdir}/zoneminder -%{_libexecdir}/zoneminder/cgi-bin -%dir %{_datadir}/zoneminder -%{_datadir}/zoneminder/db -%{_datadir}/zoneminder/www - -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/events -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/images -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/sock -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/swap -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/lib/zoneminder/temp -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/log/zoneminder -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /var/spool/zoneminder-upload -%dir %attr(755,%{zmuid_final},%{zmgid_final}) /run/zoneminder - - -%changelog -* Mon May 16 2016 Jitka Plesnikova - 1.28.1-6 -- Perl 5.24 rebuild - -* Fri Feb 05 2016 Fedora Release Engineering - 1.28.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 1.28.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Jun 12 2015 Charles R. Anderson - 1.28.1-3 -- Update patches to apply against 1.28.1 -- Remove unneeded patches -- zmfix no longer provided -- zmcamtool.pl and zmsystemctl.pl added - -* Sat Jun 06 2015 Jitka Plesnikova - 1.28.1-2 -- Perl 5.22 rebuild - -* Mon Sep 01 2014 Jitka Plesnikova - 1.25.0-20 -- Perl 5.20 rebuild - -* Thu Aug 21 2014 Kevin Fenzi - 1.25.0-19 -- Rebuild for rpm bug 1131960 - -* Mon Aug 18 2014 Fedora Release Engineering - 1.25.0-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Thu Jun 12 2014 Petr Pisar - 1.25.0-17 -- Allow autotools to install missing files (bug #1059131) -- Fix a format-security warning - -* Sat Jun 07 2014 Fedora Release Engineering - 1.25.0-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Aug 04 2013 Fedora Release Engineering - 1.25.0-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Mon Jul 29 2013 Petr Pisar - 1.25.0-14 -- Perl 5.18 rebuild -- Specify mandatory perl dependencies - -* Fri Feb 15 2013 Fedora Release Engineering - 1.25.0-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Mon Jan 21 2013 Adam Tkac - 1.25.0-12 -- rebuild due to "jpeg8-ABI" feature drop - -* Mon Jan 7 2013 Remi Collet - 1.25.0-11 -- fix configuration file for httpd 2.4, #871502 - -* Fri Dec 21 2012 Adam Tkac - 1.25.0-10 -- rebuild against new libjpeg - -* Thu Aug 09 2012 Jason L Tibbitts III - 1.25.0-9 -- Add patch to work around v4l2 api breakage in 3.5 kernel. - -* Sun Jul 22 2012 Fedora Release Engineering - 1.25.0-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jun 23 2012 Petr Pisar - 1.25.0-7 -- Perl 5.16 rebuild - -* Wed Mar 21 2012 Jason L Tibbitts III - 1.25.0-6 -- Fix stupid thinko in sql modifications. - -* Sat Feb 25 2012 Jason L Tibbitts III - 1.25.0-5 -- Clean up macro usage. - -* Sat Feb 25 2012 Jason L Tibbitts III - 1.25.0-4 -- Convert to systemd. -- Add tmpfiles.d configuration since the initscript isn't around to create - /run/zoneminder. -- Remove some pointless executable permissions. -- Add logrotate file. - -* Wed Feb 22 2012 Jason L Tibbitts III - 1.25.0-3 -- Update README.Fedora to reference systemctl and mention timezone info in - php.ini. -- Add proper default for EYEZM_LOG_TO_FILE. - - -* Thu Feb 09 2012 Jason L Tibbitts III - 1.25.0-2 -- Rebuild for new pcre. - -* Thu Jan 19 2012 Jason L Tibbitts III - 1.25.0-1 -- Update to 1.25.0 -- Fix gcc4.7 build problems. -- Drop gcc4.4 build fixes; for whatever reason they now break the build. -- Clean up old patches. -- Force setting of ZM_TMPDIR and ZM_RUNDIR. - -* Sat Jan 14 2012 Fedora Release Engineering - 1.24.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Thu Sep 15 2011 Jason L Tibbitts III - 1.24.4-3 -- Re-add the dist-tag that somehow got lost. - -* Thu Sep 15 2011 Jason L Tibbitts III - 1.24.4-2 -- Add patch for bug 711780 - fix syntax issue in Mapped.pm. -- Undo that patch, and undo another which was the cause of the whole mess. -- Fix up other patches so ZM_PATH_BUILD is both defined and useful. -- Make sure database creation mods actually take. -- Update Fedora-specific docs with some additional info. -- Use bundled mootools (javascript, so no guideline violation). -- Update download location. -- Update the gcrypt patch to actually work. -- Upstream changed the tarball without changing the version to patch a - vulnerability, so redownload. - -* Sun Aug 14 2011 Jason L Tibbitts III - 1.24.4-1 -- Initial attempt to upgrade to 1.24.4. -- Add patch from BZ 460310 to build against libgcrypt instead of requiring the - gnutls openssl libs. - -* Thu Jul 21 2011 Petr Sabata - 1.24.3-7.20110324svn3310 -- Perl mass rebuild - -* Wed Jul 20 2011 Petr Sabata - 1.24.3-6.20110324svn3310 -- Perl mass rebuild - -* Mon May 09 2011 Jason L Tibbitts III - 1.24.3-5.20110324svn3310 -- Bump for gnutls update. - -* Thu Mar 24 2011 Jason L Tibbitts III - 1.24.3-4.20110324svn3310 -- Update to latest 1.24.3 subversion. Turns out that what upstream was calling - 1.24.3 is really just an occasionally updated devel snapshot. -- Rebase various patches. - -* Wed Mar 23 2011 Dan Horák - 1.24.3-3 -- rebuilt for mysql 5.5.10 (soname bump in libmysqlclient) - -* Tue Feb 08 2011 Fedora Release Engineering - 1.24.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Tue Jan 25 2011 Jason L Tibbitts III - 1.24.3-1 -- Update to latest upstream version. -- Rebase patches. -- Initial incomplete attempt to disable v4l1 support. - -* Fri Jan 21 2011 Jason L Tibbitts III - 1.24.2-6 -- Unbundle cambozola; instead link to the separately pacakged copy. -- Remove BuildRoot:, %%clean and buildroot cleaning in %%install. -- Git rid of mixed space/tab usage by removing all tabs. -- Remove unnecessary Conflicts: line. -- Attempt to force short_open_tag on for the code directories. -- Move default location of sockets, swaps, logfiles and some temporary files to - make more sense and allow things to work better with a future selinux policy. -- Fix errors in README.Fedora. - -* Wed Jun 02 2010 Marcela Maslanova - 1.24.2-5 -- Mass rebuild with perl-5.12.0 - -* Fri Dec 4 2009 Stepan Kasal - 1.24.2-4 -- rebuild against perl 5.10.1 -- use Perl vendorarch and archlib variables correctly - -* Mon Jul 27 2009 Fedora Release Engineering - 1.24.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-2 -- Bump release since 1.24.2-1 was mistakenly tagged a few months ago. - -* Wed Jul 22 2009 Jason L Tibbitts III - 1.24.2-1 -- Initial update to 1.24.2. -- Rebase patches. -- Update mootools download location. -- Update to mootools 1.2.3. -- Add additional dependencies for some optional features. - -* Sat Apr 11 2009 Martin Ebourne - 1.24.1-3 -- Remove unused Sys::Mmap perl dependency RPM is finding - -* Sat Apr 11 2009 Martin Ebourne - 1.24.1-2 -- Update gcc44 patch to disable -frepo, seems to be broken with gcc44 -- Added noffmpeg patch to make building outside mock easier - -* Sat Mar 21 2009 Martin Ebourne - 1.24.1-1 -- Patch for gcc 4.4 compilation errors -- Upgrade to 1.24.1 - -* Wed Feb 25 2009 Fedora Release Engineering - 1.23.3-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Jan 24 2009 Caolán McNamara - 1.23.3-3 -- rebuild for dependencies - -* Mon Dec 15 2008 Martin Ebourne - 1.23.3-2 -- Fix permissions on zm.conf - -* Fri Jul 11 2008 Jason L Tibbitts III - 1.23.3-1 -- Initial attempt at packaging 1.23. - -* Tue Jul 1 2008 Martin Ebourne - 1.22.3-15 -- Add perl module compat dependency, bz #453590 - -* Tue May 6 2008 Martin Ebourne - 1.22.3-14 -- Remove default runlevel, bz #441315 - -* Mon Apr 28 2008 Jason L Tibbitts III - 1.22.3-13 -- Backport patch for CVE-2008-1381 from 1.23.3 to 1.22.3. - -* Tue Feb 19 2008 Fedora Release Engineering - 1.22.3-12 -- Autorebuild for GCC 4.3 - -* Thu Jan 3 2008 Martin Ebourne - 1.22.3-11 -- Fix compilation on gcc 4.3 - -* Thu Dec 6 2007 Martin Ebourne - 1.22.3-10 -- Rebuild for new openssl - -* Thu Aug 2 2007 Martin Ebourne - 1.22.3-8 -- Fix licence tag - -* Thu Jul 12 2007 Martin Ebourne - 1.22.3-7 -- Fixes from testing by Jitz including missing dependencies and database creation - -* Sat Jun 30 2007 Martin Ebourne - 1.22.3-6 -- Disable crashtrace on ppc - -* Sat Jun 30 2007 Martin Ebourne - 1.22.3-5 -- Fix uid for directories in /var/lib/zoneminder - -* Tue Jun 26 2007 Martin Ebourne - 1.22.3-4 -- Added perl Archive::Tar dependency -- Disabled web interface due to lack of access control on the event images - -* Sun Jun 10 2007 Martin Ebourne - 1.22.3-3 -- Changes recommended in review by Jason Tibbitts - -* Mon Apr 2 2007 Martin Ebourne - 1.22.3-2 -- Standardised on package name of zoneminder - -* Thu Dec 28 2006 Martin Ebourne - 1.22.3-1 -- First version. Uses some parts from zm-1.20.1 by Corey DeLasaux and Serg Oskin