Notification time stamped 2021-05-31 21:40:46 UTC
From 1528907454019f1b996714f0fad66d471e36f71e Mon Sep 17 00:00:00 2001
From: Robert Scheck <robert(a)fedoraproject.org>
Date: Oct 10 2020 21:57:55 +0000
Subject: Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support)
---
diff --git a/radsecproxy.spec b/radsecproxy.spec
index e3bcaea..a0bd0e9 100644
--- a/radsecproxy.spec
+++ b/radsecproxy.spec
@@ -1,7 +1,7 @@
Summary: Generic RADIUS proxy with RadSec support
Name: radsecproxy
Version: 1.8.2
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
URL:
https://radsecproxy.github.io/
Source0:
https://github.com/radsecproxy/radsecproxy/releases/download/%{version}/%...
@@ -15,7 +15,11 @@ Patch0: radsecproxy-1.8.1-paths.patch
BuildRequires: gnupg2
BuildRequires: gcc
BuildRequires: nettle-devel
+%if 0%{?fedora} || 0%{?rhel} >= 8
BuildRequires: openssl-devel
+%else
+BuildRequires: openssl11-devel
+%endif
%if 0%{?fedora} || (0%{?rhel} && 0%{?rhel} > 7)
BuildRequires: systemd-rpm-macros
%else
@@ -36,6 +40,14 @@ at the same time to be small, efficient and easy to configure.
%patch0 -p1 -b .paths
%build
+%if 0%{?rhel} == 7
+sed \
+ -e 's|include/openssl/|include/openssl11/openssl/|g' \
+ -e 's|-I$ssldir/include|-I%{_includedir}/openssl11|g' \
+ -e 's|-L$ssldir/lib|-L%{_libdir}/openssl11|g' \
+ -i configure
+%endif
+
%configure
%make_build
@@ -82,6 +94,9 @@ exit 0
%dir %attr(0750,%{name},%{name}) %{_localstatedir}/log/%{name}/
%changelog
+* Sat Oct 10 2020 Robert Scheck <robert(a)fedoraproject.org> 1.8.2-2
+- Build against OpenSSL 1.1 on RHEL 7 (for TLSv1.3 support)
+
* Fri Aug 07 2020 Robert Scheck <robert(a)fedoraproject.org> 1.8.2-1
- Upgrade to 1.8.2 (#1867106)
https://src.fedoraproject.org/rpms/radsecproxy/c/1528907454019f1b996714f0...