1 |
pva 11/09/01 19:30:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: mantisbt-1.2.7-r1.ebuild |
5 |
Log: |
6 |
Add patch to address local file inclusion/path traversal, bug 381417 wrt David Hicks. |
7 |
|
8 |
(Portage version: 2.1.10.11/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.108 www-apps/mantisbt/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.108&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.108&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?r1=1.107&r2=1.108 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v |
20 |
retrieving revision 1.107 |
21 |
retrieving revision 1.108 |
22 |
diff -u -r1.107 -r1.108 |
23 |
--- ChangeLog 26 Aug 2011 11:13:32 -0000 1.107 |
24 |
+++ ChangeLog 1 Sep 2011 19:30:23 -0000 1.108 |
25 |
@@ -1,6 +1,13 @@ |
26 |
# ChangeLog for www-apps/mantisbt |
27 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.107 2011/08/26 11:13:32 chainsaw Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.108 2011/09/01 19:30:23 pva Exp $ |
30 |
+ |
31 |
+*mantisbt-1.2.7-r1 (01 Sep 2011) |
32 |
+ |
33 |
+ 01 Sep 2011; Peter Volkov <pva@g.o> +mantisbt-1.2.7-r1.ebuild, |
34 |
+ +files/mantisbt-1.2.7-file-inclusion.patch: |
35 |
+ Add patch to address local file inclusion/path traversal, bug 381417 wrt |
36 |
+ David Hicks. |
37 |
|
38 |
26 Aug 2011; Tony Vroon <chainsaw@g.o> mantisbt-1.2.7.ebuild: |
39 |
Marked stable on AMD64 based on arch testing by Agostino "ago" Sarubbo in |
40 |
|
41 |
|
42 |
|
43 |
1.1 www-apps/mantisbt/mantisbt-1.2.7-r1.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.7-r1.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.7-r1.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: mantisbt-1.2.7-r1.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/mantisbt/mantisbt-1.2.7-r1.ebuild,v 1.1 2011/09/01 19:30:23 pva Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
|
56 |
inherit eutils webapp depend.php |
57 |
|
58 |
DESCRIPTION="PHP/MySQL/Web based bugtracking system" |
59 |
HOMEPAGE="http://www.mantisbt.org/" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="" |
65 |
|
66 |
RDEPEND=" |
67 |
virtual/httpd-php |
68 |
virtual/httpd-cgi |
69 |
|| ( <dev-lang/php-5.3[pcre] >=dev-lang/php-5.3 ) |
70 |
>=dev-php5/ezc-Base-1.8 |
71 |
>=dev-php5/ezc-Graph-1.5 |
72 |
>=dev-php/adodb-5.10" |
73 |
|
74 |
src_prepare() { |
75 |
epatch "${FILESDIR}/mantisbt-1.2.7-file-inclusion.patch" #381417 |
76 |
|
77 |
# Drop external libraries |
78 |
rm -r "${S}/library/adodb/" |
79 |
rm -r "${S}/library/ezc/"{Base,Graph} |
80 |
sed -e 's:ezc/Base/src/base.php:ezc/Base/base.php:' \ |
81 |
-i "${S}"/plugins/MantisGraph/{core/graph_api.php,pages/summary_graph_cumulative_bydate2.php} \ |
82 |
|| die |
83 |
# Fix incorrect filename |
84 |
sed -e 's:config_default_inc.php:config_defaults_inc.php:' \ |
85 |
-i "${S}/lang/strings_russian.txt" || die |
86 |
} |
87 |
|
88 |
src_install() { |
89 |
webapp_src_preinst |
90 |
rm doc/{LICENSE,INSTALL} |
91 |
dodoc doc/{CREDITS,CUSTOMIZATION,RELEASE} doc/en/* |
92 |
|
93 |
rm -rf doc packages |
94 |
mv config_inc.php.sample config_inc.php |
95 |
cp -R . "${D}/${MY_HTDOCSDIR}" |
96 |
|
97 |
webapp_configfile "${MY_HTDOCSDIR}/config_inc.php" |
98 |
webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.0.0.txt" |
99 |
webapp_src_install |
100 |
} |