summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2007-07-28 12:26:23 +0000
committerRoy Marples <uberlord@gentoo.org>2007-07-28 12:26:23 +0000
commitb25f3b2f0894c4e33ed12da174c049d7fcf01a86 (patch)
treeed0aa4f6269b1996a3130b37c86ceb14f7a1dce3 /www-apps/drupal
parentRemoved bitscope masking. (diff)
downloadgentoo-2-b25f3b2f0894c4e33ed12da174c049d7fcf01a86.tar.gz
gentoo-2-b25f3b2f0894c4e33ed12da174c049d7fcf01a86.tar.bz2
gentoo-2-b25f3b2f0894c4e33ed12da174c049d7fcf01a86.zip
Bump, #186884 thanks to Pierre-Yves Rofes.
(Portage version: 2.1.3)
Diffstat (limited to 'www-apps/drupal')
-rw-r--r--www-apps/drupal/ChangeLog7
-rw-r--r--www-apps/drupal/drupal-5.2.ebuild39
-rw-r--r--www-apps/drupal/files/digest-drupal-5.23
3 files changed, 48 insertions, 1 deletions
diff --git a/www-apps/drupal/ChangeLog b/www-apps/drupal/ChangeLog
index aff1009006aa..766b62f2faec 100644
--- a/www-apps/drupal/ChangeLog
+++ b/www-apps/drupal/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apps/drupal
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.35 2007/03/19 13:49:39 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.36 2007/07/28 12:26:23 uberlord Exp $
+
+*drupal-5.2 (28 Jul 2007)
+
+ 28 Jul 2007; Roy Marples <uberlord@gentoo.org> +drupal-5.2.ebuild:
+ Bump, #186884 thanks to Pierre-Yves Rofes.
19 Mar 2007; Luca Barbato <lu_zero@gentoo.org> drupal-5.1.ebuild:
protect .htaccess
diff --git a/www-apps/drupal/drupal-5.2.ebuild b/www-apps/drupal/drupal-5.2.ebuild
new file mode 100644
index 000000000000..d0f667c3ce31
--- /dev/null
+++ b/www-apps/drupal/drupal-5.2.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-5.2.ebuild,v 1.1 2007/07/28 12:26:23 uberlord Exp $
+
+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=""
+
+RDEPEND="virtual/httpd-php"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt"
+ dodoc ${docs}
+ rm -f ${docs} INSTALL
+
+ 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
+
+ webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
+ webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
+ webapp_src_install
+}
diff --git a/www-apps/drupal/files/digest-drupal-5.2 b/www-apps/drupal/files/digest-drupal-5.2
new file mode 100644
index 000000000000..c0b9b0a0b233
--- /dev/null
+++ b/www-apps/drupal/files/digest-drupal-5.2
@@ -0,0 +1,3 @@
+MD5 c7971b5d3d8eed28c52cea519948dfb8 drupal-5.2.tar.gz 751205
+RMD160 6a42700b90f046dabbb12dbf8381e3641c595847 drupal-5.2.tar.gz 751205
+SHA256 f26c74af4dd31f1ca0b8315a5e0b2842a23abd35546ab2cd758c3d0fb6ae49e7 drupal-5.2.tar.gz 751205