diff options
author | Renat Lumpau <rl03@gentoo.org> | 2006-07-01 05:48:19 +0000 |
---|---|---|
committer | Renat Lumpau <rl03@gentoo.org> | 2006-07-01 05:48:19 +0000 |
commit | 668db6a8ff08550e8a30074e91004f19058e1f26 (patch) | |
tree | 144dbbaf9473d9a5fd0e7abee6187859d69b2829 /www-misc | |
parent | Go back to the better hardened setup, now that the binutils patch tarball is ... (diff) | |
download | historical-668db6a8ff08550e8a30074e91004f19058e1f26.tar.gz historical-668db6a8ff08550e8a30074e91004f19058e1f26.tar.bz2 historical-668db6a8ff08550e8a30074e91004f19058e1f26.zip |
Version bump
Package-Manager: portage-2.1
Diffstat (limited to 'www-misc')
-rw-r--r-- | www-misc/zoneminder/ChangeLog | 9 | ||||
-rw-r--r-- | www-misc/zoneminder/files/digest-zoneminder-1.21.4 | 2 | ||||
-rw-r--r-- | www-misc/zoneminder/files/digest-zoneminder-1.22.2 | 3 | ||||
-rw-r--r-- | www-misc/zoneminder/files/postinstall-2.txt | 7 | ||||
-rw-r--r-- | www-misc/zoneminder/files/postupgrade.txt | 7 | ||||
-rw-r--r-- | www-misc/zoneminder/zoneminder-1.22.2.ebuild | 88 |
6 files changed, 111 insertions, 5 deletions
diff --git a/www-misc/zoneminder/ChangeLog b/www-misc/zoneminder/ChangeLog index 5e75c9acc1ea..683d31586149 100644 --- a/www-misc/zoneminder/ChangeLog +++ b/www-misc/zoneminder/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-misc/zoneminder # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.14 2006/02/08 19:35:40 rl03 Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/ChangeLog,v 1.15 2006/07/01 05:48:19 rl03 Exp $ + +*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 diff --git a/www-misc/zoneminder/files/digest-zoneminder-1.21.4 b/www-misc/zoneminder/files/digest-zoneminder-1.21.4 index 3d1b9d0e39c3..94c7747253e7 100644 --- a/www-misc/zoneminder/files/digest-zoneminder-1.21.4 +++ b/www-misc/zoneminder/files/digest-zoneminder-1.21.4 @@ -1 +1,3 @@ MD5 ce35d8f99bf7da0691a692fd6e10005f zm-1.21.4.tar.gz 935070 +RMD160 233fcd3084e366cdf305d943d9098df7cccf6eb3 zm-1.21.4.tar.gz 935070 +SHA256 e69fb3f9e739adf7e7628ba6de7b0fc8ad4b0a2c879d4a6ca1c104ec7a00722e zm-1.21.4.tar.gz 935070 diff --git a/www-misc/zoneminder/files/digest-zoneminder-1.22.2 b/www-misc/zoneminder/files/digest-zoneminder-1.22.2 new file mode 100644 index 000000000000..4bee10255c81 --- /dev/null +++ b/www-misc/zoneminder/files/digest-zoneminder-1.22.2 @@ -0,0 +1,3 @@ +MD5 b38ad6ff8c71c589e04d32f8352d2b9c ZoneMinder-1.22.2.tar.gz 1246851 +RMD160 ec84f03e26573a4ab9965c5d365368b78cd9e333 ZoneMinder-1.22.2.tar.gz 1246851 +SHA256 f8d0ee7e19eb17ff793cd0cc92629919233f1e52e07d5dbc73e02b7a611bd360 ZoneMinder-1.22.2.tar.gz 1246851 diff --git a/www-misc/zoneminder/files/postinstall-2.txt b/www-misc/zoneminder/files/postinstall-2.txt index 2e2eb061b8f1..f6c588d1d5e6 100644 --- a/www-misc/zoneminder/files/postinstall-2.txt +++ b/www-misc/zoneminder/files/postinstall-2.txt @@ -1,4 +1,4 @@ -1. If this is a new installation, you will need to create a database for ZM to +0. If this is a new installation, you will need to create a database for ZM to use. Execute the following: cd /usr/share/${PN} @@ -8,13 +8,16 @@ > quit mysqladmin reload -2. Edit /etc/zm.conf: +1. Edit /etc/zm.conf: ZM_PATH_BUILD => /usr/share/${PN} ZM_PATH_WEB => ${MY_INSTALLDIR} ZM_PATH_CGI => ${VHOST_CGIBINDIR} Also set your database settings. +2. Start the zoneminder daemon: + /etc/init.d/zoneminder stop + 3. Login: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/zm.php Default username/password are admin/admin. diff --git a/www-misc/zoneminder/files/postupgrade.txt b/www-misc/zoneminder/files/postupgrade.txt index 35a4f27d3f84..98e59576deed 100644 --- a/www-misc/zoneminder/files/postupgrade.txt +++ b/www-misc/zoneminder/files/postupgrade.txt @@ -1,12 +1,15 @@ -1. If you are upgrading, you will need to run the zmupdate.pl script: +0. If you are upgrading, you will need to run the zmupdate.pl script: /usr/bin/zmupdate.pl version=<from version> [--user=<database user> --pass=<database password>] -2. Edit /etc/zm.conf: +1. Edit /etc/zm.conf: ZM_PATH_BUILD => /usr/share/${PN} ZM_PATH_WEB => ${MY_INSTALLDIR} ZM_PATH_CGI => ${VHOST_CGIBINDIR} Also set your database settings. +2. Start the zoneminder daemon: + /etc/init.d/zoneminder start + 3. Login: http://${VHOST_HOSTNAME}/${VHOST_APPDIR}/zm.php diff --git a/www-misc/zoneminder/zoneminder-1.22.2.ebuild b/www-misc/zoneminder/zoneminder-1.22.2.ebuild new file mode 100644 index 000000000000..59e3dadb34d1 --- /dev/null +++ b/www-misc/zoneminder/zoneminder-1.22.2.ebuild @@ -0,0 +1,88 @@ +# 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.22.2.ebuild,v 1.1 2006/07/01 05:48:19 rl03 Exp $ + +inherit eutils webapp autotools depend.php + +WEBAPP_MANUAL_SLOT="yes" +SLOT="0" +MY_PV=${PV/_/-} +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" +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-5.6.0 + dev-perl/DBI + dev-perl/DBD-mysql + perl-core/Getopt-Long + perl-core/Time-HiRes + dev-perl/DateManip + dev-perl/libwww-perl + dev-perl/Device-SerialPort + perl-core/libnet + dev-perl/Archive-Tar + dev-perl/Archive-Zip + dev-perl/MIME-Lite + dev-perl/MIME-tools + || ( perl-core/Sys-Syslog >=dev-lang/perl-5.8.8 ) + dev-perl/X10 +" + +need_php + +RDEPEND="mpeg? ( media-video/ffmpeg ) + media-libs/netpbm + dev-perl/DBD-mysql" + +S=${WORKDIR}/${MY_PN}-${MY_PV} + +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/Makefile.am.patch +} + +src_compile() { + eautoreconf + + local MY_CONF="--with-mysql=/usr \ + --with-webdir=${MY_HTDOCSDIR} \ + --with-cgidir=${MY_CGIBINDIR} \ + --with-webuser=apache \ + --with-webgroup=apache" + use mpeg && MY_CONF="${MY_CONF} --with-ffmpeg=/usr" + + econf ${MY_CONF} || die "econf failed" + emake || die "emake failed" +} + +src_install() { + webapp_src_preinst + + dodir /var/run/zm + emake DESTDIR=${D} install || die "emake install failed" + dodoc AUTHORS ChangeLog INSTALL NEWS README README.[prt]* TODO + dohtml README.html + + dodir /usr/share/${PN}/db + cp db/zm_u* db/zm_create.sql ${D}/usr/share/${PN}/db + + keepdir /var/log/${PN} + + webapp_postinst_txt en ${FILESDIR}/postinstall-2.txt + webapp_postupgrade_txt en ${FILESDIR}/postupgrade.txt + webapp_src_install + fperms 0644 /etc/zm.conf + fowners apache:apache /var/log/${PN} + + newinitd ${FILESDIR}/init.d zoneminder + newconfd ${FILESDIR}/conf.d zoneminder +} |