haproxy: fix libressl-2.7

This commit is contained in:
Enno Boland 2018-04-23 13:56:00 +02:00
parent 93a29c32d0
commit 238c6a32ca
No known key found for this signature in database
GPG key ID: D09964719BDE9971
2 changed files with 16 additions and 1 deletions

View file

@ -0,0 +1,15 @@
$OpenBSD: patch-include_proto_openssl-compat_h,v 1.6 2018/03/20 21:57:55 sthen Exp $
Index: include/proto/openssl-compat.h
--- include/proto/openssl-compat.h.orig
+++ include/proto/openssl-compat.h
@@ -89,7 +89,8 @@ static inline int SSL_SESSION_set1_id_context(SSL_SESS
}
#endif
-#if (OPENSSL_VERSION_NUMBER < 0x1010000fL) || defined(LIBRESSL_VERSION_NUMBER)
+#if (OPENSSL_VERSION_NUMBER < 0x1010000fL) || \
+ (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
/*
* Functions introduced in OpenSSL 1.1.0 and not yet present in LibreSSL
*/

View file

@ -1,7 +1,7 @@
# Template file for 'haproxy'
pkgname=haproxy
version=1.7.10
revision=2
revision=3
build_style=gnu-makefile
make_build_args="TARGET=linux2628 USE_PCRE=1 USE_PCRE_JIT=1 USE_ZLIB=1
USE_OPENSSL=1 USE_LIBCRYPT=1 USE_GETADDRINFO=1 USE_LUA=1"