Skip to contentSkip to conversation

libseccomp: update to 2.5.0

PATCH Superseded akuster 1 participant 2 messages Jul 25, 2020

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

akuster

author
#0 lore raw

PATCH 1/2 libseccomp: update to 2.5.0

Notable changes:
Add support for the 64-bit RISC-V architecture Update the syscall tables to Linux v5.8.0-rc5 Python bindings and build now default to Python 3.x

for more info see: https://github.com/seccomp/libseccomp/blob/master/CHANGELOG

---
 .../{libseccomp_2.4.3.bb => libseccomp_2.5.0.bb}         | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename recipes-security/libseccomp/{libseccomp_2.4.3.bb => libseccomp_2.5.0.bb} (93%)
recipes-security/libseccomp/libseccomp_2.5.0.bb renamed from recipes-security/libseccomp/libseccomp_2.4.3.bb +5 -4
similarity index 93%
rename from recipes-security/libseccomp/libseccomp_2.4.3.bb
rename to recipes-security/libseccomp/libseccomp_2.5.0.bb
index 37d3573..7a6b483 100644
@@ -4,13 +4,14 @@ SECTION = "security"
 LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://LICENSE;beginline=0;endline=1;md5=8eac08d22113880357ceb8e7c37f989f"
 
-SRCREV = "1dde9d94e0848e12da20602ca38032b91d521427"
+DEPENDS += "gperf-native"
 
-SRC_URI = "git://github.com/seccomp/libseccomp.git;branch=release-2.4 \
+SRCREV = "f13f58efc690493fe7aa69f54cb52a118f3769c1"
+
+SRC_URI = "git://github.com/seccomp/libseccomp.git;branch=release-2.5 \
            file://run-ptest \
 "
 
-COMPATIBLE_HOST_riscv64 = "null"
 COMPATIBLE_HOST_riscv32 = "null"
 
 S = "${WORKDIR}/git"
@@ -18,7 +19,7 @@ S = "${WORKDIR}/git"
 inherit autotools-brokensep pkgconfig ptest
 
 PACKAGECONFIG ??= ""
-PACKAGECONFIG[python] = "--enable-python, --disable-python, python"
+PACKAGECONFIG[python] = "--enable-python, --disable-python, python3"
 
 DISABLE_STATIC = ""
 
Signature · 1 line
2.17.1
author
#1 lore raw

PATCH 2/2 packagegroup-core-security: restore riscv64 for libssecomp

---
 recipes-core/packagegroup/packagegroup-core-security.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-core/packagegroup/packagegroup-core-security.bb +1 -1
index 539ea2a..c6342fd 100644
@@ -28,7 +28,7 @@ RDEPENDS_packagegroup-security-utils = "\
     python3-scapy \
     ding-libs \
     keyutils \
-    ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 riscv64", "", " libseccomp",d)} \
+    ${@bb.utils.contains_any("TUNE_FEATURES", "riscv32 ", "", " libseccomp",d)} \
     ${@bb.utils.contains("DISTRO_FEATURES", "pam", "sssd", "",d)} \
     ${@bb.utils.contains("DISTRO_FEATURES", "pax", "pax-utils", "",d)} \
     "
Signature · 1 line
2.17.1