diff options
author | Adrian Bunk <bunk@stusta.de> | 2019-01-30 11:57:42 +0200 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-02-11 18:00:54 -0800 |
commit | 73bc1f132e4c6dae334caed89327ba113d776965 (patch) | |
tree | 98fe14aa670347bfc9e11f5c8781ec14dd400de6 | |
parent | 9e163f6b993153b45688eeece0cb37df00ca6be7 (diff) | |
download | meta-security-73bc1f132e4c6dae334caed89327ba113d776965.tar.gz |
xmlsec1: Make the crypto libraries a PACKAGECONFIG
Usually one doesn't need variants for all 4 different
crypto libraries installed at the same time.
Also remove a libgpg-error DEPENDS that is not used
directly by xmlsec1.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r-- | recipes-security/xmlsec1/xmlsec1_1.2.26.bb | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb index aca9634..4bdf498 100644 --- a/recipes-security/xmlsec1/xmlsec1_1.2.26.bb +++ b/recipes-security/xmlsec1/xmlsec1_1.2.26.bb | |||
@@ -5,7 +5,7 @@ DESCRIPTION = "\ | |||
5 | XML security standards "XML Digital Signature" and "XML Encryption". \ | 5 | XML security standards "XML Digital Signature" and "XML Encryption". \ |
6 | " | 6 | " |
7 | HOMEPAGE = "http://www.aleksey.com/xmlsec/" | 7 | HOMEPAGE = "http://www.aleksey.com/xmlsec/" |
8 | DEPENDS = "libtool libxml2 libxslt openssl zlib libgcrypt gnutls nss nspr libgpg-error" | 8 | DEPENDS = "libtool libxml2 libxslt zlib" |
9 | 9 | ||
10 | LICENSE = "MIT" | 10 | LICENSE = "MIT" |
11 | LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0" | 11 | LIC_FILES_CHKSUM = "file://COPYING;md5=352791d62092ea8104f085042de7f4d0" |
@@ -28,9 +28,11 @@ inherit autotools-brokensep ptest pkgconfig | |||
28 | CFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3" | 28 | CFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3" |
29 | CPPFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3" | 29 | CPPFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3" |
30 | 30 | ||
31 | EXTRA_OECONF = "\ | 31 | PACKAGECONFIG ??= "gnutls libgcrypt nss openssl" |
32 | --with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../.. \ | 32 | PACKAGECONFIG[gnutls] = ",,gnutls" |
33 | " | 33 | PACKAGECONFIG[libgcrypt] = ",,libgcrypt" |
34 | PACKAGECONFIG[nss] = "--with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../..,,nss nspr" | ||
35 | PACKAGECONFIG[openssl] = ",,openssl" | ||
34 | 36 | ||
35 | # these can be dynamically loaded with xmlSecCryptoDLLoadLibrary() | 37 | # these can be dynamically loaded with xmlSecCryptoDLLoadLibrary() |
36 | FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so" | 38 | FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so" |