All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/openswan: allow uClibc build
@ 2022-06-09  8:41 Waldemar Brodkorb
  2022-06-09 20:34 ` Thomas Petazzoni via buildroot
  2022-08-03 17:19 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Waldemar Brodkorb @ 2022-06-09  8:41 UTC (permalink / raw)
  To: buildroot

uClibc-ng 1.0.41 added ns_t_tkey

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
---
 package/openswan/Config.in | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/package/openswan/Config.in b/package/openswan/Config.in
index c71d064daf..724654e984 100644
--- a/package/openswan/Config.in
+++ b/package/openswan/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_OPENSWAN
 	bool "openswan"
 	depends on BR2_USE_MMU # iproute2
 	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 # iproute2
-	depends on !BR2_TOOLCHAIN_USES_UCLIBC # ns_t_tkey
 	select BR2_PACKAGE_GMP
 	select BR2_PACKAGE_IPROUTE2
 	help
@@ -10,7 +9,6 @@ config BR2_PACKAGE_OPENSWAN
 
 	  http://www.openswan.org
 
-comment "openswan needs a glibc or musl toolchain w/ headers >= 3.4"
+comment "openswan needs a toolchain w/ headers >= 3.4"
 	depends on BR2_USE_MMU
-	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4 || \
-		BR2_TOOLCHAIN_USES_UCLIBC
+	depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_4
-- 
2.30.2

_______________________________________________
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] package/openswan: allow uClibc build
  2022-06-09  8:41 [Buildroot] [PATCH] package/openswan: allow uClibc build Waldemar Brodkorb
@ 2022-06-09 20:34 ` Thomas Petazzoni via buildroot
  2022-08-03 17:19 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-06-09 20:34 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

On Thu, 9 Jun 2022 10:41:19 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> uClibc-ng 1.0.41 added ns_t_tkey
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  package/openswan/Config.in | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

Thanks a lot for this patch! As usual, we will need to hold off a
little bit on this one, until Bootlin external toolchains get rebuilt
with uClibc-ng 1.0.41, otherwise we will get tons of build failures in
our autobuilders.

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

* Re: [Buildroot] [PATCH] package/openswan: allow uClibc build
  2022-06-09  8:41 [Buildroot] [PATCH] package/openswan: allow uClibc build Waldemar Brodkorb
  2022-06-09 20:34 ` Thomas Petazzoni via buildroot
@ 2022-08-03 17:19 ` Thomas Petazzoni via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Petazzoni via buildroot @ 2022-08-03 17:19 UTC (permalink / raw)
  To: Waldemar Brodkorb; +Cc: buildroot

On Thu, 9 Jun 2022 10:41:19 +0200
Waldemar Brodkorb <wbx@openadk.org> wrote:

> uClibc-ng 1.0.41 added ns_t_tkey
> 
> Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
> ---
>  package/openswan/Config.in | 6 ++----
>  1 file changed, 2 insertions(+), 4 deletions(-)

Since it was annoying to wait for uClibc-ng 1.0.41 to be deployed in
all toolchains, I have applied your change + a work-around patch on the
Openswan source code that removes the need for ns_t_tkey, by using
directly an hardcoded value. Not nice, but it works and we can drop
this workaround in the future.

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:[~2022-08-03 17:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-09  8:41 [Buildroot] [PATCH] package/openswan: allow uClibc build Waldemar Brodkorb
2022-06-09 20:34 ` Thomas Petazzoni via buildroot
2022-08-03 17:19 ` Thomas Petazzoni via buildroot

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.