/[gentoo-x86]/www-apps/bugzilla/bugzilla-3.6.9.ebuild
Gentoo

Contents of /www-apps/bugzilla/bugzilla-3.6.9.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Apr 18 23:33:56 2012 UTC (2 years, 3 months ago) by idl0r
Branch: MAIN
Version bumps re CVE-2012-0465 and CVE-2012-0466

(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-3.6.8.ebuild,v 1.2 2012/02/01 20:21:32 ago Exp $
4
5 EAPI="3"
6
7 inherit webapp depend.apache versionator eutils
8
9 MY_PB=$(get_version_component_range 1-2)
10
11 DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
12 SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz"
13 HOMEPAGE="http://www.bugzilla.org"
14
15 LICENSE="MPL-1.1"
16 KEYWORDS="~amd64 ~x86"
17
18 IUSE="modperl extras graphviz mysql postgres"
19
20 RDEPEND="
21 virtual/httpd-cgi
22 >=dev-lang/perl-5.8.8
23
24 >=dev-perl/DBI-1.601
25 >=dev-perl/DateTime-0.50
26 >=dev-perl/DateTime-Locale-0.43
27 >=dev-perl/DateTime-TimeZone-0.71
28 >=dev-perl/URI-1.38
29 >=dev-perl/Email-MIME-1.900
30 >=dev-perl/Email-MIME-Encodings-1.313
31 >=dev-perl/Email-Send-2.190
32 >=dev-perl/MIME-tools-5.427
33 >=dev-perl/Template-Toolkit-2.22
34 >=dev-perl/TimeDate-1.16
35 >=virtual/perl-CGI-3.510
36 >=virtual/perl-Digest-SHA-5.46
37 >=virtual/perl-File-Spec-3.27.01
38 >=virtual/perl-MIME-Base64-3.07
39
40 mysql? ( >=dev-perl/DBD-mysql-4.00.5 )
41 postgres? ( >=dev-perl/DBD-Pg-1.49 )
42 graphviz? ( media-gfx/graphviz )
43
44 modperl? (
45 >=dev-perl/Apache-DBI-1.06
46 www-apache/mod_perl:1
47 )
48
49 extras? (
50 dev-perl/Authen-SASL
51 >=dev-perl/Chart-2.4.1
52 dev-perl/Email-MIME-Attachment-Stripper
53 dev-perl/Email-Reply
54 >=dev-perl/GD-2.35
55 dev-perl/GDGraph
56 dev-perl/GDTextUtil
57 >=dev-perl/HTML-Parser-3.60
58 dev-perl/HTML-Scrubber
59 dev-perl/JSON-RPC
60 dev-perl/libwww-perl
61 >=dev-perl/PatchReader-0.9.5
62 dev-perl/perl-ldap
63 dev-perl/SOAP-Lite
64 dev-perl/Template-GD
65 dev-perl/Test-Taint
66 dev-perl/XML-Twig
67 || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] )
68 dev-perl/TheSchwartz
69 dev-perl/Daemon-Generic
70 dev-perl/Math-Random-Secure
71 )
72 "
73 # from extras we miss:
74 # (nothing)
75
76 want_apache modperl
77
78 pkg_setup() {
79 depend.apache_pkg_setup modperl
80 webapp_pkg_setup
81 }
82
83 src_prepare() {
84 ecvs_clean
85 # Remove bundled perl modules
86 rm -rf "${S}"/lib || die
87 }
88
89 src_install () {
90 webapp_src_preinst
91
92 insinto "${MY_HTDOCSDIR}"
93 doins -r . || die
94 for f in bugzilla.cron.daily bugzilla.cron.tab; do
95 doins "${FILESDIR}"/${MY_PB}/${f} || die
96 done
97
98 webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
99 webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
100 webapp_src_install
101
102 # bug #124282
103 chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi
104 # configuration must be executable
105 chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl
106 }

  ViewVC Help
Powered by ViewVC 1.1.20