gnutls: Enable seccomp if FEATURE is set
PATCH 1/3 gnutls: Enable seccomp if FEATURE is set
From: Armin Kuster <[email protected]>
Signed-off-by Armin Kuster <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(cherry picked from commit f2527b5567252c7da4fbd863e119c8114e6debcd)
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-support/gnutls/gnutls_3.7.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/gnutls/gnutls_3.7.1.bb +1 -1
@@ -27,7 +27,7 @@ SRC_URI[sha256sum] = "3777d7963eca5e06eb315686163b7b3f5045e2baac5e54e038ace9835e inherit autotools texinfo pkgconfig gettext lib_package gtk-doc -PACKAGECONFIG ??= "libidn" +PACKAGECONFIG ??= "libidn ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)}" # You must also have CONFIG_SECCOMP enabled in the kernel for # seccomp to work.
Signature · 1 line
2.29.2
PATCH 2/3 gnutls: Point to staging area for finding seccomp libs and includes
From: Khem Raj <[email protected]>
This ensures that if libseccomp is installed on build host then it does not resort to use it.
Fixes
checking for libseccomp... (cached) yes
checking how to link with libseccomp... /usr/lib/libseccomp.so
Signed-off-by Khem Raj <[email protected]>
Cc Armin Kuster <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(cherry picked from commit 3751ac58720a500e3b749b2296922d7c82db49a1)
Signed-off-by Mingli Yu <[email protected]>
--- meta/recipes-support/gnutls/gnutls_3.7.1.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/gnutls/gnutls_3.7.1.bb +1 -1
@@ -31,7 +31,7 @@ PACKAGECONFIG ??= "libidn ${@bb.utils.filter('DISTRO_FEATURES', 'seccomp', d)}" # You must also have CONFIG_SECCOMP enabled in the kernel for # seccomp to work. -PACKAGECONFIG[seccomp] = "ac_cv_libseccomp=yes,ac_cv_libseccomp=no,libseccomp" +PACKAGECONFIG[seccomp] = "--with-libseccomp-prefix=${STAGING_EXECPREFIXDIR},ac_cv_libseccomp=no,libseccomp" PACKAGECONFIG[libidn] = "--with-idn,--without-idn,libidn2" PACKAGECONFIG[libtasn1] = "--with-included-libtasn1=no,--with-included-libtasn1,libtasn1" PACKAGECONFIG[p11-kit] = "--with-p11-kit,--without-p11-kit,p11-kit"
Signature · 1 line
2.29.2
PATCH 3/3 gnutls: upgrade 3.7.1 -> 3.7.2
In reply to Yu, MingliFrom: wangmy <[email protected]>
Signed-off-by Wang Mingyu <[email protected]>
Signed-off-by Richard Purdie <[email protected]>
(cherry picked from commit 3593a4c47d5e8faccb27c7cd975f18f90b9cd86f)
Signed-off-by Mingli Yu <[email protected]>
---
.../recipes-support/gnutls/{gnutls_3.7.1.bb => gnutls_3.7.2.bb} | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
rename meta/recipes-support/gnutls/{gnutls_3.7.1.bb => gnutls_3.7.2.bb} (96%)meta/recipes-support/gnutls/gnutls_3.7.2.bb renamed from meta/recipes-support/gnutls/gnutls_3.7.1.bb +1 -1
@@ -23,7 +23,7 @@ SRC_URI = "https://www.gnupg.org/ftp/gcrypt/gnutls/v${SHRT_VER}/gnutls-${PV}.tar file://arm_eabi.patch \ " -SRC_URI[sha256sum] = "3777d7963eca5e06eb315686163b7b3f5045e2baac5e54e038ace9835e5cac6f" +SRC_URI[sha256sum] = "646e6c5a9a185faa4cea796d378a1ba8e1148dbb197ca6605f95986a25af2752" inherit autotools texinfo pkgconfig gettext lib_package gtk-doc
Signature · 1 line
2.29.2