1 |
commit: 802fb794ae417ee26d1f3488df1ba31ac31b0af0 |
2 |
Author: Craig Inches <craig.inches <AT> xayto <DOT> net> |
3 |
AuthorDate: Sat Jan 2 05:24:27 2016 +0000 |
4 |
Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 05:51:51 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=802fb794 |
7 |
|
8 |
www-apps/bugzilla: |
9 |
Version bumps 5.0.2, and 4.4.11 |
10 |
Clean up files dir and ebuilds to reflect |
11 |
Update copyright |
12 |
|
13 |
Package-Manager: portage-2.2.24 |
14 |
|
15 |
www-apps/bugzilla/Manifest | 2 + |
16 |
www-apps/bugzilla/bugzilla-4.0.15.ebuild | 15 +-- |
17 |
www-apps/bugzilla/bugzilla-4.2.11.ebuild | 15 +-- |
18 |
www-apps/bugzilla/bugzilla-4.4.11.ebuild | 122 +++++++++++++++++++ |
19 |
www-apps/bugzilla/bugzilla-4.4.6.ebuild | 15 +-- |
20 |
www-apps/bugzilla/bugzilla-5.0.2.ebuild | 130 +++++++++++++++++++++ |
21 |
.../bugzilla/files/{4.0 => }/bugzilla-queue.confd | 0 |
22 |
.../bugzilla/files/{4.0 => }/bugzilla-queue.initd | 0 |
23 |
.../bugzilla/files/{4.0 => }/bugzilla.cron.daily | 0 |
24 |
.../bugzilla/files/{4.0 => }/bugzilla.cron.tab | 0 |
25 |
.../bugzilla/files/{4.0 => }/postinstall-en.txt | 0 |
26 |
www-apps/bugzilla/files/{4.0 => }/reconfig | 0 |
27 |
12 files changed, 272 insertions(+), 27 deletions(-) |
28 |
|
29 |
diff --git a/www-apps/bugzilla/Manifest b/www-apps/bugzilla/Manifest |
30 |
index ed04c2b..bb01b74 100644 |
31 |
--- a/www-apps/bugzilla/Manifest |
32 |
+++ b/www-apps/bugzilla/Manifest |
33 |
@@ -1,3 +1,5 @@ |
34 |
DIST bugzilla-4.0.15.tar.gz 2875815 SHA256 4751da395f1d439505e07b80a36120186cf3d1f02c8505293d76eb66eeb3c779 SHA512 4394268dbf5a82e1693d63661296650155b8b44e39c69d06997c0e07fb71f1421050992b75240e13a9d149f847a38be9c354e95471c98328e3019136f2019a02 WHIRLPOOL dd81e4fa0cad2194d011d1fab15fed0b44d80be5c3f527fcf9925d4bdc93890e2994c703ee1e9fe76b2ce5f71900bbfc45d416b27cbd81f67d2dcc78edb511a8 |
35 |
DIST bugzilla-4.2.11.tar.gz 2955315 SHA256 b3f94024a405469b62fb1aec47cea25fb4d52c8e6009b2723c43c7d9442c7d17 SHA512 80c400c6887e4dd15201de61651dabcf709a019c3a17323d94a845ae899bcbe43d81ca46f1ae2e41a173e1a06e4d4edc147cfd62dbce08a23df90a6f8c21631c WHIRLPOOL a1445cbd05fd9730ffbe70e2f9740e64ee9b7e5344c4ade77f7237fbefde698bd598f95af5dedabc4ca581465f6be681a700ef329216fbeec107d8c5f29f1a38 |
36 |
+DIST bugzilla-4.4.11.tar.gz 4943814 SHA256 10082b506a822f36098597fce1079494ef50bab91b213c3f448c738257db182a SHA512 6ddee272ee471aeb7790e69c39c1cab0541c1657f9cf54f887242d9150ebe77b8301dcc74d6b69bb398eda880f4139b5d26046ae081bff71bd7c6716f2875bc2 WHIRLPOOL b839254d4e759b4c98a6eab52e6f14ef3e1fcf006f9a288c3ac4af79c3abd8a5adcf7303ae8208d7106c8c51caecd6287950c8f0e0855eca04e4d92c4d9b797d |
37 |
DIST bugzilla-4.4.6.tar.gz 2956046 SHA256 ac3547195f2ce156488aac2cc537620775e08a9d888441daab2b40ab66ab01f4 SHA512 af95af117f7d5ada390a94716f1d3ed9b97e06f47c028c57635b2b4a720827e4749bee23842b7ff7d3a2ee8cc6257ccf2dc2b135c821838e78a31ceb63ce1b68 WHIRLPOOL 90daa07e1f9c064f4954d413348af958544091ffa71e27d0fb8ba7e4265a96e8d1d6e5903edd71e90ddd34f9c6a44d1cdab3e7bc2db2c97cb576182692be8743 |
38 |
+DIST bugzilla-5.0.2.tar.gz 4004728 SHA256 82fa7bc8e27cfc9fe42d3fce3bfb6e7536bba245d76c2ee268d56253d16e3de3 SHA512 1ec554538382fd27f1cbb33b240779ec49a20c130e9e0b0fa8b64032a44e0eda5970b528b05d16877f5a75db6259da899ee662607df7bb52889936aec7ed05f4 WHIRLPOOL 6d8357054a3bef9cef4a768671a5b06e0326c738eca148fc696c8291c454510a4a066376cdea17a08a1d411f3bf233585886db077bd5065dd28c3531474999be |
39 |
|
40 |
diff --git a/www-apps/bugzilla/bugzilla-4.0.15.ebuild b/www-apps/bugzilla/bugzilla-4.0.15.ebuild |
41 |
index b2bd403..847ab88 100644 |
42 |
--- a/www-apps/bugzilla/bugzilla-4.0.15.ebuild |
43 |
+++ b/www-apps/bugzilla/bugzilla-4.0.15.ebuild |
44 |
@@ -1,4 +1,4 @@ |
45 |
-# Copyright 1999-2015 Gentoo Foundation |
46 |
+# Copyright 1999-2016 Gentoo Foundation |
47 |
# Distributed under the terms of the GNU General Public License v2 |
48 |
# $Id$ |
49 |
|
50 |
@@ -6,9 +6,6 @@ EAPI=5 |
51 |
|
52 |
inherit webapp depend.apache versionator eutils |
53 |
|
54 |
-#MY_PB=$(get_version_component_range 1-2) |
55 |
-MY_PB="4.0" |
56 |
- |
57 |
DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" |
58 |
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" |
59 |
HOMEPAGE="http://www.bugzilla.org" |
60 |
@@ -118,15 +115,15 @@ src_install () { |
61 |
|
62 |
insinto "${MY_HTDOCSDIR}" |
63 |
doins -r . || die |
64 |
- doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die |
65 |
+ doins "${FILESDIR}"/bugzilla.cron.{daily,tab} || die |
66 |
|
67 |
- webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig |
68 |
- webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt |
69 |
+ webapp_hook_script "${FILESDIR}"/reconfig |
70 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
71 |
webapp_src_install |
72 |
|
73 |
if use extras; then |
74 |
- newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die |
75 |
- newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die |
76 |
+ newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue || die |
77 |
+ newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue || die |
78 |
fi |
79 |
|
80 |
# bug #124282 |
81 |
|
82 |
diff --git a/www-apps/bugzilla/bugzilla-4.2.11.ebuild b/www-apps/bugzilla/bugzilla-4.2.11.ebuild |
83 |
index 5a29bfb..3f3b27f 100644 |
84 |
--- a/www-apps/bugzilla/bugzilla-4.2.11.ebuild |
85 |
+++ b/www-apps/bugzilla/bugzilla-4.2.11.ebuild |
86 |
@@ -1,4 +1,4 @@ |
87 |
-# Copyright 1999-2015 Gentoo Foundation |
88 |
+# Copyright 1999-2016 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Id$ |
91 |
|
92 |
@@ -6,9 +6,6 @@ EAPI=5 |
93 |
|
94 |
inherit webapp depend.apache versionator eutils |
95 |
|
96 |
-#MY_PB=$(get_version_component_range 1-2) |
97 |
-MY_PB="4.0" |
98 |
- |
99 |
DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" |
100 |
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" |
101 |
HOMEPAGE="http://www.bugzilla.org" |
102 |
@@ -118,15 +115,15 @@ src_install () { |
103 |
|
104 |
insinto "${MY_HTDOCSDIR}" |
105 |
doins -r . || die |
106 |
- doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die |
107 |
+ doins "${FILESDIR}"/bugzilla.cron.{daily,tab} || die |
108 |
|
109 |
- webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig |
110 |
- webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt |
111 |
+ webapp_hook_script "${FILESDIR}"/reconfig |
112 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
113 |
webapp_src_install |
114 |
|
115 |
if use extras; then |
116 |
- newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die |
117 |
- newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die |
118 |
+ newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue || die |
119 |
+ newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue || die |
120 |
fi |
121 |
|
122 |
# bug #124282 |
123 |
|
124 |
diff --git a/www-apps/bugzilla/bugzilla-4.4.11.ebuild b/www-apps/bugzilla/bugzilla-4.4.11.ebuild |
125 |
new file mode 100644 |
126 |
index 0000000..aa079fb |
127 |
--- /dev/null |
128 |
+++ b/www-apps/bugzilla/bugzilla-4.4.11.ebuild |
129 |
@@ -0,0 +1,122 @@ |
130 |
+# Copyright 1999-2016 Gentoo Foundation |
131 |
+# Distributed under the terms of the GNU General Public License v2 |
132 |
+# $Id$ |
133 |
+ |
134 |
+EAPI=5 |
135 |
+ |
136 |
+inherit webapp depend.apache eutils |
137 |
+ |
138 |
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" |
139 |
+SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" |
140 |
+HOMEPAGE="https://www.bugzilla.org" |
141 |
+ |
142 |
+LICENSE="MPL-2.0" |
143 |
+KEYWORDS="~amd64 ~x86" |
144 |
+ |
145 |
+IUSE="modperl extras graphviz mysql postgres sqlite test" |
146 |
+REQUIRED_USE=" || ( mysql postgres sqlite )" |
147 |
+ |
148 |
+COMMON_DEPS=" |
149 |
+ >=dev-lang/perl-5.10.1:* |
150 |
+ >=dev-perl/CGI-3.510:* |
151 |
+ virtual/perl-Digest-SHA:* |
152 |
+ >=dev-perl/DateTime-0.50:* |
153 |
+ >=dev-perl/DateTime-TimeZone-0.71:* |
154 |
+ >=dev-perl/DBI-1.601:* |
155 |
+ >=dev-perl/Template-Toolkit-2.22:* |
156 |
+ >=dev-perl/Email-Send-2.190:* |
157 |
+ >=dev-perl/Email-MIME-1.904:* |
158 |
+ dev-perl/URI:* |
159 |
+ >=dev-perl/List-MoreUtils-0.32:* |
160 |
+ dev-perl/Math-Random-ISAAC:* |
161 |
+" |
162 |
+ |
163 |
+DEPEND="test? ( dev-perl/Pod-Coverage:* ${COMMON_DEPS} )" |
164 |
+RDEPEND=" |
165 |
+ virtual/httpd-cgi:* |
166 |
+ ${COMMON_DEPS} |
167 |
+ postgres? ( >=dev-perl/DBD-Pg-1.49:* ) |
168 |
+ mysql? ( >=dev-perl/DBD-mysql-4.00.5:* ) |
169 |
+ sqlite? ( >=dev-perl/DBD-SQLite-1.29:* ) |
170 |
+ extras? ( |
171 |
+ >=dev-perl/GD-2.35[png,truetype] |
172 |
+ >=dev-perl/Chart-2.4.1:* |
173 |
+ dev-perl/Template-GD:* |
174 |
+ dev-perl/GDTextUtil:* |
175 |
+ dev-perl/GDGraph:* |
176 |
+ dev-perl/XML-Twig:* |
177 |
+ >=dev-perl/MIME-tools-5.427:* |
178 |
+ dev-perl/libwww-perl:* |
179 |
+ >=dev-perl/PatchReader-0.9.6:* |
180 |
+ dev-perl/perl-ldap:* |
181 |
+ dev-perl/RadiusPerl:* |
182 |
+ dev-perl/Authen-SASL:* |
183 |
+ >=dev-perl/SOAP-Lite-0.712:* |
184 |
+ dev-perl/JSON-RPC:* |
185 |
+ >=dev-perl/JSON-XS-2.0:* |
186 |
+ dev-perl/Test-Taint:* |
187 |
+ >=dev-perl/HTML-Parser-3.67:* |
188 |
+ dev-perl/HTML-Scrubber:* |
189 |
+ >=virtual/perl-Encode-2.21:* |
190 |
+ dev-perl/Encode-Detect:* |
191 |
+ dev-perl/Email-MIME-Attachment-Stripper:* |
192 |
+ dev-perl/Email-Reply:* |
193 |
+ dev-perl/TheSchwartz:* |
194 |
+ dev-perl/Daemon-Generic:* |
195 |
+ dev-perl/File-MimeInfo:* |
196 |
+ || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] ) |
197 |
+ dev-perl/MIME-tools:* |
198 |
+ ) |
199 |
+ modperl? ( |
200 |
+ www-apache/mod_perl:1 |
201 |
+ >=dev-perl/Apache-SizeLimit-0.96:* |
202 |
+ ) |
203 |
+ graphviz? ( media-gfx/graphviz:* ) |
204 |
+" |
205 |
+want_apache modperl |
206 |
+need_httpd_cgi |
207 |
+ |
208 |
+pkg_setup() { |
209 |
+ depend.apache_pkg_setup modperl |
210 |
+ webapp_pkg_setup |
211 |
+} |
212 |
+ |
213 |
+src_prepare() { |
214 |
+ # Get a rid of the bzr files |
215 |
+ rm -r .bzr* || die |
216 |
+ |
217 |
+ # Remove bundled perl modules |
218 |
+ rm -r lib/ || die |
219 |
+} |
220 |
+ |
221 |
+src_test() { |
222 |
+ perl runtests.pl || die |
223 |
+} |
224 |
+ |
225 |
+src_install () { |
226 |
+ webapp_src_preinst |
227 |
+ |
228 |
+ insinto "${MY_HTDOCSDIR}" |
229 |
+ doins -r . |
230 |
+ doins "${FILESDIR}"/bugzilla.cron.{daily,tab} |
231 |
+ |
232 |
+ webapp_hook_script "${FILESDIR}"/reconfig |
233 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
234 |
+ webapp_src_install |
235 |
+ |
236 |
+ if use extras; then |
237 |
+ newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue |
238 |
+ newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue |
239 |
+ fi |
240 |
+ |
241 |
+ # bug #124282 |
242 |
+ chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi || die |
243 |
+ |
244 |
+ chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl || die |
245 |
+ |
246 |
+ # configuration must be executable |
247 |
+ chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl || die |
248 |
+ |
249 |
+ # bug 487476 |
250 |
+ mkdir "${D}${MY_HTDOCSDIR}"/lib || die |
251 |
+} |
252 |
|
253 |
diff --git a/www-apps/bugzilla/bugzilla-4.4.6.ebuild b/www-apps/bugzilla/bugzilla-4.4.6.ebuild |
254 |
index 5a29bfb..3f3b27f 100644 |
255 |
--- a/www-apps/bugzilla/bugzilla-4.4.6.ebuild |
256 |
+++ b/www-apps/bugzilla/bugzilla-4.4.6.ebuild |
257 |
@@ -1,4 +1,4 @@ |
258 |
-# Copyright 1999-2015 Gentoo Foundation |
259 |
+# Copyright 1999-2016 Gentoo Foundation |
260 |
# Distributed under the terms of the GNU General Public License v2 |
261 |
# $Id$ |
262 |
|
263 |
@@ -6,9 +6,6 @@ EAPI=5 |
264 |
|
265 |
inherit webapp depend.apache versionator eutils |
266 |
|
267 |
-#MY_PB=$(get_version_component_range 1-2) |
268 |
-MY_PB="4.0" |
269 |
- |
270 |
DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" |
271 |
SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" |
272 |
HOMEPAGE="http://www.bugzilla.org" |
273 |
@@ -118,15 +115,15 @@ src_install () { |
274 |
|
275 |
insinto "${MY_HTDOCSDIR}" |
276 |
doins -r . || die |
277 |
- doins "${FILESDIR}"/${MY_PB}/bugzilla.cron.{daily,tab} || die |
278 |
+ doins "${FILESDIR}"/bugzilla.cron.{daily,tab} || die |
279 |
|
280 |
- webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig |
281 |
- webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt |
282 |
+ webapp_hook_script "${FILESDIR}"/reconfig |
283 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
284 |
webapp_src_install |
285 |
|
286 |
if use extras; then |
287 |
- newconfd "${FILESDIR}"/${MY_PB}/bugzilla-queue.confd bugzilla-queue || die |
288 |
- newinitd "${FILESDIR}"/${MY_PB}/bugzilla-queue.initd bugzilla-queue || die |
289 |
+ newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue || die |
290 |
+ newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue || die |
291 |
fi |
292 |
|
293 |
# bug #124282 |
294 |
|
295 |
diff --git a/www-apps/bugzilla/bugzilla-5.0.2.ebuild b/www-apps/bugzilla/bugzilla-5.0.2.ebuild |
296 |
new file mode 100644 |
297 |
index 0000000..89d446f |
298 |
--- /dev/null |
299 |
+++ b/www-apps/bugzilla/bugzilla-5.0.2.ebuild |
300 |
@@ -0,0 +1,130 @@ |
301 |
+# Copyright 1999-2016 Gentoo Foundation |
302 |
+# Distributed under the terms of the GNU General Public License v2 |
303 |
+# $Id$ |
304 |
+ |
305 |
+EAPI=5 |
306 |
+ |
307 |
+inherit webapp depend.apache eutils |
308 |
+ |
309 |
+DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project" |
310 |
+SRC_URI="https://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz" |
311 |
+HOMEPAGE="https://www.bugzilla.org" |
312 |
+ |
313 |
+LICENSE="MPL-2.0" |
314 |
+KEYWORDS="~amd64 ~x86" |
315 |
+ |
316 |
+IUSE="modperl extras graphviz mysql postgres sqlite test" |
317 |
+REQUIRED_USE=" || ( mysql postgres sqlite )" |
318 |
+ |
319 |
+COMMON_DEPS=" |
320 |
+ >=dev-lang/perl-5.10.1:* |
321 |
+ >=dev-perl/CGI-3.510:* |
322 |
+ virtual/perl-Digest-SHA:* |
323 |
+ >=dev-perl/TimeDate-1.16:* |
324 |
+ >=dev-perl/DateTime-0.50:* |
325 |
+ >=dev-perl/DateTime-TimeZone-0.71:* |
326 |
+ >=dev-perl/DBI-1.601:* |
327 |
+ >=dev-perl/Template-Toolkit-2.22:* |
328 |
+ >=dev-perl/Email-Send-2.190:* |
329 |
+ >=dev-perl/Email-Sender-1.300.11:* |
330 |
+ >=dev-perl/File-Slurp-9999.190.0-r1:* |
331 |
+ >=dev-perl/Email-MIME-1.904:* |
332 |
+ >=dev-perl/JSON-XS-2.340-r1:* |
333 |
+ dev-perl/URI:* |
334 |
+ >=dev-perl/List-MoreUtils-0.22:* |
335 |
+ virtual/perl-File-Path:* |
336 |
+ virtual/perl-Scalar-List-Utils:* |
337 |
+ >=virtual/perl-File-Spec-3.27.01:* |
338 |
+ >=virtual/perl-MIME-Base64-3.07:* |
339 |
+ dev-perl/Math-Random-ISAAC:* |
340 |
+" |
341 |
+ |
342 |
+DEPEND="test? ( dev-perl/Pod-Coverage:* ${COMMON_DEPS} )" |
343 |
+RDEPEND=" |
344 |
+ virtual/httpd-cgi:* |
345 |
+ ${COMMON_DEPS} |
346 |
+ postgres? ( >=dev-perl/DBD-Pg-1.49:* ) |
347 |
+ mysql? ( >=dev-perl/DBD-mysql-4.00.5:* ) |
348 |
+ sqlite? ( >=dev-perl/DBD-SQLite-1.29:* ) |
349 |
+ extras? ( |
350 |
+ >=dev-perl/GD-2.35[png,truetype] |
351 |
+ >=dev-perl/Chart-2.4.1:* |
352 |
+ dev-perl/Template-GD:* |
353 |
+ dev-perl/GDTextUtil:* |
354 |
+ dev-perl/GDGraph:* |
355 |
+ dev-perl/XML-Twig:* |
356 |
+ >=dev-perl/MIME-tools-5.427:* |
357 |
+ dev-perl/libwww-perl:* |
358 |
+ >=dev-perl/PatchReader-0.9.6:* |
359 |
+ dev-perl/perl-ldap:* |
360 |
+ dev-perl/RadiusPerl:* |
361 |
+ dev-perl/Authen-SASL:* |
362 |
+ >=dev-perl/SOAP-Lite-0.712:* |
363 |
+ dev-perl/JSON-RPC:* |
364 |
+ >=dev-perl/JSON-XS-2.0:* |
365 |
+ dev-perl/Test-Taint:* |
366 |
+ >=dev-perl/HTML-Parser-3.67:* |
367 |
+ dev-perl/HTML-Scrubber:* |
368 |
+ >=virtual/perl-Encode-2.21:* |
369 |
+ dev-perl/Encode-Detect:* |
370 |
+ dev-perl/Email-MIME-Attachment-Stripper:* |
371 |
+ dev-perl/Email-Reply:* |
372 |
+ dev-perl/TheSchwartz:* |
373 |
+ dev-perl/Daemon-Generic:* |
374 |
+ dev-perl/File-MimeInfo:* |
375 |
+ || ( media-gfx/imagemagick[perl] media-gfx/graphicsmagick[imagemagick,perl] ) |
376 |
+ dev-perl/MIME-tools:* |
377 |
+ ) |
378 |
+ modperl? ( |
379 |
+ www-apache/mod_perl:1 |
380 |
+ >=dev-perl/Apache-SizeLimit-0.96:* |
381 |
+ ) |
382 |
+ graphviz? ( media-gfx/graphviz:* ) |
383 |
+" |
384 |
+want_apache modperl |
385 |
+need_httpd_cgi |
386 |
+ |
387 |
+pkg_setup() { |
388 |
+ depend.apache_pkg_setup modperl |
389 |
+ webapp_pkg_setup |
390 |
+} |
391 |
+ |
392 |
+src_prepare() { |
393 |
+ # Get a rid of the bzr files |
394 |
+ rm -r .bzr* || die |
395 |
+ |
396 |
+ # Remove bundled perl modules |
397 |
+ rm -r lib/ || die |
398 |
+} |
399 |
+ |
400 |
+src_test() { |
401 |
+ perl runtests.pl || die |
402 |
+} |
403 |
+ |
404 |
+src_install () { |
405 |
+ webapp_src_preinst |
406 |
+ |
407 |
+ insinto "${MY_HTDOCSDIR}" |
408 |
+ doins -r . |
409 |
+ doins "${FILESDIR}"/bugzilla.cron.{daily,tab} |
410 |
+ |
411 |
+ webapp_hook_script "${FILESDIR}"/reconfig |
412 |
+ webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt |
413 |
+ webapp_src_install |
414 |
+ |
415 |
+ if use extras; then |
416 |
+ newconfd "${FILESDIR}"/bugzilla-queue.confd bugzilla-queue |
417 |
+ newinitd "${FILESDIR}"/bugzilla-queue.initd bugzilla-queue |
418 |
+ fi |
419 |
+ |
420 |
+ # bug #124282 |
421 |
+ chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi || die |
422 |
+ |
423 |
+ chmod u+x "${D}${MY_HTDOCSDIR}"/jobqueue.pl || die |
424 |
+ |
425 |
+ # configuration must be executable |
426 |
+ chmod u+x "${D}${MY_HTDOCSDIR}"/checksetup.pl || die |
427 |
+ |
428 |
+ # bug 487476 |
429 |
+ mkdir "${D}${MY_HTDOCSDIR}"/lib || die |
430 |
+} |
431 |
|
432 |
diff --git a/www-apps/bugzilla/files/4.0/bugzilla-queue.confd b/www-apps/bugzilla/files/bugzilla-queue.confd |
433 |
similarity index 100% |
434 |
rename from www-apps/bugzilla/files/4.0/bugzilla-queue.confd |
435 |
rename to www-apps/bugzilla/files/bugzilla-queue.confd |
436 |
|
437 |
diff --git a/www-apps/bugzilla/files/4.0/bugzilla-queue.initd b/www-apps/bugzilla/files/bugzilla-queue.initd |
438 |
similarity index 100% |
439 |
rename from www-apps/bugzilla/files/4.0/bugzilla-queue.initd |
440 |
rename to www-apps/bugzilla/files/bugzilla-queue.initd |
441 |
|
442 |
diff --git a/www-apps/bugzilla/files/4.0/bugzilla.cron.daily b/www-apps/bugzilla/files/bugzilla.cron.daily |
443 |
similarity index 100% |
444 |
rename from www-apps/bugzilla/files/4.0/bugzilla.cron.daily |
445 |
rename to www-apps/bugzilla/files/bugzilla.cron.daily |
446 |
|
447 |
diff --git a/www-apps/bugzilla/files/4.0/bugzilla.cron.tab b/www-apps/bugzilla/files/bugzilla.cron.tab |
448 |
similarity index 100% |
449 |
rename from www-apps/bugzilla/files/4.0/bugzilla.cron.tab |
450 |
rename to www-apps/bugzilla/files/bugzilla.cron.tab |
451 |
|
452 |
diff --git a/www-apps/bugzilla/files/4.0/postinstall-en.txt b/www-apps/bugzilla/files/postinstall-en.txt |
453 |
similarity index 100% |
454 |
rename from www-apps/bugzilla/files/4.0/postinstall-en.txt |
455 |
rename to www-apps/bugzilla/files/postinstall-en.txt |
456 |
|
457 |
diff --git a/www-apps/bugzilla/files/4.0/reconfig b/www-apps/bugzilla/files/reconfig |
458 |
similarity index 100% |
459 |
rename from www-apps/bugzilla/files/4.0/reconfig |
460 |
rename to www-apps/bugzilla/files/reconfig |