commit:     62260c0b10005490feabff6922416a747491e75d
Author:     Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo 
<DOT> org>
AuthorDate: Sat Nov 21 18:08:20 2015 +0000
Commit:     Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
CommitDate: Sat Nov 21 18:08:20 2015 +0000
URL:        https://gitweb.gentoo.org/dev/jmbsvicetto.git/commit/?id=62260c0b

[www-apps/drupal] 8.0.0 is finally out.

Signed-off-by: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> 
gentoo.org>

 www-apps/drupal/Manifest            |  2 +-
 www-apps/drupal/drupal-8.0.0.ebuild | 87 +++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+), 1 deletion(-)

diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
index bcb52c6..ba20702 100644
--- a/www-apps/drupal/Manifest
+++ b/www-apps/drupal/Manifest
@@ -1,4 +1,4 @@
 DIST drupal-6.37.tar.gz 1112775 SHA256 
e3db44fdeefa9c4b3edf31816a8cfcaffe300986dbebdc22769ec739d3296d5d SHA512 
4895221c7fb2913618490722629888a4862f28633a49ba5363a0393974941c68d07a3e255d6f380d7d97d0aa3251a76c03d5d0f0ab4c968af301a1207d8d35a0
 WHIRLPOOL 
8d7a0576fba31f2fcf9035755d3ef9a521461d9b3dfab57eb8871fe66038f4056b690a84513bf61a639b4c5f8126fa5180734542b0036f5d089afb0cb2abfecd
 DIST drupal-7.41.tar.gz 3257325 SHA256 
49ea620d191e81ffce0e7a96b5e7d12da672b3401c7ce1aff93fc941681eb111 SHA512 
57ee4fb1044d958a9f5698d2046fcd69427be6da30c57918735ced3fc7dbe1ffc4c69cac8362cd668ef0769d78b20461d78905f7e91212062e56351818dfbaf9
 WHIRLPOOL 
931f98f5e9de14f2c6ffb1bf75686bfea73d8c73606a3a1ab7b0a64e9cf06b9375900403e877a209be7f57663a8446a24ea317ccf9c771a9f143c675102465b0
-DIST drupal-8.0.0-rc3.tar.gz 11557156 SHA256 
25c378cb8d31995216e9394fa9c529e5627b49de0298593071776dce6dee7611 SHA512 
110ce2a32a61229d373a6f7eca78c3d799715d72424fb3492fe2f8d51b563253546362733cf7241336968c263056cde36366a9cf29b6784f3926985611a633b4
 WHIRLPOOL 
bb2e1e41412cc41562ebfbe4a97376aa756450aeb10b84542ff8f61a9eafee97455204a11412f109d25c799aa556e84ef83422a61820bc0ff911e0e915d3e624
 DIST drupal-8.0.0-rc4.tar.gz 11687995 SHA256 
95689e799082bfedd2a77a202b1c07e9eae0fe6c3f53cd5c423082a4ca4aa0f5 SHA512 
d1a2c50e0243fc70aaacfbb3c6e6f1844519ceaca6d88fe90e7fd27b6efff8162417747fe5c8078bd0b3d629e67b908caece24819af3aaa67f1a893ece632115
 WHIRLPOOL 
a319088531e60f00ba9d830e5c52a7f14d729dc0611af0beea9aaef5b6696a8042f3c72ae67115341ba5326b73bb63cca0e5e44e291e18cb41a829e38a0e8baa
+DIST drupal-8.0.0.tar.gz 11692820 SHA256 
7e16a62b4ac16682f77664a065d0fe70a24880d7dfd1cf021d2d898b3e0bc498 SHA512 
ade2ff20cdb3ab61d5c979ab17675495b96c1d1ced4e8100bdd5b02642a7f1ee1d61cb2cefda30af34e90654162fd694009feff6dc01efffa505b4cade456092
 WHIRLPOOL 
085af2dffc29678826018b0d856c3c14b5c6d1523fd485e40257d8455bb264767c48eef72115b41ae69b20f3848598bf389eea4e9f892d43cea33411b80e6819

diff --git a/www-apps/drupal/drupal-8.0.0.ebuild 
b/www-apps/drupal/drupal-8.0.0.ebuild
new file mode 100644
index 0000000..ca6797a
--- /dev/null
+++ b/www-apps/drupal/drupal-8.0.0.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2015 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="http://drupal.org/";
+SRC_URI="http://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/UPGRADE.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
+}

Reply via email to