Compare commits
4 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31ccf71458 |
||
|
|
7e522d9146 |
||
|
|
6522d88fb1 |
||
|
|
7d8b3c7e03 |
5 changed files with 68 additions and 12 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -41,3 +41,6 @@ freeradius-*.src.rpm
|
|||
/freeradius-server-3.2.0.tar.bz2
|
||||
/freeradius-server-3.2.1.tar.bz2
|
||||
/freeradius-server-3.2.2.tar.bz2
|
||||
/freeradius-server-3.2.3.tar.bz2
|
||||
/freeradius-server-3.2.4.tar.bz2
|
||||
/freeradius-server-3.2.5.tar.bz2
|
||||
|
|
|
|||
35
freeradius-ease-openssl-version-check.patch
Normal file
35
freeradius-ease-openssl-version-check.patch
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
From: Antonio Torres <antorres@redhat.com>
|
||||
Date: Tue, 12 Sep 2023
|
||||
Subject: Ease OpenSSL version check requirement
|
||||
|
||||
FreeRADIUS includes an OpenSSL version check that compares built vs linked version,
|
||||
and fails to start if this check fails. We can ease this requirement in Fedora/RHEL as
|
||||
ABI changes are tracked and soname is changed accordingly, as discussed in previous
|
||||
Bugzilla for this issue [1].
|
||||
|
||||
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1299388
|
||||
|
||||
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2238511
|
||||
Signed-off-by: Antonio Torres <antorres@redhat.com>
|
||||
---
|
||||
src/main/version.c | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/src/main/version.c b/src/main/version.c
|
||||
index c190337c1d..fee2150eb2 100644
|
||||
--- a/src/main/version.c
|
||||
+++ b/src/main/version.c
|
||||
@@ -79,11 +79,11 @@ int ssl_check_consistency(void)
|
||||
*/
|
||||
if ((ssl_linked & 0x0000000f) != (ssl_built & 0x0000000f)) {
|
||||
mismatch:
|
||||
- ERROR("libssl version mismatch. built: %lx linked: %lx",
|
||||
+ DEBUG2("libssl version mismatch. built: %lx linked: %lx",
|
||||
(unsigned long) ssl_built,
|
||||
(unsigned long) ssl_linked);
|
||||
|
||||
- return -1;
|
||||
+ return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
@ -27,10 +27,10 @@ index 0b2cd74de8..8c623cf95c 100644
|
|||
#
|
||||
# For creating documentation via doc/all.mk
|
||||
diff --git a/configure b/configure
|
||||
index 77a1436510..74ff9a1fd4 100755
|
||||
index 5041ca264f..ed01ee2bdd 100755
|
||||
--- a/configure
|
||||
+++ b/configure
|
||||
@@ -652,6 +652,7 @@ AUTOCONF
|
||||
@@ -679,6 +679,7 @@ AUTOCONF
|
||||
ACLOCAL
|
||||
RUSERS
|
||||
SNMPWALK
|
||||
|
|
@ -38,16 +38,15 @@ index 77a1436510..74ff9a1fd4 100755
|
|||
SNMPGET
|
||||
openssl_version_check_config
|
||||
WITH_DHCP
|
||||
@@ -5961,7 +5962,7 @@ else
|
||||
openssl_version_check_config=
|
||||
fi
|
||||
@@ -6976,6 +6977,7 @@ fi
|
||||
|
||||
|
||||
-
|
||||
+ENABLE_REPRODUCIBLE_BUILDS=yes
|
||||
# Check whether --enable-reproducible-builds was given.
|
||||
if test "${enable_reproducible_builds+set}" = set; then :
|
||||
+ENABLE_REPRODUCIBLE_BUILDS=yes
|
||||
if test ${enable_reproducible_builds+y}
|
||||
then :
|
||||
enableval=$enable_reproducible_builds; case "$enableval" in
|
||||
@@ -5973,6 +5974,7 @@ $as_echo "#define ENABLE_REPRODUCIBLE_BUILDS 1" >>confdefs.h
|
||||
@@ -6987,6 +6989,7 @@ printf "%s\n" "#define ENABLE_REPRODUCIBLE_BUILDS 1" >>confdefs.h
|
||||
;;
|
||||
*)
|
||||
reproducible_builds=no
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
Summary: High-performance and highly configurable free RADIUS server
|
||||
Name: freeradius
|
||||
Version: 3.2.2
|
||||
Release: 4%{?dist}
|
||||
Version: 3.2.5
|
||||
Release: 1%{?dist}
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later
|
||||
URL: http://www.freeradius.org/
|
||||
|
||||
|
|
@ -27,6 +27,7 @@ Patch3: freeradius-bootstrap-create-only.patch
|
|||
Patch4: freeradius-no-buildtime-cert-gen.patch
|
||||
Patch5: freeradius-bootstrap-make-permissions.patch
|
||||
Patch6: freeradius-ldap-infinite-timeout-on-starttls.patch
|
||||
Patch7: freeradius-ease-openssl-version-check.patch
|
||||
|
||||
%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
|
||||
|
||||
|
|
@ -209,6 +210,7 @@ This plugin provides the REST support for the FreeRADIUS server project.
|
|||
%patch4 -p1
|
||||
%patch5 -p1
|
||||
%patch6 -p1
|
||||
%patch7 -p1
|
||||
|
||||
%build
|
||||
# Force compile/link options, extra security for network facing daemon
|
||||
|
|
@ -411,6 +413,7 @@ EOF
|
|||
%config(noreplace) /etc/raddb/certs/Makefile
|
||||
%config(noreplace) /etc/raddb/certs/passwords.mk
|
||||
/etc/raddb/certs/README.md
|
||||
/etc/raddb/certs/realms/README.md
|
||||
%config(noreplace) /etc/raddb/certs/xpextensions
|
||||
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/certs/*.cnf
|
||||
%attr(750,root,radiusd) /etc/raddb/certs/bootstrap
|
||||
|
|
@ -537,6 +540,7 @@ EOF
|
|||
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/utf8
|
||||
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/wimax
|
||||
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/yubikey
|
||||
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/dpsk
|
||||
|
||||
# mods-enabled
|
||||
# symlink: /etc/raddb/mods-enabled/xxx -> ../mods-available/xxx
|
||||
|
|
@ -662,6 +666,8 @@ EOF
|
|||
%{_libdir}/freeradius/rlm_utf8.so
|
||||
%{_libdir}/freeradius/rlm_wimax.so
|
||||
%{_libdir}/freeradius/rlm_yubikey.so
|
||||
%{_libdir}/freeradius/rlm_dpsk.so
|
||||
%{_libdir}/freeradius/rlm_eap_teap.so
|
||||
|
||||
# main man pages
|
||||
%doc %{_mandir}/man5/clients.conf.5.gz
|
||||
|
|
@ -892,6 +898,19 @@ EOF
|
|||
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
|
||||
|
||||
%changelog
|
||||
* Tue Jul 09 2024 Antonio Torres <antorres@redhat.com> - 3.2.5-1
|
||||
- Update to upstream release 3.2.5
|
||||
|
||||
* Fri May 31 2024 Antonio Torres <antorres@redhat.com> - 3.2.4-1
|
||||
- Update to upstream release 3.2.4
|
||||
|
||||
* Tue Oct 24 2023 Antonio Torres <antorres@redhat.com> - 3.2.3-1
|
||||
- Update to upstream release 3.2.3
|
||||
|
||||
* Mon Sep 18 2023 Antonio Torres <antorres@redhat.com> - 3.2.2-5
|
||||
- Ease OpenSSL version check requirement
|
||||
Resolves #2238511
|
||||
|
||||
* Wed Jul 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.2-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
2
sources
2
sources
|
|
@ -1 +1 @@
|
|||
SHA512 (freeradius-server-3.2.2.tar.bz2) = 91dc574560a1f75cafa8bc78c0676f0e3dae7154ecbb395e0e1f6738f78d8bcfe1bff122364452798fd0434c4056fd946799b8f29a1141398bf0542a37870689
|
||||
SHA512 (freeradius-server-3.2.5.tar.bz2) = 55e653630674a957dcd52ae58e5fd7b5a510b84aaa80e0552bce8089221e02f652618b53753f438981472a5f47df7c8426b9a5ecda0b06ad9f4c25b23604c86b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue