Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 28231 Details for
Bug 46014
Drupal ebuilds, including module eclass
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
drupal 4.3.2 ebuild
drupal-4.3.2.ebuild (text/plain), 2.16 KB, created by
Carl A. Dunham
on 2004-03-28 11:50:18 UTC
(
hide
)
Description:
drupal 4.3.2 ebuild
Filename:
MIME Type:
Creator:
Carl A. Dunham
Created:
2004-03-28 11:50:18 UTC
Size:
2.16 KB
patch
obsolete
># Copyright 1999-2004 Gentoo Technologies, Inc. ># Distributed under the terms of the GNU General Public License v2 ># $Header: $ > ># Pseudo-GLEP11 compliant (neither slotted, installed nor configured by version, ie more PN than PF) > >inherit eutils >inherit webapp-apache > >DESCRIPTION="Drupal is an open-source platform and content management system for building dynamic web sites" >HOMEPAGE="http://drupal.org/" >SRC_URI="http://drupal.org/drupal/${PV}/drupal/${P}.tar.gz" >RESTRICT="nomirror" >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="~alpha ~ppc ~hppa ~mips ~sparc ~x86 ~amd64" > ># actually only requires a PEAR-compatible database, mysql recommended, postgres "maintained and supported" ># btw: the "PEAR database package" required by drupal is part of php-core, not the PEAR-DB package ># todo: what version of postgresql? >RDEPEND=">=net-www/apache-1.3 > >=dev-php/mod_php-4.1 > || ( > =dev-db/mysql-3.23.32 >=mysql-3.23 > postgresql > )" > >MY_APP_ROOT="/usr/share/webapps/${PN}" >MY_APP_CONFDIR="/etc/webapps/${PN}" > >pkg_setup() { > webapp-detect || NO_WEBSERVER=1 > webapp-pkg_setup "${NO_WEBSERVER}" > einfo "Installing into ${ROOT}${MY_APP_ROOT}." >} > >src_compile() { > if [ "${APACHEVER}+" = "2+" ]; then > local htaccessorig=.htaccess.apache1 > einfo "Modifying .htaccess for Apache2, original saved to ${htaccessorig} (use this for Apache1)" > > cp .htaccess ${htaccessorig} > > sed -e 's/^<IfModule mod_php4.c/<IfModule sapi_apache2.c/' ${htaccessorig} > .htaccess > fi >} > >src_install() { > webapp-detect || NO_WEBSERVER=1 > > mkdir -p ${D}${MY_APP_ROOT}/ > fowners "${HTTPD_USER}":"${HTTPD_GROUP}" "${MY_APP_ROOT}" > fperms 755 "${MY_APP_ROOT}" > > local docs="CHANGELOG INSTALL LICENSE MAINTAINERS" > > # Copy everything > cp -r . ${D}${MY_APP_ROOT} > # Remove documentation files > for doc in ${docs}; do > rm -f ${D}${MY_APP_ROOT}/${doc} > done > > dodoc ${docs} > > dosym ${MY_APP_CONFDIR}/conf.php ${MY_APP_ROOT}/includes/conf.php > insinto ${MY_APP_CONFDIR} > insopts -g apache -m 640 > doins includes/conf.php > > # todo: virtual domain config support >} > ># todo: nice config like phpmyadmin >pkg_postinst() { > einfo > einfo "To complete the install, follow the instructions in /usr/share/doc/${PF}/INSTALL.gz" > einfo >} >
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 46014
:
28230
|
28231
|
28232
|
28233
|
28234
|
28235
|
28236
|
28251
|
28608