summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2006-01-05 23:30:27 +0000
committerRenat Lumpau <rl03@gentoo.org>2006-01-05 23:30:27 +0000
commitb37a4d16a051023b64268d0a564f068c7f6da65f (patch)
treeeff733fc8fb8788de3adc68b2440deac5b127195 /www-misc
parentAdding patch to fix compile with --as-needed ldflag. Thanks much to Diego in ... (diff)
downloadgentoo-2-b37a4d16a051023b64268d0a564f068c7f6da65f.tar.gz
gentoo-2-b37a4d16a051023b64268d0a564f068c7f6da65f.tar.bz2
gentoo-2-b37a4d16a051023b64268d0a564f068c7f6da65f.zip
Version bump (bug #117944), fixes for bug #106913.
(Portage version: 2.0.53)
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/zoneminder/ChangeLog10
-rw-r--r--www-misc/zoneminder/Manifest4
-rw-r--r--www-misc/zoneminder/files/digest-zoneminder-1.21.41
-rw-r--r--www-misc/zoneminder/files/postinstall.txt9
-rw-r--r--www-misc/zoneminder/zoneminder-1.21.4.ebuild65
5 files changed, 84 insertions, 5 deletions
diff --git a/www-misc/zoneminder/ChangeLog b/www-misc/zoneminder/ChangeLog
index 9cdf80bb0167..c222d4271417 100644
--- a/www-misc/zoneminder/ChangeLog
+++ b/www-misc/zoneminder/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for www-misc/zoneminder
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.8 2005/12/12 21:31:37 carlo Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.9 2006/01/05 23:30:27 rl03 Exp $
+
+*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
diff --git a/www-misc/zoneminder/Manifest b/www-misc/zoneminder/Manifest
index c8dc2e3b345e..3b190a014f4c 100644
--- a/www-misc/zoneminder/Manifest
+++ b/www-misc/zoneminder/Manifest
@@ -2,9 +2,11 @@ MD5 e60fd0d89a012f4e98e0f4ac95bb2a5d ChangeLog 1990
MD5 cf91c423242d440d538cec3f4cd0940b files/digest-zoneminder-0.9.12 129
MD5 44a6b30038a444da891e14fd838ae012 files/digest-zoneminder-1.21.2 61
MD5 2740d7d9d377e510a42f6579336bf11a files/digest-zoneminder-1.21.3 61
-MD5 178b73fb9a69073c47336ec2be602549 files/postinstall.txt 487
+MD5 cbf3094fef30cb6fa1375e47d61e1cc7 files/digest-zoneminder-1.21.4 61
+MD5 f1bbdbaae143812aebe236c421c4fba9 files/postinstall.txt 627
MD5 8c805069c0e1f5731ba4326e5cc3aec6 files/zmconfig-gentoo.txt 505
MD5 f61bfa064e3acdfcd826e4a38b121196 metadata.xml 161
MD5 b16c6293690c9289b1d703d84d79b132 zoneminder-0.9.12.ebuild 2019
MD5 58f2924433c8e6a154f932ab8b2b6535 zoneminder-1.21.2.ebuild 1543
MD5 adea8bc9d1f939c29f84f199e215e838 zoneminder-1.21.3.ebuild 1543
+MD5 25f8f37f447a8a0d73dc4c9360996f3a zoneminder-1.21.4.ebuild 1705
diff --git a/www-misc/zoneminder/files/digest-zoneminder-1.21.4 b/www-misc/zoneminder/files/digest-zoneminder-1.21.4
new file mode 100644
index 000000000000..3d1b9d0e39c3
--- /dev/null
+++ b/www-misc/zoneminder/files/digest-zoneminder-1.21.4
@@ -0,0 +1 @@
+MD5 ce35d8f99bf7da0691a692fd6e10005f zm-1.21.4.tar.gz 935070
diff --git a/www-misc/zoneminder/files/postinstall.txt b/www-misc/zoneminder/files/postinstall.txt
index abd6e3b06ff3..5bb5c2d66404 100644
--- a/www-misc/zoneminder/files/postinstall.txt
+++ b/www-misc/zoneminder/files/postinstall.txt
@@ -1,13 +1,18 @@
If this is a new installation, you will need to create a database for ZM to
use. Execute the following:
-
- cd /usr/share/doc/zoneminder-VERSION
+
+ cd /usr/share/doc/${PN}-${PVR}
gunzip zmschema.sql.gz && mysql mysql < zmschema.sql
mysql mysql
> grant select,insert,update,delete on <your database name>.* to '<username>'@localhost identified by '<password>';
> quit
mysqladmin reload
+Now run zmconfig.pl:
+ cd /usr/share/${PN}-${PVR}
+ edit zmconfig-gentoo.txt set your db settings
+ ./zmconfig.pl -f ./zmconfig-gentoo.txt -noi -nor
+
Then edit /etc/zm.conf, and log in:
http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/zm.php
diff --git a/www-misc/zoneminder/zoneminder-1.21.4.ebuild b/www-misc/zoneminder/zoneminder-1.21.4.ebuild
new file mode 100644
index 000000000000..dd24031bd534
--- /dev/null
+++ b/www-misc/zoneminder/zoneminder-1.21.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/zoneminder-1.21.4.ebuild,v 1.1 2006/01/05 23:30:27 rl03 Exp $
+
+inherit eutils webapp
+
+WEBAPP_MANUAL_SLOT="yes"
+SLOT="0"
+
+DESCRIPTION="ZoneMinder allows you to capture, analyse, record and monitor any cameras attached to your system."
+HOMEPAGE="http://www.zoneminder.com/"
+SRC_URI="http://www2.zoneminder.com/downloads/zm-${PV}.tar.gz"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc"
+IUSE="mpeg mysql"
+
+DEPEND="mysql ( >=dev-db/mysql-3 )
+ >=media-libs/jpeg-6b
+ >=net-www/apache-1.3.27-r3
+ dev-lang/perl"
+
+RDEPEND="mpeg? ( media-video/ffmpeg )
+ virtual/php
+ media-libs/netpbm
+ dev-perl/DBD-mysql"
+
+S=${WORKDIR}/zm-${PV}
+
+src_compile() {
+ ./configure \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --infodir=/usr/share/info \
+ --mandir=/usr/share/man \
+ --with-mysql=/usr \
+ --with-webdir=${MY_HTDOCSDIR} \
+ --with-cgidir=${MY_CGIBINDIR} \
+ $(use_with mpeg ffmpeg)=/usr \
+ --with-webuser=apache \
+ --with-webgroup=apache || die "./configure failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ webapp_src_preinst
+
+ make DESTDIR=${D} install || die "make install failed"
+ dodoc AUTHORS COPYING ChangeLog INSTALL NEWS README TODO db/zmschema.sql
+ dohtml README.html
+
+ dodir /usr/share/${P}
+ insinto /usr/share/${P}
+ doins zmconfig.pl ${FILESDIR}/zmconfig-gentoo.txt zmconfig_eml.txt zmconfig_msg.txt
+ fperms 0700 /usr/share/${P}/zmconfig.pl
+
+ dodir /var/log/${PN} && keepdir /var/log/${PN}
+ fowners apache:apache /var/log/${PN}
+
+ fperms 0644 /etc/zm.conf
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall.txt
+ webapp_src_install
+}