Skip to contentSkip to conversation

libassuan licensing updates

PATCH New Andre McCurdy 1 participant 3 messages Apr 1, 2016

lore
Share & tools
lore
#0 lore raw

cover libassuan licensing updates

Andre McCurdy (2):
libassuan: use package specific licensing default-distrovars.inc: remove libassuan from LGPLv2_WHITELIST_GPL-3.0

 meta/conf/distro/include/default-distrovars.inc   | 2 +-
 meta/recipes-support/libassuan/libassuan_2.4.2.bb | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)
Signature · 1 line
1.9.1
#1 lore raw

PATCH 1/2 libassuan: use package specific licensing

- The main libassuan.so library is LGPLv2.1+
- Test apps (in tests sub directory) and documentation are GPLv3+
- Windows CE specific binaries (gpgcedev.dll and gpgcemgr) are GPLv3+

When building the current OE recipe, the test apps are compiled but not installed. The Windows CE specific binaries are not compiled.

---
 meta/recipes-support/libassuan/libassuan_2.4.2.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
meta/recipes-support/libassuan/libassuan_2.4.2.bb +4 -2
index 57eab38..f376d63 100644
@@ -2,7 +2,9 @@ SUMMARY = "IPC library used by GnuPG and GPGME"
 HOMEPAGE = "http://www.gnupg.org/related_software/libassuan/"
 BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
 
-LICENSE = "GPLv3 & LGPLv2.1+"
+LICENSE = "GPLv3+ & LGPLv2.1+"
+LICENSE_${PN} = "LGPLv2.1+"
+LICENSE_${PN}-doc = "GPLv3+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949 \
                     file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
                     file://src/assuan.c;endline=20;md5=0f465544183405055ec179869fc5b5ba \
@@ -21,7 +23,7 @@ BINCONFIG = "${bindir}/libassuan-config"
 inherit autotools texinfo binconfig-disabled pkgconfig
 
 do_configure_prepend () {
-	# Else these could be used in prefernce to those in aclocal-copy
+	# Else these could be used in preference to those in aclocal-copy
 	rm -f ${S}/m4/*.m4
 }
 
Signature · 1 line
1.9.1
#2 lore raw

PATCH 2/2 default-distrovars.inc: remove libassuan from LGPLv2_WHITELIST_GPL-3.0

In reply to Andre McCurdy

The libassuan recipe is now buildable in distros which blacklist GPL-3.0 without needing to be explicitly whitelisted (since it provides at least one non GPLv3 package).

---
 meta/conf/distro/include/default-distrovars.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/include/default-distrovars.inc +1 -1
index 84cdaca..fac4deb 100644
@@ -23,7 +23,7 @@ DISTRO_FEATURES ?= "${DISTRO_FEATURES_DEFAULT} ${DISTRO_FEATURES_LIBC}"
 IMAGE_FEATURES ?= ""
 
 WHITELIST_GPL-3.0 ?= ""
-LGPLv2_WHITELIST_GPL-3.0 ?= "libassuan libidn"
+LGPLv2_WHITELIST_GPL-3.0 ?= "libidn"
 
 COMMERCIAL_AUDIO_PLUGINS ?= ""
 # COMMERCIAL_AUDIO_PLUGINS ?= "gst-plugins-ugly-mad gst-plugins-ugly-mpegaudioparse"
Signature · 1 line
1.9.1