Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 186550 Details for
Bug 262019
www-misc/zoneminder-1.24.1 version bump
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Updated version of my ebuild. Including Josh's updated patches.
zoneminder-1.24.1.ebuild (text/plain), 3.96 KB, created by
Gary Richards
on 2009-03-28 14:23:06 UTC
(
hide
)
Description:
Updated version of my ebuild. Including Josh's updated patches.
Filename:
MIME Type:
Creator:
Gary Richards
Created:
2009-03-28 14:23:06 UTC
Size:
3.96 KB
patch
obsolete
># Copyright 1999-2008 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/www-misc/zoneminder/zoneminder-1.23.3.ebuild,v 1.3 2008/06/29 15:57:17 loki_val Exp $ > >inherit eutils autotools depend.php depend.apache multilib > >MY_PV=${PV/_/-} >MY_PN="ZoneMinder" > >PATCH_PV="1.24.1" > >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="~amd64 ~ppc ~x86" >IUSE="debug ffmpeg X10" >#IUSE="debug ffmpeg mmap X10" >SLOT="0" > >DEPEND="app-admin/sudo > dev-libs/libpcre > >=media-libs/jpeg-6b > net-libs/gnutls > >=dev-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 > X10? ( dev-perl/X10 )" > >RDEPEND="dev-perl/DBD-mysql > ffmpeg? ( >=media-video/ffmpeg-0.5-r1 ) > media-libs/netpbm" > ># we cannot use need_httpd_cgi here, since we need to setup permissions for the ># webserver in global scope (/etc/zm.conf etc), so we hardcode apache here. >need_apache >need_php_httpd > >S="${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}"/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="${myconf} --enable-mmap=yes" ># else ># myconf="${myconf} --enable-mmap=no" ># fi > > if use debug; then > myconf="${myconf} --enable-debug=yes --enable-crashtrace=yes" > else > myconf="${myconf} --enable-debug=no --enable-crashtrace=no" > fi > > econf --with-libarch=$(get_libdir) \ > --with-mysql=/usr \ > $(use_with ffmpeg) \ > --with-webdir="${ROOT}var/www/zoneminder/htdocs" \ > --with-cgidir="${ROOT}var/www/zoneminder/cgi-bin" \ > --with-webuser=apache \ > --with-webgroup=apache \ > ${myconf} \ > || die "econf failed" > > einfo "${PN} does not parallel build... using forcing make -j1..." > emake -j1 || die "emake failed" >} > >src_install() { > keepdir /var/run/zm > emake -j1 DESTDIR="${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 <my_database_user> -p<my_database_pass> <my_zoneminder_db> < 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=<from version> [--user=<my_database_user> --pass=<my_database_pass>]" > elog "" >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 262019
:
184589
|
185992
|
185993
|
186075
|
186318
|
186320
|
186321
|
186322
|
186327
|
186330
| 186550 |
189188