diff options
author | Andreas K. Huettel (dilfridge) <mail@akhuettel.de> | 2011-09-01 22:58:34 +0200 |
---|---|---|
committer | Andreas K. Huettel (dilfridge) <mail@akhuettel.de> | 2011-09-01 22:58:55 +0200 |
commit | a5aa609c955ebef36a33e405fad156b1f12c25f4 (patch) | |
tree | 67ec3d062b909070e046ea8688685e01cb44332c /www-misc | |
parent | [www-misc/zoneminder] Copied from CVS attic (diff) | |
download | dilfridge-a5aa609c955ebef36a33e405fad156b1f12c25f4.tar.gz dilfridge-a5aa609c955ebef36a33e405fad156b1f12c25f4.tar.bz2 dilfridge-a5aa609c955ebef36a33e405fad156b1f12c25f4.zip |
[www-misc/zoneminder] Started working on version bump
(Portage version: 2.1.10.11/git/Linux x86_64, signed Manifest commit with key B6C5F7DE)
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/zoneminder/ChangeLog | 7 | ||||
-rw-r--r-- | www-misc/zoneminder/Manifest | 33 | ||||
-rw-r--r-- | www-misc/zoneminder/files/1.25.0/Makefile.am.patch | 19 | ||||
-rw-r--r-- | www-misc/zoneminder/zoneminder-1.25.0.ebuild (renamed from www-misc/zoneminder/zoneminder-1.24.2.ebuild) | 44 |
4 files changed, 65 insertions, 38 deletions
diff --git a/www-misc/zoneminder/ChangeLog b/www-misc/zoneminder/ChangeLog index bdedef9..cf71c0c 100644 --- a/www-misc/zoneminder/ChangeLog +++ b/www-misc/zoneminder/ChangeLog @@ -2,6 +2,13 @@ # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 # $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/Attic/ChangeLog,v 1.41 2011/04/04 12:11:35 scarabeus Exp $ +*zoneminder-1.25.0 (01 Sep 2011) + + 01 Sep 2011; Andreas K. Huettel <dilfridge@gentoo.org> + +files/1.25.0/Makefile.am.patch, -zoneminder-1.24.2.ebuild, + +zoneminder-1.25.0.ebuild: + Started working on version bump + --------------------------------------------------------------------------- Copied from CVS attic to dilfridge overlay --------------------------------------------------------------------------- diff --git a/www-misc/zoneminder/Manifest b/www-misc/zoneminder/Manifest index 9255575..615747c 100644 --- a/www-misc/zoneminder/Manifest +++ b/www-misc/zoneminder/Manifest @@ -7,27 +7,28 @@ AUX 1.24.2/zm_build_fix.patch 407 RMD160 ac45177bb3f06dd0fd9cd1f938b90ba2297d07d 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 1.25.0/Makefile.am.patch 1424 RMD160 7a9708fa416f7e37bfbf8c6934d382541c066c37 SHA1 cc452ac6f332d7932c8ee456347d537fa625b7b6 SHA256 53f476ddd7300f5bfced08a7665c433c9be3f0286723ade8af3283d9b9b06a71 AUX 10_zoneminder.conf 462 RMD160 d032813c63f4676e06658da3668c50f88886efab SHA1 9c834372d5bab84fe3e368be94bd951c2122ed7a SHA256 96306fd39bcffeaf15db4309b8f5f08e54a2409029f92d4a84b6f3e42f05434f AUX conf.d 138 RMD160 e7c71690bac83c1bee63c6b602b15910d3a8967c SHA1 719a2cb400a0a107accb28be3bd17f6269d41f76 SHA256 65e935cb63bf3d072b9317842944d808550ef3f933d834bb95aaacf3253bd85c AUX init.d 398 RMD160 d124ef1c1e6f5b0a9e4535d96620e46de71457c4 SHA1 5afc09eb838d9ebb28e9e91ffa0f482830862396 SHA256 b5dd459ddd0a331f625b5fa0b9441b9236f676ad2e6f6ea2da896ed4056cb0c6 -DIST ZoneMinder-1.24.2.tar.gz 965521 RMD160 3ec5ca1a6d418feeeecd6dc3c4a78a79f5ead373 SHA1 ea854c941b83374a352d7d794a4462e279fea487 SHA256 fd8475138ccee8870534f1210a3d1e3e1990e963dd73146a6d310dc71c463dca -EBUILD zoneminder-1.24.2.ebuild 4084 RMD160 ca439d5f50282c1da78147a6668bbd136dfa6528 SHA1 ef75e0b0abb4a280cab57b93088f3c2d28447df2 SHA256 136436c29def540e5abd519440dc43b57cf012458fbc073c2001928b0e6c0df5 -MISC ChangeLog 7615 RMD160 1076c8a97c96eb16b38a65e61b419f8c85a83c20 SHA1 590c0fe09b124e6e714035de0890f21600f87ad5 SHA256 a209c01ca9c52c69728a11f9d6439a74aeb72c6e63e343fd996e9a2aab0db76a +DIST ZoneMinder-1.25.0.tar.gz 1119091 RMD160 32a4f503770103e55bfe592864c1cab82e7395a6 SHA1 a93a976a5cd82f1e197f4d7bd626d3f0387c4231 SHA256 ec63ef47d8f4cb8af21a3bc84ff1de6968805146682dd7f10982bde975d9bb5d +EBUILD zoneminder-1.25.0.ebuild 3916 RMD160 41445ccf66dd51bcf9065bf0a729dea6fe84e970 SHA1 4a116c4af0559e7b9aae9178725d49cb798dff0b SHA256 9b435a1fd7a867314ee6ad8c7400796ea09d573ce3875b49c681c92dfa406b7c +MISC ChangeLog 7832 RMD160 6ee9be50b5925df5ad39347aa7e4c477808096fc SHA1 20aa4fb2abf94e250e608ce32f42bf8a4eb5a063 SHA256 0c42075e7a943aaa795ec73e0f978e53e84cb26cc39c80f4fa097d16e9898345 MISC metadata.xml 262 RMD160 24e1a7cfcbca1e2f41e8c062c448d9150f6320b8 SHA1 951224aa9eb92e898209936836a18e844ae1f169 SHA256 7e8dde52c550f9cfc6d74b78c19f6900a8cc241f2bf136610a4fc3b0aa95f3f5 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Lin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vxZiHNhGl5uUKFtMGy13M5/RR6d6G7LnFXbgANlZV1xHW6H1TkU3XiLGgDnVIdli +veDnV8OlwAr8J/nqQupLaXu0xuskqXvuUuX4de20njGO6+jQpoewAEpl68pRoIVq +y54E5UUrMEiUJNW2y0J4D6hqiByFz7W6x+NBCBeTTBV9YESu2T5Yu6g8eLBVGkNB +9Oe+kib0AZxzxO/LR6lpxyUINJSBW/Soz8zUjf/XAT6+ZipwhJgIuIlKqxmv9F8y +Ne7Vp0hz9a4TW3YoL0Azg/Se/LCOjkkURUfikXPaBD6WfEFIbJEKKiS+Dah5MS3Q +1gP4LK6ruZe0WQ1bvOtsDFzVQjVvz3SW9KZ0LgHSxKAYNLgvZUvTEx/Ca4IgQCnX +3wE/Rd5hLLNbHIhPKLE6 +=jxHs -----END PGP SIGNATURE----- diff --git a/www-misc/zoneminder/files/1.25.0/Makefile.am.patch b/www-misc/zoneminder/files/1.25.0/Makefile.am.patch new file mode 100644 index 0000000..bba895e --- /dev/null +++ b/www-misc/zoneminder/files/1.25.0/Makefile.am.patch @@ -0,0 +1,19 @@ +diff -ruN ZoneMinder-1.25.0-0-vanilla/Makefile.am ZoneMinder-1.25.0/Makefile.am +--- ZoneMinder-1.25.0-0-vanilla/Makefile.am 2011-05-20 11:39:37.000000000 +0200 ++++ ZoneMinder-1.25.0/Makefile.am 2011-09-01 22:52:32.000000000 +0200 +@@ -19,11 +19,12 @@ + zmconfgen.pl.in + + # Yes, you are correct. This is a HACK! ++# we need to set the permissions in the ebuild anyway since the installer may be running userpriv + 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 -e $(DESTDIR)$(ZM_TMPDIR); then mkdir -m 700 -p $(DESTDIR)$(ZM_TMPDIR); ) ++ ( if ! test -e $(DESTDIR)$(ZM_LOGDIR); then mkdir -p $(DESTDIR)$(ZM_LOGDIR); fi; ) + + uninstall-hook: + @-( cd $(DESTDIR)$(webdir); rm -rf events graphics images sounds temp ) diff --git a/www-misc/zoneminder/zoneminder-1.24.2.ebuild b/www-misc/zoneminder/zoneminder-1.25.0.ebuild index 3ffc802..b95fa0b 100644 --- a/www-misc/zoneminder/zoneminder-1.24.2.ebuild +++ b/www-misc/zoneminder/zoneminder-1.25.0.ebuild @@ -2,21 +2,19 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/Attic/zoneminder-1.24.2.ebuild,v 1.6 2011/04/04 12:11:35 scarabeus Exp $ -inherit eutils autotools depend.php depend.apache multilib +EAPI=4 -MY_PV=${PV/_/-} -MY_PN="ZoneMinder" +inherit eutils base autotools depend.php depend.apache multilib -PATCH_PV="1.24.2" +MY_PN="ZoneMinder" 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" +SRC_URI="http://www.zoneminder.com/downloads/${MY_PN}-${PV}.tar.gz" LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" +KEYWORDS="" IUSE="debug ffmpeg" -#IUSE="debug ffmpeg mmap" SLOT="0" DEPEND="app-admin/sudo @@ -49,27 +47,27 @@ RDEPEND="dev-perl/DBD-mysql need_apache need_php_httpd -S=${WORKDIR}/${MY_PN}-${MY_PV} +S=${WORKDIR}/${MY_PN}-${PV} + +PATCHES=( + "${FILESDIR}"/1.25.0/Makefile.am.patch + "${FILESDIR}"/1.24.2/zm_create.sql.in.patch + "${FILESDIR}"/1.24.2/zm_remote_camera_http.patch + "${FILESDIR}"/1.24.2/db_upgrade_script_location.patch + "${FILESDIR}"/1.24.2/zm_jpeg.patch + "${FILESDIR}"/1.24.2/zm_build_fix.patch +) 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 - +src_prepare() { + base_src_prepare eautoreconf } -src_compile() { +src_configure() { local myconf # To enable mmap support we need a dependancy of Sys::Mmap @@ -94,14 +92,16 @@ src_compile() { --with-webuser=apache \ --with-webgroup=apache \ ${myconf} +} +src_compile() { einfo "${PN} does not parallel build... using forcing make -j1..." - emake -j1 || die "emake failed" + emake -j1 } src_install() { keepdir /var/run/zm - emake -j1 DESTDIR="${D}" install || die "emake install failed" + emake -j1 DESTDIR="${D}" install fperms 0640 /etc/zm.conf |