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: mantisbt-1.2.1.ebuild ChangeLog mantisbt-1.1.7.ebuild mantisbt-1.1.6.ebuild
Date: Tue, 11 May 2010 10:07:51
Message-Id: 20100511100747.94C932C4F8@corvid.gentoo.org
1 pva 10/05/11 10:07:45
2
3 Modified: ChangeLog
4 Added: mantisbt-1.2.1.ebuild
5 Removed: mantisbt-1.1.7.ebuild mantisbt-1.1.6.ebuild
6 Log:
7 Version bump, bug #311391, thank David Hicks and useful comments on the mailing list.
8 (Portage version: 2.2_rc67/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.85 www-apps/mantisbt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.85&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.85&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/ChangeLog?r1=1.84&r2=1.85
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v
20 retrieving revision 1.84
21 retrieving revision 1.85
22 diff -u -r1.84 -r1.85
23 --- ChangeLog 9 Aug 2009 13:26:11 -0000 1.84
24 +++ ChangeLog 11 May 2010 10:07:44 -0000 1.85
25 @@ -1,6 +1,13 @@
26 # ChangeLog for www-apps/mantisbt
27 -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.84 2009/08/09 13:26:11 nixnut Exp $
29 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.85 2010/05/11 10:07:44 pva Exp $
31 +
32 +*mantisbt-1.2.1 (11 May 2010)
33 +
34 + 11 May 2010; Peter Volkov <pva@g.o> -mantisbt-1.1.6.ebuild,
35 + -mantisbt-1.1.7.ebuild, +mantisbt-1.2.1.ebuild:
36 + Version bump, bug #311391, thank David Hicks and useful comments on the
37 + mailing list.
38
39 09 Aug 2009; nixnut <nixnut@g.o> mantisbt-1.1.8.ebuild:
40 ppc stable #278435
41
42
43
44 1.1 www-apps/mantisbt/mantisbt-1.2.1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mantisbt-1.2.1.ebuild
50 ===================================================================
51 # Copyright 1999-2010 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/mantisbt-1.2.1.ebuild,v 1.1 2010/05/11 10:07:44 pva Exp $
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 mirror://gentoo/${P}-git20100511.patch.bz2"
61
62 LICENSE="GPL-2"
63 KEYWORDS="~amd64 ~x86"
64 IUSE=""
65
66 RDEPEND="
67 virtual/httpd-php
68 virtual/httpd-cgi
69 dev-php5/ezc-Base
70 dev-php5/ezc-Graph
71 >=dev-php/adodb-5.10"
72
73 pkg_setup() {
74 webapp_pkg_setup
75 has_php
76 require_php_with_use pcre
77 }
78
79 src_unpack() {
80 unpack ${A}
81 cd "${S}"
82
83 epatch "${WORKDIR}/${P}-git20100511.patch"
84 # Drop external libraries
85 rm -r "${S}/library/adodb/"
86 rm -r "${S}/library/ezc/"{Base,Graph}
87 sed -e 's:ezc/Base/src/base.php:ezc/Base/base.php:' \
88 -i "${S}"/plugins/MantisGraph/{core/graph_api.php,pages/summary_graph_cumulative_bydate2.php} \
89 || die
90 # Fix incorrect filename
91 sed -e 's:config_default_inc.php:config_defaults_inc.php:' \
92 -i "${S}/lang/strings_russian.txt" || die
93 }
94
95 src_install() {
96 webapp_src_preinst
97 rm doc/{LICENSE,INSTALL}
98 dodoc doc/{CREDITS,CUSTOMIZATION,RELEASE} doc/en/*
99
100 rm -rf doc packages
101 mv config_inc.php.sample config_inc.php
102 cp -R . "${D}/${MY_HTDOCSDIR}"
103
104 webapp_configfile "${MY_HTDOCSDIR}/config_inc.php"
105 webapp_postinst_txt en "${FILESDIR}/postinstall-en-1.0.0.txt"
106 webapp_src_install
107 }
108
109 pkg_postinst() {
110 webapp_pkg_postinst
111 elog "Note, that this branch of mantisbt does not work with PostgreSQL."
112 elog "If really need mantisbt to work with PostgreSQL you'll have to"
113 elog "install it manually from upstream svn repository:"
114 elog "https://sourceforge.net/svn/?group_id=14963"
115 }