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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Wed Sep 18 03:18:36 2013 UTC (15 months, 1 week ago) by creffett
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
Security bump wrt bug 458562 and others. Add Andrew Hamilton as proxy, ack by twitch153, I will handle his commits. Cleanup affected versions.

(Portage version: 2.2.3/cvs/Linux x86_64, signed Manifest commit with key 42618354)

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

  ViewVC Help
Powered by ViewVC 1.1.20