[Bug 244358] [patch] devel/jna : Update to 5.5.0

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Feb 24 07:45:19 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=244358

            Bug ID: 244358
           Summary: [patch] devel/jna : Update to 5.5.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: freebsd at mosedal.net

Created attachment 211879
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=211879&action=edit
Patch that updates devel/jna to version 5.5.0

Hi,
While getting Elasticsearch7 installed on FreeBSD, I wanted to use a
non-default JDK.
While looking at the elasticsearch7 dependencies, I noticed that the devel/jna
port was several versions behind the latest version, meaning that OpenJDK8 was
pulled in regardless of what version you set in /etc/make.conf.
I have therefore tried to update the port to its latest version (as of the time
of this writing, it's version 5.5.0)

The attached patch also moves variables around (I used "portclippy" to sort
them) and makes the port respect whatever JAVA_VERSION one sets in
/etc/make.conf
For elasticsearch7, this furthermore means that you don't pull in OpenJDK8
unnecessarily if you prefer, say, OpenJDK11.
I have tested the updated port using elasticsearch7 only on FreeBSD 12.1 and
13.0-CURRENT and it seems to work just fine; however, I haven't tested on
anything else Java-based.

I also see that the port lacks a maintainer. I don't use it for development,
but if no-one else wants to support this port, I guess I can step up. Note that
the patch does not contain the maintainer modification in that case.

I hope the patch is useful, but please take a look at it.

All the best,

Peter.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list