From b7458ed8694b2fa908f814ca5cfc2c9fc4eb686b Mon Sep 17 00:00:00 2001 From: Matthew Newton Date: Thu, 8 Jun 2023 16:38:01 +0100 Subject: [PATCH] disable TEAP in RHEL 7 packages which only has OpenSSL 1.0 --- redhat/freeradius.spec | 3 +++ 1 file changed, 3 insertions(+) diff --git a/redhat/freeradius.spec b/redhat/freeradius.spec index dac1d98426..aa70bb832a 100644 --- a/redhat/freeradius.spec +++ b/redhat/freeradius.spec @@ -7,6 +7,7 @@ %{!?_with_rlm_eap_tnc: %global _without_rlm_eap_tnc --without-rlm_eap_tnc} %{!?_with_rlm_yubikey: %global _without_rlm_yubikey --without-rlm_yubikey} %{?_without_ldap: %global _without_libfreeradius_ldap --without-libfreeradius-ldap} +%{?el7: %global _without_rlm_eap_teap --without-rlm_eap_teap} # experimental modules %bcond_with rlm_idn @@ -647,7 +648,9 @@ fi %{_libdir}/freeradius/rlm_eap_mschapv2.so %{_libdir}/freeradius/rlm_eap_peap.so %{_libdir}/freeradius/rlm_eap_sim.so +%if 0%{?rhel} >= 8 %{_libdir}/freeradius/rlm_eap_teap.so +%endif %{_libdir}/freeradius/rlm_eap_tls.so %{_libdir}/freeradius/rlm_eap_ttls.so %{_libdir}/freeradius/rlm_exec.so -- 2.47.3