[meta-security,1/2] libseccomp: update to 2.5.0

Submitted by Armin Kuster on July 25, 2020, 6:39 p.m. | Patch ID: 174728

Details

Message ID 20200725183921.12160-1-akuster808@gmail.com
State Under Review
Delegated to: Armin Kuster
Headers show

Commit Message

Armin Kuster July 25, 2020, 6:39 p.m.
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

Signed-off-by: Armin Kuster <akuster808@gmail.com>
---
 .../{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%)

Patch hide | download patch | download mbox

diff --git a/recipes-security/libseccomp/libseccomp_2.4.3.bb b/recipes-security/libseccomp/libseccomp_2.5.0.bb
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
--- a/recipes-security/libseccomp/libseccomp_2.4.3.bb
+++ b/recipes-security/libseccomp/libseccomp_2.5.0.bb
@@ -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 = ""