Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,66 @@
|
||||
From 7ff4eba20b5c4fc7365e5ee0dfb775ed29bdd5ce Mon Sep 17 00:00:00 2001
|
||||
From: Kai Kang <kai.kang@windriver.com>
|
||||
Date: Wed, 1 Nov 2017 09:23:41 -0400
|
||||
Subject: [PATCH] stunnel: fix compile error when openssl disable des support
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
When openssl disable des support with configure option 'no-des', it doesn't
|
||||
provide des related header file and functions. That causes stunnel compile
|
||||
failed. Fix it by checking macro OPENSSL_NO_DES to use openssl des related
|
||||
library conditionaly.
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
src/common.h | 2 ++
|
||||
src/protocol.c | 6 +++---
|
||||
2 files changed, 5 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/src/common.h b/src/common.h
|
||||
index 2b4869f..180d31a 100644
|
||||
--- a/src/common.h
|
||||
+++ b/src/common.h
|
||||
@@ -492,7 +492,9 @@ extern char *sys_errlist[];
|
||||
#ifndef OPENSSL_NO_MD4
|
||||
#include <openssl/md4.h>
|
||||
#endif /* !defined(OPENSSL_NO_MD4) */
|
||||
+#ifndef OPENSSL_NO_DES
|
||||
#include <openssl/des.h>
|
||||
+#endif
|
||||
#ifndef OPENSSL_NO_DH
|
||||
#include <openssl/dh.h>
|
||||
#if OPENSSL_VERSION_NUMBER<0x10100000L
|
||||
diff --git a/src/protocol.c b/src/protocol.c
|
||||
index cfe6d3b..3936aea 100644
|
||||
--- a/src/protocol.c
|
||||
+++ b/src/protocol.c
|
||||
@@ -81,7 +81,7 @@ NOEXPORT void ldap_client_middle(CLI *);
|
||||
|
||||
NOEXPORT void connect_server_early(CLI *);
|
||||
NOEXPORT void connect_client_middle(CLI *);
|
||||
-#ifndef OPENSSL_NO_MD4
|
||||
+#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DES)
|
||||
NOEXPORT void ntlm(CLI *);
|
||||
NOEXPORT char *ntlm1(void);
|
||||
NOEXPORT char *ntlm3(char *, char *, char *, char *);
|
||||
@@ -1331,7 +1331,7 @@ NOEXPORT void connect_client_middle(CLI *c) {
|
||||
fd_printf(c, c->remote_fd.fd, "Host: %s", c->opt->protocol_host);
|
||||
if(c->opt->protocol_username && c->opt->protocol_password) {
|
||||
if(!strcasecmp(c->opt->protocol_authentication, "ntlm")) {
|
||||
-#ifndef OPENSSL_NO_MD4
|
||||
+#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DES)
|
||||
ntlm(c);
|
||||
#else
|
||||
s_log(LOG_ERR, "NTLM authentication is not available");
|
||||
@@ -1374,7 +1374,7 @@ NOEXPORT void connect_client_middle(CLI *c) {
|
||||
str_free(line);
|
||||
}
|
||||
|
||||
-#ifndef OPENSSL_NO_MD4
|
||||
+#if !defined(OPENSSL_NO_MD4) && !defined(OPENSSL_NO_DES)
|
||||
|
||||
/*
|
||||
* NTLM code is based on the following documentation:
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
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"
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.md;md5=906ac034adaee9d093318e51b53453ca"
|
||||
|
||||
DEPENDS = "autoconf-archive libnsl2 openssl"
|
||||
|
||||
SRC_URI = "https://stunnel.org/archive/5.x/${BP}.tar.gz \
|
||||
file://fix-openssl-no-des.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "3d532941281ae353319735144e4adb9ae489a10b7e309c58a48157f08f42e949"
|
||||
|
||||
inherit autotools bash-completion pkgconfig
|
||||
|
||||
PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} libwrap"
|
||||
|
||||
PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
|
||||
PACKAGECONFIG[libwrap] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
|
||||
PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
|
||||
|
||||
EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"
|
||||
|
||||
# When cross compiling, configure defaults to nobody, but provides no option to change it.
|
||||
EXTRA_OEMAKE += "DEFAULT_GROUP='nogroup'"
|
||||
|
||||
# stunnel3 is a Perl wrapper to allow use of the legacy stunnel 3.x commandline
|
||||
# syntax with stunnel >= 4.05
|
||||
PACKAGES =+ "stunnel3"
|
||||
FILES:stunnel3 = "${bindir}/stunnel3"
|
||||
RDEPENDS:stunnel3 += "${PN} perl"
|
||||
Reference in New Issue
Block a user