Commit Graph

359 Commits

Author SHA1 Message Date
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
Jitka Plesnikova
8c954761a5 Perl 5.34 rebuild 2021-05-21 23:11:33 +02:00
Robbie Harwood
cabc34e05a Disable automatic bootstrap 2021-03-10 22:21:12 +00:00
Robbie Harwood
4e468ec265 General package cleanup; no code changes 2021-03-10 15:40:14 -05:00
Zbigniew Jędrzejewski-Szmek
f4c10d8cdd Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
2021-03-02 16:13:46 +01:00
Pavel Raiskup
8f248db2e6 rebuild for libpq ABI fix
Related: rhbz#1908268
2021-02-08 09:25:27 +01:00
Fedora Release Engineering
e2ccd9913f - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 05:55:34 +00:00
Alexander Scheel
2898c9222b
Again, apply patch
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2020-08-04 11:13:29 -04:00
Alexander Scheel
e260f8f12f
Apply patch this time
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2020-08-04 11:08:13 -04:00
Alexander Scheel
527b1c3a1d
Re-fix permissions issues
Since make is present on certain systems (and has the better certificate
generation logic), we should Require: make and add the relevant chmod
statements to bootstrap after executing make.

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2020-08-04 10:22:02 -04:00