Bug 229163 - Upgrade lang/jruby to version 9.2.4.0
Summary: Upgrade lang/jruby to version 9.2.4.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Steve Wills
URL:
Keywords: patch
Depends on:
Blocks: 233612
  Show dependency treegraph
 
Reported: 2018-06-19 15:33 UTC by Ed Gomolka
Modified: 2018-12-09 19:03 UTC (History)
3 users (show)

See Also:


Attachments
Share file for JRuby 9.2.0.0 port (56.99 KB, text/plain)
2018-06-19 15:33 UTC, Ed Gomolka
no flags Details
Update lang/jruby to version 9.2.4.0 (56.19 KB, patch)
2018-11-27 18:07 UTC, Pedro F. Giffuni
no flags Details | Diff
Update lang/jruby to version 9.2.4.0 (54.97 KB, patch)
2018-11-28 16:12 UTC, Pedro F. Giffuni
no flags Details | Diff
Update lang/jruby to version 9.2.4.0 (50.94 KB, patch)
2018-11-28 19:32 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Gomolka 2018-06-19 15:33:13 UTC
Created attachment 194414 [details]
Share file for JRuby 9.2.0.0 port

I have attached a shar file for the new JRuby9.2 branch.
I set this up separately from the existing port (JRuby-9.1.15.0), as I did not want to replace it. 9.2.x.x is the new major release version, which is expected to be compatible with Ruby 2.5.x, and I felt that the old JRuby port from the 9.1.xx release should not be overwritten.

I have run the tests outlined in the ports handbook.
This is my first attempt at a port. All feedback is welcome.

Thx,

Ed
Comment 1 Pedro F. Giffuni freebsd_committer freebsd_triage 2018-11-27 18:07:25 UTC
Created attachment 199609 [details]
Update lang/jruby to version 9.2.4.0

Let me abuse this PR to bring the latest version.
Comment 2 Pedro F. Giffuni freebsd_committer freebsd_triage 2018-11-27 18:13:08 UTC
The existing lang/jruby port is obsolete it was meant to be compatible with ruby 2.3.

The latest version is compatible with Ruby 2.5, and is more performant than the native Ruby so it is an ideal upgrade path, at least while we update the base Ruby.

Also update devel/rubygem-jruby-jars which are obviously connected: use jgems instead of the regular gems and add a dependency on jruby for those.
Comment 3 Pedro F. Giffuni freebsd_committer freebsd_triage 2018-11-28 16:12:47 UTC
Created attachment 199643 [details]
Update lang/jruby to version 9.2.4.0

Strip the patch to only the lang/jruby port update: should be easier to review.
Comment 4 Pedro F. Giffuni freebsd_committer freebsd_triage 2018-11-28 16:38:45 UTC
As a side note: the original tarball has its own implementations of some useful scripts like rake which would be useful to run jruby independently but would conflict with the regular ruby. I am not currently attempting to fix that.
Comment 5 Pedro F. Giffuni freebsd_committer freebsd_triage 2018-11-28 19:32:52 UTC
Created attachment 199649 [details]
Update lang/jruby to version 9.2.4.0

Add link to jrake (rake): may be handy.
Cleanup the pkg-plist.
Comment 6 commit-hook freebsd_committer freebsd_triage 2018-12-09 19:01:20 UTC
A commit references this bug:

Author: swills
Date: Sun Dec  9 19:01:10 UTC 2018
New revision: 487073
URL: https://svnweb.freebsd.org/changeset/ports/487073

Log:
  lang/jruby: update to version 9.2.4.0

  PR:		229163
  Submitted by:	pfg
  Reported by:	Ed Gomolka <edg@borderlandtech.com>

Changes:
  head/lang/jruby/Makefile
  head/lang/jruby/distinfo
  head/lang/jruby/pkg-plist
Comment 7 Steve Wills freebsd_committer freebsd_triage 2018-12-09 19:03:03 UTC
Committed, thanks!