summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2014-10-31 08:58:54 +0000
committerHans de Graaff <graaff@gentoo.org>2014-10-31 08:58:54 +0000
commit0170e65419ee495407b3e1ce7e7927ee931b8df3 (patch)
tree85e89f9f29a91c3952792a159ab115e54311bffe /dev-ruby/actionpack
parentMove to ~ppc, bug #525258 (diff)
downloadhistorical-0170e65419ee495407b3e1ce7e7927ee931b8df3.tar.gz
historical-0170e65419ee495407b3e1ce7e7927ee931b8df3.tar.bz2
historical-0170e65419ee495407b3e1ce7e7927ee931b8df3.zip
Version bump for security issue CVE-2014-7818.
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64 Manifest-Sign-Key: 0x8883FA56A308A8D7!
Diffstat (limited to 'dev-ruby/actionpack')
-rw-r--r--dev-ruby/actionpack/ChangeLog10
-rw-r--r--dev-ruby/actionpack/Manifest14
-rw-r--r--dev-ruby/actionpack/actionpack-3.2.20.ebuild77
-rw-r--r--dev-ruby/actionpack/actionpack-4.0.11.ebuild66
-rw-r--r--dev-ruby/actionpack/actionpack-4.1.7.ebuild46
5 files changed, 208 insertions, 5 deletions
diff --git a/dev-ruby/actionpack/ChangeLog b/dev-ruby/actionpack/ChangeLog
index 0e37c9ee2011..99eb1c1f5cd8 100644
--- a/dev-ruby/actionpack/ChangeLog
+++ b/dev-ruby/actionpack/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-ruby/actionpack
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.292 2014/09/12 06:27:27 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/ChangeLog,v 1.293 2014/10/31 08:57:35 graaff Exp $
+
+*actionpack-4.1.7 (31 Oct 2014)
+*actionpack-4.0.11 (31 Oct 2014)
+*actionpack-3.2.20 (31 Oct 2014)
+
+ 31 Oct 2014; Hans de Graaff <graaff@gentoo.org> +actionpack-3.2.20.ebuild,
+ +actionpack-4.0.11.ebuild, +actionpack-4.1.7.ebuild:
+ Version bump for security issue CVE-2014-7818.
*actionpack-4.1.6 (12 Sep 2014)
diff --git a/dev-ruby/actionpack/Manifest b/dev-ruby/actionpack/Manifest
index bae9a5060e9d..4f87dddaaa0e 100644
--- a/dev-ruby/actionpack/Manifest
+++ b/dev-ruby/actionpack/Manifest
@@ -5,21 +5,27 @@ AUX actionpack-2.3.10-i18n-0.4.2.patch 2671 SHA256 7060319a5037c3623e8c5beb36133
AUX actionpack-2.3.11-rails3.patch 416 SHA256 8b2dc793f9e8b996c57dc77b3898a54757f330b8c95ee94c9bdf3b0013350093 SHA512 3e9540bb1777b29736285561ce1d7466f0497150927d40169fd5ce222f803df595105c9f222ff223e923b8b5411d90a92d265b727104f1f494693a7bb100b3d2 WHIRLPOOL 3000e6b584ff572e246d2b281cda1075449af85f905dff6bf591f75de60145868e81af7753882b29af48d45e69f79db3898610646ac5af7862e13f0e24dfbdfe
AUX actionpack-2.3.8-custom-cookie-fix.patch 3009 SHA256 9368cd7b35fbc0b5d4161e121aa9ced113ea831b738a47b6c59828bb17f24c04 SHA512 4e8a1ed63446c946722922b2cd5901b27df4ddcd7125b0c1777148e675117537e9394ba998093667f79e1349ec79a61b7e2e9c6d704327a3e000992f7ae3deb9 WHIRLPOOL e7a716f7b45b8f20eeb0be4faacdb973b172a7f44168862a228ce242afd88db512c73b64cf9bb8faab1e5ca698e65dad8746ca1fbf7cbdf9273819d722c3d32e
DIST rails-3.2.19.tgz 3567409 SHA256 41d63edbdb0cd880a80ac806b1e1c903efad40f5ea64e99e19ecc98b134dba41 SHA512 4e75777f292ac329c893d13f7632ff7ab9cd3c953eaca6bfc90f6371821ae5f95a6dbcb00f76e202fc256c1da0be641fa804a4f589805521be0a1736331e41ba WHIRLPOOL 8e5a4cd46cdc97587bfab2dcf392625e5832265171a1951409323d9ed9f9896c986a81e90e5b570c008125d042090400afb963d12a029237a5e69895ddcbf207
+DIST rails-3.2.20.tgz 3567367 SHA256 373e66ad1ea7af66504e676b0925806a20532673e2d9da7fa0131aa0559dad5c SHA512 2f39d14c1543e203a6e182528967bfa00d08a29872fd233022e2c3bd6e1a1d4cac754016258c1d7f5f821942e83d5c0f4df39a8c4fa4d5d7ba135f79bcda26a3 WHIRLPOOL e011cccc18a74ed924368077a90e43b14824e460f0d05fbe4c1a4a3092df2fb63808c148190b0f4920bf60ea94fd1be5f56f0d628e8afaf431fb9ba702fa6f71
DIST rails-4.0.10.tgz 3759373 SHA256 97d10ff2b7ed776742a2f7c076cfaa62ac1922e9378a03a99c79064c4b0ff82e SHA512 61bf602ed38ebe27d8c821b3edb297e485c15c32265a86c19a6b50f929b561f7fd0551772afcb8bec86713375f96471d9a115c535e1edffd386638bb53f0b696 WHIRLPOOL 4228cdb02bab116e733d6335d1a1d1192229efa8f1d20d91bd8d194c5fc5f5a6d21972efe32c1015b2b9fa898b5d787bb6f3f4160ef4dc9523bd91190ac1dd22
+DIST rails-4.0.11.tgz 3759423 SHA256 cb44b605bc0e6477c9cf389f9c6a8274de10de6a98f979a53ef8505b7eed9e33 SHA512 a38eee261aa76070417ea248ac8f79536f19a75e5ee4bf16ae59f1eff5a9c751b033257a5cdbd1cfdcd80796142ef2ea1f8b2be5cc73604e96759fe2979f9b41 WHIRLPOOL e4b52b5f3d3ddae13ce4aefa1f5890813370de7874e8c5edce1e4f1df32704782babe52013dfa96cf4e60327429602f7b9534af2c19a9ef269d179186a8e1b62
DIST rails-4.0.9.tgz 3755070 SHA256 cd9d1fc5e24ad6d5312c1d43954cf3a03128158541ce06b763e8e004dd39f9c2 SHA512 b41162cdc26253b43142fa628475996652ddadb571956588bf8e869a56e31f116cb89d514ad23f7b8cb4c2820a043ead476a8cee4a289d3b8bc164b71d38c67e WHIRLPOOL 9559a6bc01b409a5d48b8f19be5aa20b02f1dd8bf15a75277a0dfe88d2dc766804bc8d92211a385c2b15d32d8a174790ccf98158c8bef92c1d05c3cc41c324e7
DIST rails-4.1.5.tgz 3698902 SHA256 e11a06f8e2d442540c96bacd6d185b4a46d33801c699ddbc42066708c4198ad4 SHA512 37d9bb6bd67edafbec72167a30b0e82aad3fbeb33f492a58367214a68a05f659423f508df23bbecc9d4a4477ee3e7ee03772d985cb86e9c85fb5f358d4fb00ba WHIRLPOOL ca5cab98837fde771b96bcb4317427faec7d984bf0ad8a249a4087c4552bcf9100d39faa81fc2b9b5781c0d2a0b6175ed13dc1b14f8a2c07f8af8255e590859b
DIST rails-4.1.6.tgz 3707083 SHA256 cb7263c0eefc4f93b01570172b54d9bbdc8699297ca12a13b3aef89bb26e93a7 SHA512 3fdbd7081f9a1afa889d010a2ab971a1b0428d100ebfe7eff781a3eeb0a42fcf4c41e57024edc1706a1562c298ecb3f4e6029f68bc28667a7f3256bc8dd58093 WHIRLPOOL 784f07965997c285fda878d953835a6defd171bd138cf380df7d2ad70bfcabe6c02bd901f049c3b700194f5f252a6978d155d6f2513592244bcd941d187b6326
+DIST rails-4.1.7.tgz 3708137 SHA256 c57a1bf954c4725649b9d11f893c3f6c81de77b36d7f8065d5d0a87fb7cf18e1 SHA512 6fd29ba7b552ec29225ebcb7df78d6043383f36e4c6b1e66880b0bae69bd9f9ae36b1bc63700a8e491818b495087944c990d34d33b6ee566182e2f38370ac0d0 WHIRLPOOL 0a53c4936a9792cebb98b997cafad30f895a908c169d9e8a8d370e3da55a2ba17d594b03e2dbf6a6181fafddc75697d50b0f0e57f44868ac00b4deceda03d5af
EBUILD actionpack-3.2.19.ebuild 2881 SHA256 125bbae5565c7c64e8c3cfaaddb6d1950c44b053e8e186937bf9d60eb6ef4ee8 SHA512 a9794240ad53f46caf8e6b01cb2cbf4e78139bfaff7abb19a3a97c87bf08bae7a95f0249d70e0daf8e2024bc2d00c6a3d177a6b4ee5925999b098061e01f8922 WHIRLPOOL a7ad6836b316cb0d1a60bc759516044ca2fb3a0d4af6af25870f6fef31d8943eac33e6aa8d5b59abb6344d5b77d4b6b80ffd10ef84d40db2b08c334772a24c32
+EBUILD actionpack-3.2.20.ebuild 3021 SHA256 ed929b7deaac35a28ab664738c3deaa0aeab227dbdc5fd2413a18f6265dd43cc SHA512 e43a39a20012948a61e418328f2a210663096b6c0cb7114b3d5a66ae98a2e43df6ed3083dd9e061495576adeea50bee012a9b519baf84f09f56d0b8185e237e9 WHIRLPOOL 91f73a6cd2acc696f905497c5bcbab83cb5fe086f6ebec413bb8bf9140523809e83848b9f7ffed3097300bdb7a7f365189ee867999fbabbbbe44a474d3988ebb
EBUILD actionpack-4.0.10.ebuild 2210 SHA256 63d2163532577fda5afdfe680ec47f712a25be7c6f0121c9720c21a451bf2372 SHA512 0038adbc657f91c40cf40e83d7e97fe0fe0de57b6ac65fcc510aa6649196ba3de44c56a6b998539371d778fd8dd7be48b2edd38b1534206f5e2adf4957388b23 WHIRLPOOL 9f388c226d02aa9ecbc76abf6636ca8eabd158117032f60cef759447fe35a2e6ca7208cbecffa463c4b74d18a8518a5f9d3af90a8b9ab7e5fa6eed87a78f8127
+EBUILD actionpack-4.0.11.ebuild 2210 SHA256 425777da07fff133ed6382036c1635ff5b72bceca2b22f5e1eb5febda40024d7 SHA512 af23592a51c2cb83d6abbb4b6d192f856f49f53fb48df5c217c66153c47ea6d5f75eefc6864c7106743685dfad61e9e3a0ecc7747ec449df71a35c9b2d92fc28 WHIRLPOOL 13558781b6a9341ccd745c5a82e4f2a5aaa30a45b97e1583b486c363d815e7d95647fa57d3b2a2e702bbbef4de217326ba703b47a9faa5c226094d52ef06902d
EBUILD actionpack-4.0.9.ebuild 2209 SHA256 34c213b2ef7eac5ab2ebc21709d0c414d30e7aa960a672f444964edb24318918 SHA512 3a1cdb35ba96f83a3da86ce2d27b8392d108047584901c17ea457a2b515e5f69410a91126ee50349f1b8fcef9f83af1a99ee28003b13fc7cab7072210b5398e6 WHIRLPOOL 3c8d60c5b79433d3096455c95ecd512495fe26b4776ff1f008f458785aa4ee9e9e56fc1134364bf0a89d1a0ecabdaae9bacf5f542eb75bad58da369a23c209be
EBUILD actionpack-4.1.5.ebuild 1437 SHA256 4c59556834f6cd4b0c21ecefa74a82b293f919dfaa677b9a09efb0106a40b161 SHA512 38871dfce22fe9e47e0817cc91de484983712bb318980af2bfd4dd3ccfff5ab4cbb004171b5960cae20aee1ca10ffd0c2e36a5425fdca27a49cce1d6fff73f97 WHIRLPOOL f920935f589f699866b0a4754f9884183384bcc11e107ae446cbe0b7a2970f227456f69b74377001a308234f75f419ef883806e850c90a670fb6b9fd3dc27ee4
EBUILD actionpack-4.1.6.ebuild 1437 SHA256 f4383aa1e646aff5cab35438ac08aabbb225a1cb428ee6e5de30caf1d187bbfa SHA512 922ce029bbcc6ee342e0b82149985b2d354507ab3d2f3896e7bbe7a8fb0925a18fc869181bfb8a368448ac0b1873f967a2bc416524c3f3834e94046fff6daf88 WHIRLPOOL 06abe83bec7e8f6f61acdbc300827c26d4822302f5915865a0e22d4059856e5e04035ad2de1991a7e4154f30498159d552dae8e82855f0b1fa0ce9d74373472f
-MISC ChangeLog 39730 SHA256 caa9f3929b54ae35ffced0af3128353bc9369d52f7c2920b2e009587a812163d SHA512 d81f5727c2f37bc0a942d7a2837282cac7ef82b407b4b308fdb29c289f34cc6aa14c40ac86e1a440079d5eca9d868aa01e9b0e9c35389c29fb28b4b9b27466ab WHIRLPOOL f004cd2b32ad3bd7ccf66534ffffb00b5a2234f6faf83237e051685fb65e20f8b7887f36fe230f96e23a8efa7c3b9ae0ee3fa8a8c8b5bf3437482f0dcdd7d22b
+EBUILD actionpack-4.1.7.ebuild 1437 SHA256 11ac1dfe2fc4a0aef2dc6d7f84891e72da0e1f1e4dc71a78ebc8977fe643a977 SHA512 aefcde717b2bdc09ff6d9ec10255a10b2ea897ba82900888c29f6346530d225c0f9832d07647d1fc2b6c18506a9c93621748298c331c8920371a44c08f81565d WHIRLPOOL f276732499d3888015be3f53705e47ad9f8e9c505e57a7bfc10814a191a0b677c20a6ac4c15b8ba76871eca466cfc36965765571f0506115bcddb2c60291971b
+MISC ChangeLog 40011 SHA256 d7729727620e8dd9c0721932e577a42f9fba5814d0d9f864710f7f38c3c103ed SHA512 b12b636db8d4d9e7d2572f044ded512a42c02bca77348bb054b4c7d6c15025d4ea060fbc4f5618db0ed5a930998f0777cd0055234d586242a321458d33e15791 WHIRLPOOL 4047168003ef50c3d1e771766d393c9958b48b213e4024c3f4415d4daaae66e596613595b0e1a0eff1c70d73340c087d02889a8f55c2fe4afa17f8288194904d
MISC metadata.xml 157 SHA256 11fba03a217e2d996f5cd8895493a5692ece8ddac2c1a2dfc71d0e830555121c SHA512 0cec73b966de88015ea4c7212723d848d367608aa93658bb945f298a8000c4ba8aba73c9eb8481859fb5bbed45e80dae32c628caf81e027a4ad8eafa7e632851 WHIRLPOOL 4da25c81e21173ad8b7b5f35b056264869d9a16741062aa4422c5ea1aa9e73da8eb700b0d54de84c169d702fbb3f41ed157c9dc7c9daac110849ae84715c051b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iF4EAREIAAYFAlQSklAACgkQiIP6VqMIqNcUIAEAjRE00G7TRtqs1TLgROwoyxZz
-efD3wKA0P5BoZVdECtgA/15Q5FN2OAg/J4bKXNRkSZrHgKFMALXwLXgyfBL6DMXU
-=kqpV
+iF4EAREIAAYFAlRTTwEACgkQiIP6VqMIqNchGQD+MBp2g+TS8n5Tp0qDbmEWrHCQ
+aKc55+UtCivK53yOUykA/1WTQULN0riSwRZuFw1WEdbdpKLz0vsMqIHHpPC+DAHD
+=LWay
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/actionpack/actionpack-3.2.20.ebuild b/dev-ruby/actionpack/actionpack-3.2.20.ebuild
new file mode 100644
index 000000000000..2a80543eaf5c
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-3.2.20.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-3.2.20.ebuild,v 1.1 2014/10/31 08:57:35 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20"
+
+# The default test task tries to test activerecord with SQLite as well.
+RUBY_FAKEGEM_TASK_TEST="test_action_pack"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Eases web-request routing, handling, and response"
+HOMEPAGE="http://rubyforge.org/projects/actionpack/"
+SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activemodel-${PV}
+ ~dev-ruby/activesupport-${PV}
+ >=dev-ruby/rack-cache-1.2
+ >=dev-ruby/builder-3.0.0:3
+ >=dev-ruby/rack-1.4.5:1.4
+ >=dev-ruby/rack-test-0.6.1:0.6
+ >=dev-ruby/journey-1.0.4:1.0
+ >=dev-ruby/sprockets-2.2.1:2.2
+ >=dev-ruby/erubis-2.7.0"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha:0.13
+ dev-ruby/bundler
+ ~dev-ruby/activerecord-${PV}
+ ~dev-ruby/actionmailer-${PV}
+ >=dev-ruby/tzinfo-0.3.29:0
+ >=dev-ruby/uglifier-1.0.3
+ )"
+
+all_ruby_prepare() {
+ # Remove items from the common Gemfile that we don't need for this
+ # test run. This also requires handling some gemspecs.
+ sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|nokogiri\)/d" ../Gemfile || die
+
+ sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
+ sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
+
+ sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
+
+ # Avoid fragile tests depending on hash ordering
+ sed -i -e '/cookie_3=chocolate/ s:^:#:' test/controller/integration_test.rb || die
+ sed -i -e '/test_to_s/,/end/ s:^:#:' test/template/html-scanner/tag_node_test.rb || die
+ sed -i -e '/"name":"david"/ s:^:#:' test/controller/mime_responds_test.rb || die
+ sed -i -e '/test_option_html_attributes_with_multiple_element_hash/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
+ sed -i -e '/test_option_html_attributes_with_multiple_hashes/, / end/ s:^:#:' test/template/form_options_helper_test.rb || die
+
+ # Avoid fragile test that gets more output than it expects.
+ sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
+
+ # Avoid test broken by security updates in i18n.
+ sed -i -e '/test_number_to_i18n_currency/,/end/ s:^:#:' test/template/number_helper_i18n_test.rb || die
+
+ # Avoid test that chokes on bad UTF-8.
+ sed -i -e '/test_handles_urls_with_bad_encoding/askip "gentoo"' test/dispatch/static_test.rb || die
+}
diff --git a/dev-ruby/actionpack/actionpack-4.0.11.ebuild b/dev-ruby/actionpack/actionpack-4.0.11.ebuild
new file mode 100644
index 000000000000..c3bb28f8a5a5
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-4.0.11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.0.11.ebuild,v 1.1 2014/10/31 08:57:35 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21"
+
+# The default test task tries to test activerecord with SQLite as well.
+RUBY_FAKEGEM_TASK_TEST="test_action_pack"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Eases web-request routing, handling, and response"
+HOMEPAGE="http://rubyforge.org/projects/actionpack/"
+SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ >=dev-ruby/builder-3.1.0:3.1
+ >=dev-ruby/rack-1.5.2:1.5
+ >=dev-ruby/rack-test-0.6.2:0.6
+ >=dev-ruby/erubis-2.7.0"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha:0.13
+ dev-ruby/bundler
+ ~dev-ruby/activemodel-${PV}
+ ~dev-ruby/activerecord-${PV}
+ ~dev-ruby/actionmailer-${PV}
+ dev-ruby/sprockets-rails:2.0
+ >=dev-ruby/tzinfo-0.3.37:0
+ >=dev-ruby/uglifier-1.0.3
+ )"
+
+all_ruby_prepare() {
+ # Remove items from the common Gemfile that we don't need for this
+ # test run. This also requires handling some gemspecs.
+ sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\)/d" ../Gemfile || die
+
+ sed -i -e '/rack-ssl/d' -e 's/~> 3.4/>= 3.4/' ../railties/railties.gemspec || die
+ sed -i -e '/mail/d' ../actionmailer/actionmailer.gemspec || die
+
+ sed -i -e '/bcrypt/ s/3.0.0/3.0/' ../Gemfile || die
+
+ # Add back json in the Gemfile because we dropped some dependencies
+ # earlier that implicitly required it.
+ sed -i -e '$agem "json"' ../Gemfile || die
+
+ # Avoid fragile test that gets more output than it expects.
+ sed -i -e '/test_locals_option_to_assert_template_is_not_supported/,/end/ s:^:#:' test/controller/render_test.rb || die
+}
diff --git a/dev-ruby/actionpack/actionpack-4.1.7.ebuild b/dev-ruby/actionpack/actionpack-4.1.7.ebuild
new file mode 100644
index 000000000000..f535b1bbb6b0
--- /dev/null
+++ b/dev-ruby/actionpack/actionpack-4.1.7.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/actionpack/actionpack-4.1.7.ebuild,v 1.1 2014/10/31 08:57:35 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
+
+RUBY_FAKEGEM_GEMSPEC="actionpack.gemspec"
+
+inherit ruby-fakegem versionator
+
+DESCRIPTION="Eases web-request routing, handling, and response"
+HOMEPAGE="http://rubyforge.org/projects/actionpack/"
+SRC_URI="http://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
+
+LICENSE="MIT"
+SLOT="$(get_version_component_range 1-2)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+IUSE=""
+
+RUBY_S="rails-${PV}/${PN}"
+
+ruby_add_rdepend "
+ ~dev-ruby/activesupport-${PV}
+ ~dev-ruby/actionview-${PV}
+ >=dev-ruby/rack-1.5.2:1.5
+ >=dev-ruby/rack-test-0.6.2:0.6"
+
+ruby_add_bdepend "
+ test? (
+ dev-ruby/mocha:0.14
+ dev-ruby/bundler
+ ~dev-ruby/activemodel-${PV}
+ >=dev-ruby/rack-cache-1.2:1.2
+ )"
+
+all_ruby_prepare() {
+ # Remove items from the common Gemfile that we don't need for this
+ # test run. This also requires handling some gemspecs.
+ sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|jquery-rails\|'mysql'\|journey\|ruby-prof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|sprockets-rails\|redcarpet\|bcrypt\|uglifier\|minitest\)/ s:^:#:" ../Gemfile || die
+}