From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MXvaD-0003GP-BC for garchives@archives.gentoo.org; Mon, 03 Aug 2009 11:20:01 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF7AEE041B; Mon, 3 Aug 2009 11:20:00 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 973EEE041B for ; Mon, 3 Aug 2009 11:20:00 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 47A8865240 for ; Mon, 3 Aug 2009 11:20:00 +0000 (UTC) Received: from gentoofan23 by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MXvaB-0001IQ-Pe for gentoo-commits@lists.gentoo.org; Mon, 03 Aug 2009 11:19:59 +0000 From: "Thomas Anderson (gentoofan23)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, gentoofan23@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in www-misc/zoneminder: ChangeLog zoneminder-1.24.2.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog zoneminder-1.24.2.ebuild X-VCS-Directories: www-misc/zoneminder X-VCS-Committer: gentoofan23 X-VCS-Committer-Name: Thomas Anderson Content-Type: text/plain; charset=utf8 Message-Id: Sender: Thomas Anderson Date: Mon, 03 Aug 2009 11:19:59 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 3813bfc1-5003-4ad2-83a4-bf6cea8efabb X-Archives-Hash: fd1f6a535bef37a1162a9c3c7f986566 gentoofan23 09/08/03 11:19:59 Modified: ChangeLog Added: zoneminder-1.24.2.ebuild Log: Add www-misc/zoneminder-1.24.2; fixes bug #262019 and security bug #236= 517. (Portage version: 2.1.6.13/cvs/Linux x86_64) Revision Changes Path 1.36 www-misc/zoneminder/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminde= r/ChangeLog?rev=3D1.36&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminde= r/ChangeLog?rev=3D1.36&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminde= r/ChangeLog?r1=3D1.35&r2=3D1.36 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- ChangeLog 16 Jul 2009 08:59:19 -0000 1.35 +++ ChangeLog 3 Aug 2009 11:19:59 -0000 1.36 @@ -1,6 +1,16 @@ # ChangeLog for www-misc/zoneminder # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.35 = 2009/07/16 08:59:19 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.36 = 2009/08/03 11:19:59 gentoofan23 Exp $ + +*zoneminder-1.24.2 (03 Aug 2009) + + 03 Aug 2009; Thomas Anderson + +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. =20 16 Jul 2009; Torsten Veller zoneminder-1.23.3.ebuild= , metadata.xml: 1.1 www-misc/zoneminder/zoneminder-1.24.2.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminde= r/zoneminder-1.24.2.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-misc/zoneminde= r/zoneminder-1.24.2.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: zoneminder-1.24.2.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 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.1 2009/08/03 11:19:59 gentoofan23 Exp $ inherit eutils autotools depend.php depend.apache multilib MY_PV=3D${PV/_/-} MY_PN=3D"ZoneMinder" PATCH_PV=3D"1.24.2" DESCRIPTION=3D"ZoneMinder allows you to capture, analyse, record and moni= tor any cameras attached to your system." HOMEPAGE=3D"http://www.zoneminder.com/" SRC_URI=3D"http://www.zoneminder.com/downloads/${MY_PN}-${MY_PV}.tar.gz" LICENSE=3D"GPL-2" KEYWORDS=3D"~amd64 ~ppc ~x86" IUSE=3D"debug ffmpeg" #IUSE=3D"debug ffmpeg mmap" SLOT=3D"0" DEPEND=3D"app-admin/sudo dev-libs/libpcre >=3Dmedia-libs/jpeg-6b net-libs/gnutls >=3Ddev-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=3D"dev-perl/DBD-mysql ffmpeg? ( >=3Dmedia-video/ffmpeg-0.5-r1 ) media-libs/netpbm" # we cannot use need_httpd_cgi here, since we need to setup permissions f= or the # webserver in global scope (/etc/zm.conf etc), so we hardcode apache her= e. need_apache need_php_httpd S=3D"${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 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=3D"${myconf} --enable-mmap=3Dyes" # else # myconf=3D"${myconf} --enable-mmap=3Dno" # fi if use debug; then myconf=3D"${myconf} --enable-debug=3Dyes --enable-crashtrace=3Dyes" else myconf=3D"${myconf} --enable-debug=3Dno --enable-crashtrace=3Dno" fi econf --with-libarch=3D$(get_libdir) \ --with-mysql=3D/usr \ $(use_with ffmpeg) \ --with-webdir=3D"${ROOT}var/www/zoneminder/htdocs" \ --with-cgidir=3D"${ROOT}var/www/zoneminder/cgi-bin" \ --with-webuser=3Dapache \ --with-webgroup=3Dapache \ ${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=3D"${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 "${ROOT}"/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 -p < 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=3D [--user=3D --pass=3D]" elog "" }