diff options
author | Lim Swee Tat <st_lim@gentoo.org> | 2006-01-01 04:38:51 +0000 |
---|---|---|
committer | Lim Swee Tat <st_lim@gentoo.org> | 2006-01-01 04:38:51 +0000 |
commit | 898fc86341504248a22fa236ced0c2c745f0cee1 (patch) | |
tree | 00b4362c1d0572dd9864a66158283ab3663d89ce | |
parent | Fixed various issues. (diff) | |
download | gentoo-2-898fc86341504248a22fa236ced0c2c745f0cee1.tar.gz gentoo-2-898fc86341504248a22fa236ced0c2c745f0cee1.tar.bz2 gentoo-2-898fc86341504248a22fa236ced0c2c745f0cee1.zip |
Happy New Yearechangelog! Version bump overdue
(Portage version: 2.1_pre2)
-rw-r--r-- | www-apps/drupal/ChangeLog | 11 | ||||
-rw-r--r-- | www-apps/drupal/Manifest | 6 | ||||
-rw-r--r-- | www-apps/drupal/drupal-4.5.7.ebuild | 119 | ||||
-rw-r--r-- | www-apps/drupal/drupal-4.6.5.ebuild | 119 | ||||
-rw-r--r-- | www-apps/drupal/files/digest-drupal-4.5.7 | 1 | ||||
-rw-r--r-- | www-apps/drupal/files/digest-drupal-4.6.5 | 1 |
6 files changed, 254 insertions, 3 deletions
diff --git a/www-apps/drupal/ChangeLog b/www-apps/drupal/ChangeLog index 01b11edc3cbd..37faf7e3efbd 100644 --- a/www-apps/drupal/ChangeLog +++ b/www-apps/drupal/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-apps/drupal -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.21 2005/11/01 03:22:44 soulse Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.22 2006/01/01 04:38:51 st_lim Exp $ + +*drupal-4.6.5 (01 Jan 2006) +*drupal-4.5.7 (01 Jan 2006) + + 01 Jan 2006; Lim Swee Tat <st_lim@gentoo.org> +drupal-4.5.7.ebuild, + +drupal-4.6.5.ebuild: + Happy New Year!!! Version bump overdue. 31 Oct 2005; <soulse@gentoo.org> +files/postinstall-en-4.6.3.txt, drupal-4.6.3.ebuild: diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest index 6e935211b458..88fe27fb159e 100644 --- a/www-apps/drupal/Manifest +++ b/www-apps/drupal/Manifest @@ -1,14 +1,18 @@ -MD5 7bbf157ae899186eab4e55fe64429b39 ChangeLog 1983 +MD5 dbb93658ec5eb8d137632cd8e38bc3aa ChangeLog 2177 MD5 e4f9cbc61147e254fac7a43c679cc943 drupal-4.5.2.ebuild 30641 +MD5 ab66a14f1c4c25d636499eb2fa14521b drupal-4.5.7.ebuild 3763 MD5 e82b6e40e3e223403bb373c04d346d72 drupal-4.6.2.ebuild 3757 MD5 c33f1bf60abf50566e003ed060542ae4 drupal-4.6.3.ebuild 3763 +MD5 ab66a14f1c4c25d636499eb2fa14521b drupal-4.6.5.ebuild 3763 MD5 7f7293c73bc101820993496a98f5d4fe files/4.6.0/engines 28 MD5 507fcec40f954b5af6ceab22a0676c5d files/4.6.0/language 130 MD5 16b758714ff6fe1fcc744d02d952c2b5 files/4.6.0/modules 2080 MD5 4638c8007177182e9a8acf02f7cdd681 files/4.6.0/themes 278 MD5 6b1fbcd29d9526434338ea3f8b61e5c0 files/digest-drupal-4.5.2 64 +MD5 9c083d23e1b5638814092afb5d0bbc42 files/digest-drupal-4.5.7 64 MD5 3696ea6a2d2569722c9feebb2c9a7093 files/digest-drupal-4.6.2 64 MD5 35efbdccb8fc0c5155a69dff4283ce9b files/digest-drupal-4.6.3 64 +MD5 050182d766b1206755f5996ed647e68d files/digest-drupal-4.6.5 64 MD5 1be3dc7c7bfe18ac669d422297723067 files/postinstall-en-4.6.3.txt 2604 MD5 0f20a567ce1310d62af69bd56921cea3 files/postinstall-en.txt 2595 MD5 31a7762b97d644514268dab18f853a27 metadata.xml 274 diff --git a/www-apps/drupal/drupal-4.5.7.ebuild b/www-apps/drupal/drupal-4.5.7.ebuild new file mode 100644 index 000000000000..5481cdee6993 --- /dev/null +++ b/www-apps/drupal/drupal-4.5.7.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-4.5.7.ebuild,v 1.1 2006/01/01 04:38:51 st_lim Exp $ + +inherit webapp eutils + +MY_PV=${PV:0:3}.0 + +DESCRIPTION="Drupal is a PHP-based open-source platform and content management system for building dynamic web sites offering a broad range of features and services; including user administration, publishing workflow, discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies and XML publishing for content sharing purposes. Equipped with a powerful blend of features and configurability, Drupal can support a diverse range of web projects ranging from personal weblogs to large community-driven sites." +HOMEPAGE="http://drupal.org" +IUSE="" + +SRC_URI="http://drupal.org/files/projects/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~ppc ~x86 ~amd64" + +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}/includes/conf.php + + webapp_postinst_txt en ${FILESDIR}/postinstall-en-${PV}.txt + + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + einfo + einfo "You might want to run:" + einfo "\"emerge --config =${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 +} diff --git a/www-apps/drupal/drupal-4.6.5.ebuild b/www-apps/drupal/drupal-4.6.5.ebuild new file mode 100644 index 000000000000..91652c0a2de7 --- /dev/null +++ b/www-apps/drupal/drupal-4.6.5.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-4.6.5.ebuild,v 1.1 2006/01/01 04:38:51 st_lim Exp $ + +inherit webapp eutils + +MY_PV=${PV:0:3}.0 + +DESCRIPTION="Drupal is a PHP-based open-source platform and content management system for building dynamic web sites offering a broad range of features and services; including user administration, publishing workflow, discussion capabilities, news aggregation, metadata functionalities using controlled vocabularies and XML publishing for content sharing purposes. Equipped with a powerful blend of features and configurability, Drupal can support a diverse range of web projects ranging from personal weblogs to large community-driven sites." +HOMEPAGE="http://drupal.org" +IUSE="" + +SRC_URI="http://drupal.org/files/projects/${P}.tar.gz" + +LICENSE="GPL-2" +KEYWORDS="~alpha ~ppc ~x86 ~amd64" + +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-${PV}.txt + + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst + einfo + einfo "You might want to run:" + einfo "\"emerge --config =${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 +} diff --git a/www-apps/drupal/files/digest-drupal-4.5.7 b/www-apps/drupal/files/digest-drupal-4.5.7 new file mode 100644 index 000000000000..d2ad811ea7fd --- /dev/null +++ b/www-apps/drupal/files/digest-drupal-4.5.7 @@ -0,0 +1 @@ +MD5 ebb8b6694d4dbbc17cef7fdebead40ba drupal-4.5.7.tar.gz 467687 diff --git a/www-apps/drupal/files/digest-drupal-4.6.5 b/www-apps/drupal/files/digest-drupal-4.6.5 new file mode 100644 index 000000000000..363bbd80a984 --- /dev/null +++ b/www-apps/drupal/files/digest-drupal-4.6.5 @@ -0,0 +1 @@ +MD5 c37a42d9a471f8c643743d0475199039 drupal-4.6.5.tar.gz 455995 |