1 |
commit: 0d224c8f2826684fd965e38b1fe116c69d0dfcc5 |
2 |
Author: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 12 12:15:09 2018 +0000 |
4 |
Commit: Alexey Shvetsov <alexxy <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 12 12:15:40 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d224c8f |
7 |
|
8 |
www-apps/drupal: Drop old |
9 |
|
10 |
Package-Manager: Portage-2.3.47, Repoman-2.3.10 |
11 |
|
12 |
www-apps/drupal/Manifest | 1 - |
13 |
www-apps/drupal/drupal-8.6.0.ebuild | 86 ------------------------------------- |
14 |
2 files changed, 87 deletions(-) |
15 |
|
16 |
diff --git a/www-apps/drupal/Manifest b/www-apps/drupal/Manifest |
17 |
index 00426d53c71..a9636b9b2b5 100644 |
18 |
--- a/www-apps/drupal/Manifest |
19 |
+++ b/www-apps/drupal/Manifest |
20 |
@@ -1,3 +1,2 @@ |
21 |
DIST drupal-7.59.tar.gz 3282260 BLAKE2B bf7d74926fe4e94149ef7ff622cf7889f45f3e35b9bfd19fed12aa688c8131f2f8daa2a261796896d5386966603e837b6dec3b6c02221f9b0c527c4a6f5ff9da SHA512 68f02b39d1a4658adc0f0046c22cc1059b68f952f9cd753f5a3e379cf93705be308b4727519e90d77a42437442daebaa78d76745954be4d40e1a5105c319069c |
22 |
-DIST drupal-8.6.0.tar.gz 16233161 BLAKE2B ad7a1eb65555b37799bb30aa7364c413bc8edb2a12eeee2e82beb78b40ac041123964b5eae68fc28340e965a061bd3337ad2b01e23c00af0f91338838926c6a0 SHA512 ed94168bf3eb8dca506b8da4d9607c40ed4b2d588a683d3316d16c51d919300a506f596880aba2cd2aab19649b2c18c2843f4bae93b33b4f08e93d013a2c5e64 |
23 |
DIST drupal-8.6.1.tar.gz 16236559 BLAKE2B 6c7b2d396b285290e0ef537777054cfe1d50b6188d3400bb0f0c6c35f3ae677b6d7f9ba53e28f95c4a89aeadd2dc7fc1b7c659048332a21d0ffc543bf8c4df41 SHA512 f42eab1f7110219d11f398c5099cd0abf50883819fbe6a879d08f1117e3cc413937772a269d28ffe09ba59b24f79516d03601ccfd2abfb37ed18064f34368b5a |
24 |
|
25 |
diff --git a/www-apps/drupal/drupal-8.6.0.ebuild b/www-apps/drupal/drupal-8.6.0.ebuild |
26 |
deleted file mode 100644 |
27 |
index ec2dacba2d1..00000000000 |
28 |
--- a/www-apps/drupal/drupal-8.6.0.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,86 +0,0 @@ |
31 |
-# Copyright 1999-2018 Gentoo Foundation |
32 |
-# Distributed under the terms of the GNU General Public License v2 |
33 |
- |
34 |
-EAPI=6 |
35 |
- |
36 |
-inherit webapp |
37 |
- |
38 |
-MY_PV=${PV:0:3}.0 |
39 |
-MY_P=${P/_/-} |
40 |
-S="${WORKDIR}/${MY_P}" |
41 |
- |
42 |
-DESCRIPTION="PHP-based open-source platform and content management system" |
43 |
-HOMEPAGE="https://www.drupal.org/" |
44 |
-SRC_URI="https://ftp.drupal.org/files/projects/${MY_P}.tar.gz" |
45 |
- |
46 |
-LICENSE="GPL-2" |
47 |
-KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
48 |
-IUSE="+accelerator +mysql postgres sqlite +uploadprogress" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml] |
52 |
- virtual/httpd-php |
53 |
- accelerator? ( || |
54 |
- ( |
55 |
- dev-php/xcache |
56 |
- ( |
57 |
- >=dev-lang/php-5.5[opcache] |
58 |
- dev-php/pecl-apcu |
59 |
- ) |
60 |
- ) |
61 |
- ) |
62 |
- uploadprogress? ( dev-php/pecl-uploadprogress ) |
63 |
- mysql? ( |
64 |
- || ( |
65 |
- dev-lang/php[mysql] |
66 |
- dev-lang/php[mysqli] |
67 |
- ) |
68 |
- ) |
69 |
- sqlite? ( dev-lang/php[sqlite] ) |
70 |
-" |
71 |
- |
72 |
-need_httpd_cgi |
73 |
- |
74 |
-REQUIRED_USE="|| ( mysql postgres sqlite )" |
75 |
- |
76 |
-src_install() { |
77 |
- webapp_src_preinst |
78 |
- |
79 |
- local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \ |
80 |
- core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPDATE.txt " |
81 |
- |
82 |
- dodoc ${docs} |
83 |
- rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die |
84 |
- |
85 |
- cp sites/default/{default.settings.php,settings.php} || die |
86 |
- insinto "${MY_HTDOCSDIR}" |
87 |
- doins -r . |
88 |
- |
89 |
- dodir "${MY_HTDOCSDIR}"/files |
90 |
- webapp_serverowned "${MY_HTDOCSDIR}"/files |
91 |
- webapp_serverowned "${MY_HTDOCSDIR}"/sites/default |
92 |
- webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php |
93 |
- |
94 |
- webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php |
95 |
- webapp_configfile "${MY_HTDOCSDIR}"/.htaccess |
96 |
- |
97 |
- webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
98 |
- |
99 |
- webapp_src_install |
100 |
-} |
101 |
- |
102 |
-pkg_postinst() { |
103 |
- echo |
104 |
- ewarn "SECURITY NOTICE" |
105 |
- ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:" |
106 |
- ewarn "\t# webapp-config --show-postinst ${PN} ${PV}" |
107 |
- echo |
108 |
- ewarn "If this is a new install, unless you want anyone with network access to your server to be" |
109 |
- ewarn "able to run the setup, you'll have to configure your web server to limit access to it." |
110 |
- echo |
111 |
- ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml" |
112 |
- ewarn "to /sites/default/services.yml and grant it write permissions to your web server." |
113 |
- ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue" |
114 |
- ewarn "reported by the setup." |
115 |
- echo |
116 |
-} |