summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRenat Lumpau <rl03@gentoo.org>2005-07-07 18:42:07 +0000
committerRenat Lumpau <rl03@gentoo.org>2005-07-07 18:42:07 +0000
commit892c55884854f2d89df00a22f3c913ca56246141 (patch)
tree25a025b2a3275c2d2912a8389626ddbe15b6e7f8 /www-misc
parentStable on ppc64 (diff)
downloadgentoo-2-892c55884854f2d89df00a22f3c913ca56246141.tar.gz
gentoo-2-892c55884854f2d89df00a22f3c913ca56246141.tar.bz2
gentoo-2-892c55884854f2d89df00a22f3c913ca56246141.zip
Version bump. Create log dirs (wrt #72002).
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'www-misc')
-rw-r--r--www-misc/zoneminder/ChangeLog8
-rw-r--r--www-misc/zoneminder/Manifest16
-rw-r--r--www-misc/zoneminder/files/digest-zoneminder-1.21.21
-rw-r--r--www-misc/zoneminder/files/postinstall.txt14
-rw-r--r--www-misc/zoneminder/files/zmconfig-gentoo.txt19
-rw-r--r--www-misc/zoneminder/zoneminder-1.21.2.ebuild58
6 files changed, 104 insertions, 12 deletions
diff --git a/www-misc/zoneminder/ChangeLog b/www-misc/zoneminder/ChangeLog
index d65f78472d59..50287fe00e44 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.5 2005/05/06 10:33:23 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.6 2005/07/07 18:42:07 rl03 Exp $
+
+*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.
diff --git a/www-misc/zoneminder/Manifest b/www-misc/zoneminder/Manifest
index 233bc4326cd5..427a50f62193 100644
--- a/www-misc/zoneminder/Manifest
+++ b/www-misc/zoneminder/Manifest
@@ -1,13 +1,7 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 b16c6293690c9289b1d703d84d79b132 zoneminder-0.9.12.ebuild 2019
-MD5 8d09d3e7f8430ec7bbdd3a5985d10ae2 ChangeLog 1538
+MD5 ac74b4d5f0bd5adfd70d1e45a95b8733 zoneminder-1.21.2.ebuild 1547
+MD5 3d3b6f73d9ee48977f112d2c9b5253ad ChangeLog 1746
MD5 cf91c423242d440d538cec3f4cd0940b files/digest-zoneminder-0.9.12 129
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCe0gDI1lqEGTUzyQRArbmAJ4ouv+9hLdVryPyb24oByz+AEctyACg0UmN
-n6q36vs9eZJ5Wkg6elVNb9A=
-=/0aN
------END PGP SIGNATURE-----
+MD5 44a6b30038a444da891e14fd838ae012 files/digest-zoneminder-1.21.2 61
+MD5 8c805069c0e1f5731ba4326e5cc3aec6 files/zmconfig-gentoo.txt 505
+MD5 178b73fb9a69073c47336ec2be602549 files/postinstall.txt 487
diff --git a/www-misc/zoneminder/files/digest-zoneminder-1.21.2 b/www-misc/zoneminder/files/digest-zoneminder-1.21.2
new file mode 100644
index 000000000000..2c7de58c64b3
--- /dev/null
+++ b/www-misc/zoneminder/files/digest-zoneminder-1.21.2
@@ -0,0 +1 @@
+MD5 cb4c6a65ed848f34b26723973345b732 zm-1.21.2.tar.gz 866244
diff --git a/www-misc/zoneminder/files/postinstall.txt b/www-misc/zoneminder/files/postinstall.txt
new file mode 100644
index 000000000000..abd6e3b06ff3
--- /dev/null
+++ b/www-misc/zoneminder/files/postinstall.txt
@@ -0,0 +1,14 @@
+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
+ 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
+
+Then edit /etc/zm.conf, and log in:
+ http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/zm.php
+
+Default username/password are admin/admin.
diff --git a/www-misc/zoneminder/files/zmconfig-gentoo.txt b/www-misc/zoneminder/files/zmconfig-gentoo.txt
new file mode 100644
index 000000000000..a474d4cbe51f
--- /dev/null
+++ b/www-misc/zoneminder/files/zmconfig-gentoo.txt
@@ -0,0 +1,19 @@
+Name: ZM_PATH_MPEG_ENCODE
+Value: /usr/bin/mpeg_encode
+Description: Path to (optional) Berkeley mpeg encoder
+
+Name: ZM_PATH_FFMPEG
+Value: /usr/bin/ffmpeg
+Description: Path to (optional) ffmpeg mpeg encoder
+
+Name: ZM_OPT_NETPBM
+Value: yes
+Description: Are the (optional) Netpbm utilities installed
+
+Name: ZM_PATH_NETPBM
+Value: /usr/bin
+Description: Path to (optional) Netpbm utilities
+
+Name: ZM_PATH_LOGS
+Value: /var/log/zoneminder
+Description: Path to the various logs that the ZoneMinder daemons generate
diff --git a/www-misc/zoneminder/zoneminder-1.21.2.ebuild b/www-misc/zoneminder/zoneminder-1.21.2.ebuild
new file mode 100644
index 000000000000..83af9e217560
--- /dev/null
+++ b/www-misc/zoneminder/zoneminder-1.21.2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/zoneminder-1.21.2.ebuild,v 1.1 2005/07/07 18:42:07 rl03 Exp $
+
+inherit eutils webapp
+
+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"
+
+DEPEND=">=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"
+
+ cp ${FILESDIR}/zmconfig-gentoo.txt ${T}
+ perl zmconfig.pl -f ${T}/zmconfig-gentoo.txt -noi
+
+ 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 /var/log/zoneminder && keepdir /var/log/zoneminder
+
+ fperms 0644 /etc/zm.conf
+
+ webapp_postinst_txt en ${FILESDIR}/postinstall.txt
+ webapp_src_install
+}