All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/strongswan: add option to enable systime-fix
@ 2021-09-27  9:09 Martin Elshuber
  2021-09-27 14:37 ` Arnout Vandecappelle
  2021-09-28 11:21 ` [Buildroot] [External] " Weber, Matthew L Collins via buildroot
  0 siblings, 2 replies; 3+ messages in thread
From: Martin Elshuber @ 2021-09-27  9:09 UTC (permalink / raw)
  To: buildroot; +Cc: Jérôme Pouiller, Martin Elshuber

When building embedded systems, which buildroot targets, the system
often does not know the current time. However, when verifying X509
certificates this is often required.

The system-fix plugin is a handy tool to configure the behavior when
the current time is unknown.

Signed-off-by: Martin Elshuber <martin.elshuber@theobroma-systems.com>
---
 package/strongswan/Config.in     | 3 +++
 package/strongswan/strongswan.mk | 1 +
 2 files changed, 4 insertions(+)

diff --git a/package/strongswan/Config.in b/package/strongswan/Config.in
index 368cd1ecc0..5b601598f5 100644
--- a/package/strongswan/Config.in
+++ b/package/strongswan/Config.in
@@ -73,6 +73,9 @@ config BR2_PACKAGE_STRONGSWAN_TNCCS_20
 config BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC
 	bool "Enable dynamic TNCCS protocol discovery module"
 
+config BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX
+	bool "Enable systime-fix plugin"
+
 config BR2_PACKAGE_STRONGSWAN_EAP
 	bool "Enable EAP protocols"
 	select BR2_PACKAGE_GMP
diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk
index 322abfbd7b..6c1f411ab5 100644
--- a/package/strongswan/strongswan.mk
+++ b/package/strongswan/strongswan.mk
@@ -37,6 +37,7 @@ STRONGSWAN_CONF_OPTS += \
 	--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
 	--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
 	--enable-wolfssl=$(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),yes,no) \
+	--enable-systime-fix=$(if $(BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX),yes,no) \
 	--with-ipseclibdir=/usr/lib \
 	--with-plugindir=/usr/lib/ipsec/plugins \
 	--with-imcvdir=/usr/lib/ipsec/imcvs \
-- 
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 1/1] package/strongswan: add option to enable systime-fix
  2021-09-27  9:09 [Buildroot] [PATCH 1/1] package/strongswan: add option to enable systime-fix Martin Elshuber
@ 2021-09-27 14:37 ` Arnout Vandecappelle
  2021-09-28 11:21 ` [Buildroot] [External] " Weber, Matthew L Collins via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Arnout Vandecappelle @ 2021-09-27 14:37 UTC (permalink / raw)
  To: Martin Elshuber, buildroot; +Cc: Jérôme Pouiller



On 27/09/2021 11:09, Martin Elshuber wrote:
> When building embedded systems, which buildroot targets, the system
> often does not know the current time. However, when verifying X509
> certificates this is often required.
> 
> The system-fix plugin is a handy tool to configure the behavior when
> the current time is unknown.
> 
> Signed-off-by: Martin Elshuber <martin.elshuber@theobroma-systems.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/strongswan/Config.in     | 3 +++
>   package/strongswan/strongswan.mk | 1 +
>   2 files changed, 4 insertions(+)
> 
> diff --git a/package/strongswan/Config.in b/package/strongswan/Config.in
> index 368cd1ecc0..5b601598f5 100644
> --- a/package/strongswan/Config.in
> +++ b/package/strongswan/Config.in
> @@ -73,6 +73,9 @@ config BR2_PACKAGE_STRONGSWAN_TNCCS_20
>   config BR2_PACKAGE_STRONGSWAN_TNCCS_DYNAMIC
>   	bool "Enable dynamic TNCCS protocol discovery module"
>   
> +config BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX
> +	bool "Enable systime-fix plugin"
> +
>   config BR2_PACKAGE_STRONGSWAN_EAP
>   	bool "Enable EAP protocols"
>   	select BR2_PACKAGE_GMP
> diff --git a/package/strongswan/strongswan.mk b/package/strongswan/strongswan.mk
> index 322abfbd7b..6c1f411ab5 100644
> --- a/package/strongswan/strongswan.mk
> +++ b/package/strongswan/strongswan.mk
> @@ -37,6 +37,7 @@ STRONGSWAN_CONF_OPTS += \
>   	--enable-vici=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
>   	--enable-swanctl=$(if $(BR2_PACKAGE_STRONGSWAN_VICI),yes,no) \
>   	--enable-wolfssl=$(if $(BR2_PACKAGE_STRONGSWAN_WOLFSSL),yes,no) \
> +	--enable-systime-fix=$(if $(BR2_PACKAGE_STRONGSWAN_SYSTIME_FIX),yes,no) \
>   	--with-ipseclibdir=/usr/lib \
>   	--with-plugindir=/usr/lib/ipsec/plugins \
>   	--with-imcvdir=/usr/lib/ipsec/imcvs \
> 
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [External] [PATCH 1/1] package/strongswan: add option to enable systime-fix
  2021-09-27  9:09 [Buildroot] [PATCH 1/1] package/strongswan: add option to enable systime-fix Martin Elshuber
  2021-09-27 14:37 ` Arnout Vandecappelle
@ 2021-09-28 11:21 ` Weber, Matthew L Collins via buildroot
  1 sibling, 0 replies; 3+ messages in thread
From: Weber, Matthew L Collins via buildroot @ 2021-09-28 11:21 UTC (permalink / raw)
  To: Martin Elshuber, buildroot; +Cc: Jérôme Pouiller

Martin,

> From: buildroot <buildroot-bounces@buildroot.org> on behalf of Martin Elshuber <martin.elshuber@theobroma-systems.com>
> Sent: Monday, September 27, 2021 4:09 AM
> To: buildroot@buildroot.org <buildroot@buildroot.org>
> Cc: Jérôme Pouiller <jezz@sysmic.org>; Martin Elshuber <martin.elshuber@theobroma-systems.com>
> Subject: [External] [Buildroot] [PATCH 1/1] package/strongswan: add option to enable systime-fix 
> 
> When building embedded systems, which buildroot targets, the system
> often does not know the current time. However, when verifying X509
> certificates this is often required.

https://wiki.strongswan.org/projects/strongswan/wiki/SystimeFixPlugin

Reviewed-by: Matthew Weber <matthew.weber@rockwellcollins.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-09-28 11:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-27  9:09 [Buildroot] [PATCH 1/1] package/strongswan: add option to enable systime-fix Martin Elshuber
2021-09-27 14:37 ` Arnout Vandecappelle
2021-09-28 11:21 ` [Buildroot] [External] " Weber, Matthew L Collins 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.