summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/stunnel/stunnel_5.75.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/stunnel/stunnel_5.75.bb')
-rw-r--r--meta-networking/recipes-support/stunnel/stunnel_5.75.bb33
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 @@
1SUMMARY = "Program for providing universal TLS/SSL tunneling service"
2DESCRIPTION = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server."
3HOMEPAGE = "https://www.stunnel.org/"
4SECTION = "net"
5LICENSE = "GPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING.md;md5=1e4388407e163ad0cde171362f9a7b94"
7
8DEPENDS = "autoconf-archive libnsl2 openssl"
9
10SRC_URI = "https://stunnel.org/archive/5.x/${BP}.tar.gz \
11 file://fix-openssl-no-des.patch \
12"
13
14SRC_URI[sha256sum] = "0c1ef0ed85240974dccb94fe74fb92d6383474c7c0d10e8796d1f781a3ba5683"
15
16inherit autotools bash-completion pkgconfig
17
18PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} libwrap"
19
20PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
21PACKAGECONFIG[libwrap] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
22PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd"
23
24EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"
25
26# When cross compiling, configure defaults to nobody, but provides no option to change it.
27EXTRA_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
31PACKAGES =+ "stunnel3"
32FILES:stunnel3 = "${bindir}/stunnel3"
33RDEPENDS:stunnel3 += "${PN} perl"