gawk: disable persistent memory by default due to licensing
PATCH 1/1 gawk: disable persistent memory by default due to licensing
From: Randy MacLeod <[email protected]>
In gawk-5.2, a feature that allows gawk to preserve memory between runs:
https://www.gnu.org/software/gawk/manual/html_node/Persistent-Memory.html
was added. The files that implement this, support/pma.[ch], are licensed under the AGPL which some entities perfer to avoid. Force people to knowingly opt into using this feature and license.
Also add AGPL to the license to the summary.
--- meta/recipes-extended/gawk/gawk_5.3.2.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
meta/recipes-extended/gawk/gawk_5.3.2.bb +3 -1
@@ -8,12 +8,14 @@ SECTION = "console/utils" # gawk <= 3.1.5: GPL-2.0-only # gawk >= 3.1.6: GPL-3.0-only -LICENSE = "GPL-3.0-only" +LICENSE = "GPL-3.0-only & AGPL-3.0-or-later" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PACKAGECONFIG ??= "readline mpfr" PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" +# Check support/pwa.c license +PACKAGECONFIG[pma] = "--enable-pma,--disable-pma, " SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ file://run-ptest \
Signature · 1 line
2.34.1
Quoted 10 lines · Randy MacLeod via lists.openembedded.org
From: Randy MacLeod <[email protected]>
In gawk-5.2, a feature that allows gawk to preserve memory between runs:
https://www.gnu.org/software/gawk/manual/html_node/Persistent-Memory.html
was added. The files that implement this, support/pma.[ch], are licensed under the AGPL which some entities perfer to avoid. Force people to knowingly opt into using this feature and license.Also add AGPL to the license to the summary.
If disabling that option means there’s no AGPL code in binary, then LICENSE:${PN} could be constructed based on the value of PACKAGECONFIG.
Ross