diff --git a/freeradius-disable-perl-script.patch b/freeradius-disable-perl-script.patch new file mode 100644 index 0000000..58f4705 --- /dev/null +++ b/freeradius-disable-perl-script.patch @@ -0,0 +1,22 @@ +From: Antonio Torres +Date: Wed, 10 Jul 2024 +Subject: Remove unsupported Perl script from package + +The recently added radsecret script depends on unsupported packages +(Convert::Base32 and Crypt::URandom, which are available only in EPEL), so +remove it from package. + +Signed-off-by: Antonio Torres +--- + src/main/all.mk | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/main/all.mk b/src/main/all.mk +index f3db386a2a..2517cd215a 100644 +--- a/src/main/all.mk ++++ b/src/main/all.mk +@@ -1,3 +1,3 @@ + SUBMAKEFILES := radclient.mk radiusd.mk radsniff.mk radmin.mk radattr.mk \ +- radwho.mk radlast.mk radtest.mk radzap.mk checkrad.mk radsecret.mk \ ++ radwho.mk radlast.mk radtest.mk radzap.mk checkrad.mk \ + libfreeradius-server.mk unittest.mk diff --git a/freeradius.spec b/freeradius.spec index e4e764b..33789f2 100644 --- a/freeradius.spec +++ b/freeradius.spec @@ -1,7 +1,7 @@ Summary: High-performance and highly configurable free RADIUS server Name: freeradius Version: 3.2.5 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL-2.0-or-later AND LGPL-2.0-or-later URL: http://www.freeradius.org/ @@ -32,6 +32,7 @@ Patch8: freeradius-configure-c99.patch Patch9: freeradius-no-antora-docs.patch Patch10: freeradius-no-sql-scripts.patch Patch11: freeradius-disable-openssl-engine.patch +Patch12: freeradius-disable-perl-script.patch %global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} @@ -219,6 +220,7 @@ This plugin provides the REST support for the FreeRADIUS server project. %patch 9 -p1 %patch 10 -p1 %patch 11 -p1 +%patch 12 -p1 %build # Force compile/link options, extra security for network facing daemon @@ -912,6 +914,9 @@ EOF %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest %changelog +* Wed Jul 10 2024 Antonio Torres - 3.2.5-2 +- Disable unsupported Perl script + * Tue Jul 09 2024 Antonio Torres - 3.2.5-1 - Rebase to release 3.2.5 Resolves: RHEL-46784