Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [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 | # Note: Linking stunnel statically or dynamically with other modules is making |
| 6 | # a combined work based on stunnel. Thus, the terms and conditions of the GNU |
| 7 | # General Public License cover the whole combination. |
| 8 | LICENSE = "GPLv2" |
Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 9 | LIC_FILES_CHKSUM = "file://COPYING.md;md5=223b26c62f5e7c5c8656d6c133edd5ec" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 10 | |
| 11 | DEPENDS = "autoconf-archive libnsl2 openssl" |
| 12 | |
| 13 | SRC_URI = "ftp://ftp.stunnel.org/stunnel/archive/5.x/${BP}.tar.gz \ |
| 14 | file://fix-openssl-no-des.patch \ |
| 15 | " |
| 16 | |
Andrew Geissler | e34f896 | 2021-04-15 15:53:51 -0500 | [diff] [blame] | 17 | SRC_URI[sha256sum] = "137776df6be8f1701f1cd590b7779932e123479fb91e5192171c16798815ce9f" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 18 | |
| 19 | inherit autotools |
| 20 | |
| 21 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} libwrap" |
| 22 | |
| 23 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," |
| 24 | PACKAGECONFIG[libwrap] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" |
| 25 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" |
| 26 | |
| 27 | EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips" |
| 28 | |
| 29 | # When cross compiling, configure defaults to nobody, but provides no option to change it. |
| 30 | EXTRA_OEMAKE += "DEFAULT_GROUP='nogroup'" |
| 31 | |
| 32 | # stunnel3 is a Perl wrapper to allow use of the legacy stunnel 3.x commandline |
| 33 | # syntax with stunnel >= 4.05 |
| 34 | PACKAGES =+ "stunnel3" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 35 | FILES:stunnel3 = "${bindir}/stunnel3" |
| 36 | RDEPENDS:stunnel3 += "${PN} perl" |