Gentoo Archives: gentoo-commits

From: "Hans de Graaff (graaff)" <graaff@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-ruby/rack: rack-1.1.3-r1.ebuild rack-1.4.0.ebuild ChangeLog rack-1.2.5.ebuild rack-1.1.3.ebuild rack-1.3.6.ebuild
Date: Fri, 30 Dec 2011 08:06:56
Message-Id: 20111230080646.280E22004B@flycatcher.gentoo.org
1 graaff 11/12/30 08:06:46
2
3 Modified: ChangeLog
4 Added: rack-1.1.3-r1.ebuild rack-1.4.0.ebuild
5 rack-1.2.5.ebuild rack-1.1.3.ebuild
6 rack-1.3.6.ebuild
7 Log:
8 Add revision bumps for security bug 396455.
9
10 (Portage version: 2.1.10.41/cvs/Linux x86_64)
11
12 Revision Changes Path
13 1.66 dev-ruby/rack/ChangeLog
14
15 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/ChangeLog?rev=1.66&view=markup
16 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/ChangeLog?rev=1.66&content-type=text/plain
17 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/ChangeLog?r1=1.65&r2=1.66
18
19 Index: ChangeLog
20 ===================================================================
21 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v
22 retrieving revision 1.65
23 retrieving revision 1.66
24 diff -u -r1.65 -r1.66
25 --- ChangeLog 29 Dec 2011 06:52:38 -0000 1.65
26 +++ ChangeLog 30 Dec 2011 08:06:46 -0000 1.66
27 @@ -1,6 +1,17 @@
28 # ChangeLog for dev-ruby/rack
29 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.65 2011/12/29 06:52:38 graaff Exp $
31 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/ChangeLog,v 1.66 2011/12/30 08:06:46 graaff Exp $
32 +
33 +*rack-1.4.0 (30 Dec 2011)
34 +*rack-1.3.6 (30 Dec 2011)
35 +*rack-1.2.5 (30 Dec 2011)
36 +*rack-1.1.3-r1 (30 Dec 2011)
37 +*rack-1.1.3 (30 Dec 2011)
38 +
39 + 30 Dec 2011; Hans de Graaff <graaff@g.o> +rack-1.1.3.ebuild,
40 + +rack-1.1.3-r1.ebuild, +rack-1.2.5.ebuild, +rack-1.3.6.ebuild,
41 + +rack-1.4.0.ebuild:
42 + Add revision bumps for security bug 396455.
43
44 29 Dec 2011; Hans de Graaff <graaff@g.o> rack-1.1.0-r1.ebuild,
45 rack-1.1.2.ebuild:
46
47
48
49 1.1 dev-ruby/rack/rack-1.1.3-r1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.1.3-r1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.1.3-r1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: rack-1.1.3-r1.ebuild
55 ===================================================================
56 # Copyright 1999-2011 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.1.3-r1.ebuild,v 1.1 2011/12/30 08:06:46 graaff Exp $
59
60 EAPI="2"
61 USE_RUBY="ruby18 ree18 jruby"
62
63 RUBY_FAKEGEM_DOCDIR="doc"
64
65 RUBY_FAKEGEM_BINWRAP=""
66
67 inherit ruby-fakegem eutils
68
69 DESCRIPTION="A modular Ruby webserver interface"
70 HOMEPAGE="http://rubyforge.org/projects/rack"
71 SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
72
73 LICENSE="MIT"
74 SLOT="0"
75 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x64-solaris ~x86-solaris"
76 IUSE=""
77
78 # The gem has automagic dependencies over mongrel, ruby-openid,
79 # memcache-client, thin, mongrel and camping; not sure if we should
80 # make them dependencies at all.
81 ruby_add_bdepend "test? ( dev-ruby/test-spec )"
82
83 all_ruby_prepare() {
84 # Avoid tests depending on now randomized hash ordering.
85 sed -i -e '/foobarfoo/ s:^:#:' test/spec_rack_response.rb || die
86 sed -i -e '/should build query strings correctly/,/end/ s:^:#:' test/spec_rack_utils.rb || die
87 sed -i -e '/should build nested query strings correctly/,/end/ s:^:#:' test/spec_rack_utils.rb || die
88 }
89
90 each_ruby_test() {
91 # Since the Rakefile calls specrb directly rather than loading it, we
92 # cannot use it to launch the tests or only the currently-selected
93 # RUBY interpreter will be tested.
94 ${RUBY} -S specrb -Ilib:test -w -a \
95 -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|rackup)' \
96 || die "test failed for ${RUBY}"
97 }
98
99
100
101 1.1 dev-ruby/rack/rack-1.4.0.ebuild
102
103 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild?rev=1.1&view=markup
104 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild?rev=1.1&content-type=text/plain
105
106 Index: rack-1.4.0.ebuild
107 ===================================================================
108 # Copyright 1999-2011 Gentoo Foundation
109 # Distributed under the terms of the GNU General Public License v2
110 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.4.0.ebuild,v 1.1 2011/12/30 08:06:46 graaff Exp $
111
112 EAPI="2"
113 USE_RUBY="ruby18 ree18 ruby19 jruby"
114
115 RUBY_FAKEGEM_DOCDIR="doc"
116 RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README.rdoc SPEC"
117
118 inherit ruby-fakegem eutils versionator
119
120 DESCRIPTION="A modular Ruby webserver interface"
121 HOMEPAGE="http://rubyforge.org/projects/rack"
122 SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
123
124 LICENSE="MIT"
125 SLOT="$(get_version_component_range 1-2)"
126 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
127 IUSE=""
128
129 ruby_add_rdepend "virtual/ruby-ssl"
130
131 # The gem has automagic dependencies over mongrel, ruby-openid,
132 # memcache-client, thin, mongrel and camping; not sure if we should
133 # make them dependencies at all. We do add the fcgi dependency because
134 # that spec isn't optional.
135 ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/ruby-fcgi )"
136
137 # Block against versions in older slots that also try to install a binary.
138 RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1:0 !<dev-ruby/rack-1.2.5:1.2 !<dev-ruby/rack-1.3.6:1.3"
139
140 all_ruby_prepare() {
141 epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
142
143 # Avoid tests depending on now randomized hash ordering.
144 sed -i -e '/foobarfoo/ s:^:#:' test/spec_response.rb || die
145 sed -i -e '/build query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
146 sed -i -e '/build nested query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
147 }
148
149 each_ruby_prepare() {
150 case ${RUBY} in
151 *jruby)
152 # Avoid two failing tests due to bugs in jruby that should
153 # be solved in 1.6.5 or 1.7.
154 rm test/spec_deflater.rb || die
155 ;;
156 *)
157 ;;
158 esac
159 }
160
161 each_ruby_test() {
162 # Since the Rakefile calls specrb directly rather than loading it, we
163 # cannot use it to launch the tests or only the currently-selected
164 # RUBY interpreter will be tested.
165 ${RUBY} -S bacon -Ilib -w -a \
166 -q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
167 || die "test failed for ${RUBY}"
168 }
169
170
171
172 1.1 dev-ruby/rack/rack-1.2.5.ebuild
173
174 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.2.5.ebuild?rev=1.1&view=markup
175 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.2.5.ebuild?rev=1.1&content-type=text/plain
176
177 Index: rack-1.2.5.ebuild
178 ===================================================================
179 # Copyright 1999-2011 Gentoo Foundation
180 # Distributed under the terms of the GNU General Public License v2
181 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.2.5.ebuild,v 1.1 2011/12/30 08:06:46 graaff Exp $
182
183 EAPI="2"
184 USE_RUBY="ruby18 ree18 ruby19 jruby"
185
186 RUBY_FAKEGEM_DOCDIR="doc"
187 RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README SPEC"
188
189 RUBY_FAKEGEM_BINWRAP=""
190
191 inherit ruby-fakegem eutils versionator
192
193 DESCRIPTION="A modular Ruby webserver interface"
194 HOMEPAGE="http://rubyforge.org/projects/rack"
195 SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
196
197 LICENSE="MIT"
198 SLOT="$(get_version_component_range 1-2)"
199 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
200 IUSE=""
201
202 ruby_add_rdepend "virtual/ruby-ssl"
203
204 # The gem has automagic dependencies over mongrel, ruby-openid,
205 # memcache-client, thin, mongrel and camping; not sure if we should
206 # make them dependencies at all. We do add the fcgi dependency because
207 # that spec isn't optional.
208 ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/ruby-fcgi )"
209
210 # Block against versions in older slots that also try to install a binary.
211 RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1"
212
213 #USE_RUBY=ruby19 \
214 # ruby_add_bdepend "ruby_targets_ruby19 test" '=dev-ruby/test-unit-1*'
215
216 all_ruby_prepare() {
217 epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
218
219 # Add missing require for Mutex use. This may show up in the tests
220 # depending on load order.
221 sed -i -e '1 irequire "thread"' lib/rack/lock.rb || die
222
223 # Avoid tests depending on now randomized hash ordering.
224 sed -i -e '/foobarfoo/ s:^:#:' test/spec_response.rb || die
225 sed -i -e '/should build query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
226 sed -i -e '/should build nested query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
227 }
228
229 each_ruby_prepare() {
230 case ${RUBY} in
231 *ruby19)
232 # Avoid failing encoding-related specs, most likely due to
233 # changes in handling of encodings in newer ruby 19
234 # versions.
235 sed -i -e '/escape non-UTF8 strings/,/end/ s:^:#:' test/spec_utils.rb || die
236 sed -i -e '/escape html entities in unicode strings/,/end/ s:^:#:' test/spec_utils.rb || die
237 sed -i -e '/escape html entities even on MRI/,/^ end/ s:^:#:' test/spec_utils.rb || die
238 sed -i -e '/accept params and build multipart encoded params/,/^ end/ s:^:#:' test/spec_mock.rb || die
239 ;;
240 *)
241 ;;
242 esac
243 }
244
245 each_ruby_test() {
246 # Since the Rakefile calls specrb directly rather than loading it, we
247 # cannot use it to launch the tests or only the currently-selected
248 # RUBY interpreter will be tested.
249 ${RUBY} -S bacon -Ilib -w -a \
250 -q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|rackup)' \
251 || die "test failed for ${RUBY}"
252 }
253
254
255
256 1.1 dev-ruby/rack/rack-1.1.3.ebuild
257
258 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.1.3.ebuild?rev=1.1&view=markup
259 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.1.3.ebuild?rev=1.1&content-type=text/plain
260
261 Index: rack-1.1.3.ebuild
262 ===================================================================
263 # Copyright 1999-2011 Gentoo Foundation
264 # Distributed under the terms of the GNU General Public License v2
265 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.1.3.ebuild,v 1.1 2011/12/30 08:06:46 graaff Exp $
266
267 EAPI="2"
268 USE_RUBY="ruby18 ree18 jruby"
269
270 RUBY_FAKEGEM_DOCDIR="doc"
271
272 inherit ruby-fakegem eutils
273
274 DESCRIPTION="A modular Ruby webserver interface"
275 HOMEPAGE="http://rubyforge.org/projects/rack"
276 SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
277
278 LICENSE="MIT"
279 SLOT="0"
280 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~x64-solaris ~x86-solaris"
281 IUSE=""
282
283 # The gem has automagic dependencies over mongrel, ruby-openid,
284 # memcache-client, thin, mongrel and camping; not sure if we should
285 # make them dependencies at all.
286 ruby_add_bdepend "test? ( dev-ruby/test-spec )"
287
288 all_ruby_prepare() {
289 # Avoid tests depending on now randomized hash ordering.
290 sed -i -e '/foobarfoo/ s:^:#:' test/spec_rack_response.rb || die
291 sed -i -e '/should build query strings correctly/,/end/ s:^:#:' test/spec_rack_utils.rb || die
292 sed -i -e '/should build nested query strings correctly/,/end/ s:^:#:' test/spec_rack_utils.rb || die
293 }
294
295 each_ruby_test() {
296 # Since the Rakefile calls specrb directly rather than loading it, we
297 # cannot use it to launch the tests or only the currently-selected
298 # RUBY interpreter will be tested.
299 ${RUBY} -S specrb -Ilib:test -w -a \
300 -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|rackup)' \
301 || die "test failed for ${RUBY}"
302 }
303
304
305
306 1.1 dev-ruby/rack/rack-1.3.6.ebuild
307
308 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.3.6.ebuild?rev=1.1&view=markup
309 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/rack/rack-1.3.6.ebuild?rev=1.1&content-type=text/plain
310
311 Index: rack-1.3.6.ebuild
312 ===================================================================
313 # Copyright 1999-2011 Gentoo Foundation
314 # Distributed under the terms of the GNU General Public License v2
315 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/rack/rack-1.3.6.ebuild,v 1.1 2011/12/30 08:06:46 graaff Exp $
316
317 EAPI="2"
318 USE_RUBY="ruby18 ree18 ruby19 jruby"
319
320 RUBY_FAKEGEM_DOCDIR="doc"
321 RUBY_FAKEGEM_EXTRADOC="ChangeLog KNOWN-ISSUES README.rdoc SPEC"
322
323 inherit ruby-fakegem eutils versionator
324
325 DESCRIPTION="A modular Ruby webserver interface"
326 HOMEPAGE="http://rubyforge.org/projects/rack"
327 SRC_URI="mirror://rubyforge/${PN}/${P}.tar.gz"
328
329 LICENSE="MIT"
330 SLOT="$(get_version_component_range 1-2)"
331 KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
332 IUSE=""
333
334 ruby_add_rdepend "virtual/ruby-ssl"
335
336 # The gem has automagic dependencies over mongrel, ruby-openid,
337 # memcache-client, thin, mongrel and camping; not sure if we should
338 # make them dependencies at all. We do add the fcgi dependency because
339 # that spec isn't optional.
340 ruby_add_bdepend "test? ( dev-ruby/bacon dev-ruby/ruby-fcgi )"
341
342 # Block against versions in older slots that also try to install a binary.
343 RDEPEND="${RDEPEND} !<dev-ruby/rack-1.1.3-r1:0 !<dev-ruby/rack-1.2.5:1.2"
344
345 all_ruby_prepare() {
346 epatch "${FILESDIR}"/${PN}-1.2.1-gentoo.patch
347
348 # Avoid tests depending on now randomized hash ordering.
349 sed -i -e '/foobarfoo/ s:^:#:' test/spec_response.rb || die
350 sed -i -e '/build query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
351 sed -i -e '/build nested query strings correctly/,/end/ s:^:#:' test/spec_utils.rb || die
352 }
353
354 each_ruby_prepare() {
355 case ${RUBY} in
356 *jruby)
357 # Avoid two failing tests due to bugs in jruby that should
358 # be solved in 1.6.5 or 1.7.
359 rm test/spec_deflater.rb || die
360 ;;
361 *)
362 ;;
363 esac
364 }
365
366 each_ruby_test() {
367 # Since the Rakefile calls specrb directly rather than loading it, we
368 # cannot use it to launch the tests or only the currently-selected
369 # RUBY interpreter will be tested.
370 ${RUBY} -S bacon -Ilib -w -a \
371 -q -t '^(?!Rack::Handler|Rack::Adapter|Rack::Session::Memcache|Rack::Server)' \
372 || die "test failed for ${RUBY}"
373 }