220 Commits

Author SHA1 Message Date
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
jeremy
a8b55da4bf In the dbm subpackage, drop dependency on databases/db/v4. Since ruby
1.9.3, ruby uses the libc dbopen support as the backend for the
dbm extension.
2012-12-11 22:20:02 +00:00
landry
15e164e01e Mark as BROKEN-sparc64, it doesnt reliably build, and some depending ports
randomly fail to build too. Someone with interest in sparc64 should look
into it, in the meantime it messes up bulk builds.
2012-11-28 21:46:42 +00:00
jeremy
15afe8d391 Update to ruby 1.9.3-p327. 2012-11-20 16:52:32 +00:00
jeremy
2f43e2b597 Show actual compilation commands when building C extension
gems on ruby 1.9.
2012-10-24 22:51:26 +00:00
jeremy
ccf58b6fcc Update to ruby 1.9.3-p286. Remove security patch included in new
version.  Switch rubygems to handle building of C extension
gems as non-root in more cases.

OK jcs@
2012-10-24 22:49:05 +00:00
jeremy
d2417c156f Backport security fix and test for it from ruby SVN revision 37068.
OK jasper@
2012-10-08 13:17:11 +00:00
jeremy
d8416fa81d Backport security fix from ruby developer Shugo Maeda, similar to
SVN revision 37068.

OK jasper@
2012-10-08 13:15:17 +00:00
jeremy
9292714b1a Switch gem/extconf ports to build with ruby 1.9 by default, allowing
the use of the ruby18 FLAVOR to explicitly build a version for ruby 1.8.
To handle updates, add a @pkgpath marker with the unflavored PKGPATH
to all ruby18 FLAVOR gem/extconf PLISTs.

Remove format-executable CONFIGURE_STYLE, since only one port uses it.
Instead, allow the port Makefile to set GEM_FLAGS, and have ruby.port.mk
append to that if it already exists.
2012-09-23 16:56:15 +00:00
jeremy
ccb66ed2cc Fix a backport of a patch that never made it to ruby 1.8.7, which left
out the definition of a new function added in the patch.  Allows usage
of the ruby 1.8 socket extension with LD_BIND_NOW=1.

OK naddy@
2012-09-18 16:02:53 +00:00
sthen
701ea4d98f sync wantlib 2012-08-23 19:19:16 +00:00
jeremy
88c8137132 Update to ruby 1.8.7-p370.
One of our local patches for a security fix was applied upstream, so
remove that patch.
2012-07-03 19:58:39 +00:00
jeremy
b7330716bb Update to ruby 1.9.3-p194. Fixes SSL security issues when installing
gems, and has other significant bugfixes.
2012-04-27 18:40:02 +00:00
phessler
33c831c043 do not generate RI docs on the "slow" arches. This takes far too long,
and too much memory.

OK jeremy@
2012-03-30 19:03:24 +00:00
ajacoutot
a89a75cd04 Garbage collect the /dev/arandom patches.
from Brad
ok landry@ sthen@
2012-03-08 12:13:00 +00:00
jeremy
de456ea9df Update 1.9.3p125, removing some patches included upstream. 2012-02-28 00:20:41 +00:00
jeremy
5b43342337 Update to 1.8.7p358 2012-02-28 00:17:17 +00:00
jeremy
a566fc944a Update to 1.8.7-p357, fixing the denial of service vulnerability
described in CERT-2011-003.
2012-01-05 02:09:02 +00:00
jeremy
d916ad4bb8 Fix NO_REGRESS=Yes being set on ruby ports with MODRUBY_REGRESS set,
broken in r1.49.
2011-12-09 21:41:43 +00:00
jeremy
95570de3d1 Add back NO_REGRESS=Yes setting to ruby.port.mk if MODRUBY_REGRESS
is not set, but only for gem, extconf, and setup based ports. Other
ports could be using the lang/ruby module and still have a standard
make-based regression test suite.
2011-12-02 19:33:39 +00:00
espie
53295a4812 bye bye FLAVOR:L 2011-12-02 14:36:13 +00:00
jeremy
930db13bc9 Handle split of rspec port into subdirs. In MODRUBY_REGRESS, support
rspec 1 using rspec and rspec 2 using rspec2.  Additionally, add
support for ruby and testrb, calling the appropriate binary for the
ruby implementation.

Start checking sanity of MODRUBY_REGRESS entry, using a fatal error
if it is defined and doesn't contain a recognized word.

Instead of RAKE_REGRESS_TARGET and RSPEC_REGRESS_TARGET, just use
MODRUBY_REGRESS_TARGET for all cases.  On ruby 1.9, modifying the
environment to always look in the current directory for libraries
(the ruby 1.8 behavior), since many ports depend on that for regress.
Allow ports to set their own regress environment and current directory
using MODRUBY_REGRESS_ENV and MODRUBY_REGRESS_DIR.
2011-11-17 15:24:01 +00:00
jeremy
75d0491050 Don't show the VMEM_WARNING when building ruby with the no_ri_docs
PSUEDO_FLAVOR, since the ri docs are the only thing that takes a
lot of memory.

OK ajacoutot@
2011-11-17 11:47:12 +00:00