summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLei Maohui <leimaohui@cn.fujitsu.com>2015-04-17 11:21:38 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-04-19 13:34:05 +0100
commit18cc7893e453bb10e395ff81dd10c0b5872a1742 (patch)
treebcdcc5c5b870c5ed0b194eaf2d4b0688fd956986
parent313a6ee224831d842af8ca95d827bf17230540dc (diff)
downloadopenembedded-core-18cc7893e453bb10e395ff81dd10c0b5872a1742.tar.gz
openembedded-core-18cc7893e453bb10e395ff81dd10c0b5872a1742.tar.bz2
openembedded-core-18cc7893e453bb10e395ff81dd10c0b5872a1742.zip
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@cn.fujitsu.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-support/libgcrypt/libgcrypt.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/meta/recipes-support/libgcrypt/libgcrypt.inc b/meta/recipes-support/libgcrypt/libgcrypt.inc
index eea67aa58d..683be780ff 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"