Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/drupal/
Date: Sun, 07 May 2017 20:58:25
Message-Id: 1494190692.3a9992a5d4b89163eda0a3f25e454deb2cec2c57.jmbsvicetto@gentoo
1 commit: 3a9992a5d4b89163eda0a3f25e454deb2cec2c57
2 Author: Jorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto <AT> gentoo <DOT> org>
3 AuthorDate: Sun May 7 20:58:12 2017 +0000
4 Commit: Jorge Manuel B. S. Vicetto <jmbsvicetto <AT> gentoo <DOT> org>
5 CommitDate: Sun May 7 20:58:12 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a9992a5
7
8 www-apps/drupal: Add 8.3.2 release.
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 www-apps/drupal/Manifest | 1 +
13 www-apps/drupal/drupal-8.3.2.ebuild | 86 +++++++++++++++++++++++++++++++++++++
14 2 files changed, 87 insertions(+)
15
16 diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest
17 index 53f0642f18b..3257f27a11d 100644
18 --- a/www-apps/drupal/Manifest
19 +++ b/www-apps/drupal/Manifest
20 @@ -1,3 +1,4 @@
21 DIST drupal-7.54.tar.gz 3275864 SHA256 d74192aca31b56a95bd2b51f205e45293513466eaf902d056e6317dbcffe715b SHA512 0b2834cd2ec7778de1515b99ac7f6348c5a3632a670b882fcce1e3b9d4cc904f9da761c103a3fe70311c69563c8ba5178d76ac8e2938d0831d7ef4113abaaf2a WHIRLPOOL 7aefbecabf5902f97621c3a9ba5cda355a8024390ddfa198dbd20f6ed55187b658fcdb0f39db92a7c7f4e73249d4d191969c8ff9a5d5b13764677a0f50d20f4c
22 DIST drupal-8.2.8.tar.gz 12092176 SHA256 84b729f45fe6c0f23e15aab7f2c9e57414edec00630ab09bed7dc9e79cac71bb SHA512 3d0b8b8d17042c44f72b28262a183daa6a7eac34759ee0f909fc51b9009c9238d3e64e98a71da8fb28682b4867f0d11868005eddc28249e0e3e59ca00cbc7c01 WHIRLPOOL 26967439cb977fed89361c9c1f8a927e5457e543d61dc2eb6243a270ae1e7aa1dab3099c8a27dffe7a80fdcdd6b7ebd4e2176dee64df866d0e9d4217f57f8eac
23 DIST drupal-8.3.1.tar.gz 12663939 SHA256 ea855ac6cc6dcc05494c93e6cf65dfe0a8006135ecd21bf6f0f345e7d5222c10 SHA512 699de379f5747a781b08c0b7b7ec7cb8d70f6490b1793e5f5911c7bb654c49454df1e0eb53583adf0fbc31a9b045a8c77ac8fc7f175d6839d859305713f81b8a WHIRLPOOL 064f6b1521df909f6e6f8f77820ac0c09446766f02b2bcf3803ab443f38275f239e91420a0769312a8ea7f01cb217fe5b617d03178c00aa648a3e79b23a2b8c1
24 +DIST drupal-8.3.2.tar.gz 12698347 SHA256 5afab2a639d8651cb009835a390e0e7d1322d39989dfe20f6be5a79a0b946b1e SHA512 f6b80ce7b000aa8785ca4c35f3a6bc33d0f29448d73f41378a53474dc1522d0576224d7854da095483ac989b4b260fe2348879f3b93eeb55c2ed5428bf742e20 WHIRLPOOL 86dbf9fd41bf474b8595c1532f5e023a2d75b6619273d6ee3c3275872e81eca123cb077c297492cc18a10942e8348e7eb3d30a574cc3779a7bcb3b35f80cb372
25
26 diff --git a/www-apps/drupal/drupal-8.3.2.ebuild b/www-apps/drupal/drupal-8.3.2.ebuild
27 new file mode 100644
28 index 00000000000..d0f9fcc2d95
29 --- /dev/null
30 +++ b/www-apps/drupal/drupal-8.3.2.ebuild
31 @@ -0,0 +1,86 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=5
36 +
37 +inherit webapp
38 +
39 +MY_PV=${PV:0:3}.0
40 +MY_P=${P/_/-}
41 +S="${WORKDIR}/${MY_P}"
42 +
43 +DESCRIPTION="PHP-based open-source platform and content management system"
44 +HOMEPAGE="https://www.drupal.org/"
45 +SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz"
46 +
47 +LICENSE="GPL-2"
48 +KEYWORDS="~alpha ~amd64 ~ppc ~x86"
49 +IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
50 +
51 +RDEPEND="
52 + dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
53 + virtual/httpd-php
54 + accelerator? ( ||
55 + (
56 + dev-php/xcache
57 + (
58 + >=dev-lang/php-5.5[opcache]
59 + dev-php/pecl-apcu
60 + )
61 + )
62 + )
63 + uploadprogress? ( dev-php/pecl-uploadprogress )
64 + mysql? (
65 + || (
66 + dev-lang/php[mysql]
67 + dev-lang/php[mysqli]
68 + )
69 + )
70 + sqlite? ( dev-lang/php[sqlite] )
71 +"
72 +
73 +need_httpd_cgi
74 +
75 +REQUIRED_USE="|| ( mysql postgres sqlite )"
76 +
77 +src_install() {
78 + webapp_src_preinst
79 +
80 + local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
81 + core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt "
82 +
83 + dodoc ${docs}
84 + rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
85 +
86 + cp sites/default/{default.settings.php,settings.php} || die
87 + insinto "${MY_HTDOCSDIR}"
88 + doins -r .
89 +
90 + dodir "${MY_HTDOCSDIR}"/files
91 + webapp_serverowned "${MY_HTDOCSDIR}"/files
92 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
93 + webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
94 +
95 + webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
96 + webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
97 +
98 + webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
99 +
100 + webapp_src_install
101 +}
102 +
103 +pkg_postinst() {
104 + echo
105 + ewarn "SECURITY NOTICE"
106 + ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
107 + ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
108 + echo
109 + ewarn "If this is a new install, unless you want anyone with network access to your server to be"
110 + ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
111 + echo
112 + ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
113 + ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
114 + ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
115 + ewarn "reported by the setup."
116 + echo
117 +}