Disable unsupported Perl script

Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
Antonio Torres 2024-07-10 15:04:23 +02:00
parent 58d6a6708a
commit b408179210
No known key found for this signature in database
GPG Key ID: 359FAF777296F653
2 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,22 @@
From: Antonio Torres <antorres@redhat.com>
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 <antorres@redhat.com>
---
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

View File

@ -1,7 +1,7 @@
Summary: High-performance and highly configurable free RADIUS server Summary: High-performance and highly configurable free RADIUS server
Name: freeradius Name: freeradius
Version: 3.2.5 Version: 3.2.5
Release: 1%{?dist} Release: 2%{?dist}
License: GPL-2.0-or-later AND LGPL-2.0-or-later License: GPL-2.0-or-later AND LGPL-2.0-or-later
URL: http://www.freeradius.org/ URL: http://www.freeradius.org/
@ -32,6 +32,7 @@ Patch8: freeradius-configure-c99.patch
Patch9: freeradius-no-antora-docs.patch Patch9: freeradius-no-antora-docs.patch
Patch10: freeradius-no-sql-scripts.patch Patch10: freeradius-no-sql-scripts.patch
Patch11: freeradius-disable-openssl-engine.patch Patch11: freeradius-disable-openssl-engine.patch
Patch12: freeradius-disable-perl-script.patch
%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} %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 9 -p1
%patch 10 -p1 %patch 10 -p1
%patch 11 -p1 %patch 11 -p1
%patch 12 -p1
%build %build
# Force compile/link options, extra security for network facing daemon # 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 %attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%changelog %changelog
* Wed Jul 10 2024 Antonio Torres <antorres@redhat.com> - 3.2.5-2
- Disable unsupported Perl script
* Tue Jul 09 2024 Antonio Torres <antorres@redhat.com> - 3.2.5-1 * Tue Jul 09 2024 Antonio Torres <antorres@redhat.com> - 3.2.5-1
- Rebase to release 3.2.5 - Rebase to release 3.2.5
Resolves: RHEL-46784 Resolves: RHEL-46784