[oe-commits] Lei Maohui : libgcrypt: modified the license of dumpsexp.

git at git.openembedded.org git at git.openembedded.org
Sun Apr 19 12:36:26 UTC 2015


Module: openembedded-core.git
Branch: master
Commit: 18cc7893e453bb10e395ff81dd10c0b5872a1742
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=18cc7893e453bb10e395ff81dd10c0b5872a1742

Author: Lei Maohui <leimaohui at cn.fujitsu.com>
Date:   Fri Apr 17 11:21:38 2015 +0800

libgcrypt: modified the license of dumpsexp.

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>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 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"
 



More information about the Openembedded-commits mailing list