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