diff options
Diffstat (limited to 'meta-networking/recipes-support/stunnel/stunnel_5.75.bb')
-rw-r--r-- | meta-networking/recipes-support/stunnel/stunnel_5.75.bb | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.75.bb b/meta-networking/recipes-support/stunnel/stunnel_5.75.bb new file mode 100644 index 0000000000..e13872abcd --- /dev/null +++ b/meta-networking/recipes-support/stunnel/stunnel_5.75.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | SUMMARY = "Program for providing universal TLS/SSL tunneling service" | ||
2 | DESCRIPTION = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server." | ||
3 | HOMEPAGE = "https://www.stunnel.org/" | ||
4 | SECTION = "net" | ||
5 | LICENSE = "GPL-2.0-or-later" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING.md;md5=1e4388407e163ad0cde171362f9a7b94" | ||
7 | |||
8 | DEPENDS = "autoconf-archive libnsl2 openssl" | ||
9 | |||
10 | SRC_URI = "https://stunnel.org/archive/5.x/${BP}.tar.gz \ | ||
11 | file://fix-openssl-no-des.patch \ | ||
12 | " | ||
13 | |||
14 | SRC_URI[sha256sum] = "0c1ef0ed85240974dccb94fe74fb92d6383474c7c0d10e8796d1f781a3ba5683" | ||
15 | |||
16 | inherit autotools bash-completion pkgconfig | ||
17 | |||
18 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} libwrap" | ||
19 | |||
20 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
21 | PACKAGECONFIG[libwrap] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" | ||
22 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
23 | |||
24 | EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips" | ||
25 | |||
26 | # When cross compiling, configure defaults to nobody, but provides no option to change it. | ||
27 | EXTRA_OEMAKE += "DEFAULT_GROUP='nogroup'" | ||
28 | |||
29 | # stunnel3 is a Perl wrapper to allow use of the legacy stunnel 3.x commandline | ||
30 | # syntax with stunnel >= 4.05 | ||
31 | PACKAGES =+ "stunnel3" | ||
32 | FILES:stunnel3 = "${bindir}/stunnel3" | ||
33 | RDEPENDS:stunnel3 += "${PN} perl" | ||