diff options
-rw-r--r-- | meta-networking/recipes-support/stunnel/stunnel_5.35.bb | 26 | ||||
-rw-r--r-- | meta-networking/recipes-support/stunnel/stunnel_5.49.bb | 37 |
2 files changed, 37 insertions, 26 deletions
diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.35.bb b/meta-networking/recipes-support/stunnel/stunnel_5.35.bb deleted file mode 100644 index 427c8dd7b1..0000000000 --- a/meta-networking/recipes-support/stunnel/stunnel_5.35.bb +++ /dev/null | |||
@@ -1,26 +0,0 @@ | |||
1 | SUMMARY = "Program for providing universal TLS/SSL tunneling service" | ||
2 | HOMEPAGE = "http://www.stunnel.org/" | ||
3 | DESCRIPTION = "SSL encryption wrapper between remote client and local (inetd-startable) or remote server." | ||
4 | SECTION = "net" | ||
5 | LICENSE = "GPLv2" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=866cdc7459d91e092b174388fab8d283" | ||
7 | DEPENDS = "openssl zlib tcp-wrappers" | ||
8 | |||
9 | RDEPENDS_${PN} += "perl" | ||
10 | |||
11 | SRC_URI = "ftp://ftp.stunnel.org/stunnel/archive/5.x/${BP}.tar.gz \ | ||
12 | file://fix-openssl-no-des.patch \ | ||
13 | " | ||
14 | |||
15 | SRC_URI[md5sum] = "9079f5fafbccaf88b7d92b227d78249a" | ||
16 | SRC_URI[sha256sum] = "ffa386ae4c825f35f35157c285e7402a6d58779ad8c3822f74a9d355b54aba1d" | ||
17 | |||
18 | inherit autotools | ||
19 | |||
20 | EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips" | ||
21 | # When cross compiling, configure defaults to nobody, but provides no option to change it. | ||
22 | EXTRA_OEMAKE += "DEFAULT_GROUP='nogroup'" | ||
23 | |||
24 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)}" | ||
25 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
26 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
diff --git a/meta-networking/recipes-support/stunnel/stunnel_5.49.bb b/meta-networking/recipes-support/stunnel/stunnel_5.49.bb new file mode 100644 index 0000000000..eca77cf849 --- /dev/null +++ b/meta-networking/recipes-support/stunnel/stunnel_5.49.bb | |||
@@ -0,0 +1,37 @@ | |||
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" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=f6b7fe7379c9c2d7db6c80f7bd41e06d" | ||
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 | |||
17 | SRC_URI[md5sum] = "0b41240e5585ec7d55ca343feed5530f" | ||
18 | SRC_URI[sha256sum] = "3d6641213a82175c19f23fde1c3d1c841738385289eb7ca1554f4a58b96d955e" | ||
19 | |||
20 | inherit autotools | ||
21 | |||
22 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd', d)} libwrap" | ||
23 | |||
24 | PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," | ||
25 | PACKAGECONFIG[libwrap] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" | ||
26 | PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd" | ||
27 | |||
28 | EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips" | ||
29 | |||
30 | # When cross compiling, configure defaults to nobody, but provides no option to change it. | ||
31 | EXTRA_OEMAKE += "DEFAULT_GROUP='nogroup'" | ||
32 | |||
33 | # stunnel3 is a Perl wrapper to allow use of the legacy stunnel 3.x commandline | ||
34 | # syntax with stunnel >= 4.05 | ||
35 | PACKAGES =+ "stunnel3" | ||
36 | FILES_stunnel3 = "${bindir}/stunnel3" | ||
37 | RDEPENDS_stunnel3 += "${PN} perl" | ||