]> code.ossystems Code Review - openembedded-core.git/commitdiff
p11-kit: Add PACKAGECONFIG for trust paths
authorAlex Kiernan <alex.kiernan@gmail.com>
Thu, 20 Sep 2018 15:06:06 +0000 (15:06 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Sep 2018 15:15:19 +0000 (08:15 -0700)
Add trust-paths PACKAGECONFIG item which enables support for default
trust-paths in /etc/ssl/certs/ca-certificates.crt

Signed-off-by: Alex Kiernan <alex.kiernan@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/p11-kit/p11-kit_0.23.14.bb

index 2a8709143b192014ccc95654f86acf86cf6a2993..dd25c381329890ecfede69264b0c992675fd66bd 100644 (file)
@@ -13,7 +13,9 @@ SRCREV = "3770793f026e46a000d2d8816d56122598289d5c"
 S = "${WORKDIR}/git"
 
 AUTOTOOLS_AUXDIR = "${S}/build/litter"
-EXTRA_OECONF = "--without-trust-paths"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[trust-paths] = "--with-trust-paths=/etc/ssl/certs/ca-certificates.crt,--without-trust-paths,,ca-certificates"
 
 # This recipe does not use the standard gtk-doc m4 macros, and so the ./configure flags
 # that control gtk-doc build are non-standard