[meta-networking] stunnel: Update to 5.63

Message ID 20220326181305.3013155-1-robert.joslyn@redrectangle.org
State Under Review
Headers show
Series [meta-networking] stunnel: Update to 5.63 | expand

Commit Message

Robert Joslyn March 26, 2022, 6:13 p.m. UTC
License checksum changed due to copyright year update. The license is
GPLv2+ with an OpenSSL exception.

Switch fetch from ftp to https. This works better with proxies that
frequently block traffic like ftp.

stunnel added bash completion support in version 5.62, use the class to
package the files properly.

Signed-off-by: Robert Joslyn <robert.joslyn@redrectangle.org>
---
 .../stunnel/{stunnel_5.59.bb => stunnel_5.63.bb}    | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)
 rename meta-networking/recipes-support/stunnel/{stunnel_5.59.bb => stunnel_5.63.bb} (67%)

Patch

diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.59.bb b/meta-networking/recipes-support/stunnel/stunnel_5.63.bb
similarity index 67%
rename from meta-networking/recipes-support/stunnel/stunnel_5.59.bb
rename to meta-networking/recipes-support/stunnel/stunnel_5.63.bb
index 9e0169a7e..325737e8c 100644
--- a/meta-networking/recipes-support/stunnel/stunnel_5.59.bb
+++ b/meta-networking/recipes-support/stunnel/stunnel_5.63.bb
@@ -2,21 +2,18 @@  SUMMARY = "Program for providing universal TLS/SSL tunneling service"
 DESCRIPTION = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server."
 HOMEPAGE = "https://www.stunnel.org/"
 SECTION = "net"
-# Note: Linking stunnel statically or dynamically with other modules is making
-# a combined work based on stunnel. Thus, the terms and conditions of the GNU
-# General Public License cover the whole combination.
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING.md;md5=223b26c62f5e7c5c8656d6c133edd5ec"
+LICENSE = "GPL-2.0-or-later"
+LIC_FILES_CHKSUM = "file://COPYING.md;md5=d8a2866ad5ebf3a2d2ce27279472875a"
 
 DEPENDS = "autoconf-archive libnsl2 openssl"
 
-SRC_URI = "ftp://ftp.stunnel.org/stunnel/archive/5.x/${BP}.tar.gz \
+SRC_URI = "https://stunnel.org/archive/5.x/${BP}.tar.gz \
            file://fix-openssl-no-des.patch \
 "
 
-SRC_URI[sha256sum] = "137776df6be8f1701f1cd590b7779932e123479fb91e5192171c16798815ce9f"
+SRC_URI[sha256sum] = "c74c4e15144a3ae34b8b890bb31c909207301490bd1e51bfaaa5ffeb0a994617"
 
-inherit autotools
+inherit autotools bash-completion pkgconfig
 
 PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} libwrap"