Bug 229163

Summary: Upgrade lang/jruby to version 9.2.4.0
Product: Ports & Packages Reporter: Ed Gomolka <edg>
Component: Individual Port(s)Assignee: Steve Wills <swills>
Status: Closed FIXED    
Severity: Affects Many People CC: edg, pfg, swills
Priority: --- Keywords: patch
Version: Latest   
Hardware: amd64   
OS: Any   
Bug Depends on:    
Bug Blocks: 233612    
Attachments:
Description Flags
Share file for JRuby 9.2.0.0 port
none
Update lang/jruby to version 9.2.4.0
none
Update lang/jruby to version 9.2.4.0
none
Update lang/jruby to version 9.2.4.0 none

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!