Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21692 Details for
Bug 35056
bugport-1.125.ebuild (new ebuild)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
bugport-1.065.ebuild (Update)
bugport-1.065.ebuild (text/plain), 2.16 KB, created by
Josh Glover (RETIRED)
on 2003-12-04 07:05:38 UTC
(
hide
)
Description:
bugport-1.065.ebuild (Update)
Filename:
MIME Type:
Creator:
Josh Glover (RETIRED)
Created:
2003-12-04 07:05:38 UTC
Size:
2.16 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 > > # If a config file already exists in the live filesystem, (i.e. we are > # upgrading), preserve it > if [ -e ${destdir}/conf/config.conf ]; then > cp ${destdir}/conf/config.conf ${D}/${destdir}/conf/config.conf > # Otherwise, setup config file as much as possible > else > 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 > 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 35056
:
21692
|
22297