Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 100799 Details for
Bug 151993
www-apps/drupal: Drupal 4.6.10 and Drupal 4.7.4 fix three security vulnerabilities.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ebuild drupal-4.6.10
drupal-4.6.10.ebuild (text/plain), 3.13 KB, created by
Emanuele Gentili
on 2006-10-30 08:14:17 UTC
(
hide
)
Description:
ebuild drupal-4.6.10
Filename:
MIME Type:
Creator:
Emanuele Gentili
Created:
2006-10-30 08:14:17 UTC
Size:
3.13 KB
patch
obsolete
># Copyright 1999-2006 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header:$ > >inherit webapp eutils > >MY_PV=${PV:0:3}.0 > >DESCRIPTION="PHP-based open-source platform and content management system" >HOMEPAGE="http://drupal.org/" >SRC_URI="http://drupal.org/files/projects/${P}.tar.gz" > >LICENSE="GPL-2" >KEYWORDS="~alpha ~amd64 ~ppc ~x86" >IUSE="" > >DEPEND="virtual/php" >RDEPEND="|| ( dev-db/mysql dev-db/postgresql ) > >=net-www/apache-1.3" > >src_compile() { > #Default compile hangs! > echo "Nothing to compile" >} > >src_install() { > > local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt" > > webapp_src_preinst > > # handle documentation files > # > # NOTE that doc files go into /usr/share/doc as normal; they do NOT > # get installed per vhost! > > einfo "Installing docs" > dodoc ${docs} > for doc in ${docs} INSTALL; do > rm -f ${doc} > done > > einfo "Copying main files" > cp -r . ${D}/${MY_HTDOCSDIR} > > # we install the .htaccess file to enable support for clean URLs > cp .htaccess ${D}/${MY_HTDOCSDIR} > > # create the files upload directory > mkdir ${D}/${MY_HTDOCSDIR}/files > webapp_serverowned ${MY_HTDOCSDIR}/files > > #All files must be owned by server > for x in `find . -type f -print` ; do > webapp_serverowned ${MY_HTDOCSDIR}/$x > done > > webapp_configfile ${MY_HTDOCSDIR}/sites/default/settings.php > > webapp_postinst_txt en ${FILESDIR}/postinstall-en-4.6.3.txt > > webapp_src_install >} > >pkg_postinst() { > webapp_pkg_postinst > einfo > einfo "You might want to run:" > einfo "\"emerge --config =${CATEGORY}/${PF}\"" > einfo "if this is a new install." > einfo >} > >pkg_config() { > # This is the default directory, but we have this portion for the user to > # change the default directory if it does not exist. > MY_HTDOCSDIR=/usr/share/webapps/${PN}/${PV}/htdocs > if [ ! -d ${MY_HTDOCSDIR} ] && \ > [ ! -d ${MY_HTDOCSDIR}/modules ] && \ > [ ! -d ${MY_HTDOCSDIR}/themes ] && \ > [ ! -d ${MY_HTDOCSDIR}/themes/engines ] && \ > [ ! -d ${MY_HTDOCSDIR}/language ] ; then > einfo "Please specify the directory your drupal installation " > einfo "is installed in." > echo > while true > do > read -p " Please type in the name of the directory: " MY_HTDOCSDIR > [ -d ${MY_HTDOCSDIR} ] && \ > [ -d ${MY_HTDOCSDIR}/modules ] && \ > [ -d ${MY_HTDOCSDIR}/themes ] && \ > [ -d ${MY_HTDOCSDIR}/themes/engines ] && \ > [ -d ${MY_HTDOCSDIR}/language ] && \ > break || \ > ewarn "The directory ${MY_HTDOCSDIR} does not exist" > done > fi > if [ -d ${MY_HTDOCSDIR} ] && \ > [ -d ${MY_HTDOCSDIR}/modules ] && \ > [ -d ${MY_HTDOCSDIR}/themes ] && \ > [ -d ${MY_HTDOCSDIR}/themes/engines ] && \ > [ -d ${MY_HTDOCSDIR}/language ] ; then > for i in modules themes engines language; do > cd ${MY_HTDOCSDIR}/$i > [ "$i" == "engines" ] && cd ${S}/themes/$i > [ "$i" == "language" ] && cd ${S}/includes > for item in `cat ${PORTDIR}/www-apps/${PN}/files/${MY_PV}/$i`; do > einfo "Unpacking $item" > wget -q http://www.drupal.org/files/projects/$item-${MY_PV}.tar.gz > tar xfz $item-${MY_PV}.tar.gz > done > done > > find ${MY_HTDOCSDIR} -name "*.tar.gz" -exec rm -rf {} \; > find ${MY_HTDOCSDIR} -type f -exec chmod 644 {} \; > find ${MY_HTDOCSDIR} -type d -exec chmod 755 {} \; > 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 151993
: 100799 |
100800