Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 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=d8a2866ad5ebf3a2d2ce27279472875a" |
| 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 | |
Patrick Williams | 7784c42 | 2022-11-17 07:29:11 -0600 | [diff] [blame] | 14 | SRC_URI[sha256sum] = "3086939ee6407516c59b0ba3fbf555338f9d52f459bcab6337c0f00e91ea8456" |
Andrew Geissler | 9aee500 | 2022-03-30 16:27:02 +0000 | [diff] [blame] | 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" |