[OE-core] [oe-core][PATCH] libgcrypt: modified the license of dumpsexp.

Lei Maohui leimaohui at cn.fujitsu.com
Fri Apr 17 03:21:38 UTC 2015


Because dumpsexp.c is GPLv3. So pick up the dumpsexp and modified license to GPLv3.

Signed-off-by: Lei Maohui <leimaohui at cn.fujitsu.com>
---
 meta/recipes-support/libgcrypt/libgcrypt.inc | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index eea67aa..683be78 100644
--- a/meta/recipes-support/libgcrypt/libgcrypt.inc
+++ b/meta/recipes-support/libgcrypt/libgcrypt.inc
@@ -4,7 +4,11 @@ BUGTRACKER = "https://bugs.g10code.com/gnupg/index"
 SECTION = "libs"
 
 # helper program gcryptrnd and getrandom are under GPL, rest LGPL
-LICENSE = "GPLv2+ & LGPLv2.1+"
+LICENSE = "GPLv2+ & LGPLv2.1+ & GPLv3+"
+LICENSE_${PN} = "LGPLv2.1+"
+LICENSE_${PN}-dev = "GPLv2+ & LGPLv2.1+"
+LICENSE_dumpsexp-dev = "GPLv3+"
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
                     file://COPYING.LIB;md5=bbb461211a33b134d42ed5ee802b37ff"
 
@@ -35,7 +39,10 @@ do_install_append() {
 	install -m 0644 ${B}/src/libgcrypt.pc ${D}/${libdir}/pkgconfig/
 }
 
-FILES_${PN}-dev += "${bindir}/dumpsexp ${bindir}/hmac256"
+PACKAGES =+ "dumpsexp-dev"
+
+FILES_${PN}-dev += "${bindir}/hmac256"
+FILES_dumpsexp-dev += "${bindir}/dumpsexp"
 
 ARM_INSTRUCTION_SET = "arm"
 
-- 
1.8.4.2




More information about the Openembedded-core mailing list