diff options
Diffstat (limited to 'www-apps')
-rw-r--r-- | www-apps/drupal/ChangeLog | 9 | ||||
-rw-r--r-- | www-apps/drupal/drupal-6.31.ebuild | 57 | ||||
-rw-r--r-- | www-apps/drupal/drupal-7.27.ebuild | 85 |
3 files changed, 150 insertions, 1 deletions
diff --git a/www-apps/drupal/ChangeLog b/www-apps/drupal/ChangeLog index b8a4f616406f..6007b02d35b3 100644 --- a/www-apps/drupal/ChangeLog +++ b/www-apps/drupal/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for www-apps/drupal # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.103 2014/01/23 03:35:48 sdamashek Exp $ +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.104 2014/04/25 07:55:09 radhermit Exp $ + +*drupal-7.27 (25 Apr 2014) +*drupal-6.31 (25 Apr 2014) + + 25 Apr 2014; Tim Harder <radhermit@gentoo.org> +drupal-6.31.ebuild, + +drupal-7.27.ebuild: + Security bumps. 23 Jan 2014; Samuel Damashek <sdamashek@gentoo.org> drupal-6.30.ebuild, drupal-7.26.ebuild: diff --git a/www-apps/drupal/drupal-6.31.ebuild b/www-apps/drupal/drupal-6.31.ebuild new file mode 100644 index 000000000000..2966ac1017f8 --- /dev/null +++ b/www-apps/drupal/drupal-6.31.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-6.31.ebuild,v 1.1 2014/04/25 07:55:09 radhermit Exp $ + +EAPI=5 + +inherit webapp + +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="+mysql postgres" + +RDEPEND="virtual/httpd-php + dev-lang/php[gd,pdo,postgres?,xml] + mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) )" + +need_httpd_cgi + +REQUIRED_USE="|| ( mysql postgres )" + +src_install() { + webapp_src_preinst + + local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt UPGRADE.txt " + dodoc ${docs} + rm -f ${docs} INSTALL COPYRIGHT.txt || die + + cp sites/default/{default.settings.php,settings.php} || die + insinto "${MY_HTDOCSDIR}" + doins -r . + + dodir "${MY_HTDOCSDIR}"/files + webapp_serverowned "${MY_HTDOCSDIR}"/files + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php + + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} + +pkg_postinst() { + echo + ewarn "SECURITY NOTICE" + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:" + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}" + echo +} diff --git a/www-apps/drupal/drupal-7.27.ebuild b/www-apps/drupal/drupal-7.27.ebuild new file mode 100644 index 000000000000..6e4e38a4a784 --- /dev/null +++ b/www-apps/drupal/drupal-7.27.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-7.27.ebuild,v 1.1 2014/04/25 07:55:09 radhermit Exp $ + +EAPI=5 + +inherit webapp + +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="+accelerator +mysql postgres sqlite +uploadprogress" + +RDEPEND=" + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml] + virtual/httpd-php + accelerator? ( || + ( + ( + <dev-lang/php-5.5 + dev-php/pecl-apc + ) + dev-php/xcache + dev-php/eaccelerator + ( + >=dev-lang/php-5.5[opcache] + dev-php/pecl-apcu + ) + ) + ) + uploadprogress? ( dev-php/pecl-uploadprogress ) + mysql? ( + || ( + dev-lang/php[mysql] + dev-lang/php[mysqli] + ) + ) + sqlite? ( + || ( + dev-lang/php[sqlite] + dev-lang/php[sqlite3] + ) + ) +" + +need_httpd_cgi + +REQUIRED_USE="|| ( mysql postgres sqlite )" + +src_install() { + webapp_src_preinst + + local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt " + dodoc ${docs} + rm -f ${docs} INSTALL COPYRIGHT.txt || die + + cp sites/default/{default.settings.php,settings.php} || die + insinto "${MY_HTDOCSDIR}" + doins -r . + + dodir "${MY_HTDOCSDIR}"/files + webapp_serverowned "${MY_HTDOCSDIR}"/files + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php + + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess + + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt + + webapp_src_install +} + +pkg_postinst() { + echo + ewarn "SECURITY NOTICE" + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:" + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}" + echo +} |