Commit Graph

349 Commits

Author SHA1 Message Date
Paul Wouters
ad10ca7db9 fixup tmpfile to not reference /var/run but /run
This prevents:

	/usr/lib/tmpfiles.d/radiusd.conf:1: Line references path below legacy directory /var/run/, updating /var/run/radiusd → /run/radiusd; please update the tmpfiles.d/ drop-in file accordingly.
2020-01-11 15:14:58 -05:00
Alexander Scheel
1ef8514cc3
Rebase to FreeRADIUS v3.0.20
Introduces the experimental rlm_python3 that is largely based off the
existing python2 module.

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-11-15 15:03:30 -05:00
Fedora Release Engineering
f6335be9a2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 01:01:51 +00:00
Jitka Plesnikova
00f06bb8b3 Perl 5.30 rebuild 2019-05-31 07:12:47 +02:00
Alexander Scheel
93f241adb1
Fix permissions on generated certificates
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-05-09 14:20:20 -04:00
Alexander Scheel
a0af05f14f
Add additional BZ reference
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-05-08 14:10:58 -04:00
Alexander Scheel
765b2552b2
Fix certificate generation at build time
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-05-08 13:58:05 -04:00
Alexander Scheel
a9000f05d2
Add additional After= targets to radiusd.service
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-05-08 12:05:51 -04:00
Alexander Scheel
dc4edcad17
Finish dropping python2 package on Fedora 31+
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-05-08 10:41:49 -04:00
Alexander Scheel
ab22b18a78
Improvements to FreeRADIUS
- Better crypto-policies (previous commit)
- Better logrotation
- Better bootstrap

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-05-08 10:37:04 -04:00
Alexander Scheel
60fac0135f
Update crypto-policies patch
Since introduction, more places for ciphersuites have been introduced by
FreeRADIUS; update the crypto-policies patch accordingly.

Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-05-08 10:34:35 -04:00
Alexander Scheel
40d2550f5f
Rebase to 3.0.19
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-04-10 13:51:15 -04:00
Alexander Scheel
1180d7fadb
Rebase to 3.0.18
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-03-06 13:07:44 -05:00
Igor Gnatenko
c374e8c2b3 Rebuild for readline 8.0 2019-02-17 09:30:50 +01:00
Alexander Scheel
ecea0d0429
Fix for bz#1672284
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2019-02-05 11:39:26 -05:00
Fedora Release Engineering
3bfe24f9cb - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-01-31 20:09:46 +00:00
Igor Gnatenko
1992d5f763 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:02 +01:00
Björn Esser
7cb8369965
Rebuilt for libcrypt.so.2 (#1666033) 2019-01-14 19:01:37 +01:00
Alexander Scheel
f9f4db1e41
Add network-online.target instead of network.target in RADIUS spec file
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2018-12-14 15:17:24 -05:00
Alexander Scheel
7cf8f7ec5b Merge #2 Adds tests according to the CI 2018-11-30 17:53:46 +00:00
Alexander Scheel
7960729fb9
Update to upstream release v3.0.17
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
2018-10-18 16:21:59 -04:00
Nikolai Kondrashov
d99a39e697 Actually apply patches added previously 2018-09-24 10:37:12 +03:00
Nikolai Kondrashov
e5cfc720bd Fix a few minor manpage issues 2018-09-14 12:39:29 +03:00
Nikolai Kondrashov
99b478f15b Add make to BuildRequires and Requires(post) 2018-09-07 15:55:05 +03:00
Pavel Raiskup
943006a476 BuildRequires: s/postgresql-devel/libpq-devel/
That's because we moved libpq.so.5 into libpq package.

Related: rhbz#1618698, rhbz#1623764
2018-09-05 15:16:14 +02:00
Nikolai Kondrashov
dd2702700c Add gcc to BuildRequires 2018-09-04 15:35:01 +03:00
Fedora Release Engineering
1ba1452bf6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 00:50:50 +00:00
Jason Tibbitts
65540fe645 Remove needless use of %defattr 2018-07-10 00:52:45 -05:00
Jitka Plesnikova
97844b72f6 Perl 5.28 rebuild 2018-06-29 21:46:43 +02:00
Susant Sahani
bcef4f467c Adds tests according to the CI
Adds tests according to the CI

justification
Adds tests according to the CI wiki specifically the standard test interface in the spec.
The playbook includes Tier1 level test cases that have been tested in the following contexts and
is passing reliably: Classic. Test logs are stored in the artifacts directory.
The following steps are used to execute the tests using the standard test interface:

Test enveronment
Make sure you have installed packages from the spec
```
ansible-2.4.1.0-2.fc28.noarch
python2-dnf-2.7.5-1.fc28.noarch
libselinux-python-2.7-2.fc28.x86_64
standard-test-roles-2.5-1.fc28.noarch
Run tests for Classic
Snip of the example test run for Classic tests:
```
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test
::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 16:21:19 ] :: [   LOG    ] :: Starting radius auth tests ...
:: [ 16:21:19 ] :: [   LOG    ] :: Starting radius auth tests ...
:: [ 16:21:19 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/freeradius-tests.py'
test_radius_plaintext_auth (__main__.RadiousTests) ... Sent Access-Request Id 17 from 0.0.0.0:49711 to 127.0.0.1:1812 length 79
        User-Name = "fedora-ci"
        User-Password = "password"
        NAS-IP-Address = 192.168.225.189
        NAS-Port = 100
        Message-Authenticator = 0x00
        Cleartext-Password = "password"
Received Access-Accept Id 17 from 127.0.0.1:1812 to 0.0.0.0:0 length 38
        Reply-Message = "Hello, fedora-ci"
ok

----------------------------------------------------------------------
Ran 1 test in 1.214s

OK
:: [ 16:21:20 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/freeradius-tests.py' (Expected 0, got 0)
:: [ 16:21:20 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/freeradius-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 1s
2018-06-06 19:24:54 +05:30
Björn Esser
b7902fd74a
Rebuilt for libjson-c.so.4 (json-c v0.13.1) 2018-03-06 15:15:03 +01:00
Igor Gnatenko
83d0428a1e
Escape macros in %changelog
Reference: https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/Y2ZUKK2B7T2IKXPMODNF6HB2O5T5TS6H/
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-09 09:04:33 +01:00
Fedora Release Engineering
ab996217ec - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 10:09:48 +00:00
Björn Esser
074601dd02
Rebuilt for switch to libxcrypt 2018-01-20 23:06:43 +01:00
Iryna Shcherbina
ac797ee71b Update Python 2 dependency declarations to new packaging standards 2018-01-05 21:05:05 +01:00
Björn Esser
36a71aa388
Rebuilt for libjson-c.so.3 2017-12-10 20:50:33 +01:00
Nikolai Kondrashov
30bf3e1e02 Use mariadb-connector-c-devel instead of mysql/mariadb-devel 2017-10-26 21:52:32 +03:00
Zbigniew Jędrzejewski-Szmek
5821452012 Add Provides for the old name without %_isa 2017-08-20 09:27:35 -04:00
Zbigniew Jędrzejewski-Szmek
24ec0cc88b Python 2 binary package renamed to python2-freeradius 2017-08-19 09:38:16 -04:00
Fedora Release Engineering
07a5b04f1f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-02 20:47:27 +00:00
Fedora Release Engineering
39d4d1b0e5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-26 08:45:30 +00:00
Nikolai Kondrashov
4b708fc85a Mention bugs fixed by rebase to v3.0.15 2017-07-18 17:24:07 +03:00
Nikolai Kondrashov
7ea213044f Upgrade to upstream v3.0.15 release 2017-07-18 17:00:26 +03:00
Nikolai Kondrashov
3bf786ab83 Rebuild with updated MySQL client library 2017-07-13 11:11:54 +03:00
Jitka Plesnikova
7e5a6f8c49 Perl 5.26 rebuild 2017-06-04 07:31:59 +02:00
Nikolai Kondrashov
9bca231714 Upgrade to upstream v3.0.14 release 2017-05-30 12:41:12 +03:00
Nikolai Kondrashov
e824373dca Make radtest use Cleartext-Password for EAP 2017-03-30 16:34:41 +03:00
Nikolai Kondrashov
5b4fff6aff Handle connection error in rlm_ldap_cacheable_groupobj 2017-03-30 14:13:46 +03:00
Nikolai Kondrashov
cadadd2a61 Explicitly disable rlm_cache_memcached 2017-03-29 13:55:22 +03:00
Nikolai Kondrashov
fc92269c0b Bump release number 2017-03-29 13:53:09 +03:00