package/libseccomp: bump to version 2.5.3

- host-gperf is a mandatory dependency since version 2.5.0 and
  9b129c41ac
- RISC-V 64 bits is supported since version 2.5.0 and
  5432e15521
- Add a dependency on kernel >= 3.17 because __NR_seccomp is
  unconditionally used since version 2.5.0 and
  dead12bc78
  and __NR_seccomp is only available since
  48dc92b9fc

https://github.com/seccomp/libseccomp/blob/v2.5.3/CHANGELOG

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Fabrice Fontaine 2021-12-26 17:20:57 +01:00 committed by Thomas Petazzoni
parent 6d9d699695
commit 0e2c958e05
3 changed files with 8 additions and 6 deletions

View file

@ -5,12 +5,13 @@ config BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
default y if BR2_mips || BR2_mipsel || BR2_mips64 || BR2_mips64el
default y if BR2_i386 || BR2_x86_64
default y if BR2_powerpc64 || BR2_powerpc
default y if BR2_RISCV_64
default y if BR2_s390x
config BR2_PACKAGE_LIBSECCOMP
bool "libseccomp"
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
help
High level interface to the Linux Kernel's seccomp filter
@ -24,6 +25,6 @@ config BR2_PACKAGE_LIBSECCOMP
https://github.com/seccomp/libseccomp
comment "libseccomp needs a toolchain w/ headers >= 3.12"
comment "libseccomp needs a toolchain w/ headers >= 3.17"
depends on BR2_PACKAGE_LIBSECCOMP_ARCH_SUPPORTS
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_12
depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17

View file

@ -1,4 +1,4 @@
# From https://github.com/seccomp/libseccomp/releases/tag/v2.4.4
sha256 4e79738d1ef3c9b7ca9769f1f8b8d84fc17143c2c1c432e53b9c64787e0ff3eb libseccomp-2.4.4.tar.gz
# From https://github.com/seccomp/libseccomp/releases/tag/v2.5.3
sha256 59065c8733364725e9721ba48c3a99bbc52af921daf48df4b1e012fbc7b10a76 libseccomp-2.5.3.tar.gz
# Locally calculated
sha256 102900208eef27b766380135906d431dba87edaa7ec6aa72e6ebd3dd67f3a97b LICENSE

View file

@ -4,11 +4,12 @@
#
################################################################################
LIBSECCOMP_VERSION = 2.4.4
LIBSECCOMP_VERSION = 2.5.3
LIBSECCOMP_SITE = https://github.com/seccomp/libseccomp/releases/download/v$(LIBSECCOMP_VERSION)
LIBSECCOMP_LICENSE = LGPL-2.1
LIBSECCOMP_LICENSE_FILES = LICENSE
LIBSECCOMP_CPE_ID_VENDOR = libseccomp_project
LIBSECCOMP_INSTALL_STAGING = YES
LIBSECCOMP_DEPENDENCIES = host-gperf
$(eval $(autotools-package))