Gentoo Archives: gentoo-commits

From: "Alexey Shvetsov (alexxy)" <alexxy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/drupal: ChangeLog drupal-7.0_rc4.ebuild drupal-7.0_rc2.ebuild
Date: Wed, 05 Jan 2011 00:39:55
Message-Id: 20110105003945.B3F4120051@flycatcher.gentoo.org
1 alexxy 11/01/05 00:39:45
2
3 Modified: ChangeLog
4 Added: drupal-7.0_rc4.ebuild
5 Removed: drupal-7.0_rc2.ebuild
6 Log:
7 [www-apps/drupal] Version bump for latest rc
8
9 (Portage version: 2.2.0_alpha12_p3/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.68 www-apps/drupal/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.68&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?rev=1.68&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/ChangeLog?r1=1.67&r2=1.68
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v
21 retrieving revision 1.67
22 retrieving revision 1.68
23 diff -u -r1.67 -r1.68
24 --- ChangeLog 19 Dec 2010 22:09:02 -0000 1.67
25 +++ ChangeLog 5 Jan 2011 00:39:45 -0000 1.68
26 @@ -1,6 +1,12 @@
27 # ChangeLog for www-apps/drupal
28 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.67 2010/12/19 22:09:02 alexxy Exp $
30 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/ChangeLog,v 1.68 2011/01/05 00:39:45 alexxy Exp $
32 +
33 +*drupal-7.0_rc4 (05 Jan 2011)
34 +
35 + 05 Jan 2011; Alexey Shvetsov <alexxy@g.o> -drupal-7.0_rc2.ebuild,
36 + +drupal-7.0_rc4.ebuild:
37 + Version bump for latest rc
38
39 *drupal-7.0_rc2 (19 Dec 2010)
40 *drupal-6.20 (19 Dec 2010)
41
42
43
44 1.1 www-apps/drupal/drupal-7.0_rc4.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/drupal-7.0_rc4.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/drupal/drupal-7.0_rc4.ebuild?rev=1.1&content-type=text/plain
48
49 Index: drupal-7.0_rc4.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/www-apps/drupal/drupal-7.0_rc4.ebuild,v 1.1 2011/01/05 00:39:45 alexxy Exp $
54
55 inherit webapp eutils 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=""
66
67 need_httpd_cgi
68 need_php_httpd
69
70 S="${WORKDIR}/${P/_/-}"
71
72 pkg_setup() {
73 webapp_pkg_setup
74 has_php
75 if [[ ${PHP_VERSION} == "4" ]] ; then
76 local flags="expat"
77 else
78 local flags="xml"
79 fi
80 if ! PHPCHECKNODIE="yes" require_php_with_use ${flags} \
81 || ! PHPCHECKNODIE="yes" require_php_with_any_use gd gd-external ; then
82 die "Re-install ${PHP_PKG} with ${flags} and either gd or gd-external"
83 fi
84 }
85
86 src_install() {
87 webapp_src_preinst
88
89 local docs="MAINTAINERS.txt LICENSE.txt INSTALL.txt CHANGELOG.txt INSTALL.mysql.txt INSTALL.pgsql.txt INSTALL.sqlite.txt UPGRADE.txt "
90 dodoc ${docs}
91 rm -f ${docs} INSTALL COPYRIGHT.txt
92
93 cp sites/default/{default.settings.php,settings.php}
94 insinto "${MY_HTDOCSDIR}"
95 doins -r .
96
97 dodir "${MY_HTDOCSDIR}"/files
98 webapp_serverowned "${MY_HTDOCSDIR}"/files
99 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default
100 webapp_serverowned "${MY_HTDOCSDIR}"/sites/default/settings.php
101
102 webapp_configfile "${MY_HTDOCSDIR}"/sites/default/settings.php
103 webapp_configfile "${MY_HTDOCSDIR}"/.htaccess
104
105 webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
106
107 webapp_src_install
108 }
109
110 pkg_postinst() {
111 ewarn
112 ewarn "SECURITY NOTICE"
113 ewarn "If you plan on using SSL on your Drupal site, please consult the postinstall information:"
114 ewarn "\t# webapp-config --show-postinst ${PN} ${PV}"
115 ewarn
116 }