Skip to contentSkip to conversation

xmlsec1: add PACKAGECONFIG disable-des

PATCH Superseded [email protected] 2 participants 4 messages Feb 27, 2019 – Feb 28, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xmlsec1: add PACKAGECONFIG disable-des

From: Changqing Li <[email protected]>

---
 recipes-security/xmlsec1/xmlsec1_1.2.27.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-security/xmlsec1/xmlsec1_1.2.27.bb +1 -0
index 0cd06c5..76e3976 100644
@@ -33,6 +33,7 @@ PACKAGECONFIG[gnutls] = ",,gnutls"
 PACKAGECONFIG[libgcrypt] = ",,libgcrypt"
 PACKAGECONFIG[nss] = "--with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../..,,nss nspr"
 PACKAGECONFIG[openssl] = ",,openssl"
+PACKAGECONFIG[disable-des] = "--disable-des,,,"
 
 # these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
 FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"
Signature · 1 line
2.7.4
#1 lore raw
Quoted 12 lines · On Wed, Feb 27, 2019 at 04:38:10PM +0800, [email protected] wrote:

From: Changqing Li <[email protected]>

---
 recipes-security/xmlsec1/xmlsec1_1.2.27.bb | 1 +
 1 file changed, 1 insertion(+)
recipes-security/xmlsec1/xmlsec1_1.2.27.bb +0 -0
index 0cd06c5..76e3976 100644

recipes-security/xmlsec1/xmlsec1_1.2.27.bb PACKAGECONFIG[gnutls] = ",,gnutls" · line 39

Quoted 7 lines
recipes-security/xmlsec1/xmlsec1_1.2.27.bb +1 -0
@@ -33,6 +33,7 @@ PACKAGECONFIG[gnutls] = ",,gnutls"
 PACKAGECONFIG[libgcrypt] = ",,libgcrypt"
 PACKAGECONFIG[nss] = "--with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../..,,nss nspr"
 PACKAGECONFIG[openssl] = ",,openssl"
+PACKAGECONFIG[disable-des] = "--disable-des,,,"
 
 # these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
 FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"

The same comments about not using "disable-" and making it a positive option instead apply here as well (and any other layer as well), thanks!

Signature · 1 line
Tom
#2 lore raw

PATCH v2 1/1 xmlsec1: add PACKAGECONFIG disable-des

From: Changqing Li <[email protected]>

---
 recipes-security/xmlsec1/xmlsec1_1.2.27.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-security/xmlsec1/xmlsec1_1.2.27.bb +2 -1
index 0cd06c5..eac8d6b 100644
@@ -28,11 +28,12 @@ inherit autotools-brokensep ptest pkgconfig
 CFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
 CPPFLAGS += "-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
 
-PACKAGECONFIG ??= "gnutls libgcrypt nss openssl"
+PACKAGECONFIG ??= "gnutls libgcrypt nss openssl des"
 PACKAGECONFIG[gnutls] = ",,gnutls"
 PACKAGECONFIG[libgcrypt] = ",,libgcrypt"
 PACKAGECONFIG[nss] = "--with-nss=${STAGING_LIBDIR}/../.. --with-nspr=${STAGING_LIBDIR}/../..,,nss nspr"
 PACKAGECONFIG[openssl] = ",,openssl"
+PACKAGECONFIG[des] = ",--disable-des,,"
 
 # these can be dynamically loaded with xmlSecCryptoDLLoadLibrary()
 FILES_SOLIBSDEV = "${libdir}/libxmlsec1.so"
Signature · 1 line
2.7.4