openvpn: update to 2.4.8

Signed-off-by: Nathan Owens <ndowens04@gmail.com>
This commit is contained in:
Nathan Owens 2019-11-25 17:30:31 -06:00 committed by Helmut Pozimski
parent 59be9b7758
commit a8138d295d
2 changed files with 4 additions and 24 deletions

View file

@ -1,20 +0,0 @@
--- src/openvpn/ssl_openssl.c 2019-03-05 18:39:14.924080534 +0100
+++ src/openvpn/ssl_openssl.c 2019-03-05 18:49:33.737131153 +0100
@@ -459,7 +459,7 @@
return;
}
-#if (OPENSSL_VERSION_NUMBER < 0x1010100fL)
+#if (OPENSSL_VERSION_NUMBER < 0x1010100fL || defined(LIBRESSL_VERSION_NUMBER))
crypto_msg(M_WARN, "Not compiled with OpenSSL 1.1.1 or higher. "
"Ignoring TLS 1.3 only tls-ciphersuites '%s' setting.",
ciphers);
@@ -1846,7 +1846,7 @@
crypto_msg(M_FATAL, "Cannot create SSL_CTX object");
}
-#if (OPENSSL_VERSION_NUMBER >= 0x1010100fL)
+#if (OPENSSL_VERSION_NUMBER >= 0x1010100fL && !defined(LIBRESSL_VERSION_NUMBER))
if (tls13)
{
SSL_CTX_set_min_proto_version(tls_ctx.ctx, TLS1_3_VERSION);

View file

@ -1,19 +1,19 @@
# Template file for 'openvpn'
pkgname=openvpn
version=2.4.7
revision=2
version=2.4.8
revision=1
build_style=gnu-configure
configure_args="--enable-pkcs11 --enable-iproute2 --disable-systemd"
hostmakedepends="iproute2 pkg-config"
makedepends="libressl-devel lzo-devel pam-devel pkcs11-helper-devel
cmocka-devel"
depends="iproute2"
short_desc="An easy-to-use, robust, and highly configurable VPN"
short_desc="Easy-to-use, robust, and highly configurable VPN"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only"
homepage="https://www.openvpn.net"
distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
checksum=a42f53570f669eaf10af68e98d65b531015ff9e12be7a62d9269ea684652f648
checksum=fb8ca66bb7807fff595fbdf2a0afd085c02a6aa47715c9aa3171002f9f1a3f91
post_install() {
vmkdir usr/share/examples/${pkgname}