All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support
@ 2021-12-26 16:20 Fabrice Fontaine
  2021-12-26 16:20 ` [Buildroot] [PATCH 2/2] package/libseccomp: bump to version 2.5.3 Fabrice Fontaine
  2021-12-26 22:29 ` [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support Thomas Petazzoni
  0 siblings, 2 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-12-26 16:20 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Fabrice Fontaine

s390x is supported since version 2.3.0 and
https://github.com/seccomp/libseccomp/commit/02030ce9920181bc1058990ecaefaa754de9ad3a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 package/libseccomp/Config.in | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/libseccomp/Config.in b/package/libseccomp/Config.in
index d3b4bb8192..da1d9008e6 100644
--- a/package/libseccomp/Config.in
+++ b/package/libseccomp/Config.in
@@ -5,6 +5,7 @@ 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_s390x
 
 config BR2_PACKAGE_LIBSECCOMP
 	bool "libseccomp"
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [Buildroot] [PATCH 2/2] package/libseccomp: bump to version 2.5.3
  2021-12-26 16:20 [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support Fabrice Fontaine
@ 2021-12-26 16:20 ` Fabrice Fontaine
  2021-12-26 22:29 ` [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Fabrice Fontaine @ 2021-12-26 16:20 UTC (permalink / raw)
  To: buildroot; +Cc: Yann E . MORIN, Fabrice Fontaine

- 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>
---
 package/libseccomp/Config.in       | 7 ++++---
 package/libseccomp/libseccomp.hash | 4 ++--
 package/libseccomp/libseccomp.mk   | 3 ++-
 3 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/package/libseccomp/Config.in b/package/libseccomp/Config.in
index da1d9008e6..7de91c07c5 100644
--- a/package/libseccomp/Config.in
+++ b/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
diff --git a/package/libseccomp/libseccomp.hash b/package/libseccomp/libseccomp.hash
index 2d07c1c1fa..20b8864727 100644
--- a/package/libseccomp/libseccomp.hash
+++ b/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
diff --git a/package/libseccomp/libseccomp.mk b/package/libseccomp/libseccomp.mk
index e7512730d5..ee2cb126f1 100644
--- a/package/libseccomp/libseccomp.mk
+++ b/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))
-- 
2.33.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support
  2021-12-26 16:20 [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support Fabrice Fontaine
  2021-12-26 16:20 ` [Buildroot] [PATCH 2/2] package/libseccomp: bump to version 2.5.3 Fabrice Fontaine
@ 2021-12-26 22:29 ` Thomas Petazzoni
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni @ 2021-12-26 22:29 UTC (permalink / raw)
  To: Fabrice Fontaine; +Cc: Yann E . MORIN, buildroot

On Sun, 26 Dec 2021 17:20:56 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:

> s390x is supported since version 2.3.0 and
> https://github.com/seccomp/libseccomp/commit/02030ce9920181bc1058990ecaefaa754de9ad3a
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
>  package/libseccomp/Config.in | 1 +
>  1 file changed, 1 insertion(+)

Both applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-12-26 22:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-26 16:20 [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support Fabrice Fontaine
2021-12-26 16:20 ` [Buildroot] [PATCH 2/2] package/libseccomp: bump to version 2.5.3 Fabrice Fontaine
2021-12-26 22:29 ` [Buildroot] [PATCH 1/2] package/libseccomp: add s390x support Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.