Gentoo Archives: gentoo-commits

From: "Peter Volkov (pva)" <pva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/mantisbt: ChangeLog mantisbt-1.2.2.ebuild mantisbt-1.2.1.ebuild mantisbt-1.2.1-r1.ebuild
Date: Sun, 01 Aug 2010 06:02:41
Message-Id: 20100801053551.4FD9C2CE15@corvid.gentoo.org
1 pva 10/08/01 05:35:50
2
3 Modified: ChangeLog
4 Added: mantisbt-1.2.2.ebuild
5 Removed: mantisbt-1.2.1.ebuild mantisbt-1.2.1-r1.ebuild
6 Log:
7 Version bump. Fixes security issue, bug #330481
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.89 www-apps/mantisbt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.89&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.89&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?r1=1.88&r2=1.89
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v
20 retrieving revision 1.88
21 retrieving revision 1.89
22 diff -u -r1.88 -r1.89
23 --- ChangeLog 3 Jul 2010 14:17:45 -0000 1.88
24 +++ ChangeLog 1 Aug 2010 05:35:50 -0000 1.89
25 @@ -1,6 +1,12 @@
26 # ChangeLog for www-apps/mantisbt
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.88 2010/07/03 14:17:45 mabi Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.89 2010/08/01 05:35:50 pva Exp $
30 +
31 +*mantisbt-1.2.2 (30 Jul 2010)
32 +
33 + 30 Jul 2010; Peter Volkov <pva@g.o> -mantisbt-1.2.1.ebuild,
34 + -mantisbt-1.2.1-r1.ebuild, +mantisbt-1.2.2.ebuild:
35 + Version bump. Fixes security issue, bug #330481
36
37 *mantisbt-1.2.1-r1 (03 Jul 2010)
38
39
40
41
42 1.1 www-apps/mantisbt/mantisbt-1.2.2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.2.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: mantisbt-1.2.2.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.2.ebuild,v 1.1 2010/08/01 05:35:50 pva Exp $
52
53 EAPI="2"
54
55 inherit eutils webapp depend.php
56
57 DESCRIPTION="PHP/MySQL/Web based bugtracking system"
58 HOMEPAGE="http://www.mantisbt.org/"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 KEYWORDS="~amd64 ~ppc ~x86"
63 IUSE=""
64
65 RDEPEND="
66 virtual/httpd-php
67 virtual/httpd-cgi
68 || ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 )
69 >=dev-php5/ezc-Base-1.8
70 >=dev-php5/ezc-Graph-1.5
71 >=dev-php/adodb-5.10"
72
73 src_prepare() {
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 }