Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 24271 Details for
Bug 39133
tutos-1.1.20030715.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
tutos-1.1.20030715.ebuild
tutos-1.1.20030715.ebuild (text/plain), 2.17 KB, created by
Christophe LEFEBVRE
on 2004-01-23 01:23:04 UTC
(
hide
)
Description:
tutos-1.1.20030715.ebuild
Filename:
MIME Type:
Creator:
Christophe LEFEBVRE
Created:
2004-01-23 01:23:04 UTC
Size:
2.17 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > >inherit webapp-apache > >DESCRIPTION="Tutos is a tool written in PHP to manage the organizational needs of small groups, teamps, departments..." >HOMEPAGE="http://www.tutos.org" > >MY_P=tutos-php-${PV} >S=${WORKDIR}/${PN} >SRC_URI="mirror://sourceforge/tutos/${MY_P}.tar.bz2" >LICENSE="GPL-1" >SLOT="0" >KEYWORDS="~x86 ~ppc ~sparc ~amd64 ~alpha ~hppa" >RDEPEND="virtual/php > dev-db/mysql" >DEPEND="${RDEPEND}" > >webapp-detect || NO_WEBSERVER=1 > >pkg_setup() { > webapp-pkg_setup "${NO_WEBSERVER}" > if [ -d ${HTTPD_ROOT}/${PN} ] ; then > ewarn "You need to unmerge your old ${PN} version first." > ewarn "${PN} will be installed into ${HTTPD_ROOT}/${PN}" > ewarn "directly instead of a version-dependant directory." > die "need to unmerge old version first" > fi > einfo "Installing into ${ROOT}${HTTPD_ROOT}." >} > >src_install() { > webapp-mkdirs > local DocumentRoot=${HTTPD_ROOT} > local destdir=${DocumentRoot}/${PN} > dodir ${destdir} > dodir ${destdir}/php > dodir ${destdir}/html > dodir ${destdir}/homepage > dodir ${destdir}/documentation > dodir ${destdir}/documentation/book0 > cp -a php ${D}${destdir} > cp -a html ${D}${destdir} > cp -a homepage/install*html ${D}${destdir}/homepage > cp -a documentation/book0/* ${D}${destdir}/documentation/book0 > cp -a *.sh ${D}${destdir}/ > cp -a README* ${D}${destdir}/ > cp -a INSTALL ${D}${destdir}/ > MY_TMP=$(echo ${HTTPD_ROOT} | sed 's:\/:\\/:g') > cat apache.conf | sed -e "s|\/usr\/share|${MY_TMP}|g;" > ${D}${destdir}/apache.conf > cd ${D}/${HTTPD_ROOT} > chown -R ${HTTPD_USER}:${HTTPD_GROUP} ${PN} > # Fix permissions > find ${D}${destdir} -type f | xargs chmod 644 > chmod 755 ${D}${destdir}/*.sh > chmod 644 ${D}${destdir}/php/.htaccess > dohtml ${S}/homepage/*.html >} > >pkg_postinst() { > einfo "To install and configure," > einfo "please read /usr/share/doc/${PF}/html/install.html" > einfo "Don't forget to add" > einfo " include ${HTTPD_ROOT}${PN}/apache.conf" > einfo "at the end of your vhosts.conf file (apache configuration file) and restart apache." >}
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 39133
: 24271