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