72 Commits

Author SHA1 Message Date
jeremy
4d97030ff1 Update to JRuby 9.1.14.0
Update MASTER_SITES for switch from S3 to Maven.
2017-11-20 20:54:40 +00:00
jeremy
b94c051c0a Backport webrick security fix (CVE-2017-10784) from ruby 2.2.8 to JRuby.
Update MASTER_SITES while here.
2017-09-16 22:56:41 +00:00
jeremy
993a671d5e Update to JRuby 9.1.13.0 2017-09-15 03:06:13 +00:00
jeremy
17d26ff669 Apply security patches in rubygems 2.6.13 to JRuby, based on the
upstream patch provided by ruby-core for ruby 2.4.

No CVE numbers, but this fixes the following vulnerabilities:

* Fix a DNS request hijacking vulnerability.
* Fix an ANSI escape sequence vulnerability.
* Fix a DOS vulernerability in the query command.
* Fix a vulnerability in the gem installer that allowed a malicious
  gem to overwrite arbitrary files.
2017-09-02 21:36:55 +00:00
sthen
5e964ab0df bump LIBCXX/LIBECXX/COMPILER_LIBCXX ports. 2017-07-26 22:45:14 +00:00
espie
8ac47fd9c6 use COMPILER_LIBCXX where applicable 2017-07-16 19:18:47 +00:00
jeremy
93f3d1bf29 Update to JRuby 9.1.12.0 2017-06-21 15:38:00 +00:00
espie
90593cd958 Werror considered harmful 2017-05-25 11:23:02 +00:00
sthen
bcbf44ab87 use LIBCXX 2017-04-10 11:46:18 +00:00
jeremy
88d0424ecd Update to JRuby 9.1.8.0
Fix hardcoding of gcc and g++.
2017-03-08 16:32:25 +00:00
jeremy
4839b7584e Update to JRuby 9.1.7.0 2017-01-16 21:34:54 +00:00
jeremy
3bb7d25c81 Update to JRuby 9.1.6.0 2016-11-19 04:56:27 +00:00
jeremy
ad1df45202 Update to JRuby 9.1.5.0 2016-09-19 21:38:39 +00:00
ajacoutot
5558c792d3 First pass at pre-entively fixing ports that would break once guenther's header
pollution diff is in.

lang/squeak/vm does not build but it's due to the recent audio changes
games/xbattle: also fixes some conflicting implicit decl
print/hplip: also fixes some conflicting implicit decl
2016-09-10 13:03:40 +00:00
jeremy
c19ffe2bbc Update JRuby to 9.1.1.0
This changes the ruby version JRuby supports to 2.3, so update ruby.port.mk
to match.
2016-05-27 17:04:35 +00:00
naddy
42bc647e80 remove SHARED_ONLY from ports that only use modules that neither set nor
read this variable
2016-03-18 23:12:15 +00:00
jeremy
fc08e66712 Update to JRuby 9.0.3.0 2015-10-26 15:29:39 +00:00
jeremy
04886a1e92 Update to JRuby 9.0.1.0 2015-09-05 14:48:53 +00:00
jeremy
7dacc8bb06 Set ONLY_FOR_ARCHS = amd64, due to runtime issues on i386
OK jasper@
2015-07-28 21:55:32 +00:00
jeremy
01167105dc Update to JRuby 9.0.0.0
Bump jdk dependency to 1.8.0

Help and OK jasper@
2015-07-26 04:40:16 +00:00
jeremy
d0ae60dfef Update to jruby 1.7.21
This removes a lot of the gems that were temporarily shipped with JRuby.

OK jasper@
2015-07-15 22:19:23 +00:00
jeremy
a868618a8e Update to jruby 1.7.20
OK jasper@
2015-05-14 15:38:25 +00:00
jeremy
d430e050a0 Update to jruby 1.7.19 2015-02-01 17:34:21 +00:00
jeremy
b8b891e80e Update to JRuby 1.7.17
Stop overriding the internal jnr-posix implementation, as the patches
in our copy have been merged upstream.  This also means we can drop the
zip/unzip BDEPs.

OK jasper@
2014-12-10 17:00:01 +00:00
jeremy
64a46ad795 Update the embedded jnr-posix library, fixes File.utime on i386. 2014-11-08 19:59:18 +00:00
jasper
7de41e07a0 - switch to a newer jnr-posix jar based on 3.0.7-SNAPSHOT
- also shuffle MASTER_SITES a bit

ok jeremy@
2014-10-01 06:20:06 +00:00
jasper
faccf2472e - update to jruby-1.7.16
ok jeremy@ who had the same diff
2014-09-27 20:37:04 +00:00
jeremy
edc6782e71 Update to jruby 1.7.15.
Fix bad file modes in newly included gems.
2014-09-22 15:17:01 +00:00
jeremy
67de8d7e1b Update to JRuby 1.7.13. 2014-06-27 15:26:02 +00:00
jeremy
fc93ec51f2 Update to JRuby 1.7.12. 2014-05-18 15:43:54 +00:00
jeremy
de96d53051 Update to JRuby 1.7.9
Work around upstream regression causing rake/rdoc/ri to not work by
copying the real executables over the rubygems shims.

Fix the #! lines on the executables.

The old ant based tests no longer work, and the new maven tests
require downloading tons of packages at runtime, so punt and mark
NO_TEST=Yes and stop downloading the -src tarball.
2013-12-19 21:39:50 +00:00
jeremy
790be1cd04 Update to jruby 1.7.6. Add maven as a test dependency, since it is
required to run the tests.  Remove rubygems patch as it was applied
upstream.
2013-10-26 23:41:04 +00:00
jeremy
d29ac5b97f Update to jruby-1.7.5. Upstream changed to a maven-based src build
system that downloads 190+ .jar files at build time.  Switch to using
the binary distribution, since there is no point compiling java source
code to java bytecode when we can use the precompiled java bytecode.

Use our custom jnr-posix distfile with 64-bit time_t support by
directly patching jruby.jar.

Add jruby-launcher gem as a separate distfile, but since we only need
the binary, compile it manually and don't install the gem.

Still keep the src distfile for the tests, because the binary distfile
doesn't include them.

Add patch to work around rubygems regression with .files in the root
of the gem not getting installed (already accepted upstream).
2013-10-15 02:36:21 +00:00
sthen
bb76fdd89c switch jruby to a modified jnr-posix.jar fixing post-64-bit time_t,
this is an interim fix until it's handled upstream. jar from & ok jeremy@
2013-08-22 21:35:57 +00:00
jeremy
a47ce9e00e Update to jruby 1.7.4. Make sure site_ruby directory is created
in correct location.  Fix test target.  Remove unneeded patch
to bash script.
2013-05-17 20:14:49 +00:00
jeremy
677fe6240f Update to jruby 1.7.3.
Drop support for C extensions (which were always expiremental).
Use jruby.jar instead of jruby-complete.jar, for a more typical
jruby installation.
2013-03-19 23:43:06 +00:00
espie
0662a4e9d6 PERMIT_* / REGRESS->TEST sweep 2013-03-11 11:20:26 +00:00
jeremy
6061383cfb Update to jruby 1.6.8. 2012-09-24 17:07:39 +00:00
sthen
701ea4d98f sync wantlib 2012-08-23 19:19:16 +00:00
jeremy
800354698d Update to jruby 1.6.7.2, only change is a rubygems update to work
fix SSL security issues when installing gems.
2012-05-04 20:15:53 +00:00
jeremy
d50fbf5be0 Update to jruby 1.6.7. 2012-04-04 20:23:59 +00:00
jeremy
fb2e479888 Update to 1.6.5.1, fixing the denial of service vulnerability
described in CERT-2011-003.
2012-01-05 02:10:06 +00:00
jeremy
53bee10b3a Setup symlink to jruby/bin/jruby at bin/jruby, so that jruby is usable
without any modifications to PATH.  To run an ruby program that is
installed in jruby's bin directory (which no longer needs to be in the
PATH), use jruby -S program.
2011-12-09 21:46:15 +00:00
jeremy
ab94375bb6 Don't run spec task during regress
The spec task requires network access via git, which is not allowed.
Since git isn't needed anymore for regress, remove it from
REGRESS_DEPENDS.  The spec task is just commented out in case somone
wants to run it manually.
2011-11-14 12:00:04 +00:00
jeremy
f10ffb527c Make regress tests work.
Set JAVA_HOME and PATH and disable forking so java doesn't crash when
running the test and spec tasks.  Don't install the jruby-launcher gem
when running the test and spec tasks, as it fails.

Regress depend on git when running the specs, as it needs to download
current rubyspecs for the spec task.

Delete the jruby-complete.jar file and just use the jruby.jar file
when running the specs, as otherwise you get additional test failures
and warnings.

Switch to SUBST_CMD while here now that has been fixed. Also, bump
the memory limits by 50M as 384M doesn't seem to be enough in all
cases.
2011-11-14 11:38:16 +00:00
jeremy
c577b12520 Update to JRuby 1.6.5.
Make jruby binary not segfault if PATH isn't set correctly.

Remove rubygems hacks, since they are no longer necessary now
that the versions of rubygems for the other ruby interpreters
are > 1.3.7.

No longer ship the ri documentation files with JRuby.  JRuby
ships with a broken ri binary anyway (requires the rdoc gem to
work), and almost all users of JRuby have MRI ruby installed
and can use its ri binary.
2011-11-08 23:58:08 +00:00
jeremy
81591bca58 Update to JRuby 1.6.5.
Make jruby binary not segfault if PATH isn't set correctly.

Remove rubygems hacks, since they are no longer necessary now
that the versions of rubygems for the other ruby interpreters
are > 1.3.7.

No longer ship the ri documentation files with JRuby.  JRuby
ships with a broken ri binary anyway (requires the rdoc gem to
work), and almost all users of JRuby have MRI ruby installed
and can use its ri binary.
2011-11-08 23:47:20 +00:00
espie
e820071495 normalize pkgpath 2011-09-16 10:31:20 +00:00
jasper
fa7be240b1 - bump REVISION after recent java.port.mk change 2011-08-30 17:16:35 +00:00
jeremy
5d93d9ca7c Update to JRuby 1.6.4 2011-08-26 22:11:47 +00:00