blob: fd4643826dfd1c1561947c5894cb900793abd795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-2.18.3.ebuild,v 1.5 2005/07/11 18:21:28 corsair Exp $
inherit webapp
DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
HOMEPAGE="http://www.bugzilla.org"
LICENSE="MPL-1.1 NPL-1.1"
KEYWORDS="amd64 ppc ppc64 sparc x86"
IUSE="apache2"
# See http://www.bugzilla.org/docs216/html/stepbystep.html to verify dependancies
# updated list of deps: http://www.bugzilla.org/releases/2.18/release-notes.html
# removed deps: dev-perl/MIME-tools
RDEPEND=">=dev-db/mysql-3.23.41
>=dev-lang/perl-5.6.0
>=dev-perl/AppConfig-1.52
>=perl-core/CGI-2.93
>=dev-perl/TimeDate-1.16
>=dev-perl/DBI-1.36
>=dev-perl/DBD-mysql-2.1010
>=perl-core/File-Spec-0.8.2
>=dev-perl/Template-Toolkit-2.08
>=dev-perl/Text-Tabs+Wrap-2001.0131
>=dev-perl/Chart-2.3
>=dev-perl/GD-1.20
dev-perl/GDGraph
dev-perl/GDTextUtil
dev-perl/perl-ldap
>=dev-perl/PatchReader-0.9.4
dev-perl/XML-Parser
apache2? ( >=net-www/apache-2.0 )
!apache2? ( =net-www/apache-1* )"
src_unpack() {
unpack ${A}
cd ${S}
# remove CVS directories
find . -type d -name 'CVS' -print | xargs rm -rf
}
src_install () {
webapp_src_preinst
cd ${S}
cp -r ${S}/* ${D}/${MY_HTDOCSDIR} || die
for file in `find -type d -printf "%p/* "`; do
webapp_serverowned "${MY_HTDOCSDIR}/${file}"
done
cp ${FILESDIR}/2.18.1-r1/apache.htaccess ${D}/${MY_HTDOCSDIR}/.htaccess
local FILE="bugzilla.cron.daily bugzilla.cron.tab"
cd ${FILESDIR}/2.18.1-r1
cp ${FILE} ${D}/${MY_HTDOCSDIR}
# add the reconfigure hook
webapp_hook_script ${FILESDIR}/2.18.1-r1/reconfig
webapp_src_install
}
|