Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 13288 Details for
Bug 22849
PIWI frontend for prelude
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Ebuild for PIWI, grabs sources from CVS
piwi-cvs-1.0.ebuild (text/plain), 2.38 KB, created by
Michael Boman
on 2003-06-14 21:25:58 UTC
(
hide
)
Description:
Ebuild for PIWI, grabs sources from CVS
Filename:
MIME Type:
Creator:
Michael Boman
Created:
2003-06-14 21:25:58 UTC
Size:
2.38 KB
patch
obsolete
># Copyright 1999-2003 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: /cvsroot/devel/gentoo-x86/securecirt/piwi-cvs/piwi-cvs-1.0.ebuild,v 1.12 2003/06/07 03:52:38 michael Exp $ > >IUSE="mysql postgres gd" > >inherit eutils > >ECVS_SERVER="cvs.prelude-ids.org:/cvsroot/prelude" >ECVS_MODULE="piwi" >#ECVS_BRANCH="${ECVS_MODULE}-`echo ${PV} | sed s:\\\.:-:g`" >ECVS_TOP_DIR="${DISTDIR}/cvs-src/${ECVS_MODULE}" > >inherit cvs > >S=${WORKDIR}/${ECVS_MODULE} >#echo ${ECVS_BRANCH} > > >DESCRIPTION="Prelude web/perl frontend > This ebuild will fetch the newest cvs sources from the cvs-server." >HOMEPAGE="http://www.prelude-ids.org" > >SLOT="0" >KEYWORDS="~x86" >LICENSE="GPL-2" > >#newdepend "" > >DEPEND=" > dev-lang/perl > dev-perl/DBI > dev-perl/Date-Calc > postgresql? ( dev-perl/DBD-Pg ) > mysql? ( dev-perl/DBD-mysql ) > gd? ( dev-perl/GDGraph securecirt/Geo-IP ) >" > > >RDEPEND="${DEPEND}" > >src_install () { > into /home/httpd/htdocs/piwi || die > into /etc/piwi || die > > #rm index.pl || die > #ln -s Filters.pl index.pl || die > rsync --exclude CVS -a ${S}/ ${D}/home/httpd/htdocs/piwi/ || die > > chown -R root:root ${D}/home/httpd/htdocs/piwi || die > chown -R apache:apache ${D}/home/httpd/htdocs/piwi/generated || die > > mv ${D}/home/httpd/htdocs/piwi/generated/Filters ${D}/etc/piwi/Filters || die > ln -sf /etc/piwi/Filters ${D}/home/httpd/htdocs/piwi/generated/Filters || die > > mv ${D}/home/httpd/htdocs/piwi/Profiles ${D}/etc/piwi/Profiles || die > ln -sf /etc/piwi/Profiles ${D}/home/httpd/htdocs/piwi/Profiles || die > > mv ${D}/home/httpd/htdocs/piwi/Functions/config.pl ${D}/etc/piwi/config.pl || die > ln -sf /etc/piwi/config.pl ${D}/home/httpd/htdocs/piwi/Functions/config.pl || die > > insinto /etc/apache/conf/addon-modules; doins ${FILESDIR}/piwi.conf || die >} > >pkg_postinst() { > einfo > einfo "To have Apache run piwi, please do the following:" > if [ "`use apache2`" ] ; then > einfo "Edit /etc/conf.d/apache2 and add \"-D PIWI\"" > else > einfo "1. Execute the command:" > einfo " \"ebuild /var/db/pkg/securecirt/${PF}/${PF}.ebuild config\"" > einfo "2. Edit /etc/conf.d/apache and add \"-D PIWI\"" > einfo "3. Edit /home/httpd/htdocs/piwi/Functions/config.pl and set your DB details" > fi >} > >pkg_config() { > echo "Include conf/addon-modules/piwi.conf" >> ${ROOT}/etc/apache/conf/apache.conf >} >
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 22849
: 13288