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/railties: railties-4.0.11.ebuild railties-4.1.7.ebuild ChangeLog railties-3.2.20.ebuild
Date: Fri, 31 Oct 2014 08:58:41
Message-Id: 20141031085838.49AD39217@oystercatcher.gentoo.org
1 graaff 14/10/31 08:58:38
2
3 Modified: ChangeLog
4 Added: railties-4.0.11.ebuild railties-4.1.7.ebuild
5 railties-3.2.20.ebuild
6 Log:
7 Version bump for security issue CVE-2014-7818.
8
9 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
10
11 Revision Changes Path
12 1.91 dev-ruby/railties/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.91&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?rev=1.91&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/ChangeLog?r1=1.90&r2=1.91
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v
21 retrieving revision 1.90
22 retrieving revision 1.91
23 diff -u -r1.90 -r1.91
24 --- ChangeLog 12 Sep 2014 06:27:50 -0000 1.90
25 +++ ChangeLog 31 Oct 2014 08:58:38 -0000 1.91
26 @@ -1,6 +1,14 @@
27 # ChangeLog for dev-ruby/railties
28 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.90 2014/09/12 06:27:50 graaff Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/ChangeLog,v 1.91 2014/10/31 08:58:38 graaff Exp $
31 +
32 +*railties-4.1.7 (31 Oct 2014)
33 +*railties-4.0.11 (31 Oct 2014)
34 +*railties-3.2.20 (31 Oct 2014)
35 +
36 + 31 Oct 2014; Hans de Graaff <graaff@g.o> +railties-3.2.20.ebuild,
37 + +railties-4.0.11.ebuild, +railties-4.1.7.ebuild:
38 + Version bump for security issue CVE-2014-7818.
39
40 *railties-4.1.6 (12 Sep 2014)
41
42
43
44
45 1.1 dev-ruby/railties/railties-4.0.11.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.0.11.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.0.11.ebuild?rev=1.1&content-type=text/plain
49
50 Index: railties-4.0.11.ebuild
51 ===================================================================
52 # Copyright 1999-2014 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-4.0.11.ebuild,v 1.1 2014/10/31 08:58:38 graaff Exp $
55
56 EAPI=5
57 USE_RUBY="ruby19 ruby20 ruby21"
58
59 RUBY_FAKEGEM_TASK_TEST="test:regular"
60 RUBY_FAKEGEM_TASK_DOC=""
61 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
62
63 RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
64
65 RUBY_FAKEGEM_BINWRAP=""
66
67 inherit ruby-fakegem versionator
68
69 DESCRIPTION="Tools for creating, working with, and running Rails applications"
70 HOMEPAGE="http://github.com/rails/rails"
71 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
72
73 LICENSE="MIT"
74 SLOT="$(get_version_component_range 1-2)"
75 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
76 IUSE=""
77
78 RUBY_S="rails-${PV}/${PN}"
79
80 # The test suite has many failures, most likely due to a mismatch in
81 # exact dependencies or environment specifics. Needs further
82 # investigation.
83 RESTRICT="test"
84
85 RDEPEND+=">=app-admin/eselect-rails-0.19"
86
87 ruby_add_rdepend "
88 ~dev-ruby/activesupport-${PV}
89 ~dev-ruby/actionpack-${PV}
90 >=dev-ruby/thor-0.18.1
91 >=dev-ruby/rake-0.8.7"
92
93 ruby_add_bdepend "
94 test? (
95 dev-ruby/mocha:0.13
96 )"
97
98 all_ruby_prepare() {
99 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
100 sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
101 sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
102
103 # Also allow rdoc 4.x
104 sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
105 }
106
107 all_ruby_install() {
108 all_fakegem_install
109
110 ruby_fakegem_binwrapper rails rails-${PV}
111 }
112
113 pkg_postinst() {
114 elog "To select between slots of rails, use:"
115 elog "\teselect rails"
116
117 eselect rails update
118 }
119
120 pkg_postrm() {
121 eselect rails update
122 }
123
124
125
126 1.1 dev-ruby/railties/railties-4.1.7.ebuild
127
128 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.1.7.ebuild?rev=1.1&view=markup
129 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-4.1.7.ebuild?rev=1.1&content-type=text/plain
130
131 Index: railties-4.1.7.ebuild
132 ===================================================================
133 # Copyright 1999-2014 Gentoo Foundation
134 # Distributed under the terms of the GNU General Public License v2
135 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-4.1.7.ebuild,v 1.1 2014/10/31 08:58:38 graaff Exp $
136
137 EAPI=5
138 USE_RUBY="ruby19 ruby20 ruby21"
139
140 RUBY_FAKEGEM_TASK_TEST="test:regular"
141 RUBY_FAKEGEM_TASK_DOC=""
142 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
143
144 RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
145
146 RUBY_FAKEGEM_BINWRAP=""
147
148 inherit ruby-fakegem versionator
149
150 DESCRIPTION="Tools for creating, working with, and running Rails applications"
151 HOMEPAGE="http://github.com/rails/rails"
152 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
153
154 LICENSE="MIT"
155 SLOT="$(get_version_component_range 1-2)"
156 KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
157 IUSE=""
158
159 RUBY_S="rails-${PV}/${PN}"
160
161 # The test suite has many failures, most likely due to a mismatch in
162 # exact dependencies or environment specifics. Needs further
163 # investigation.
164 RESTRICT="test"
165
166 RDEPEND+=">=app-admin/eselect-rails-0.19"
167
168 ruby_add_rdepend "
169 ~dev-ruby/activesupport-${PV}
170 ~dev-ruby/actionpack-${PV}
171 >=dev-ruby/thor-0.18.1
172 >=dev-ruby/rake-0.8.7"
173
174 ruby_add_bdepend "
175 test? (
176 ~dev-ruby/actionview-${PV}
177 dev-ruby/mocha:0.13
178 )"
179
180 all_ruby_prepare() {
181 rm "${S}/../Gemfile" || die "Unable to remove Gemfile"
182 sed -i -e '/load_paths/d' test/abstract_unit.rb || die "Unable to remove load paths"
183 sed -i -e '1igem "minitest", "~>4.0"' test/abstract_unit.rb || die
184
185 # Also allow rdoc 4.x
186 sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
187 }
188
189 all_ruby_install() {
190 all_fakegem_install
191
192 ruby_fakegem_binwrapper rails rails-${PV}
193 }
194
195 pkg_postinst() {
196 elog "To select between slots of rails, use:"
197 elog "\teselect rails"
198
199 eselect rails update
200 }
201
202 pkg_postrm() {
203 eselect rails update
204 }
205
206
207
208 1.1 dev-ruby/railties/railties-3.2.20.ebuild
209
210 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-3.2.20.ebuild?rev=1.1&view=markup
211 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-ruby/railties/railties-3.2.20.ebuild?rev=1.1&content-type=text/plain
212
213 Index: railties-3.2.20.ebuild
214 ===================================================================
215 # Copyright 1999-2014 Gentoo Foundation
216 # Distributed under the terms of the GNU General Public License v2
217 # $Header: /var/cvsroot/gentoo-x86/dev-ruby/railties/railties-3.2.20.ebuild,v 1.1 2014/10/31 08:58:38 graaff Exp $
218
219 EAPI=5
220 USE_RUBY="ruby19 ruby20"
221
222 RUBY_FAKEGEM_TASK_TEST="test:regular"
223 RUBY_FAKEGEM_TASK_DOC="generate_guides"
224 RUBY_FAKEGEM_DOCDIR="guides/output"
225 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
226
227 RUBY_FAKEGEM_GEMSPEC="railties.gemspec"
228
229 RUBY_FAKEGEM_BINWRAP=""
230
231 inherit ruby-fakegem versionator
232
233 DESCRIPTION="Tools for creating, working with, and running Rails applications"
234 HOMEPAGE="http://github.com/rails/rails"
235 SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
236
237 LICENSE="MIT"
238 SLOT="$(get_version_component_range 1-2)"
239 KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
240 IUSE=""
241
242 RUBY_S="rails-${PV}/${PN}"
243
244 # The test suite has many failures, most likely due to a mismatch in
245 # exact dependencies or environment specifics. Needs further
246 # investigation.
247 RESTRICT="test"
248
249 RDEPEND+=">=app-admin/eselect-rails-0.18"
250
251 ruby_add_rdepend "
252 ~dev-ruby/activesupport-${PV}
253 ~dev-ruby/actionpack-${PV}
254 >=dev-ruby/rdoc-3.4
255 >=dev-ruby/thor-0.14.6
256 >=dev-ruby/rack-ssl-1.3.2:1.3
257 >=dev-ruby/rake-0.8.7"
258
259 ruby_add_bdepend "
260 test? (
261 dev-ruby/mocha:0.13
262 )
263 doc? (
264 >=dev-ruby/redcloth-4.1.1
265 )"
266
267 all_ruby_prepare() {
268 # Remove items from the common Gemfile that we don't need for this
269 # test run. This also requires handling some gemspecs.
270 sed -i -e '/\(uglifier\|system_timer\|sdoc\|w3c_validators\|pg\)/d' ../Gemfile || die
271
272 # Also allow rdoc 4.x
273 sed -i -e 's/~> 3.4/>= 3.4/' ${RUBY_FAKEGEM_GEMSPEC} || die
274 }
275
276 all_ruby_install() {
277 all_fakegem_install
278
279 if use doc ; then
280 mv guides/output guides/guides || die
281 dohtml -r guides/guides
282 fi
283
284 ruby_fakegem_binwrapper rails rails-${PV}
285 }
286
287 pkg_postinst() {
288 elog "To select between slots of rails, use:"
289 elog "\teselect rails"
290
291 eselect rails update
292 }
293
294 pkg_postrm() {
295 eselect rails update
296 }