From c07128bbe07446ecddb50fad9f1342fb4b3290de Mon Sep 17 00:00:00 2001 From: Johannes Date: Sat, 27 Apr 2019 16:52:17 +0200 Subject: [PATCH] FreeRADIUS: rebuild for libressl-2.9.2. --- srcpkgs/FreeRADIUS/patches/libressl.patch | 11 +++++++++++ srcpkgs/FreeRADIUS/template | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/FreeRADIUS/patches/libressl.patch diff --git a/srcpkgs/FreeRADIUS/patches/libressl.patch b/srcpkgs/FreeRADIUS/patches/libressl.patch new file mode 100644 index 00000000000..7c5760beed3 --- /dev/null +++ b/srcpkgs/FreeRADIUS/patches/libressl.patch @@ -0,0 +1,11 @@ +--- src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c 2018-04-17 19:12:27.000000000 +0200 ++++ src/modules/rlm_eap/types/rlm_eap_fast/eap_fast.c 2019-04-27 16:56:01.628410415 +0200 +@@ -44,7 +44,7 @@ + { + const EVP_CIPHER *c; + const EVP_MD *h; +-#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2090000fL) + int md_size; + + if (ssl->enc_read_ctx == NULL || ssl->enc_read_ctx->cipher == NULL || diff --git a/srcpkgs/FreeRADIUS/template b/srcpkgs/FreeRADIUS/template index 525d5959ee4..ff85a2ad689 100644 --- a/srcpkgs/FreeRADIUS/template +++ b/srcpkgs/FreeRADIUS/template @@ -1,7 +1,7 @@ # Template file for 'FreeRADIUS' pkgname=FreeRADIUS version=3.0.17 -revision=3 +revision=4 wrksrc=freeradius-server-${version} build_style=gnu-configure nocross=yes # Not supported by upstream