commit: b15ee09b70b1f2e8bb793f712401923f667f5cc4
Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo
<DOT> org>
AuthorDate: Sun Sep 25 03:19:56 2016 +0000
Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sun Sep 25 03:19:56 2016 +0000
URL: https://gitweb.gentoo.org/dev/jmbsvicetto.git/commit/?id=b15ee09b
Add first 8.2.0 release candidate.
www-apps/drupal/Manifest | 1 +
www-apps/drupal/drupal-8.2.0_rc1.ebuild | 87 +++++++++++++++++++++++++++++++++
2 files changed, 88 insertions(+)
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index cde9797..93fc005 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,3 +1,4 @@
DIST drupal-7.50.tar.gz 3286826 SHA256
82041716e1790269d09ec4a1c4cca8899d0221509471d53ac793a320143e0cf0 SHA512
1d80c1cb46db4a679f4ba61decfd799989c915206325a825e0c2234c33d84dc4a7ee38a76f51e48337e241c22deffc0589d65eb6de4341070e1b4440823e52c3
WHIRLPOOL
eaf8a872c505a8be8faba3f8e687360c7f52e09fbf081fbd2141245a13220ac16de67bb4a7c1a283d61c517760df54bb2a268bf67649ea0875be48bd89bb6573
DIST drupal-8.1.10.tar.gz 12651446 SHA256
6bacd17843a23f5079171023cdef6fc03616cf9682c0af898649232c0a6262cb SHA512
22e27a339b2fff40b99549617480f1ca5525b8103b0ceb85e267b13ac6bd1703c06db63c1bb8bf6a85ba3ad1e178e3bf0fc04bbaf26bb96b1950c6d032181e16
WHIRLPOOL
dfaa9900a96e2ec01b5b3d19910d869323a8ff985080686e567dad8c7d3e570e3fecc5c34e2112e9f52f60c73b7139fb99f7bc06f463c89872b1375d3c97390f
DIST drupal-8.1.7.tar.gz 12601662 SHA256
1d4c9d58c22651aca312d9fd1446f28f16018326a03e3f40dfcce264212a8e2e SHA512
bad9ef2ede85af0cd7f254c5b7827bc98a487054c614313f791af1fe6a9a34d739500669b048ea7487bd606652e03c184fc795476928df573ccefcbf1b31a496
WHIRLPOOL
d30690ff5ffad3330264e3e94856420f19605d3c54a3f224f4e367ad2a6fee583bf5be1a07523b7a0b4c423e6b2adc08498923fe82485ffd360a6af0e6d6a8c0
+DIST drupal-8.2.0-rc1.tar.gz 12854953 SHA256
6d8b7c3f5009fde60beb2dc02cd3c8b9e36413dd95b30a4af7d80a3b7463aa25 SHA512
6f73da6c25eb3c40c9f0df88ab6bf785ee0ef9ba48b51ad246d0cd16019c6d269027fb853f9490741031fecf1a046d16c119fc61cc6568738d3cc639dabb7a0f
WHIRLPOOL
291e6bb4bc5d97c691019ef3211b88c0303d60be97e4f4b3b5be1b78186fb8c93cca1bf2b398359ad7df0c640e4bad840185915c7d57874fe44a2d41a9d76dda
diff --git a/www-apps/drupal/drupal-8.2.0_rc1.ebuild
b/www-apps/drupal/drupal-8.2.0_rc1.ebuild
new file mode 100644
index 0000000..0eab001
--- /dev/null
+++ b/www-apps/drupal/drupal-8.2.0_rc1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit webapp
+
+MY_PV=${PV:0:3}.0
+MY_P=${P/_/-}
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="PHP-based open-source platform and content management system"
+HOMEPAGE="https://www.drupal.org/"
+SRC_URI="https://ftp.drupal.org/files/projects/${MY_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-php/xcache
+ (
+ >=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] )
+"
+
+need_httpd_cgi
+
+REQUIRED_USE="|| ( mysql postgres sqlite )"
+
+src_install() {
+ webapp_src_preinst
+
+ local docs="LICENSE.txt README.txt core/MAINTAINERS.txt
core/INSTALL.txt core/CHANGELOG.txt \
+ core/INSTALL.mysql.txt core/INSTALL.pgsql.txt
core/INSTALL.sqlite.txt core/UPDATE.txt "
+
+ dodoc ${docs}
+ rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.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
+ ewarn "If this is a new install, unless you want anyone with network
access to your server to be"
+ ewarn "able to run the setup, you'll have to configure your web server
to limit access to it."
+ echo
+ ewarn "If you're doing a new drupal-8 install, you'll have to copy
/sites/default/default.services.yml"
+ ewarn "to /sites/default/services.yml and grant it write permissions to
your web server."
+ ewarn "Just follow the instructions of the drupal setup and be sure to
resolve any permissions issue"
+ ewarn "reported by the setup."
+ echo
+}