Skip to content

main/libidn2: fix license to use 'OR'

Dominique Martinet requested to merge martinetd/aports:libidn2_license into master

I absolutely hate this, but $job apparently wants me to drop any GPL/LGPL 3 software from our images and I had a look at libidn2 which uses LGPL3+.

I didn't find anything in the wiki, but my understanding of compound licenses in apk (OR/AND), is that:

  • "A AND B" means the packages contains some files licensed under either license so both licenses always apply
  • "A OR B" means the software is dual-licensed, so the distributor can take their pick at which license they want to apply.

In this case libidn2 main library binary (and headers for the -dev package) are licensed under both licenses so this should be "OR" (and I don't need to try to kludge it out, yepee...)

commit message below

According to the libidn2 README, "The installed C library libidn2 is dual-licensed under LGPLv3+|GPLv2+", so this is LGPL-3+ OR GPL-2+

(There are other packages which use AND, where the package contains files licensed under one license and other files in the other license; this is not the case here where the main package provides a single file)

Merge request reports