diff --git a/srcpkgs/stunnel/patches/stunnel-3.40.patch b/srcpkgs/stunnel/patches/stunnel-3.40.patch new file mode 100644 index 0000000000..f24010cac1 --- /dev/null +++ b/srcpkgs/stunnel/patches/stunnel-3.40.patch @@ -0,0 +1,11 @@ +--- src/ctx.c.orig 2017-01-19 03:51:32.000000000 -0500 ++++ src/ctx.c 2017-01-28 22:07:17.978178595 -0500 +@@ -287,7 +287,7 @@ + + #ifndef OPENSSL_NO_DH + +-#if OPENSSL_VERSION_NUMBER<0x10100000L ++#if OPENSSL_VERSION_NUMBER<0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + NOEXPORT STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx) { + return ctx->cipher_list; + } diff --git a/srcpkgs/stunnel/template b/srcpkgs/stunnel/template index dcdc6132fe..2fa04d21b8 100644 --- a/srcpkgs/stunnel/template +++ b/srcpkgs/stunnel/template @@ -1,7 +1,7 @@ # Template file for 'stunnel' pkgname=stunnel -version=5.39 -revision=2 +version=5.40 +revision=1 build_style=gnu-configure configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr" hostmakedepends="perl" @@ -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=288c087a50465390d05508068ac76c8418a21fae7275febcc63f041ec5b04dee +checksum=23acdb390326ffd507d90f8984ecc90e0d9993f6bd6eac1d0a642456565c45ff post_install() { rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8