Commit Graph

368 Commits

Author SHA1 Message Date
Antonio Torres
d8e14017e6
Generate certificates before authentication tests
These certificates must be generated before running radiusd.
Ported from: c1e0756a09

Signed-off-by: Antonio Torres <antorres@redhat.com>
2024-06-26 12:29:26 +02:00
Antonio Torres
99c7cfb0a0
Add gating.yaml
Signed-off-by: Antonio Torres <antorres@redhat.com>
2024-06-26 10:08:09 +02:00
Troy Dawson
fb64a93644 Bump release for June 2024 mass rebuild 2024-06-24 08:42:48 -07:00
Antonio Torres
8d655c5e18
Remove helper SQL script from package
This script belongs to an unsupported feature (SQL) and requires a new
dependency that is not available in RHEL10, so remove the script
altogether.

Resolves: RHEL-31745
Signed-off-by: Antonio Torres <antorres@redhat.com>
2024-04-04 09:43:22 +02:00
Antonio Torres
465934bd49
Remove Antora docs from package
These files are not needed since they are meant for upstream web
documentation.

Resolves: RHEL-31184
Signed-off-by: Antonio Torres <antorres@redhat.com>
2024-04-02 12:06:03 +02:00
Fedora Release Engineering
d68944b4af Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 12:02:29 +00:00
Fedora Release Engineering
bcdc6e99f9 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 19:47:24 +00:00
Florian Weimer
1793f410aa Fix C compatibility issue in configure script
Related to:

  <https://fedoraproject.org/wiki/Changes/PortingToModernC>
  <https://fedoraproject.org/wiki/Toolchain/PortingToModernC>
2023-12-19 07:59:23 +01:00
Antonio Torres
ea6ff99048
Update to 3.2.3 upstream release
Signed-off-by: Antonio Torres <antorres@redhat.com>
2023-10-24 14:16:56 +02:00
Antonio Torres
edb8438bef
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: #2238511
Signed-off-by: Antonio Torres <antorres@redhat.com>
2023-09-12 14:35:31 +02:00
Fedora Release Engineering
ca09fc02d8 Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 20:14:54 +00:00
Jitka Plesnikova
d1c3541f66 Perl 5.38 rebuild 2023-07-11 15:55:37 +02:00
Python Maint
3f56050138 Rebuilt for Python 3.12 2023-06-14 00:18:40 +02:00
Antonio Torres
e6dba7c680
Add new packaged file to spec
Signed-off-by: Antonio Torres <antorres@redhat.com>
2023-03-21 10:08:47 +01:00
Antonio Torres
049df291ea
Update to 3.2.2 upstream release
Signed-off-by: Antonio Torres <antorres@redhat.com>
2023-03-21 09:39:33 +01:00
Antonio Torres
d04d68f8de
Migrate to SPDX license
Signed-off-by: Antonio Torres <antorres@redhat.com>
2023-03-15 11:50:38 +01:00
Fedora Release Engineering
8b93308d82 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 03:53:53 +00:00
Jitka Plesnikova
db29b91ffb Remove perl(MODULE_COMPAT), it will be replaced by generators 2023-01-13 09:34:41 +01:00
Antonio Torres
8b7c576199
Bump release number
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-10-17 17:29:47 +02:00
Antonio Torres
38b3f086ca
Remove Python3 hack from spec file
Python 3 module has been marked as stable upstream, so we no longer need
this hack, disabling Python 2 support with a configure option is enough.

Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-10-17 17:07:42 +02:00
Antonio Torres
d2db6eed8c
Update to upstream release 3.2.1
Resolves: #2131850
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-10-17 13:25:03 +02:00
Antonio Torres
491f4aac7b
Remove deprecated pcre-devel dependency
Resolves: #2128292
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-09-20 17:56:48 +02:00
Antonio Torres
d9e143bb12
configure: allow building with runstatedir option
In Fedora 38+, redhat-rpm-config adds --runstatedir=/run to %configure macro.
Since this is not supported in current FreeRADIUS configure scripts, add the option
placeholder so that we can continue building the package.

Resolves: #2123374

Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-09-05 17:05:18 +02:00
Fedora Release Engineering
3d25326b00 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-21 03:37:41 +00:00
Antonio Torres
39a371f96e
Rebase to 3.2.0 upstream release
Resolves: #2077687
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-07-19 16:39:00 +02:00
Antonio Torres
fdb219a9d2
Use 95 GID/UID as it's reserved for FreeRADIUS
Since 95 is reserved GID/UID for FreeRADIUS, we can safely use it.
https://pagure.io/setup/blob/07f8debf03dfb0e5ed36051c13c86c8cd00cd241/f/uidgid#_107

Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-06-29 12:51:37 +02:00
Antonio Torres
a688847dcf
Use sysusers.d format for user and group creation
Resolves: 2095741
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-06-24 14:00:48 +02:00
Python Maint
3e1b0c3e5c Rebuilt for Python 3.11 2022-06-13 15:04:09 +02:00
Jitka Plesnikova
ba8509f831 Perl 5.36 rebuild 2022-05-31 08:35:42 +02:00
Antonio Torres
bb772e884b
Use infinite timeout when using LDAP+start-TLS
This will ensure that the TLS connection to the LDAP server will complete
before starting FreeRADIUS, as it forces libldap to use a blocking socket during
the process. Infinite timeout is the OpenLDAP default.
Avoids this: 87ffc60006/libraries/libldap/tls2.c (L1134)

Related: #1983063
Signed-off-by: Antonio Torres <antorres@redhat.com>
2022-04-22 15:39:07 +02:00
Fedora Release Engineering
49e8c0620e - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 03:25:40 +00:00
Antonio Torres
afc023e7f1 Fix file conflicts in SQL files
Resolves: bz#2014014
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-10-14 12:53:53 +02:00
Antonio Torres
c241351c7b Update to 3.0.25
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-10-08 11:46:20 +02:00
Antonio Torres
d5a8b5f69f Update to 3.0.24
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-09-30 12:30:36 +02:00
Sahana Prasad
07d2148621 Rebuilt with OpenSSL 3.0.0 2021-09-14 19:01:54 +02:00
Fedora Release Engineering
1540d6c796 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 23:21:55 +00:00
Antonio Torres
0815a3326b Fix coredump not being able to be enabled
If resource hard limit is set to zero, then it cannot be raised again,
and this causes coredump to not being able to be enabled.

Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-07-15 13:00:52 +02:00
Björn Esser
58cf5cccf6
Rebuild for versioned symbols in json-c 2021-07-10 11:52:58 +02:00
Antonio Torres
508c8f0746 Fix rpath not being removed correctly
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-29 16:26:48 +02:00
Antonio Torres
f7c2c07435 Remove RPATH usage from additional binaries
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-29 14:53:31 +02:00
Antonio Torres
c54625805c Rebase to 3.0.23
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-29 13:40:12 +02:00
Antonio Torres
1d17d3a57a Fix binaries not being correctly linked after RPATH removal
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-29 12:19:11 +02:00
Antonio Torres
d2c4303d25 Fix python3 not being correctly linked
Since Python 3.8, there is a new way to link against libpython.
https://docs.python.org/3/whatsnew/3.8.html#debug-build-uses-the-same-abi-as-release-build

Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-25 17:10:33 +02:00
Antonio Torres
3b6878a0e0 Bump release number
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-08 16:27:43 +02:00
Antonio Torres
15d6daaa28 Ignore badfuncs check from rpminspect
FreeRADIUS source code contains some legacy code that uses
deprecated functions detected by rpminspect's badfuncs check. Since
this causes build failures, disable this check until the problem
is fixed upstream.

Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-08 16:19:12 +02:00
Antonio Torres
63ee79a9ba Remove unused import from tests
Tests imported the psutil module, which is not needed for
execution.

Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-08 16:18:40 +02:00
Antonio Torres
0bee016e79 Remove broken RPATH usage from all conflicting files
Since Fedora 35, broken RPATH usage is detected and causes builds
to fail: https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild
This commit extends the list of files to remove the RPATH usage from.

Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-08 16:14:57 +02:00
Python Maint
a8e0c3d9ed Rebuilt for Python 3.10 2021-06-07 16:23:20 +02:00
Antonio Torres
c2fdf85d80 Disable broken RPATH usage in binaries
Since Fedora 35, broken RPATH usage is detected in packages, causing
a build failure: https://fedoraproject.org/wiki/Changes/Broken_RPATH_will_fail_rpmbuild
With this changes rpath usage is deleted in conflicting files.

Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-07 14:32:44 +02:00
Antonio Torres
eaa7823ffa Update to 3.0.22
Update to 3.0.22. This includes adaptation of patches
and addition of new files present in the release.

Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1961190
Signed-off-by: Antonio Torres <antorres@redhat.com>
2021-06-04 17:12:24 +02:00