271 Commits

Author SHA1 Message Date
jeremy
adce9186e0 Add ruby 2.2 support, so you can use FLAVOR=ruby22
to build ruby gems for ruby 2.2, or MODRUBY_REV = 2.2
to have other software use ruby 2.2 as the ruby version.

OK jasper@
2015-01-08 18:51:20 +00:00
jeremy
153dbf01d0 Hook ruby 2.2 up to the build 2015-01-08 18:49:20 +00:00
jeremy
233af13a64 Import ruby 2.2.0
OK jasper@
2015-01-08 18:48:32 +00:00
sebastia
71d99076cd make the no_ri_docs FLAVOR the default on alpha and hppa, tested with
running puppet on those.

OK jasper@, jeremy@
2014-11-15 11:36:14 +00:00
jeremy
7b0a779875 Fix build of ri-docs subpackage.
The previously backported patch was handled slightly differently by
upstream, so one of the methods no longer exists, and needs to be
removed from the ri docs.
2014-11-14 17:51:42 +00:00
jeremy
2643f8a1b3 Backport security fix for CVE-2014-8090
While here, remove previously backported patch that was already handled
upstream.
2014-11-14 17:41:50 +00:00
jeremy
ec94bcdd0b Update to ruby 1.9.3-p551, fixing CVE-2014-8090
OK jasper@
2014-11-14 17:40:42 +00:00
jeremy
cf493ebf86 Update to ruby 2.0.0-p598, fixing CVE-2014-8090
Remove patch accepted upstream.

OK jasper@
2014-11-14 17:39:57 +00:00
jeremy
a92542ca9a Update to ruby 2.1.5, fixing CVE-2014-8090
OK jasper@
2014-11-14 17:37:52 +00:00
dcoppa
822c603545 Use MAKE or make from ENV to override rbconfig's make.
Backported from 2.1: f2bad74dda

ok landry@, jeremy@ (maintainer)
2014-11-07 15:18:56 +00:00
jeremy
cdabae0a2a Backport security fix for CVE-2014-8080 2014-11-01 04:56:40 +00:00
jeremy
cafbc4bf25 Update to ruby 1.9.3-p550
Allow external C extensions to be installed via gem install.
This was missed earlier when changes were made to other ruby
versions.
2014-11-01 04:56:09 +00:00
jeremy
ea355bad5e Update to ruby 2.0.0-p594
Bump lib major due to struct change.

Backport a fix to fix an error introduced when backporting a fix.
2014-11-01 04:54:43 +00:00
jeremy
9b1b92ab0b Update to ruby 2.1.4
Bump lib major due to struct change.

Add VERSION to SUBST_VARS, since test-unit gem version always matches it.

Remove configure patch for issue fixed upstream.
2014-11-01 04:53:09 +00:00
jasper
1a568ab4ad remove support for rspec2 2014-10-17 17:08:57 +00:00
jeremy
1a20cbf501 Allow gem install to work for gems with C extensions. As a bonus,
remove the need to use FAKE_AS_ROOT = always-wrap.

landry@ phessler@ naddy@ in favor
2014-10-15 02:06:35 +00:00
jeremy
9e175750f9 Use a 18 suffix for ruby 1.8 gem binaries
This makes them consistent with ruby 1.9+ gem binaries.
2014-10-11 19:52:10 +00:00
jeremy
ecf46d654c Make ruby 2.1 the default ruby version 2014-09-22 15:21:00 +00:00
jeremy
fe48facd26 Update to ruby 2.1.3.
Add patch to work around bash-specific syntax in configure.
2014-09-22 15:15:41 +00:00
jeremy
7240677ea5 Update to ruby 2.0.0p576. 2014-09-22 15:14:48 +00:00
jasper
4fde26a66b add needed bits for rspec3
ok jeremy@
2014-09-18 07:42:55 +00:00
jasper
79fa09cd73 adjust MODRUBY_RSPEC2_DEPENDS after rspec2 move 2014-09-17 09:39:35 +00:00
espie
73a10c0733 turn on "always-wrap" for the 3 ports known to embed their install program
in installed files.
2014-09-16 09:09:46 +00:00
espie
fd2577db50 not yet on by default, still some love needed for umasks 2014-09-02 12:56:35 +00:00
jasper
be45cf16ed add alpha/hppa to list of arches for no_ri_docs instead of marking it
broken. sebastia@ confirms ruby works good enough for puppet on these arches.
the underlying problem in miniruby still needs to be addressed though.

ok jeremy@
2014-08-22 08:15:55 +00:00
naddy
ce2be36268 Add the remaining pieces to allow fake as non-root.
Not enabled as a general default yet.

Committing for espie@
2014-08-14 17:04:12 +00:00
jeremy
bc053665a5 Backport an upstream rubygems patch fixing issues with Gem.refresh.
OK ajacoutot@
2014-06-25 15:38:39 +00:00
jeremy
0ff8474c85 Update to ruby 2.1.2
OK gsoares@
2014-05-12 00:20:41 +00:00
jeremy
5de4c2d926 Update to ruby 2.0.0-p481.
OK gsoares@
2014-05-12 00:19:57 +00:00
jasper
9faf39c714 mark broken on mips64 2014-03-18 07:25:53 +00:00
jeremy
67956f2869 Add missing patch, noticed by nigel@ 2014-03-13 16:53:22 +00:00
jeremy
76fc1426d3 Update to ruby 2.1.1
Remove some patches applied upstream.
2014-03-11 20:10:40 +00:00
jeremy
a4d7429783 Update to ruby 2.0.0-p451 2014-03-11 20:08:45 +00:00
jeremy
dff7b750ce Update to ruby 1.9.3-p545
Remove rubygems security patch applied upstream.
2014-03-11 20:07:07 +00:00
jeremy
3c4d5c27f3 Unbreak ruby 1.9+ on sparc64 by disabling the peephole optimizer, which
was the cause of the previous occassional segfaults.

Thanks to landry@ for access to a sparc64 box

OK landry@, sthen@, naddy@
2014-02-12 22:41:43 +00:00
jasper
b5344d2db1 regen 2014-01-21 10:06:07 +00:00
jeremy
fd549ea1e0 Correctly handle WANTLIB for ruby gem ext ports using ruby20, ruby21,
and rbx FLAVORs, avoiding missing pthread and gmp libraries depending
on the FLAVOR.  Remove support for MODRUBY_WANTLIB_m, only used by
one port.

Feedback and OK zhuk@
2014-01-15 02:03:17 +00:00
jeremy
1371fc4599 Update comments to reflect current reality. 2014-01-14 00:59:07 +00:00
jeremy
1f38698ad4 Support building ruby 2.1 packages for gem/extconf ports using the
ruby21 FLAVOR.  Use additional PLIST file for gems with C extensions
for ruby 2.1, to include the gem.build_complete file, which avoids
problems where rubygems attempts to build extensions at runtime.
2014-01-11 22:33:50 +00:00
jeremy
2d6a93797f Make gem extension directory not include ruby tiny version, to avoid
issues when updating to 2.1.1.
2014-01-11 22:29:31 +00:00
jeremy
42f5904b22 Replace do-extract target with EXTRACT_CASES.
Prodded by espie@.  OK espie@
2014-01-09 18:28:22 +00:00
jeremy
0211849a79 Update MASTER_SITES for ruby, as the previous locations no longer work. 2014-01-08 18:31:03 +00:00
jeremy
f664cfe6db Add patch to fix algorithmic complexity vulnerabilities CVE-2013-4287
and CVE-2013-4363 in rubygems.
2014-01-06 02:25:33 +00:00
jeremy
b1beeb893a Hook ruby 2.1 up to the build 2014-01-03 17:53:38 +00:00
jeremy
2cfb8f5b3c Import ruby 2.1.0
OK landry@
2014-01-03 17:51:52 +00:00
sthen
701c91e413 kill VMEM_WARNING 2013-11-25 14:16:22 +00:00
jeremy
fdb5f3d307 Add patch to fix heap overflow in floating point parser (CVE-2013-4164). 2013-11-24 02:27:08 +00:00
jeremy
f406295617 Update to ruby 2.0.0p353, fixing heap overflow in floating point parser
(CVE-2013-4164).
2013-11-24 02:25:26 +00:00
jeremy
ac8d178545 Update to ruby 1.9.3p484, fixing heap overflow in floating point parser
(CVE-2013-4164).
2013-11-24 02:24:35 +00:00
jeremy
47de1ce50e Update to support rubinius 2.1.1. This removes the RDEP on a specific
version of rubinius for gem ext ports, and it also changes the
rubinius gem directory, so all ruby gem ports need to be bumped.
2013-10-26 23:47:23 +00:00