1 |
radhermit 11/05/27 21:24:43 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: drupal-7.2.ebuild |
5 |
Log: |
6 |
Version bump. Update to EAPI 4 and add USE flags for database support (bug #354475). |
7 |
|
8 |
(Portage version: 2.2.0_alpha33/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.71 www-apps/drupal/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.71&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.71&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?r1=1.70&r2=1.71 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v |
20 |
retrieving revision 1.70 |
21 |
retrieving revision 1.71 |
22 |
diff -u -r1.70 -r1.71 |
23 |
--- ChangeLog 26 May 2011 23:44:18 -0000 1.70 |
24 |
+++ ChangeLog 27 May 2011 21:24:43 -0000 1.71 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for www-apps/drupal |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.70 2011/05/26 23:44:18 tampakrap Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.71 2011/05/27 21:24:43 radhermit Exp $ |
30 |
+ |
31 |
+*drupal-7.2 (27 May 2011) |
32 |
+ |
33 |
+ 27 May 2011; Tim Harder <radhermit@g.o> +drupal-7.2.ebuild: |
34 |
+ Version bump. Update to EAPI 4 and add USE flags for database support (bug |
35 |
+ #354475). |
36 |
|
37 |
*drupal-6.22 (26 May 2011) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 www-apps/drupal/drupal-7.2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/drupal-7.2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/drupal-7.2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: drupal-7.2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-7.2.ebuild,v 1.1 2011/05/27 21:24:43 radhermit Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
|
55 |
inherit webapp depend.php |
56 |
|
57 |
MY_PV=${PV:0:3}.0 |
58 |
|
59 |
DESCRIPTION="PHP-based open-source platform and content management system" |
60 |
HOMEPAGE="http://drupal.org/" |
61 |
SRC_URI="http://drupal.org/files/projects/${P/_/-}.tar.gz" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
KEYWORDS="~alpha ~amd64 ~ppc ~x86" |
65 |
IUSE="+mysql postgres sqlite" |
66 |
|
67 |
need_httpd_cgi |
68 |
need_php_httpd |
69 |
|
70 |
RDEPEND="dev-lang/php[pdo,postgres?,sqlite?,xml] |
71 |
mysql? ( || ( dev-lang/php[mysql] dev-lang/php[mysqli] ) ) |
72 |
|| ( dev-lang/php[gd] dev-lang/php[gd-external] )" |
73 |
|
74 |
REQUIRED_USE="|| ( mysql postgres sqlite )" |
75 |
|
76 |
S="${WORKDIR}/${P/_/-}" |
77 |
|
78 |
src_install() { |
79 |
webapp_src_preinst |
80 |
|
81 |
local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt " |
82 |
dodoc ${docs} |
83 |
rm -f ${docs} INSTALL COPYRIGHT.txt |
84 |
|
85 |
cp sites/default/{default.settings.php,settings.php} |
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 |
ewarn |
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 |
ewarn |
108 |
} |