jnr / jffi

Java Foreign Function Interface
Apache License 2.0
168 stars 78 forks source link

Clarify licensing? #141

Closed pmonks closed 1 year ago

pmonks commented 1 year ago

Currently the artifacts in the repository suggest a confusing mishmash of licenses for this project:

Suggested solution Assuming the JFFI authors do intend to publish the work under Apache-2.0 OR LGPL-3.0+, I'd suggest:

  1. remove the COPYING.GPL and COPYING.LESSER files
  2. add a second <license> block within the existing <licenses> block within the pom.xml file, containing the name and URL of the LGPL-3.0+ license
  3. add the full Apache-2.0 license text and the full LGPL-3.0+ license text to the LICENSE file, separated by a number of blank lines, and with text such as OR, AT YOUR DISCRETION: in the middle of the whitespace
  4. (optional, but may keep FSF type folks happy) duplicate the (updated) LICENSE file and name it COPYING
headius commented 1 year ago

Thanks for pointing out the mishmash. At one point the original author wanted to use GPL 3, but I convinced him to switch to Apache-2. It seems we have some cleanup to do.

headius commented 1 year ago

@pmonks I have made these changes in #151, minus the duplicate COPYING file. If someone really wants that alongside LICENSE they can ask us for it.

pmonks commented 1 year ago

Thanks @headius, and no need to apologise! Licensing is one of those chores that's super easy to miss, especially if it's changed over time! Really appreciate you taking the time to sort this out.

headius commented 1 year ago

Thanks for the help!