mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
openvpn: update to 2.4.5
This commit is contained in:
parent
d9735126b1
commit
b7bae14022
2 changed files with 23 additions and 3 deletions
20
srcpkgs/openvpn/patches/patch-libressl.patch
Normal file
20
srcpkgs/openvpn/patches/patch-libressl.patch
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
--- src/openvpn/openssl_compat.h.ori 2018-03-14 08:26:21.457718254 +0100
|
||||||
|
+++ src/openvpn/openssl_compat.h 2018-03-14 08:27:09.869715997 +0100
|
||||||
|
@@ -711,7 +711,7 @@
|
||||||
|
}
|
||||||
|
#endif /* SSL_CTX_get_max_proto_version */
|
||||||
|
|
||||||
|
-#ifndef SSL_CTX_set_min_proto_version
|
||||||
|
+#if !defined(SSL_CTX_set_min_proto_version) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
/** Mimics SSL_CTX_set_min_proto_version for OpenSSL < 1.1 */
|
||||||
|
static inline int
|
||||||
|
SSL_CTX_set_min_proto_version(SSL_CTX *ctx, long tls_ver_min)
|
||||||
|
@@ -740,7 +740,7 @@
|
||||||
|
}
|
||||||
|
#endif /* SSL_CTX_set_min_proto_version */
|
||||||
|
|
||||||
|
-#ifndef SSL_CTX_set_max_proto_version
|
||||||
|
+#if !defined(SSL_CTX_set_max_proto_version) && !defined(LIBRESSL_VERSION_NUMBER)
|
||||||
|
/** Mimics SSL_CTX_set_max_proto_version for OpenSSL < 1.1 */
|
||||||
|
static inline int
|
||||||
|
SSL_CTX_set_max_proto_version(SSL_CTX *ctx, long tls_ver_max)
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'openvpn'
|
# Template file for 'openvpn'
|
||||||
pkgname=openvpn
|
pkgname=openvpn
|
||||||
version=2.4.4
|
version=2.4.5
|
||||||
revision=3
|
revision=1
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-pkcs11 --enable-iproute2 --disable-systemd"
|
configure_args="--enable-pkcs11 --enable-iproute2 --disable-systemd"
|
||||||
hostmakedepends="iproute2 pkg-config"
|
hostmakedepends="iproute2 pkg-config"
|
||||||
|
@ -12,7 +12,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="https://www.openvpn.net"
|
homepage="https://www.openvpn.net"
|
||||||
distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
|
distfiles="http://build.openvpn.net/downloads/releases/${pkgname}-${version}.tar.xz"
|
||||||
checksum=96cd1b8fe1e8cb2920f07c3fd3985faea756e16fdeebd11d3e146d5bd2b04a80
|
checksum=43c0a363a332350f620d1cd93bb431e082bedbc93d4fb872f758650d53c1d29e
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vmkdir usr/share/examples/${pkgname}
|
vmkdir usr/share/examples/${pkgname}
|
||||||
|
|
Loading…
Add table
Reference in a new issue