Skip to contentSkip to conversation

swtpm: fix configure error

PATCH New akuster 1 participant 2 messages Feb 2, 2020

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/2 swtpm: fix configure error

checking for whether to build with seccomp profile... configure: error: "Is libseccomp-devel installed? -- could not get cflags for libseccomp"

---
 meta-tpm/recipes-tpm/swtpm/swtpm_0.2.0.bb | 1 +
 1 file changed, 1 insertion(+)
meta-tpm/recipes-tpm/swtpm/swtpm_0.2.0.bb +1 -0
index f3a53dd..35c77c8 100644
@@ -31,6 +31,7 @@ PACKAGECONFIG[openssl] = "--with-openssl, --without-openssl, openssl"
 PACKAGECONFIG[gnutls] = "--with-gnutls, --without-gnutls, gnutls"
 PACKAGECONFIG[selinux] = "--with-selinux, --without-selinux, libselinux"
 PACKAGECONFIG[cuse] = "--with-cuse, --without-cuse, fuse"
+PACKAGECONFIG[seccomp] = "--with-seccomp, --without-seccomp, libseccomp"
 
 EXTRA_OECONF += "--with-tss-user=${TSS_USER} --with-tss-group=${TSS_GROUP}"
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 ecryptfs-utils: search nspr header files in ${STAGING_INCDIR}/nspr directory

---
 recipes-security/ecryptfs-utils/ecryptfs-utils_111.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-security/ecryptfs-utils/ecryptfs-utils_111.bb +1 -1
index e45ee0b..d8cd06f 100644
@@ -41,7 +41,7 @@ PACKAGECONFIG[nss] = "--enable-nss,--disable-nss,nss,"
 PACKAGECONFIG[pam] = "--enable-pam,--disable-pam,libpam,"
 
 do_configure_prepend() {
-    export NSS_CFLAGS="-I${STAGING_INCDIR}/nspr4 -I${STAGING_INCDIR}/nss3"
+    export NSS_CFLAGS="-I${STAGING_INCDIR}/nspr -I${STAGING_INCDIR}/nss3"
     export NSS_LIBS="-L${STAGING_BASELIBDIR} -lssl3 -lsmime3 -lnss3 -lsoftokn3 -lnssutil3"
     export KEYUTILS_CFLAGS="-I${STAGING_INCDIR}"
     export KEYUTILS_LIBS="-L${STAGING_LIBDIR} -lkeyutils"
Signature · 1 line
2.17.1