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

Contents of /www-apps/bugzilla/bugzilla-4.0.6.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, 6 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-4.0.5.ebuild,v 1.2 2012/02/28 14:57:36 idl0r 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 test"
19
20 COMMON_DEPS="
21 >=dev-lang/perl-5.8.8
22
23 >=virtual/perl-CGI-3.510
24 virtual/perl-Digest-SHA
25 >=dev-perl/TimeDate-1.16
26 >=dev-perl/DateTime-0.50
27 >=dev-perl/DateTime-TimeZone-0.71
28 >=dev-perl/DBI-1.601
29 >=dev-perl/Template-Toolkit-2.22
30 >=dev-perl/Email-Send-2.190
31 >=dev-perl/Email-MIME-1.904
32 dev-perl/URI
33 >=dev-perl/List-MoreUtils-0.22
34
35 virtual/perl-File-Path
36 virtual/perl-Scalar-List-Utils
37
38 >=virtual/perl-File-Spec-3.27.01
39 >=virtual/perl-MIME-Base64-3.07
40 "
41
42 DEPEND="test? ( ${COMMON_DEPS} )"
43 RDEPEND="
44 virtual/httpd-cgi
45
46 ${COMMON_DEPS}
47
48 postgres? ( >=dev-perl/DBD-Pg-1.49 )
49 mysql? ( >=dev-perl/DBD-mysql-4.00.5 )
50
51 extras? (
52 >=dev-perl/GD-2.35[png,truetype]
53 >=dev-perl/Chart-2.4.1
54 dev-perl/Template-GD
55 dev-perl/GDTextUtil
56 dev-perl/GDGraph
57 dev-perl/XML-Twig
58 >=dev-perl/MIME-tools-5.427
59 dev-perl/libwww-perl
60 >=dev-perl/PatchReader-0.9.5
61 dev-perl/perl-ldap
62 dev-perl/Authen-SASL
63 >=dev-perl/SOAP-Lite-0.712
64 dev-perl/JSON-RPC
65 >=dev-perl/JSON-XS-2.0
66 dev-perl/Test-Taint
67 >=dev-perl/HTML-Parser-3.60
68 dev-perl/HTML-Scrubber
69 dev-perl/Email-MIME-Attachment-Stripper
70 dev-perl/Email-Reply
71 dev-perl/TheSchwartz
72 dev-perl/Daemon-Generic
73 >=dev-perl/Math-Random-Secure-0.50
74
75 || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] )
76 dev-perl/MIME-tools
77 )
78
79 modperl? (
80 www-apache/mod_perl:1
81 >=dev-perl/Apache-SizeLimit-0.93
82 )
83
84 graphviz? ( media-gfx/graphviz )
85 "
86
87 # RadiusPerl for extras? bug 252128
88
89 want_apache modperl
90
91 pkg_setup() {
92 depend.apache_pkg_setup modperl
93 webapp_pkg_setup
94 }
95
96 src_prepare() {
97 # Get a rid of the bzr files
98 rm -rf .bzr*
99
100 # Remove bundled perl modules
101 rm -rf lib/
102 }
103
104 src_test() {
105 # Shall we remove runtests.pl and t/,xt/ on install?
106 perl runtests.pl || die
107 }
108
109 src_install () {
110 webapp_src_preinst
111
112 insinto "${MY_HTDOCSDIR}"
113 doins -r . || die
114 doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die
115
116 webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
117 webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
118 webapp_src_install
119
120 if use extras; then
121 newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die
122 newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die
123 fi
124
125 # bug #124282
126 chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi
127
128 chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl
129
130 # configuration must be executable
131 chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl
132 }

  ViewVC Help
Powered by ViewVC 1.1.20