summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-04-28 15:53:43 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-04-28 15:53:43 +0000
commitc7519712a76856062651aa2baa84e6a0a900041c (patch)
tree5824873a55dff0bcde2f2a456f565b979266d153 /www-misc/zoneminder
parentRemove dead vdr plugin. Per bug #358591. (diff)
downloadhistorical-c7519712a76856062651aa2baa84e6a0a900041c.tar.gz
historical-c7519712a76856062651aa2baa84e6a0a900041c.tar.bz2
historical-c7519712a76856062651aa2baa84e6a0a900041c.zip
Remove as it fails to build in interesting ways. Per bug #359605.
Diffstat (limited to 'www-misc/zoneminder')
-rw-r--r--www-misc/zoneminder/ChangeLog198
-rw-r--r--www-misc/zoneminder/Manifest23
-rw-r--r--www-misc/zoneminder/files/1.24.2/Makefile.am.patch15
-rw-r--r--www-misc/zoneminder/files/1.24.2/db_upgrade_script_location.patch11
-rw-r--r--www-misc/zoneminder/files/1.24.2/zm_build_fix.patch11
-rw-r--r--www-misc/zoneminder/files/1.24.2/zm_create.sql.in.patch28
-rw-r--r--www-misc/zoneminder/files/1.24.2/zm_jpeg.patch59
-rw-r--r--www-misc/zoneminder/files/1.24.2/zm_remote_camera_http.patch55
-rw-r--r--www-misc/zoneminder/files/10_zoneminder.conf18
-rw-r--r--www-misc/zoneminder/files/conf.d6
-rw-r--r--www-misc/zoneminder/files/init.d20
-rw-r--r--www-misc/zoneminder/metadata.xml9
-rw-r--r--www-misc/zoneminder/zoneminder-1.24.2.ebuild150
13 files changed, 0 insertions, 603 deletions
diff --git a/www-misc/zoneminder/ChangeLog b/www-misc/zoneminder/ChangeLog
deleted file mode 100644
index 42855ce7513e..000000000000
--- a/www-misc/zoneminder/ChangeLog
+++ /dev/null
@@ -1,198 +0,0 @@
-# ChangeLog for www-misc/zoneminder
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.41 2011/04/04 12:11:35 scarabeus Exp $
-
- 04 Apr 2011; Tomáš Chvátal <scarabeus@gentoo.org>
- zoneminder-1.24.2.ebuild:
- Move to virtual/ffmpeg from media-video/ffmpeg.
-
- 27 Feb 2011; Samuli Suominen <ssuominen@gentoo.org> zoneminder-1.23.3.ebuild,
- zoneminder-1.24.2.ebuild:
- Use virtual/jpeg wrt #356747 by "LuVar".
-
- 02 Jun 2010; Alex Alexander <wired@gentoo.org>
- +files/1.24.2/zm_build_fix.patch, zoneminder-1.24.2.ebuild:
- fixed 1.24.2 build error
-
- 22 Feb 2010; Samuli Suominen <ssuominen@gentoo.org>
- +files/1.24.2/zm_jpeg.patch, zoneminder-1.24.2.ebuild:
- Fix building with jpeg-8 (previous declaration of jpeg_mem_src and
- jpeg_mem_dest) wrt #305201, thanks to Alex. P. Burlutsky for patch.
-
- 16 Sep 2009; Thomas Anderson <tanderson@gentoo.org> metadata.xml:
- Fix email address.
-
-*zoneminder-1.24.2 (03 Aug 2009)
-
- 03 Aug 2009; Thomas Anderson <tanderson@gentoo.org>
- +files/1.24.2/Makefile.am.patch, +zoneminder-1.24.2.ebuild,
- +files/1.24.2/db_upgrade_script_location.patch,
- +files/1.24.2/zm_create.sql.in.patch,
- +files/1.24.2/zm_remote_camera_http.patch:
- Add www-misc/zoneminder-1.24.2; fixes bug #262019 and security bug
- #236517.
-
- 16 Jul 2009; Torsten Veller <tove@gentoo.org> zoneminder-1.23.3.ebuild,
- metadata.xml:
- dev-perl/X10 was removed
-
- 08 Feb 2009; Thomas Anderson <tanderson@gentoo.org>
- zoneminder-1.23.3.ebuild:
- Fix empty directory installation.
-
- 08 Feb 2009; Thomas Anderson <tanderson@gentoo.org>
- zoneminder-1.23.3.ebuild:
- Fix ROOT abuse, bug 258116
-
- 26 Jan 2009; Peter Volkov <pva@gentoo.org> zoneminder-1.23.3.ebuild:
- Fixed perllocal.pod collision, bug #252862. Thank rinus for the report and fix.
-
- 01 Jan 2009; Thomas Anderson <tanderson@gentoo.org> files/init.d,
- metadata.xml:
- Update init.d script to use mysql, add myself as a maintainer
-
- 28 Dec 2008; Gunnar Wrobel <wrobel@gentoo.org> zoneminder-1.23.3.ebuild:
- fixed #250715.
-
- 18 Nov 2008; Torsten Veller <tove@gentoo.org> zoneminder-1.23.3.ebuild:
- New virtuals: Archive-Tar
-
- 16 Aug 2008; Doug Goldstein <cardoe@gentoo.org> metadata.xml:
- add GLEP 56 USE flag desc from use.local.desc
-
- 29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org>
- -files/1.23.1/zm_mpeg_ofc.patch, zoneminder-1.23.3.ebuild:
- Fix compatibility with ffmpeg-0.4.9_p20080326 with judicious sedding. Drop
- patch which caused build error against 0.4.9_p20080326. Raise deps to
- >=ffmpeg-0.4.9_p20080326. Fixes bug #228731.
-
- 17 May 2008; wrobel@gentoo.org -files/postinstall-2.txt,
- -files/Makefile.am.patch, -files/ffmpeg.patch, -files/postupgrade.txt,
- -files/zm_create.sql.in.diff, -zoneminder-1.22.3.ebuild,
- -zoneminder-1.23.1.ebuild, zoneminder-1.23.3.ebuild:
- Cleaned the problematic zoneminder ebuilds and fixed bug #222079.
-
-*zoneminder-1.23.3 (06 May 2008)
-
- 06 May 2008; wrobel@gentoo.org +files/10_zoneminder.conf,
- +zoneminder-1.23.3.ebuild:
- Adding zoneminder-1.23.3 to the tree (sec issue #219694, bugs #212150 and
- #216678)
-
-*zoneminder-1.23.1 (23 Feb 2008)
-
- 23 Feb 2008; Benedikt Böhm <hollow@gentoo.org>
- +files/1.23.1/Makefile.am.patch, +files/1.23.1/zm_create.sql.in.patch,
- +files/1.23.1/zm_mpeg_ofc.patch, +files/1.23.1/zm_remote_camera.patch,
- metadata.xml, +zoneminder-1.23.1.ebuild:
- version bump #204297, fixes #197621
-
- 23 Feb 2008; Benedikt Böhm <hollow@gentoo.org> zoneminder-1.22.3.ebuild:
- ebuild cleanup wrt #208584, also fixes #207481
-
- 26 May 2007; Renat Lumpau <rl03@gentoo.org> +files/ffmpeg.patch,
- zoneminder-1.22.3.ebuild:
- Fix bugs #175261, #174616.
-
- 19 Apr 2007; Christian Faulhammer <opfer@gentoo.org>
- zoneminder-1.22.3.ebuild:
- keyworded ~amd64, bug 168375
-
-*zoneminder-1.22.3 (11 Dec 2006)
-
- 11 Dec 2006; Renat Lumpau <rl03@gentoo.org> +files/zm_create.sql.in.diff,
- -zoneminder-1.22.2.ebuild, +zoneminder-1.22.3.ebuild:
- Version bump. Fix bug #155077, bug #157676.
-
- 23 Nov 2006; Francesco Riosa <vivo@gentoo.org> zoneminder-1.22.2.ebuild:
- dev-db/mysql => virtual/mysql
-
- 21 Nov 2006; Renat Lumpau <rl03@gentoo.org> files/postinstall-2.txt,
- files/init.d, -files/postinstall.txt, -files/zmconfig-gentoo.txt,
- -zoneminder-1.21.4.ebuild:
- Housekeeping
-
- 01 Nov 2006; Renat Lumpau <rl03@gentoo.org> files/postinstall-2.txt:
- Fix postinstall instructions, bug #153585.
-
- 03 Aug 2006; Renat Lumpau <rl03@gentoo.org> zoneminder-1.22.2.ebuild:
- emake install needs -j1. bug #142662.
-
-*zoneminder-1.22.2 (01 Jul 2006)
-
- 01 Jul 2006; Renat Lumpau <rl03@gentoo.org> files/postinstall-2.txt,
- files/postupgrade.txt, -zoneminder-1.22.0.ebuild,
- +zoneminder-1.22.2.ebuild:
- Version bump
-
- 08 Feb 2006; Renat Lumpau <rl03@gentoo.org> files/postinstall-2.txt:
- Mention which database to use
-
- 08 Feb 2006; Renat Lumpau <rl03@gentoo.org> zoneminder-1.22.0.ebuild:
- Show the right postinstall instructions
-
-*zoneminder-1.22.0 (06 Feb 2006)
-
- 06 Feb 2006; Renat Lumpau <rl03@gentoo.org> +files/postinstall-2.txt,
- +files/Makefile.am.patch, +files/conf.d, +files/init.d,
- +files/postupgrade.txt, +zoneminder-1.22.0.ebuild:
- Version bump
-
- 06 Feb 2006; Renat Lumpau <rl03@gentoo.org> -zoneminder-0.9.12.ebuild,
- -zoneminder-1.21.2.ebuild, -zoneminder-1.21.3.ebuild:
- Housekeeping
-
- 06 Feb 2006; Renat Lumpau <rl03@gentoo.org> zoneminder-1.21.4.ebuild:
- Fixed #121752.
-
-*zoneminder-1.21.4 (05 Jan 2006)
-
- 05 Jan 2006; Renat Lumpau <rl03@gentoo.org> files/postinstall.txt,
- +zoneminder-1.21.4.ebuild:
- Version bump (bug #117944), fixes for bug #106913.
-
- 12 Dec 2005; Carsten Lohrke <carlo@gentoo.org> +metadata.xml:
- now maintained by the webapp herd, as arranged with rl03
-
-*zoneminder-1.21.3 (08 Aug 2005)
-
- 08 Aug 2005; Renat Lumpau <rl03@gentoo.org> +zoneminder-1.21.3.ebuild:
- Added 1.21.3
-
-*zoneminder-1.21.2 (07 Jul 2005)
-
- 07 Jul 2005; Renat Lumpau <rl03@gentoo.org> +files/postinstall.txt,
- +files/zmconfig-gentoo.txt, +zoneminder-1.21.2.ebuild:
- Version bump. Create log dirs (wrt #72002).
-
- 06 May 2005; Sven Wegener <swegener@gentoo.org> zoneminder-0.9.12.ebuild:
- Removed * postfix from <, <=, >= and > dependencies.
-
- 22 Nov 2004; Daniel Black <dragonheart@gentoo.org> zoneminder-0.9.12.ebuild:
- added dev-perl/DBD-mysql RDEPEND as per bug #72003. Thanks Jakub Sadowski
- <JakubSadowski@Yahoo.com> for the bug report
-
- 05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
- Fixed ChangeLog header.
-
- 31 Aug 2004; David Holm <dholm@gentoo.org> zoneminder-0.9.12.ebuild:
- Added to ~ppc.
-
-*zoneminder-0.9.12 (15 Aug 2004)
-
- 15 Aug 2004; Stuart Herbert <stuart@gentoo.org> +zoneminder-0.9.12.ebuild:
- Moved from net-www/zoneminder to www-misc/zoneminder.
-
- 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> zoneminder-0.9.12.ebuild:
- Add inherit eutils
-
-*zoneminder-0.9.12 (20 Jun 2003)
-
- 20 Jun 2003; mkeadle <mkeadle@gentoo.org> zoneminder-0.9.12.ebuild:
- initial import. very impressive program. much thanks go to MAL
- <mal@komcept.com> for putting this all together very well in bug #22665. MALs
- ebuild used its own internal vars to track where to install the web content. I
- switched this over to the datadir format used by the apache ebuilds. This lets
- zoneminder install to the same location apache was installed to without user
- interaction, but still leaves the door open for customization.
-
diff --git a/www-misc/zoneminder/Manifest b/www-misc/zoneminder/Manifest
deleted file mode 100644
index 36576ecc5039..000000000000
--- a/www-misc/zoneminder/Manifest
+++ /dev/null
@@ -1,23 +0,0 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX 1.24.2/Makefile.am.patch 899 RMD160 2ffe9cbb75d433353769759d55580be9d0d8ccd8 SHA1 84024eb973f86e28d0fefa40c9a233f90c52a262 SHA256 301f23e57099c6841601017aed5a834a2ffc5e95a4b2f7e273272d4b11344ac3
-AUX 1.24.2/db_upgrade_script_location.patch 412 RMD160 368052be3fc8f32276cd59a146fd99a3b23b05f8 SHA1 a7a04bb212c0ca6ec693ca821d4c5de56b3e65c9 SHA256 3ffaa44c013dd27c3e5e937de77158c60b4cd37f28e1fc42dd7283f80075b067
-AUX 1.24.2/zm_build_fix.patch 407 RMD160 ac45177bb3f06dd0fd9cd1f938b90ba2297d07d2 SHA1 d7c6978c9fc71baf3c86b2405959fbe3da5eec99 SHA256 51f1effb3551bc8f9fbfe9e516db5f318091965f83dbf9e9772e6c7a02d2e640
-AUX 1.24.2/zm_create.sql.in.patch 16846 RMD160 c1b3b4ad6c5e70f4497f60a840a358a886125849 SHA1 7299c116be6f4a9cd97e55eb75c87d686a43d41c SHA256 edd4476e34c2b3b0e533809bce36827d8c84482cf25a9fca167453174866016f
-AUX 1.24.2/zm_jpeg.patch 2661 RMD160 e4d95b98a46a0b77874862a4afaa937e4c2814ef SHA1 58852307e7ed7df47660d2795199e91fa13319c7 SHA256 e8ac509821d9b0629c8cccb31ce25908b2b0bb7831aa7d710440b0551ad5ef3a
-AUX 1.24.2/zm_remote_camera_http.patch 1566 RMD160 644a681789d0ecf424156cde4b4ea8f6c5065197 SHA1 74dbe274d129997826b9a775c672c28286b60e3f SHA256 f554f2bcc7977e5ac151bd87aa2b8a0b7a9eeb9099839afe0d8b2b60a37ce04e
-AUX 10_zoneminder.conf 462 RMD160 d032813c63f4676e06658da3668c50f88886efab SHA1 9c834372d5bab84fe3e368be94bd951c2122ed7a SHA256 96306fd39bcffeaf15db4309b8f5f08e54a2409029f92d4a84b6f3e42f05434f
-AUX conf.d 138 RMD160 e7c71690bac83c1bee63c6b602b15910d3a8967c SHA1 719a2cb400a0a107accb28be3bd17f6269d41f76 SHA256 65e935cb63bf3d072b9317842944d808550ef3f933d834bb95aaacf3253bd85c
-AUX init.d 392 RMD160 075f5bb61776cc55bca82b3725b8e6f0cdc877e8 SHA1 76de21342416796b1b412f19d8f7bedadc41ce2b SHA256 3a9725e1f5d20b25db4afc450a1754578885d542f696ea2fa0f3ea083b385321
-DIST ZoneMinder-1.24.2.tar.gz 965521 RMD160 3ec5ca1a6d418feeeecd6dc3c4a78a79f5ead373 SHA1 ea854c941b83374a352d7d794a4462e279fea487 SHA256 fd8475138ccee8870534f1210a3d1e3e1990e963dd73146a6d310dc71c463dca
-EBUILD zoneminder-1.24.2.ebuild 4078 RMD160 b5aa4593a9fb3b305c144ca6b179ea036a275361 SHA1 b870ce681db04fc589f7be52a52e4de09d08d4a3 SHA256 07a72921aa8aa02152d0cdf4c2ebcf0b6e6e126eb759dee26e99560471f4d501
-MISC ChangeLog 7413 RMD160 788b9c576962115c4f92e5a0e0e680f417a62a27 SHA1 109edaa344d044f51eea622952983c2065455899 SHA256 93534a3be30f699328d0aa46e9334a6746b4ec789b0b2937a7fbb56c864214a9
-MISC metadata.xml 260 RMD160 c12fd64bd707f1295bbe662f72c9cfa50e9774e2 SHA1 75c4629846789f80cee0e163f2822d725d1388fb SHA256 3059d89f940a19b5e4c03c954c4fe960c0f7daeff0f57540271fa0aec70a7b24
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
-
-iEYEARECAAYFAk2ZtAYACgkQHB6c3gNBRYeZfgCgj+VQHXKiF+eYl4opr6dR155w
-D5oAn2qjIsFPcqXY3UF5v7bFiZ1FXRh9
-=TOWT
------END PGP SIGNATURE-----
diff --git a/www-misc/zoneminder/files/1.24.2/Makefile.am.patch b/www-misc/zoneminder/files/1.24.2/Makefile.am.patch
deleted file mode 100644
index 90dd4769efbf..000000000000
--- a/www-misc/zoneminder/files/1.24.2/Makefile.am.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-Index: ZoneMinder-1.23.1/Makefile.am
-===================================================================
---- ZoneMinder-1.23.1.orig/Makefile.am
-+++ ZoneMinder-1.23.1/Makefile.am
-@@ -19,8 +19,8 @@ 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 $(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 )
diff --git a/www-misc/zoneminder/files/1.24.2/db_upgrade_script_location.patch b/www-misc/zoneminder/files/1.24.2/db_upgrade_script_location.patch
deleted file mode 100644
index 41b537c4167a..000000000000
--- a/www-misc/zoneminder/files/1.24.2/db_upgrade_script_location.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- ZoneMinder-1.24.1/zm.conf.in.orig 2009-03-23 13:55:43.000000000 +0000
-+++ ZoneMinder-1.24.1/zm.conf.in 2009-03-23 13:57:22.000000000 +0000
-@@ -13,7 +13,7 @@
- ZM_VERSION=@VERSION@
-
- # Path to build directory, used mostly for finding DB upgrade scripts
--ZM_PATH_BUILD=@PATH_BUILD@
-+ZM_PATH_BUILD=/usr/share/zoneminder
-
- # Build time, used to record when to trigger various checks
- ZM_TIME_BUILD=@TIME_BUILD@
diff --git a/www-misc/zoneminder/files/1.24.2/zm_build_fix.patch b/www-misc/zoneminder/files/1.24.2/zm_build_fix.patch
deleted file mode 100644
index 164a10689362..000000000000
--- a/www-misc/zoneminder/files/1.24.2/zm_build_fix.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -u -ru ZoneMinder-1.24.2-old//src/zm_utils.cpp ZoneMinder-1.24.2/src/zm_utils.cpp
---- ZoneMinder-1.24.2-old//src/zm_utils.cpp 2010-06-03 01:34:27.981235559 +0300
-+++ ZoneMinder-1.24.2/src/zm_utils.cpp 2010-06-03 01:44:52.108291327 +0300
-@@ -20,6 +20,7 @@
- //#include "zm_debug.h"
- #include "zm_utils.h"
-
-+#include <cstdio>
- #include <stdarg.h>
-
- const std::string stringtf( const char *format, ... )
diff --git a/www-misc/zoneminder/files/1.24.2/zm_create.sql.in.patch b/www-misc/zoneminder/files/1.24.2/zm_create.sql.in.patch
deleted file mode 100644
index 55be4e4662cf..000000000000
--- a/www-misc/zoneminder/files/1.24.2/zm_create.sql.in.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff --git ZoneMinder-1.24.2/db/zm_create.sql.in ZoneMinder-1.24.2-ta/db/zm_create.sql.in
-index fc7eb5d..e2bda24 100644
---- ZoneMinder-1.24.2/db/zm_create.sql.in
-+++ ZoneMinder-1.24.2-ta/db/zm_create.sql.in
-@@ -642,7 +642,7 @@ insert into Config set Id = 38, Name = 'ZM_HTTP_TIMEOUT', Value = '2500', Type =
- insert into Config set Id = 39, Name = 'ZM_MIN_RTP_PORT', Value = '40200', Type = 'integer', DefaultValue = '40200', Hint = 'integer', Pattern = '(?-xism:^(\d+)$)', Format = ' $1 ', Prompt = 'Minimum port that ZoneMinder will listen for RTP traffic on', Help = 'When ZoneMinder communicates with MPEG4 capable cameras using RTP with the unicast method it must open ports for the camera to connect back to for control and streaming purposes. This setting specifies the minimum port number that ZoneMinder will use. Ordinarily two adjacent ports are used for each camera, one for control packets and one for data packets. This port should be set to an even number, you may also need to open up a hole in your firewall to allow cameras to connect back if you wish to use unicasting.', Category = 'network', Readonly = '0', Requires = '';
- insert into Config set Id = 40, Name = 'ZM_MAX_RTP_PORT', Value = '40499', Type = 'integer', DefaultValue = '40499', Hint = 'integer', Pattern = '(?-xism:^(\d+)$)', Format = ' $1 ', Prompt = 'Maximum port that ZoneMinder will listen for RTP traffic on', Help = 'When ZoneMinder communicates with MPEG4 capable cameras using RTP with the unicast method it must open ports for the camera to connect back to for control and streaming purposes. This setting specifies the maximum port number that ZoneMinder will use. Ordinarily two adjacent ports are used for each camera, one for control packets and one for data packets. This port should be set to an even number, you may also need to open up a hole in your firewall to allow cameras to connect back if you wish to use unicasting. You should also ensure that you have opened up at least two ports for each monitor that will be connecting to unicasting network cameras.', Category = 'network', Readonly = '0', Requires = '';
- insert into Config set Id = 41, Name = 'ZM_OPT_FFMPEG', Value = '1', Type = 'boolean', DefaultValue = 'yes', Hint = 'yes|no', Pattern = '(?i-xsm:^([yn]))', Format = ' ($1 =~ /^y/) ? \"yes\" : \"no\" ', Prompt = 'Is the ffmpeg video encoder/decoder installed', Help = 'ZoneMinder can optionally encode a series of video images into an MPEG encoded movie file for viewing, downloading or storage. This option allows you to specify whether you have the ffmpeg tools installed. Note that creating MPEG files can be fairly CPU and disk intensive and is not a required option as events can still be reviewed as video streams without it.', Category = 'images', Readonly = '0', Requires = '';
--insert into Config set Id = 42, Name = 'ZM_PATH_FFMPEG', Value = '/usr/local/bin/ffmpeg', Type = 'string', DefaultValue = '/usr/local/bin/ffmpeg', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to (optional) ffmpeg mpeg encoder', Help = 'This path should point to where ffmpeg has been installed.', Category = 'images', Readonly = '0', Requires = 'ZM_OPT_FFMPEG=1';
-+insert into Config set Id = 42, Name = 'ZM_PATH_FFMPEG', Value = '/usr/bin/ffmpeg', Type = 'string', DefaultValue = '/usr/bin/ffmpeg', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to (optional) ffmpeg mpeg encoder', Help = 'This path should point to where ffmpeg has been installed.', Category = 'images', Readonly = '0', Requires = 'ZM_OPT_FFMPEG=1';
- insert into Config set Id = 43, Name = 'ZM_FFMPEG_INPUT_OPTIONS', Value = '', Type = 'string', DefaultValue = '', Hint = 'string', Pattern = '(?-xism:^(.+)$)', Format = ' $1 ', Prompt = 'Additional input options to ffmpeg', Help = 'Ffmpeg can take many options on the command line to control the quality of video produced. This option allows you to specify your own set that apply to the input to ffmpeg (options that are given before the -i option). Check the ffmpeg documentation for a full list of options which may be used here.', Category = 'images', Readonly = '0', Requires = 'ZM_OPT_FFMPEG=1';
- insert into Config set Id = 44, Name = 'ZM_FFMPEG_OUTPUT_OPTIONS', Value = '-r 25', Type = 'string', DefaultValue = '-r 25', Hint = 'string', Pattern = '(?-xism:^(.+)$)', Format = ' $1 ', Prompt = 'Additional output options to ffmpeg', Help = 'Ffmpeg can take many options on the command line to control the quality of video produced. This option allows you to specify your own set that apply to the output from ffmpeg (options that are given after the -i option). Check the ffmpeg documentation for a full list of options which may be used here. The most common one will often be to force an output frame rate supported by the video encoder.', Category = 'images', Readonly = '0', Requires = 'ZM_OPT_FFMPEG=1';
- insert into Config set Id = 45, Name = 'ZM_FFMPEG_FORMATS', Value = 'mpg mpeg wmv asf avi* mov swf 3gp**', Type = 'string', DefaultValue = 'mpg mpeg wmv asf avi* mov swf 3gp**', Hint = 'string', Pattern = '(?-xism:^(.+)$)', Format = ' $1 ', Prompt = 'Formats to allow for ffmpeg video generation', Help = 'Ffmpeg can generate video in many different formats. This option allows you to list the ones you want to be able to select. As new formats are supported by ffmpeg you can add them here and be able to use them immediately. Adding a \'*\' after a format indicates that this will be the default format used for web video, adding \'**\' defines the default format for phone video.', Category = 'images', Readonly = '0', Requires = 'ZM_OPT_FFMPEG=1';
-@@ -653,11 +653,11 @@ insert into Config set Id = 49, Name = 'ZM_RECORD_DIAG_IMAGES', Value = '0', Typ
- insert into Config set Id = 50, Name = 'ZM_EXTRA_DEBUG', Value = '0', Type = 'boolean', DefaultValue = 'no', Hint = 'yes|no', Pattern = '(?i-xsm:^([yn]))', Format = ' ($1 =~ /^y/) ? \"yes\" : \"no\" ', Prompt = 'Switch additional debugging on', Help = 'ZoneMinder binary components usually have several levels of debug information they can output. Normally this is set to a fairly low level to avoid filling logs too quickly. This options lets you switch on other options that allow you to configure additional debug information to be output. Components will pick up this instruction when they are restarted.', Category = 'debug', Readonly = '0', Requires = '';
- insert into Config set Id = 51, Name = 'ZM_EXTRA_DEBUG_TARGET', Value = '', Type = 'string', DefaultValue = '', Hint = 'string', Pattern = '(?-xism:^(.+)$)', Format = ' $1 ', Prompt = 'What components should have extra debug enabled', Help = 'There are three scopes of debug available. Leaving this option blank means that all components will use extra debug (not recommended). Setting this option to \'_<component>\', e.g. _zmc, will limit extra debug to that component only. Setting this option to \'_<component>_<identity>\', e.g. \'_zmc_m1\' will limit extra debug to that instance of the component only. This is ordinarily what you probably want to do.', Category = 'debug', Readonly = '0', Requires = 'ZM_EXTRA_DEBUG=1';
- insert into Config set Id = 52, Name = 'ZM_EXTRA_DEBUG_LEVEL', Value = '0', Type = 'integer', DefaultValue = '0', Hint = '0|1|2|3|4|5|6|7|8|9', Pattern = '(?-xism:^(\d+)$)', Format = ' $1 ', Prompt = 'What level of extra debug should be enabled', Help = 'There are 9 levels of debug available, with higher numbers being more debug and level 0 being no debug. However not all levels are used by all components. Also if there is debug at a high level it is usually likely to be output at such a volume that it may obstruct normal operation. For this reason you should set the level carefully and cautiously until the degree of debug you wish to see is present.', Category = 'debug', Readonly = '0', Requires = 'ZM_EXTRA_DEBUG=1';
--insert into Config set Id = 53, Name = 'ZM_EXTRA_DEBUG_LOG', Value = '/tmp/zm_debug.log+', Type = 'string', DefaultValue = '/tmp/zm_debug.log+', Hint = 'string', Pattern = '(?-xism:^(.+)$)', Format = ' $1 ', Prompt = 'Where extra debug is output to', Help = 'Depending on your system configuration you may find that only errors, warning and informational messages are logged to your system log. This option allows you to specify an additional target for these messages and debug. This also has the advantage of partitioning debug for the component you are tracing, from messages from other components. Be warned however that if this is a simple filename and you are debugging several components then they will all try and write to the same file with undesirable consequences. Appending a \'+\' to the filename will cause the file to be created with a \'.<pid>\' suffix containing your process id. In this way debug from each run of a component is kept separate. This is the recommended setting as it will also prevent subsequent runs from overwriting the same log.', Category = 'debug', Readonly = '0', Requires = 'ZM_EXTRA_DEBUG=1';
-+insert into Config set Id = 53, Name = 'ZM_EXTRA_DEBUG_LOG', Value = '/var/log/zoneminder/zm_debug.log+', Type = 'string', DefaultValue = '/var/log/zoneminder/zm_debug.log+', Hint = 'string', Pattern = '(?-xism:^(.+)$)', Format = ' $1 ', Prompt = 'Where extra debug is output to', Help = 'Depending on your system configuration you may find that only errors, warning and informational messages are logged to your system log. This option allows you to specify an additional target for these messages and debug. This also has the advantage of partitioning debug for the component you are tracing, from messages from other components. Be warned however that if this is a simple filename and you are debugging several components then they will all try and write to the same file with undesirable consequences. Appending a \'+\' to the filename will cause the file to be created with a \'.<pid>\' suffix containing your process id. In this way debug from each run of a component is kept separate. This is the recommended setting as it will also prevent subsequent runs from overwriting the same log.', Category = 'debug', Readonly = '0', Requires = 'ZM_EXTRA_DEBUG=1';
- insert into Config set Id = 54, Name = 'ZM_DUMP_CORES', Value = '0', Type = 'boolean', DefaultValue = 'no', Hint = 'yes|no', Pattern = '(?i-xsm:^([yn]))', Format = ' ($1 =~ /^y/) ? \"yes\" : \"no\" ', Prompt = 'Create core files on unexpected process failure.', Help = 'When an unrecoverable error occurs in a ZoneMinder binary process is has traditionally been trapped and the details written to logs to aid in remote analysis. However in some cases it is easier to diagnose the error if a core file, which is a memory dump of the process at the time of the error, is created. This can be interactively analysed in the debugger and may reveal more or better information than that available from the logs. This option is recommended for advanced users only otherwise leave at the default. Note using this option to trigger core files will mean that there will be no indication in the binary logs that a process has died, they will just stop, however the zmdc log will still contain an entry. Also note that you may have to explicitly enable core file creation on your system via the \'ulimit -c\' command or other means otherwise no file will be created regardless of the value of this option.', Category = 'debug', Readonly = '0', Requires = '';
- insert into Config set Id = 55, Name = 'ZM_PATH_MAP', Value = '/dev/shm', Type = 'string', DefaultValue = '/dev/shm', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to the mapped memory files that that ZoneMinder can use', Help = 'ZoneMinder has historically used IPC shared memory for shared data between processes. This has it\'s advantages and limitations. This version of ZoneMinder can use an alternate method, mapped memory, instead with can be enabled with the --enable--mmap directive to configure. This requires less system configuration and is generally more flexible. However it requires each shared data segment to map onto a filesystem file. This option indicates where those mapped files go. You should ensure that this location has sufficient space for these files and for the best performance it should be a tmpfs file system or ramdisk otherwise disk access may render this method slower than the regular shared memory one.', Category = 'paths', Readonly = '0', Requires = '';
--insert into Config set Id = 56, Name = 'ZM_PATH_SOCKS', Value = '/tmp', Type = 'string', DefaultValue = '/tmp', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to the various Unix domain socket files that ZoneMinder uses', Help = 'ZoneMinder generally uses Unix domain sockets where possible. This reduces the need for port assignments and prevents external applications from possibly compromising the daemons. However each Unix socket requires a .sock file to be created. This option indicates where those socket files go.', Category = 'paths', Readonly = '0', Requires = '';
--insert into Config set Id = 57, Name = 'ZM_PATH_LOGS', Value = '/tmp', Type = 'string', DefaultValue = '/tmp', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to the various logs that the ZoneMinder daemons generate', Help = 'There are various daemons that are used by ZoneMinder to perform various tasks. Most generate helpful log files and this is where they go. They can be deleted if not required for debugging.', Category = 'paths', Readonly = '0', Requires = '';
-+insert into Config set Id = 56, Name = 'ZM_PATH_SOCKS', Value = '/var/run/zm', Type = 'string', DefaultValue = '/var/run/zm', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to the various Unix domain socket files that ZoneMinder uses', Help = 'ZoneMinder generally uses Unix domain sockets where possible. This reduces the need for port assignments and prevents external applications from possibly compromising the daemons. However each Unix socket requires a .sock file to be created. This option indicates where those socket files go.', Category = 'paths', Readonly = '0', Requires = '';
-+insert into Config set Id = 57, Name = 'ZM_PATH_LOGS', Value = '/var/log/zoneminder', Type = 'string', DefaultValue = '/var/log/zoneminder', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to the various logs that the ZoneMinder daemons generate', Help = 'There are various daemons that are used by ZoneMinder to perform various tasks. Most generate helpful log files and this is where they go. They can be deleted if not required for debugging.', Category = 'paths', Readonly = '0', Requires = '';
- insert into Config set Id = 58, Name = 'ZM_PATH_SWAP', Value = '/tmp', Type = 'string', DefaultValue = '/tmp', Hint = '/absolute/path/to/somewhere', Pattern = '(?-xism:^((?:/[^/]*)+?)/?$)', Format = ' $1 ', Prompt = 'Path to location for temporary swap images used in streaming', Help = 'Buffered playback requires temporary swap images to be stored for each instance of the streaming daemons. This option determines where these images will be stored. The images will actually be stored in sub directories beneath this location and will be automatically cleaned up after a period of time.', Category = 'paths', Readonly = '0', Requires = '';
- insert into Config set Id = 59, Name = 'ZM_WEB_TITLE_PREFIX', Value = 'ZM', Type = 'string', DefaultValue = 'ZM', Hint = 'string', Pattern = '(?-xism:^(.+)$)', Format = ' $1 ', Prompt = 'The title prefix displayed on each window', Help = 'If you have more than one installation of ZoneMinder it can be helpful to display different titles for each one. Changing this option allows you to customise the window titles to include further information to aid identification.', Category = 'web', Readonly = '0', Requires = '';
- insert into Config set Id = 60, Name = 'ZM_WEB_RESIZE_CONSOLE', Value = '1', Type = 'boolean', DefaultValue = 'yes', Hint = 'yes|no', Pattern = '(?i-xsm:^([yn]))', Format = ' ($1 =~ /^y/) ? \"yes\" : \"no\" ', Prompt = 'Should the console window resize itself to fit', Help = 'Traditionally the main ZoneMinder web console window has resized itself to shrink to a size small enough to list only the monitors that are actually present. This is intended to make the window more unobtrusize but may not be to everyones tastes, especially if opened in a tab in browsers which support this kind if layout. Switch this option off to have the console window size left to the users preference', Category = 'web', Readonly = '0', Requires = '';
diff --git a/www-misc/zoneminder/files/1.24.2/zm_jpeg.patch b/www-misc/zoneminder/files/1.24.2/zm_jpeg.patch
deleted file mode 100644
index 4d3dbaddc793..000000000000
--- a/www-misc/zoneminder/files/1.24.2/zm_jpeg.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-diff -ur ZoneMinder-1.24.2.orig/src/zm_image.cpp ZoneMinder-1.24.2/src/zm_image.cpp
---- ZoneMinder-1.24.2.orig/src/zm_image.cpp 2009-05-25 21:04:00.000000000 +0300
-+++ ZoneMinder-1.24.2/src/zm_image.cpp 2010-02-22 17:43:14.000000000 +0200
-@@ -461,7 +461,7 @@
- return( false );
- }
-
-- jpeg_mem_src( cinfo, inbuffer, inbuffer_size );
-+ zm_jpeg_mem_src( cinfo, inbuffer, inbuffer_size );
-
- jpeg_read_header( cinfo, TRUE );
-
-@@ -523,7 +523,7 @@
- jpeg_create_compress( cinfo );
- }
-
-- jpeg_mem_dest( cinfo, outbuffer, outbuffer_size );
-+ zm_jpeg_mem_dest( cinfo, outbuffer, outbuffer_size );
-
- cinfo->image_width = width; /* image width and height, in pixels */
- cinfo->image_height = height;
-diff -ur ZoneMinder-1.24.2.orig/src/zm_jpeg.c ZoneMinder-1.24.2/src/zm_jpeg.c
---- ZoneMinder-1.24.2.orig/src/zm_jpeg.c 2009-03-20 14:07:00.000000000 +0200
-+++ ZoneMinder-1.24.2/src/zm_jpeg.c 2010-02-22 17:43:14.000000000 +0200
-@@ -173,7 +173,7 @@
- * for closing it after finishing compression.
- */
-
--void jpeg_mem_dest (j_compress_ptr cinfo, JOCTET *outbuffer, int *outbuffer_size )
-+void zm_jpeg_mem_dest (j_compress_ptr cinfo, JOCTET *outbuffer, int *outbuffer_size )
- {
- mem_dest_ptr dest;
-
-@@ -350,12 +350,12 @@
- * for closing it after finishing decompression.
- */
-
--void jpeg_mem_src( j_decompress_ptr cinfo, const JOCTET *inbuffer, int inbuffer_size )
-+void zm_jpeg_mem_src( j_decompress_ptr cinfo, const JOCTET *inbuffer, int inbuffer_size )
- {
- mem_src_ptr src;
-
- /* The source object and input buffer are made permanent so that a series
-- * of JPEG images can be read from the same file by calling jpeg_mem_src
-+ * of JPEG images can be read from the same file by calling zm_jpeg_mem_src
- * only before the first one. (If we discarded the buffer at the end of
- * one image, we'd likely lose the start of the next one.)
- * This makes it unsafe to use this manager and a different source
-diff -ur ZoneMinder-1.24.2.orig/src/zm_jpeg.h ZoneMinder-1.24.2/src/zm_jpeg.h
---- ZoneMinder-1.24.2.orig/src/zm_jpeg.h 2009-03-20 14:07:00.000000000 +0200
-+++ ZoneMinder-1.24.2/src/zm_jpeg.h 2010-02-22 17:43:14.000000000 +0200
-@@ -36,5 +36,5 @@
- void zm_jpeg_emit_message( j_common_ptr cinfo, int msg_level );
-
- // Prototypes for memory compress/decompression object */
--void jpeg_mem_src(j_decompress_ptr cinfo, const JOCTET *inbuffer, int inbuffer_size );
--void jpeg_mem_dest(j_compress_ptr cinfo, JOCTET *outbuffer, int *outbuffer_size );
-+void zm_jpeg_mem_src(j_decompress_ptr cinfo, const JOCTET *inbuffer, int inbuffer_size );
-+void zm_jpeg_mem_dest(j_compress_ptr cinfo, JOCTET *outbuffer, int *outbuffer_size );
diff --git a/www-misc/zoneminder/files/1.24.2/zm_remote_camera_http.patch b/www-misc/zoneminder/files/1.24.2/zm_remote_camera_http.patch
deleted file mode 100644
index ca937b65854c..000000000000
--- a/www-misc/zoneminder/files/1.24.2/zm_remote_camera_http.patch
+++ /dev/null
@@ -1,55 +0,0 @@
-Index: ZoneMinder-1.24.1/src/zm_remote_camera_http.cpp
-===================================================================
---- ZoneMinder-1.24.1.orig/src/zm_remote_camera_http.cpp
-+++ ZoneMinder-1.24.1/src/zm_remote_camera_http.cpp
-@@ -356,6 +356,14 @@ int RemoteCamera::GetResponse()
- format = JPEG;
- state = CONTENT;
- }
-+ else if ( !strcasecmp( content_type, "image/mpeg" ) )
-+ {
-+ // Single image
-+ mode = SINGLE_IMAGE;
-+ format = JPEG;
-+ state = CONTENT;
-+
-+ }
- else if ( !strcasecmp( content_type, "image/x-rgb" ) )
- {
- // Single image
-@@ -453,6 +461,10 @@ int RemoteCamera::GetResponse()
- {
- format = JPEG;
- }
-+ else if ( !strcasecmp( content_type, "image/mpeg" ) )
-+ {
-+ format = JPEG;
-+ }
- else if ( !strcasecmp( content_type, "image/x-rgb" ) )
- {
- format = X_RGB;
-@@ -783,6 +795,13 @@ int RemoteCamera::GetResponse()
- format = JPEG;
- state = CONTENT;
- }
-+ else if ( !strcasecmp( content_type, "image/mpeg" ) )
-+ {
-+ // Single image
-+ mode = SINGLE_IMAGE;
-+ format = JPEG;
-+ state = CONTENT;
-+ }
- else if ( !strcasecmp( content_type, "image/x-rgb" ) )
- {
- // Single image
-@@ -947,6 +966,10 @@ int RemoteCamera::GetResponse()
- {
- format = JPEG;
- }
-+ else if ( !strcasecmp( content_type, "image/mpeg" ) )
-+ {
-+ format = JPEG;
-+ }
- else if ( !strcasecmp( content_type, "image/x-rgb" ) )
- {
- format = X_RGB;
diff --git a/www-misc/zoneminder/files/10_zoneminder.conf b/www-misc/zoneminder/files/10_zoneminder.conf
deleted file mode 100644
index 0ddb6755877f..000000000000
--- a/www-misc/zoneminder/files/10_zoneminder.conf
+++ /dev/null
@@ -1,18 +0,0 @@
-ScriptAlias /cgi-bin/zms "/var/www/zoneminder/cgi-bin/zms"
-ScriptAlias /cgi-bin/nph-zms "/var/www/zoneminder/cgi-bin/nph-zms"
-
-<Directory "/var/www/zoneminder/cgi-bin">
- AllowOverride All
- Options ExecCGI
- Order allow,deny
- Allow from all
-</Directory>
-
-Alias /zoneminder "/var/www/zoneminder/htdocs"
-
-<Directory "/var/www/zoneminder/htdocs">
- Options -Indexes MultiViews FollowSymLinks
- AllowOverride All
- Order allow,deny
- Allow from all
-</Directory>
diff --git a/www-misc/zoneminder/files/conf.d b/www-misc/zoneminder/files/conf.d
deleted file mode 100644
index d2e03363867a..000000000000
--- a/www-misc/zoneminder/files/conf.d
+++ /dev/null
@@ -1,6 +0,0 @@
-ZM_SCRIPT=/usr/bin/zmpkg.pl
-
-# Commands for starting and stopping the server
-
-CMD_START="${ZM_SCRIPT} start"
-CMD_STOP="${ZM_SCRIPT} stop"
diff --git a/www-misc/zoneminder/files/init.d b/www-misc/zoneminder/files/init.d
deleted file mode 100644
index 26cc81c43fcb..000000000000
--- a/www-misc/zoneminder/files/init.d
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/files/init.d,v 1.3 2009/01/01 16:47:24 gentoofan23 Exp $
-
-depend() {
- use mysql
-}
-
-start() {
- ebegin "Starting zoneminder"
- ${CMD_START}
- eend $?
-}
-
-stop() {
- ebegin "Stopping zoneminder"
- ${CMD_STOP}
- eend $?
-}
diff --git a/www-misc/zoneminder/metadata.xml b/www-misc/zoneminder/metadata.xml
deleted file mode 100644
index 76e176a34758..000000000000
--- a/www-misc/zoneminder/metadata.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>web-apps</herd>
- <maintainer>
- <email>tanderson@gentoo.org</email>
- <name>Thomas Anderson</name>
- </maintainer>
-</pkgmetadata>
diff --git a/www-misc/zoneminder/zoneminder-1.24.2.ebuild b/www-misc/zoneminder/zoneminder-1.24.2.ebuild
deleted file mode 100644
index d2496a2af65b..000000000000
--- a/www-misc/zoneminder/zoneminder-1.24.2.ebuild
+++ /dev/null
@@ -1,150 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/zoneminder-1.24.2.ebuild,v 1.6 2011/04/04 12:11:35 scarabeus Exp $
-
-inherit eutils autotools depend.php depend.apache multilib
-
-MY_PV=${PV/_/-}
-MY_PN="ZoneMinder"
-
-PATCH_PV="1.24.2"
-
-DESCRIPTION="ZoneMinder allows you to capture, analyse, record and monitor any cameras attached to your system."
-HOMEPAGE="http://www.zoneminder.com/"
-SRC_URI="http://www.zoneminder.com/downloads/${MY_PN}-${MY_PV}.tar.gz"
-
-LICENSE="GPL-2"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug ffmpeg"
-#IUSE="debug ffmpeg mmap"
-SLOT="0"
-
-DEPEND="app-admin/sudo
- dev-libs/libpcre
- virtual/jpeg
- net-libs/gnutls
- >=dev-lang/perl-5.6.0
- virtual/perl-Archive-Tar
- dev-perl/Archive-Zip
- dev-perl/DateManip
- dev-perl/DBD-mysql
- dev-perl/DBI
- dev-perl/Device-SerialPort
- dev-perl/libwww-perl
- dev-perl/MIME-Lite
- dev-perl/MIME-tools
- dev-perl/PHP-Serialization
- virtual/perl-Getopt-Long
- virtual/perl-libnet
- virtual/perl-Module-Load
- virtual/perl-Sys-Syslog
- virtual/perl-Time-HiRes"
-
-RDEPEND="dev-perl/DBD-mysql
- ffmpeg? ( virtual/ffmpeg )
- media-libs/netpbm"
-
-# we cannot use need_httpd_cgi here, since we need to setup permissions for the
-# webserver in global scope (/etc/zm.conf etc), so we hardcode apache here.
-need_apache
-need_php_httpd
-
-S=${WORKDIR}/${MY_PN}-${MY_PV}
-
-pkg_setup() {
- require_php_with_use mysql sockets apache2
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
-
- epatch "${FILESDIR}"/${PATCH_PV}/Makefile.am.patch
- epatch "${FILESDIR}"/${PATCH_PV}/zm_create.sql.in.patch
- epatch "${FILESDIR}"/${PATCH_PV}/zm_remote_camera_http.patch
- epatch "${FILESDIR}"/${PATCH_PV}/db_upgrade_script_location.patch
- epatch "${FILESDIR}"/${PATCH_PV}/zm_jpeg.patch
- epatch "${FILESDIR}"/${PATCH_PV}/zm_build_fix.patch
-
- eautoreconf
-}
-
-src_compile() {
- local myconf
-
-# To enable mmap support we need a dependancy of Sys::Mmap
-# It installs fine via g-cpan, but there's no ebuild currently in portage.
-# if use mmap; then
-# myconf="${myconf} --enable-mmap=yes"
-# else
-# myconf="${myconf} --enable-mmap=no"
-# fi
-
- if use debug; then
- myconf="${myconf} --enable-debug=yes --enable-crashtrace=yes"
- else
- myconf="${myconf} --enable-debug=no --enable-crashtrace=no"
- fi
-
- econf --with-libarch=$(get_libdir) \
- --with-mysql=/usr \
- $(use_with ffmpeg) \
- --with-webdir="${ROOT}var/www/zoneminder/htdocs" \
- --with-cgidir="${ROOT}var/www/zoneminder/cgi-bin" \
- --with-webuser=apache \
- --with-webgroup=apache \
- ${myconf}
-
- einfo "${PN} does not parallel build... using forcing make -j1..."
- emake -j1 || die "emake failed"
-}
-
-src_install() {
- keepdir /var/run/zm
- emake -j1 DESTDIR="${D}" install || die "emake install failed"
-
- fperms 0640 /etc/zm.conf
-
- keepdir /var/log/${PN}
- fowners apache:apache /var/log/${PN}
- fowners apache:apache /var/run/zm
-
- newinitd "${FILESDIR}"/init.d zoneminder
- newconfd "${FILESDIR}"/conf.d zoneminder
-
- dodoc AUTHORS ChangeLog INSTALL NEWS README TODO
-
- insinto /usr/share/${PN}/db
- doins db/zm_u* db/zm_create.sql
-
- insinto /etc/apache2/vhosts.d
- doins "${FILESDIR}"/10_zoneminder.conf
-
- for DIR in events images sound; do
- dodir /var/www/zoneminder/htdocs/${DIR}
- done
-}
-
-pkg_postinst() {
- elog ""
- elog "0. If this is a new installation, you will need to create a MySQL database"
- elog " for ${PN} to use. (see http://www.gentoo.org/doc/en/mysql-howto.xml)."
- elog " Once you completed that you should execute the following:"
- elog ""
- elog " cd /usr/share/${PN}"
- elog " mysql -u <my_database_user> -p<my_database_pass> <my_zoneminder_db> < db/zm_create.sql"
- elog ""
- elog "1. Set your database settings in /etc/zm.conf"
- elog ""
- elog "2. Start the ${PN} daemon:"
- elog ""
- elog " /etc/init.d/${PN} start"
- elog ""
- elog "3. Finally point your browser to http://localhost/${PN}"
- elog ""
- elog ""
- elog "If you are upgrading, you will need to run the zmupdate.pl script:"
- elog ""
- elog " /usr/bin/zmupdate.pl version=<from version> [--user=<my_database_user> --pass=<my_database_pass>]"
- elog ""
-}