Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2020 07:45:17 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 244358] [patch] devel/jna : Update to 5.5.0
Message-ID:  <bug-244358-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244358

            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@FreeBSD.org
          Reporter: freebsd@mosedal.net

Created attachment 211879
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D211879&action=
=3Dedit
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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244358-7788>