Re: [ptxdist] [PATCH 8/8] stunnel: version bump 5.46 -> 5.65

2022-08-30 Thread Juergen Borleis
Am Dienstag, dem 30.08.2022 um 14:54 +0200 schrieb Juergen Borleis:
> The 5.46 crashes with a double free(), seems fixed in 5.65.
> 
> […]


Bad patch. Will sent a V2.

jb

-- 
Pengutronix e.K.   | Juergen Borleis |
Steuerwalder Str. 21   | https://www.pengutronix.de/ |
31137 Hildesheim, Germany  | Phone: +49-5121-206917-128  |
Amtsgericht Hildesheim, HRA 2686   | Fax:   +49-5121-206917-9|





[ptxdist] [PATCH 8/8] stunnel: version bump 5.46 -> 5.65

2022-08-30 Thread Juergen Borleis
The 5.46 crashes with a double free(), seems fixed in 5.65.

Signed-off-by: Juergen Borleis 
---
 rules/stunnel.make | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/rules/stunnel.make b/rules/stunnel.make
index eabe229..9a90a20 100644
--- a/rules/stunnel.make
+++ b/rules/stunnel.make
@@ -14,8 +14,8 @@ PACKAGES-$(PTXCONF_STUNNEL) += stunnel
 #
 # Paths and names
 #
-STUNNEL_VERSION:= 5.46
-STUNNEL_MD5:= 2836e0740d4a16fa489445d969ec0b7d
+STUNNEL_VERSION:= 5.65
+STUNNEL_MD5:= b05d5e07a59eb6c3c0b7d26d1281e5c6
 STUNNEL:= stunnel-$(STUNNEL_VERSION)
 STUNNEL_SUFFIX := tar.gz
 STUNNEL_URL:= \
@@ -58,6 +58,13 @@ $(STATEDIR)/stunnel.targetinstall:
 
@$(call install_copy, stunnel, 0, 0, 0755, -, /usr/bin/stunnel)
 
+   # Custom specific adaption
+   @$(call install_copy, stunnel, 0, 0, 0755, /etc/stunnel)
+   @$(call install_alternative, stunnel, 0, 0, 0644, 
/etc/stunnel/stunnel.conf)
+   @$(call install_copy, stunnel, 0, 0, 0600, \
+   
$(ARM9BOARD_COMMON_SRC)/CertificationAuthority/Exported_Certs/benning_adapter_x509_cert_https_without_password.pem,
 \
+   /etc/stunnel/cert.pem)
+
@$(call install_finish, stunnel)
 
@$(call touch)
-- 
2.30.2