242 Commits

Author SHA1 Message Date
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
jeremy
f4edbcaaf4 Make ruby 2.0 the default ruby if FLAVOR or MODRUBY_REV is not
specified.

OK landry@
2013-10-06 17:40:30 +00:00
landry
e99d1c34cf Mark as BROKEN-alpha: miniruby abort trap when generating rdoc
(it never actually built/packaged)
2013-09-04 18:15:19 +00:00
zhuk
527048e75d There is no reason to expose "jruby" FLAVOR ever in cases where it's not
supported. Cuts down a lot of extra noise from ruby-* when doing
automated ports checking as a bonus.

initial diff by me; better version and okay jeremy@
2013-08-18 21:05:20 +00:00
jeremy
84c4674ccf Update to ruby 2.0.0-p247, fixing CVE-2013-4073, with extra patches
backported to fix a regression and restore a function that would
have caused a major bump of libruby20.so. Bumping the minor of
libruby20.so due to added functions.
2013-07-17 15:52:55 +00:00
jeremy
74850763f5 Update to ruby 1.9.3-p448, fixing CVE-2013-4073, with extra patches
backported to fix a regression and restore a function that would
have caused a major bump of libruby19.so. Bumping the minor
libruby19.so due to added functions.
2013-07-17 15:51:09 +00:00
jeremy
b994145ade Update to ruby 1.8.7-p374, fixing CVE-2013-4073, with an extra patch
to fix a regression.  This will probably be the last official
release of ruby 1.8, since it is now completely unsupported upstream.
2013-07-17 15:48:25 +00:00
landry
ffecdc8559 Mark as BROKEN-hppa, reliably aborts trap when generating rdoc documentation 2013-07-03 20:09:54 +00:00
sthen
1a685d59b2 Tweak previous, suggested by jca@; use 'pax [...] .' rather than using find.
Also fixes ruby-passenger which has spaces in filenames.
2013-06-12 11:03:07 +00:00
sthen
80d916f700 use find to select filenames; previous use of "* .*" was broken by recent
compliance changes in ksh. ok jasper@
2013-06-12 08:29:53 +00:00
jeremy
06d4fc3099 Update to ruby 2.0.0-p195, with a security fix for CVE-2013-2065
and other significant bugfixes for new features introduced in
ruby 2.0, plus some miscellaneous bugfixes.

This includes an update to the embedded rubygems, which changes
how native extension gems are built, so update the patch to
ensure --user-install continues to work as a regular user with
such gems.
2013-05-17 20:11:43 +00:00
jeremy
03f59f97b8 Update to ruby 1.9.3-p429, with a security fix for CVE-2013-2065
and other minor bugfixes.

Patch bug that crept into build system, already fixed upstream.
2013-05-17 20:08:35 +00:00
landry
fdf6b26fc1 Mark as BROKEN-sparc64, segfaults during build
generating constant definitions
../.././ext/socket/mkconstants.rb: [BUG] Segmentation fault
*** Signal SIGABRT in ext/socket
2013-04-22 19:18:16 +00:00
zhuk
05aaa890e8 Tweak previous: escape all the dots in ${PATCHORIG}, not first one only.
Based on Jérémie Courrèges-Anglas, thanks!

ok jeremy@
2013-04-02 15:41:23 +00:00
zhuk
1f1faf1c1c Modify gem contents packing command in a way that some gems (not
imported yet) could be built. As a bonus, use PATCHORIG instead of
hardcoding ".orig" and save a call to find(1). Requires fresh pax(1).

ok jeremy@
2013-03-28 06:54:49 +00:00
jeremy
43a6ba7492 Change MODRUBY_RUBY_ADJ to just replace a shebang in the first line
of the files, instead of all lines.  Additionally, loosen the regexp
slightly so that it handles more cases automatically.  This makes
ruby.port.mk's behavior similar to python.port.mk.

OK sthen@
2013-03-26 18:51:44 +00:00
jeremy
ac78ad4e83 Make ruby 1.9 the default ruby for non-gem/extconf ports,
for consistency with the gem/extconf ports.

Update non-gem/extconf ports that relied on the previous
default of ruby 1.8 to explicitly specify it.

OK ajacoutot@
2013-03-20 19:13:50 +00:00
jasper
d9c29a085c Fixup two REGRESS -> TEST. 2013-03-20 07:27:30 +00:00
jeremy
800f1b3689 Add support for building ruby 2.0 libraries to ruby.port.mk.
Refactor the conflicting FLAVOR code to be less verbose,
thanks to sthen@.  Additional indentation fixes from sthen@.

Modify the jruby code to work with jruby 1.7.

Deal with newer gems containing checksum files by deleting
the checksums.
2013-03-19 23:46:41 +00:00
jeremy
281ba04434 Link ruby 2.0 to the build. 2013-03-19 23:39:10 +00:00
jeremy
8647f643c6 Import ruby 2.0.0-p0. 2013-03-19 23:38:23 +00:00
ajacoutot
dfb0f5142e Use a MODRUBY_pre-configure variable instead of a pre-configure target.
This allows using pre-configure in ruby ports without loosing the
MODRUBY_ADJ_REPLACE feature.

ok jeremy@ (maintainer)
2013-03-13 22:49:37 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
zhuk
d6c6d588ae Add -f to rm and mv calls, allowing some gems being worked on to build,
Those gems contain files with 444 rights.

okayed by jeremy@ during lock.
2013-03-04 18:39:06 +00:00
jeremy
1f6d81dd85 Update to ruby 1.9.3-p392, fixing CVE-2013-0269 and a DoS
vulnerability in REXML.

OK jasper@ sthen@
2013-02-23 01:22:26 +00:00
sthen
f5a323c546 Don't use ${FLAVOR:L}, we only support lower-case flavours now.
OK ajacoutot@ espie@
2013-02-09 14:49:50 +00:00
jeremy
b5c8dcc7db Update to ruby 1.9.3-p385. 2013-02-07 19:02:20 +00:00
jeremy
f145c63647 Update comments to reflect that using more modern versions of ruby
is recommended.
2013-01-26 17:57:51 +00:00
jeremy
5c7f88bbcf Update to ruby 1.9.3-p374. 2013-01-23 18:18:41 +00:00
jeremy
ff1c01cb9b Add pthread to WANTLIB for ruby C extensions on ruby 1.9, since on ruby
1.9 they are linked to pthread.

OK sthen@
2013-01-09 17:38:03 +00:00