[2/2] strongswan: Build sha3 plugin

Message ID 20200331094904.13408-2-michael.tremer@ipfire.org
State Accepted
Commit 2ff56df4e045f5ebca0bc3142ce60410bc51cb30
Headers
Series [1/2] strongswan: Update to 5.8.4 |

Commit Message

Michael Tremer March 31, 2020, 9:49 a.m. UTC
  Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/rootfiles/common/strongswan | 3 +++
 lfs/strongswan                     | 1 +
 2 files changed, 4 insertions(+)
  

Comments

Peter Müller March 31, 2020, 10:21 a.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>  config/rootfiles/common/strongswan | 3 +++
>  lfs/strongswan                     | 1 +
>  2 files changed, 4 insertions(+)
> 
> diff --git a/config/rootfiles/common/strongswan b/config/rootfiles/common/strongswan
> index d337ef506..ff363f08c 100644
> --- a/config/rootfiles/common/strongswan
> +++ b/config/rootfiles/common/strongswan
> @@ -57,6 +57,7 @@ etc/strongswan.d/charon/resolve.conf
>  etc/strongswan.d/charon/revocation.conf
>  etc/strongswan.d/charon/sha1.conf
>  etc/strongswan.d/charon/sha2.conf
> +etc/strongswan.d/charon/sha3.conf
>  etc/strongswan.d/charon/socket-default.conf
>  etc/strongswan.d/charon/sshkey.conf
>  etc/strongswan.d/charon/stroke.conf
> @@ -153,6 +154,7 @@ usr/lib/ipsec/plugins/libstrongswan-resolve.so
>  usr/lib/ipsec/plugins/libstrongswan-revocation.so
>  usr/lib/ipsec/plugins/libstrongswan-sha1.so
>  usr/lib/ipsec/plugins/libstrongswan-sha2.so
> +usr/lib/ipsec/plugins/libstrongswan-sha3.so
>  usr/lib/ipsec/plugins/libstrongswan-socket-default.so
>  usr/lib/ipsec/plugins/libstrongswan-sshkey.so
>  usr/lib/ipsec/plugins/libstrongswan-stroke.so
> @@ -240,6 +242,7 @@ usr/sbin/swanctl
>  #usr/share/strongswan/templates/config/plugins/revocation.conf
>  #usr/share/strongswan/templates/config/plugins/sha1.conf
>  #usr/share/strongswan/templates/config/plugins/sha2.conf
> +#usr/share/strongswan/templates/config/plugins/sha3.conf
>  #usr/share/strongswan/templates/config/plugins/socket-default.conf
>  #usr/share/strongswan/templates/config/plugins/sshkey.conf
>  #usr/share/strongswan/templates/config/plugins/stroke.conf
> diff --git a/lfs/strongswan b/lfs/strongswan
> index f47084b41..3be90db9a 100644
> --- a/lfs/strongswan
> +++ b/lfs/strongswan
> @@ -95,6 +95,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
>  		--enable-eap-mschapv2 \
>  		--enable-eap-identity \
>  		--enable-chapoly \
> +		--enable-sha3 \
>  		--disable-padlock \
>  		--disable-rc2 \
>  		$(CONFIGURE_OPTIONS)
>
  

Patch

diff --git a/config/rootfiles/common/strongswan b/config/rootfiles/common/strongswan
index d337ef506..ff363f08c 100644
--- a/config/rootfiles/common/strongswan
+++ b/config/rootfiles/common/strongswan
@@ -57,6 +57,7 @@  etc/strongswan.d/charon/resolve.conf
 etc/strongswan.d/charon/revocation.conf
 etc/strongswan.d/charon/sha1.conf
 etc/strongswan.d/charon/sha2.conf
+etc/strongswan.d/charon/sha3.conf
 etc/strongswan.d/charon/socket-default.conf
 etc/strongswan.d/charon/sshkey.conf
 etc/strongswan.d/charon/stroke.conf
@@ -153,6 +154,7 @@  usr/lib/ipsec/plugins/libstrongswan-resolve.so
 usr/lib/ipsec/plugins/libstrongswan-revocation.so
 usr/lib/ipsec/plugins/libstrongswan-sha1.so
 usr/lib/ipsec/plugins/libstrongswan-sha2.so
+usr/lib/ipsec/plugins/libstrongswan-sha3.so
 usr/lib/ipsec/plugins/libstrongswan-socket-default.so
 usr/lib/ipsec/plugins/libstrongswan-sshkey.so
 usr/lib/ipsec/plugins/libstrongswan-stroke.so
@@ -240,6 +242,7 @@  usr/sbin/swanctl
 #usr/share/strongswan/templates/config/plugins/revocation.conf
 #usr/share/strongswan/templates/config/plugins/sha1.conf
 #usr/share/strongswan/templates/config/plugins/sha2.conf
+#usr/share/strongswan/templates/config/plugins/sha3.conf
 #usr/share/strongswan/templates/config/plugins/socket-default.conf
 #usr/share/strongswan/templates/config/plugins/sshkey.conf
 #usr/share/strongswan/templates/config/plugins/stroke.conf
diff --git a/lfs/strongswan b/lfs/strongswan
index f47084b41..3be90db9a 100644
--- a/lfs/strongswan
+++ b/lfs/strongswan
@@ -95,6 +95,7 @@  $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 		--enable-eap-mschapv2 \
 		--enable-eap-identity \
 		--enable-chapoly \
+		--enable-sha3 \
 		--disable-padlock \
 		--disable-rc2 \
 		$(CONFIGURE_OPTIONS)