Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21656 Details for
Bug 35008
bugport-1.063.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bugport-1.063.ebuild (New Package)
bugport-1.063.ebuild (text/plain), 1.93 KB, created by
Josh Glover (RETIRED)
on 2003-12-03 13:43:10 UTC
(
hide
)
Description:
bugport-1.063.ebuild (New Package)
Filename:
MIME Type:
Creator:
Josh Glover (RETIRED)
Created:
2003-12-03 13:43:10 UTC
Size:
1.93 KB
patch
obsolete
># Copyright 1999-2003 Josh Glover <jmglov@jmglov.net> ># Distributed under the terms of the GNU General Public License v2 > >inherit webapp-apache > >S=${WORKDIR}/${PN}_${PV} >DESCRIPTION="Web-based system for managing tasks and defects throughout the software development process" >HOMEPAGE="http://www.incogen.com/index.php?type=General¶m=bugport" >SRC_URI="http://www.incogen.com/downloads/bugport/bugport-current.tar.gz" > >LICENSE="BSD" >SLOT="${PV}" >KEYWORDS="x86 ~ppc ~sparc ~mips ~alpha ~arm ~hppa ~amd64 ~ia64" > >IUSE="mysql oci8" >RDEPEND=">=virtual/php-4.3 > mysql? ( >=dev-db/mysql-4 ) > dev-php/adodb" > >DEPEND="${RDEPEND}" > >webapp-detect || NO_WEBSERVER=1 > >pkg_setup() { > if [ ! `use mysql` ]; then > if [ ! `use oci8` ]; then > einfo "BugPort requires either the 'mysql' or 'oci8' USE " \ > "flag enabled," > einfo "depending on which database you wish to use" > die "Bad database configuration, see above" > fi > fi > webapp-pkg_setup "${NO_WEBSERVER}" > einfo "Installing into ${HTTPD_ROOT}." >} > >src_compile() { > einfo "Nothing to compile" >} > >src_install() { > local DocumentRoot=${HTTPD_ROOT} > local destdir=${DocumentRoot}${PN} > dodir ${destdir} > cp -r . ${D}/${destdir} > chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${D}/${destdir} > # Fix permissions > find ${D}/${destdir} -type d | xargs chmod 755 > find ${D}/${destdir} -type f | xargs chmod 644 > # Link in ADOdb > dosym /usr/local/adodb ${destdir}/ADODB > # Setup config file as much as possible > cp ${D}/${destdir}/conf/config.conf ${D}/${destdir}/conf/config.conf.ORIG > awk '/^\$home/ { print "#"$0; print "\$home = \"'${destdir}'\";" }; ! /^\$home/ { print }' ${D}/${destdir}/conf/config.conf \ > >${T}/config.conf > mv ${T}/config.conf ${D}/${destdir}/conf/config.conf > if [ `use oci8` ]; then > awk '/^\$type/ { print "#"$0; print "\$type = \"oracle\";" }; ! /^\$type/ { print }' ${D}/${destdir}/conf/config.conf \ > >${T}/config.conf > mv ${T}/config.conf ${D}/${destdir}/conf/config.conf > fi >}
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 35008
: 21656