Browse Source

package/libseccomp: bump to version 2.5.3

- host-gperf is a mandatory dependency since version 2.5.0 and
  https://github.com/seccomp/libseccomp/commit/9b129c41ac1f43d373742697aa2faf6040b9dfab
- RISC-V 64 bits is supported since version 2.5.0 and
  https://github.com/seccomp/libseccomp/commit/5432e15521d5ce5a7d3f26bf78674cbaa9d73d1f
- Add a dependency on kernel >= 3.17 because __NR_seccomp is
  unconditionally used since version 2.5.0 and
  https://github.com/seccomp/libseccomp/commit/dead12bc788b259b148cc4d93b970ef0bd602b1a
  and __NR_seccomp is only available since
  https://github.com/torvalds/linux/commit/48dc92b9fc3926844257316e75ba11eb5c742b2c

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>
Fabrice Fontaine 3 years ago
parent
commit
0e2c958e05

+ 4 - 3
package/libseccomp/Config.in

@@ -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

+ 2 - 2
package/libseccomp/libseccomp.hash

@@ -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

+ 2 - 1
package/libseccomp/libseccomp.mk

@@ -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))