diff --git a/srcpkgs/stunnel/patches/stunnel-5.43.patch b/srcpkgs/stunnel/patches/stunnel-5.43.patch new file mode 100644 index 00000000000..1f9ba7c1c17 --- /dev/null +++ b/srcpkgs/stunnel/patches/stunnel-5.43.patch @@ -0,0 +1,11 @@ +--- src/options.c ++++ src/options.c +@@ -3656,7 +3656,7 @@ NOEXPORT char *engine_init(void) { + } + #endif + /* engines can add new algorithms */ +-#if OPENSSL_VERSION_NUMBER>=0x10100000L ++#if OPENSSL_VERSION_NUMBER>=0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) + OPENSSL_init_crypto(OPENSSL_INIT_ADD_ALL_CIPHERS| + OPENSSL_INIT_ADD_ALL_DIGESTS, NULL); + #else diff --git a/srcpkgs/stunnel/template b/srcpkgs/stunnel/template index 658fa145ca8..55a2fa6d01d 100644 --- a/srcpkgs/stunnel/template +++ b/srcpkgs/stunnel/template @@ -1,6 +1,6 @@ # Template file for 'stunnel' pkgname=stunnel -version=5.42 +version=5.43 revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr" @@ -11,7 +11,7 @@ maintainer="Toyam Cox " license="GPL-2" homepage="https://www.stunnel.org/" distfiles="https://www.stunnel.org/downloads/archive/5.x/${pkgname}-${version}.tar.gz" -checksum=1b6a7aea5ca223990bc8bd621fb0846baa4278e1b3e00ff6eee279cb8e540fab +checksum=05915babf705a0494886a72a7367913d403d07fc908ebb7b380d639e2d8bcee2 post_install() { rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8