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.1.3-r1.ebuild mantisbt-1.1.3.ebuild
Date: Wed, 15 Oct 2008 17:07:52
Message-Id: E1Kq9qX-0006wz-Ss@stork.gentoo.org
1 pva 08/10/15 17:07:41
2
3 Modified: ChangeLog
4 Added: mantisbt-1.1.3-r1.ebuild
5 Removed: mantisbt-1.1.3.ebuild
6 Log:
7 Fixed inability to report issues in mantis, reported in bug #241940 by Marek Królikowski.
8 (Portage version: 2.2_rc11/cvs/Linux 2.6.26-openvz.git-777e816 i686)
9
10 Revision Changes Path
11 1.66 www-apps/mantisbt/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.66&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mantisbt/ChangeLog?rev=1.66&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mantisbt/ChangeLog?r1=1.65&r2=1.66
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v
20 retrieving revision 1.65
21 retrieving revision 1.66
22 diff -u -r1.65 -r1.66
23 --- ChangeLog 14 Oct 2008 11:55:08 -0000 1.65
24 +++ ChangeLog 15 Oct 2008 17:07:41 -0000 1.66
25 @@ -1,6 +1,14 @@
26 # ChangeLog for www-apps/mantisbt
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.65 2008/10/14 11:55:08 pva Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/www-apps/mantisbt/ChangeLog,v 1.66 2008/10/15 17:07:41 pva Exp $
30 +
31 +*mantisbt-1.1.3-r1 (15 Oct 2008)
32 +
33 + 15 Oct 2008; Peter Volkov <pva@g.o>
34 + +files/mantisbt-1.1.3-up-to-r5674.patch, -mantisbt-1.1.3.ebuild,
35 + +mantisbt-1.1.3-r1.ebuild:
36 + Fixed inability to report issues in mantis, reported in bug #241940 by
37 + Marek Królikowski.
38
39 *mantisbt-1.1.3 (14 Oct 2008)
40
41
42
43
44 1.1 www-apps/mantisbt/mantisbt-1.1.3-r1.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mantisbt/mantisbt-1.1.3-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/mantisbt/mantisbt-1.1.3-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: mantisbt-1.1.3-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2008 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.1.3-r1.ebuild,v 1.1 2008/10/15 17:07:41 pva Exp $
54
55 inherit eutils webapp depend.php
56
57 MY_P=mantis-${PV}
58
59 DESCRIPTION="PHP/MySQL/Web based bugtracking system"
60 HOMEPAGE="http://www.mantisbt.org/"
61 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
62
63 LICENSE="GPL-2"
64 KEYWORDS="~amd64 ~ppc ~x86"
65 IUSE=""
66
67 RDEPEND="
68 virtual/httpd-php
69 virtual/httpd-cgi
70 dev-php/adodb"
71
72 S=${WORKDIR}/${MY_P}
73
74 pkg_setup() {
75 webapp_pkg_setup
76 has_php
77 require_php_with_use pcre
78 }
79
80 src_unpack() {
81 unpack ${A}
82 cd "${S}"
83 epatch "${FILESDIR}/${P}-up-to-r5674.patch"
84 rm -r "${S}"/core/adodb/ # We use external adodb
85 }
86
87 src_install() {
88 webapp_src_preinst
89 rm doc/{LICENSE,INSTALL}
90 dodoc doc/*
91
92 rm -rf doc packages
93 mv config_inc.php.sample config_inc.php
94 cp -R . "${D}"/${MY_HTDOCSDIR}
95
96 webapp_configfile ${MY_HTDOCSDIR}/config_inc.php
97 webapp_postinst_txt en "${FILESDIR}"/postinstall-en-1.0.0.txt
98 webapp_src_install
99 }
100
101 pkg_postinst() {
102 webapp_pkg_postinst
103 elog "Note, that this branch of mantisbt does not work with PostgreSQL."
104 elog "If really need mantisbt to work with PostgreSQL you'll have to"
105 elog "install it manually from upstream svn repository:"
106 elog "https://sourceforge.net/svn/?group_id=14963"
107 }