Gentoo Archives: gentoo-commits

From: "Jorge Manuel B. S. Vicetto (jmbsvicetto)" <jmbsvicetto@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/drupal: drupal-8.0.0_beta7.ebuild ChangeLog
Date: Sun, 01 Mar 2015 17:34:26
Message-Id: 20150301173418.ED7C512D15@oystercatcher.gentoo.org
1 jmbsvicetto 15/03/01 17:34:18
2
3 Modified: ChangeLog
4 Added: drupal-8.0.0_beta7.ebuild
5 Log:
6 Add initial drupal 8.0 beta release from my overlay.
7 I've been testing it locally, but will leave it without keywords until there's more feedback.
8
9 (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key BB0E6E98)
10
11 Revision Changes Path
12 1.111 www-apps/drupal/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.111&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.111&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?r1=1.110&r2=1.111
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v
21 retrieving revision 1.110
22 retrieving revision 1.111
23 diff -u -r1.110 -r1.111
24 --- ChangeLog 20 Nov 2014 11:45:49 -0000 1.110
25 +++ ChangeLog 1 Mar 2015 17:34:18 -0000 1.111
26 @@ -1,6 +1,13 @@
27 # ChangeLog for www-apps/drupal
28 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.110 2014/11/20 11:45:49 jmbsvicetto Exp $
30 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.111 2015/03/01 17:34:18 jmbsvicetto Exp $
32 +
33 +*drupal-8.0.0_beta7 (01 Mar 2015)
34 +
35 + 01 Mar 2015; Jorge Manuel B. S. Vicetto <jmbsvicetto@g.o>
36 + +drupal-8.0.0_beta7.ebuild:
37 + Add initial drupal 8.0 beta release from my overlay. I've been testing it
38 + locally, but will leave it without keywords until there's more feedback.
39
40 *drupal-6.34 (20 Nov 2014)
41 *drupal-7.34 (20 Nov 2014)
42
43
44
45 1.1 www-apps/drupal/drupal-8.0.0_beta7.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/drupal-8.0.0_beta7.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/drupal-8.0.0_beta7.ebuild?rev=1.1&content-type=text/plain
49
50 Index: drupal-8.0.0_beta7.ebuild
51 ===================================================================
52 # Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-8.0.0_beta7.ebuild,v 1.1 2015/03/01 17:34:18 jmbsvicetto Exp $
55
56 EAPI=5
57
58 inherit webapp
59
60 MY_PV=${PV:0:3}.0
61 MY_P=${P/_/-}
62 S="${WORKDIR}/${MY_P}"
63
64 DESCRIPTION="PHP-based open-source platform and content management system"
65 HOMEPAGE="http://drupal.org/"
66 SRC_URI="http://drupal.org/files/projects/${MY_P}.tar.gz"
67
68 LICENSE="GPL-2"
69 KEYWORDS=""
70 IUSE="+accelerator +mysql postgres sqlite +uploadprogress"
71
72 RDEPEND="
73 dev-lang/php[gd,hash,pdo,postgres?,simplexml,xml]
74 virtual/httpd-php
75 accelerator? ( ||
76 (
77 dev-php/xcache
78 (
79 >=dev-lang/php-5.5[opcache]
80 dev-php/pecl-apcu
81 )
82 )
83 )
84 uploadprogress? ( dev-php/pecl-uploadprogress )
85 mysql? (
86 || (
87 dev-lang/php[mysql]
88 dev-lang/php[mysqli]
89 )
90 )
91 sqlite? ( dev-lang/php[sqlite] )
92 "
93
94 need_httpd_cgi
95
96 REQUIRED_USE="|| ( mysql postgres sqlite )"
97
98 src_install() {
99 webapp_src_preinst
100
101 local docs="LICENSE.txt README.txt core/MAINTAINERS.txt core/INSTALL.txt core/CHANGELOG.txt \
102 core/INSTALL.mysql.txt core/INSTALL.pgsql.txt core/INSTALL.sqlite.txt core/UPGRADE.txt "
103
104 dodoc ${docs}
105 rm -f ${docs} core/INSTALL core/COPYRIGHT.txt core/LICENSE.txt || die
106
107 cp sites/default/{default.settings.php,settings.php} || die
108 insinto "${MY_HTDOCSDIR}"
109 doins -r .
110
111 dodir "${MY_HTDOCSDIR}"/files
112 webapp_serverowned "${MY_HTDOCSDIR}"/files
113 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
114 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
115
116 webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
117 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
118
119 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
120
121 webapp_src_install
122 }
123
124 pkg_postinst() {
125 echo
126 ewarn "SECURITY NOTICE"
127 ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
128 ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
129 echo
130 ewarn "If this is a new install, unless you want anyone with network access to your server to be"
131 ewarn "able to run the setup, you'll have to configure your web server to limit access to it."
132 echo
133 ewarn "If you're doing a new drupal-8 install, you'll have to copy /sites/default/default.services.yml"
134 ewarn "to /sites/default/services.yml and grant it write permissions to your web server."
135 ewarn "Just follow the instructions of the drupal setup and be sure to resolve any permissions issue"
136 ewarn "reported by the setup."
137 echo
138 }