Gentoo Archives: gentoo-commits

From: "Matti Bickel (mabi)" <mabi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/mantisbt: ChangeLog mantisbt-1.2.1-r1.ebuild
Date: Sat, 03 Jul 2010 14:17:48
Message-Id: 20100703141746.3520C2CE15@corvid.gentoo.org
1 mabi 10/07/03 14:17:46
2
3 Modified: ChangeLog
4 Added: mantisbt-1.2.1-r1.ebuild
5 Log:
6 eapi bump for php-5.3 (bug #298205)
7 (Portage version: 2.1.8.3/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.88 www-apps/mantisbt/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.88&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.88&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?r1=1.87&r2=1.88
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v
19 retrieving revision 1.87
20 retrieving revision 1.88
21 diff -u -r1.87 -r1.88
22 --- ChangeLog 25 May 2010 17:27:25 -0000 1.87
23 +++ ChangeLog 3 Jul 2010 14:17:45 -0000 1.88
24 @@ -1,6 +1,11 @@
25 # ChangeLog for www-apps/mantisbt
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.87 2010/05/25 17:27:25 pva Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.88 2010/07/03 14:17:45 mabi Exp $
29 +
30 +*mantisbt-1.2.1-r1 (03 Jul 2010)
31 +
32 + 03 Jul 2010; Matti Bickel <mabi@g.o> +mantisbt-1.2.1-r1.ebuild:
33 + eapi bump for php-5.3 (bug #298205)
34
35 25 May 2010; Peter Volkov <pva@g.o> mantisbt-1.2.1.ebuild:
36 Update ezc dependencies to make to make graphs work, bug #319461, thank
37
38
39
40 1.1 www-apps/mantisbt/mantisbt-1.2.1-r1.ebuild
41
42 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.1-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.1-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: mantisbt-1.2.1-r1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.1-r1.ebuild,v 1.1 2010/07/03 14:17:46 mabi Exp $
50
51 EAPI="2"
52
53 inherit eutils webapp depend.php
54
55 DESCRIPTION="PHP/MySQL/Web based bugtracking system"
56 HOMEPAGE="http://www.mantisbt.org/"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
58 mirror://gentoo/${P}-git20100511.patch.bz2"
59
60 LICENSE="GPL-2"
61 KEYWORDS="~amd64 ~ppc ~x86"
62 IUSE=""
63
64 RDEPEND="
65 virtual/httpd-php
66 virtual/httpd-cgi
67 || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
68 >=dev-php5/ezc-Base-1.8
69 >=dev-php5/ezc-Graph-1.5
70 >=dev-php/adodb-5.10"
71
72 src_prepare() {
73 epatch "${WORKDIR}/${P}-git20100511.patch"
74 # Drop external libraries
75 rm -r "${S}/library/adodb/"
76 rm -r "${S}/library/ezc/"{Base,Graph}
77 sed -e 's:ezc/Base/src/base.php:ezc/Base/base.php:' \
78 -i "${S}"/plugins/MantisGraph/{core/graph_api.php,pages/summary_graph_cumulative_bydate2.php} \
79 || die
80 # Fix incorrect filename
81 sed -e 's:config_default_inc.php:config_defaults_inc.php:' \
82 -i "${S}/lang/strings_russian.txt" || die
83 }
84
85 src_install() {
86 webapp_src_preinst
87 rm doc/{LICENSE,INSTALL}
88 dodoc doc/{CREDITS,CUSTOMIZATION,RELEASE} doc/en/*
89
90 rm -rf doc packages
91 mv config_inc.php.sample config_inc.php
92 cp -R . "${D}/${MY_HTDOCSDIR}"
93
94 webapp_configfile "${MY_HTDOCSDIR}/config_inc.php"
95 webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.0.0.txt"
96 webapp_src_install
97 }
98
99 pkg_postinst() {
100 webapp_pkg_postinst
101 elog "Note, that this branch of mantisbt does not work with PostgreSQL."
102 elog "If really need mantisbt to work with PostgreSQL you'll have to"
103 elog "install it manually from upstream svn repository:"
104 elog "https://sourceforge.net/svn/?group_id=14963"
105 }