Gentoo Archives: gentoo-commits

From: "Gunnar Wrobel (wrobel)" <wrobel@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apps/bugzilla: ChangeLog bugzilla-2.22.5.ebuild bugzilla-3.0.5.ebuild
Date: Sat, 11 Oct 2008 19:43:01
Message-Id: E1KokMd-0005G3-87@stork.gentoo.org
1 wrobel 08/10/11 19:42:59
2
3 Modified: ChangeLog
4 Added: bugzilla-2.22.5.ebuild bugzilla-3.0.5.ebuild
5 Log:
6 Added bugzilla-2.22.5, -3.0.5 in response to sec issue #239564.
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.119 www-apps/bugzilla/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/ChangeLog?rev=1.119&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/ChangeLog?rev=1.119&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/ChangeLog?r1=1.118&r2=1.119
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/www-apps/bugzilla/ChangeLog,v
19 retrieving revision 1.118
20 retrieving revision 1.119
21 diff -u -r1.118 -r1.119
22 --- ChangeLog 23 Aug 2008 04:43:47 -0000 1.118
23 +++ ChangeLog 11 Oct 2008 19:42:59 -0000 1.119
24 @@ -1,6 +1,13 @@
25 # ChangeLog for www-apps/bugzilla
26 # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/ChangeLog,v 1.118 2008/08/23 04:43:47 cardoe Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/ChangeLog,v 1.119 2008/10/11 19:42:59 wrobel Exp $
29 +
30 +*bugzilla-3.0.5 (11 Oct 2008)
31 +*bugzilla-2.22.5 (11 Oct 2008)
32 +
33 + 11 Oct 2008; Gunnar Wrobel <wrobel@g.o> +bugzilla-2.22.5.ebuild,
34 + +bugzilla-3.0.5.ebuild:
35 + Added bugzilla-2.22.5, -3.0.5 in response to sec issue #239564.
36
37 23 Aug 2008; Doug Goldstein <cardoe@g.o> metadata.xml:
38 add GLEP 56 USE flag desc from use.local.desc
39
40
41
42 1.1 www-apps/bugzilla/bugzilla-2.22.5.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/bugzilla-2.22.5.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/bugzilla-2.22.5.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bugzilla-2.22.5.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-2.22.5.ebuild,v 1.1 2008/10/11 19:42:59 wrobel Exp $
52
53 inherit webapp depend.apache versionator eutils
54
55 MY_PB=$(get_version_component_range 1-2)
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
61 LICENSE="MPL-1.1 NPL-1.1"
62 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
63
64 IUSE="extras graphviz mysql postgres"
65
66 RDEPEND="
67 virtual/httpd-cgi
68 >=dev-lang/perl-5.6.1
69
70 >=dev-perl/AppConfig-1.52
71 >=dev-perl/DBI-1.38
72 >=dev-perl/MailTools-1.67
73 dev-perl/MIME-tools
74 >=dev-perl/Template-Toolkit-2.13
75 >=dev-perl/Text-Tabs+Wrap-2001.0131
76 >=dev-perl/TimeDate-1.16
77 >=virtual/perl-CGI-2.93
78 >=virtual/perl-File-Spec-0.84
79 virtual/perl-File-Temp
80 >=virtual/perl-MIME-Base64-3.01
81 virtual/perl-Storable
82
83 extras? (
84 >=dev-perl/Chart-2.3
85 >=dev-perl/GD-1.20
86 dev-perl/GDGraph
87 dev-perl/GDTextUtil
88 dev-perl/HTML-Scrubber
89 >=dev-perl/PatchReader-0.9.4
90 dev-perl/perl-ldap
91 dev-perl/Template-GD
92 dev-perl/XML-Twig
93 dev-util/patchutils
94 )
95
96 graphviz? ( media-gfx/graphviz )
97 mysql? ( >=dev-perl/DBD-mysql-3.0007 )
98 postgres? ( >=dev-perl/DBD-Pg-1.45 )
99 "
100
101 need_apache2
102
103 src_unpack() {
104 unpack ${A}
105 cd "${S}"
106 ecvs_clean
107 }
108
109 src_install () {
110 webapp_src_preinst
111
112 insinto "${MY_HTDOCSDIR}"
113 doins -r .
114 newins "${FILESDIR}"/${MY_PB}/apache.htaccess .htaccess
115 for f in bugzilla.cron.daily bugzilla.cron.tab; do
116 doins "${FILESDIR}"/${MY_PB}/${f}
117 done
118
119 webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
120 webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
121 webapp_src_install
122
123 # bug #124282
124 chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi
125 }
126
127
128
129 1.1 www-apps/bugzilla/bugzilla-3.0.5.ebuild
130
131 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/bugzilla-3.0.5.ebuild?rev=1.1&view=markup
132 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apps/bugzilla/bugzilla-3.0.5.ebuild?rev=1.1&content-type=text/plain
133
134 Index: bugzilla-3.0.5.ebuild
135 ===================================================================
136 # Copyright 1999-2008 Gentoo Foundation
137 # Distributed under the terms of the GNU General Public License v2
138 # $Header: /var/cvsroot/gentoo-x86/www-apps/bugzilla/bugzilla-3.0.5.ebuild,v 1.1 2008/10/11 19:42:59 wrobel Exp $
139
140 inherit webapp depend.apache versionator eutils
141
142 MY_PB=$(get_version_component_range 1-2)
143
144 DESCRIPTION="Bugzilla is the Bug-Tracking System from the Mozilla project"
145 SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/webtools/${P}.tar.gz
146 linguas_de? ( http://ganderbay.net/dl/germzilla-${PV}-1.utf-8.tar.gz )"
147 HOMEPAGE="http://www.bugzilla.org"
148
149 LICENSE="MPL-1.1 NPL-1.1"
150 KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
151
152 IUSE="modperl extras graphviz mysql postgres linguas_de"
153
154 RDEPEND="
155 virtual/httpd-cgi
156 >=dev-lang/perl-5.8.0
157
158 >=dev-perl/DBI-1.41
159 dev-perl/Email-MIME-Modifier
160 >=dev-perl/Email-Send-2.00
161 dev-perl/MIME-tools
162 >=dev-perl/Template-Toolkit-2.13
163 >=dev-perl/TimeDate-1.16
164 >=virtual/perl-CGI-2.93
165 >=virtual/perl-File-Spec-0.84
166 >=virtual/perl-MIME-Base64-3.01
167
168 mysql? ( >=dev-perl/DBD-mysql-3.0007 )
169 postgres? ( >=dev-perl/DBD-Pg-1.45 )
170 graphviz? ( media-gfx/graphviz )
171
172 modperl? (
173 >=dev-perl/Apache-DBI-0.96
174 >=virtual/perl-CGI-3.11
175 =www-apache/mod_perl-2*
176 )
177
178 extras? (
179 >=dev-perl/Chart-2.3
180 dev-perl/Email-MIME-Attachment-Stripper
181 dev-perl/Email-Reply
182 >=dev-perl/GD-1.20
183 dev-perl/GDGraph
184 dev-perl/GDTextUtil
185 >=dev-perl/HTML-Parser-3.40
186 dev-perl/HTML-Scrubber
187 dev-perl/libwww-perl
188 >=dev-perl/PatchReader-0.9.4
189 dev-perl/perl-ldap
190 dev-perl/SOAP-Lite
191 dev-perl/Template-GD
192 dev-perl/XML-Twig
193 )
194 "
195
196 want_apache modperl
197
198 pkg_setup() {
199 webapp_pkg_setup
200
201 if use extras ; then
202 if ! has_version media-gfx/imagemagick || ! built_with_use media-gfx/imagemagick perl ; then
203 elog "Consider installing media-gfx/imagemagick with USE=\"perl\""
204 elog "to convert BMP attachments to PNG"
205 fi
206 fi
207 }
208
209 src_unpack() {
210 unpack ${A}
211 cd "${S}"
212 ecvs_clean
213
214 if use linguas_de ; then
215 mv ../de template/
216 elog "Installing German translation pack"
217 elog "Be sure to read http://wiki.ganderbay.net/wde/Germzilla-Installation"
218 elog "for installation instructions"
219 fi
220 }
221
222 src_install () {
223 webapp_src_preinst
224
225 insinto "${MY_HTDOCSDIR}"
226 doins -r .
227 for f in bugzilla.cron.daily bugzilla.cron.tab; do
228 doins "${FILESDIR}"/${MY_PB}/${f}
229 done
230
231 webapp_hook_script "${FILESDIR}"/${MY_PB}/reconfig
232 webapp_postinst_txt en "${FILESDIR}"/${MY_PB}/postinstall-en.txt
233 webapp_src_install
234
235 # bug #124282
236 chmod +x "${D}${MY_HTDOCSDIR}"/*.cgi
237 }