stunnel: update to 5.43. (#8927)

This commit is contained in:
maxice8 2017-11-06 09:06:14 -02:00 committed by Juan RP
parent 8051933359
commit ebcb14aa64
2 changed files with 13 additions and 2 deletions

View File

@ -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

View File

@ -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 <Vaelatern@gmail.com>"
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