mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
stunnel: update to 5.18.
This commit is contained in:
parent
9e9ea6facc
commit
f443bd729f
2 changed files with 24 additions and 3 deletions
|
@ -45,3 +45,23 @@
|
||||||
NOEXPORT int cert_check_subject(CLI *c, X509_STORE_CTX *callback_ctx) {
|
NOEXPORT int cert_check_subject(CLI *c, X509_STORE_CTX *callback_ctx) {
|
||||||
X509 *cert=X509_STORE_CTX_get_current_cert(callback_ctx);
|
X509 *cert=X509_STORE_CTX_get_current_cert(callback_ctx);
|
||||||
NAME_LIST *ptr;
|
NAME_LIST *ptr;
|
||||||
|
--- src/options.c.orig
|
||||||
|
+++ src/options.c
|
||||||
|
@@ -2450,7 +2450,7 @@
|
||||||
|
/* sslVersion */
|
||||||
|
switch(cmd) {
|
||||||
|
case CMD_BEGIN:
|
||||||
|
-#if OPENSSL_VERSION_NUMBER>=0x10100000L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER>=0x10100000L && OPENSSL_VERSION_NUMBER<0x20000000L
|
||||||
|
section->client_method=(SSL_METHOD *)TLS_client_method();
|
||||||
|
section->server_method=(SSL_METHOD *)TLS_server_method();
|
||||||
|
#else
|
||||||
|
@@ -2462,7 +2462,7 @@
|
||||||
|
if(strcasecmp(opt, "sslVersion"))
|
||||||
|
break;
|
||||||
|
if(!strcasecmp(arg, "all")) {
|
||||||
|
-#if OPENSSL_VERSION_NUMBER>=0x10100000L
|
||||||
|
+#if OPENSSL_VERSION_NUMBER>=0x10100000L && OPENSSL_VERSION_NUMBER<0x20000000L
|
||||||
|
section->client_method=(SSL_METHOD *)TLS_client_method();
|
||||||
|
section->server_method=(SSL_METHOD *)TLS_server_method();
|
||||||
|
#else
|
||||||
|
|
|
@ -1,17 +1,18 @@
|
||||||
# Template file for 'stunnel'
|
# Template file for 'stunnel'
|
||||||
pkgname=stunnel
|
pkgname=stunnel
|
||||||
version=5.17
|
version=5.18
|
||||||
revision=2
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
build_pie=yes
|
build_pie=yes
|
||||||
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr"
|
configure_args="--enable-ipv6 --with-ssl=${XBPS_CROSS_BASE}/usr"
|
||||||
|
hostmakedepends="perl"
|
||||||
makedepends="libressl-devel"
|
makedepends="libressl-devel"
|
||||||
short_desc="SSL encryption wrapper"
|
short_desc="SSL encryption wrapper"
|
||||||
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://www.stunnel.org/"
|
homepage="https://www.stunnel.org/"
|
||||||
distfiles="https://www.stunnel.org/downloads/$pkgname-$version.tar.gz"
|
distfiles="https://www.stunnel.org/downloads/$pkgname-$version.tar.gz"
|
||||||
checksum=c3e79e582621a0827125e35e1c00450190104fc02dc3c5274cb02b05859fd472
|
checksum=0532c0a2f8de3da1ab625e384146501ce5936fac63d01561c3a9bf652b692317
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8
|
rm ${DESTDIR}/usr/share/man/man8/stunnel.??.8
|
||||||
|
|
Loading…
Add table
Reference in a new issue