Commit Graph

287 Commits

Author SHA1 Message Date
Nikolai Kondrashov
ad78a601a9 Fix three cases of comparing pointer to zero char
Fix three cases of comparing pointer to a zero character, where pointers
were apparently intended to be dereferenced first and then compared.
Found with the help of GCC 7 warnings.
2017-02-20 17:31:10 +01:00
Nikolai Kondrashov
afbec7d303 Upgrade to upstream v3.0.12 release 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
4862faea84 Add freeradius- prefix to crypto policy patch name 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
85c342fee3 Remove executable bits from radiusd.service
Remove unnecessary executable bits from the installed radiusd.service
file. This stops systemd from logging the following message:

    localhost systemd: Configuration file
    /usr/lib/systemd/system/radiusd.service is marked executable. Please
    remove executable permission bits. Proceeding anyway.
2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
4132e000f4 Logrotate with systemctl instead of service 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
92d7028766 Don't rotate radutmp
Remove radutmp file rotation from freeradius-logrotate, as it's not a
log file.
2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
1ac56a7cb1 Disable rlm_redis/rediswho building explicitly
Disable rlm_redis/rediswho building explicitly, so the build doesn't
break because of unpackaged files, if the requirements are installed.
2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
6ec790249b Add ipa, dirsrv and krb5kdc to service deps 2017-02-17 13:40:22 +01:00
Nikolai Kondrashov
2e8b58f1df Bump release number for future work 2017-02-17 13:40:22 +01:00
Fedora Release Engineering
b4b93fc7b6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-10 10:00:52 +00:00
Nikolai Kondrashov
70961fcd3d Bump release number 2017-01-16 09:13:04 +02:00
Nikolai Kondrashov
956fde998c Install license files as %license
Contributed by Ville Skyttä <ville.skytta@iki.fi>.
2017-01-16 09:09:51 +02:00
Nikolai Kondrashov
7373519624 Move tmpfiles.d config to %{_tmpfilesdir}
Contributed by Ville Skyttä <ville.skytta@iki.fi>.
2017-01-16 09:05:30 +02:00
Igor Gnatenko
c7d1bd9273 Rebuild for readline 7.x
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-01-12 17:30:27 +01:00
Nikolai Kondrashov
55d9285155 Use system crypto policy by default
Resolves: Bug#1179224
2016-09-27 12:48:37 +03:00
Petr Písař
0ae3e30c65 Mandatory Perl build-requires added <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl> 2016-06-24 09:27:31 +02:00
Jitka Plesnikova
a5fab07623 Perl 5.24 rebuild 2016-05-17 03:34:20 +02:00
Nikolai Kondrashov
17b7dcc03c Upgrade to upstream v3.0.11 release 2016-04-12 20:04:46 +03:00
Dennis Gilmore
1c345c4b9c - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-03 20:47:34 +00:00
Nikolai Kondrashov
eaf19fc666 Upgrade to upstream v3.0.10 release
Upgrade to upstream v3.0.10 release, removing rlm_eap_tnc support as
tncfhh was retired.
Related: Bug#1133959
2015-12-10 15:47:05 +02:00
Nikolai Kondrashov
2fbcdb04d7 Mention bug 1133959 and changes in 3.0.9-1 changelog entry 2015-08-20 14:41:49 +03:00
Nikolai Kondrashov
ac256b1f9e Upgrade to upstream v3.0.9 release 2015-08-20 14:40:27 +03:00
Nikolai Kondrashov
4e945df366 Remove unused heartbleed confirmation patch 2015-08-20 14:03:56 +03:00
Dennis Gilmore
14c0060acf - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-17 06:42:25 +00:00
Jitka Plesnikova
31a2e1f322 Perl 5.22 rebuild 2015-06-05 11:23:05 +02:00
Nikolai Kondrashov
89982523ab Add the new challenge site to the package
Related: Bug#1133959
2015-04-28 13:54:19 +03:00
Nikolai Kondrashov
695a8568a6 Rebase freeradius-redhat-config.patch
Rebase freeradius-redhat-config.patch to avoid .orig file creation on
patching.

Related: Bug#1133959
2015-04-28 13:40:34 +03:00
Nikolai Kondrashov
ca58f5f6ac Remove freeradius-postgres-sql.patch as upstreamed
Related: Bug#1133959
2015-04-28 13:08:16 +03:00
Nikolai Kondrashov
2f1b9c4406 Add v3.0.8 tarball
Related: Bug#1133959
2015-04-28 12:54:43 +03:00
Nikolai Kondrashov
1bb86b1eb8 Add freeradius-rest subpackage
Resolves: Bug#1196276
2015-03-31 16:08:30 +03:00
Nikolai Kondrashov
9bf49420c8 Upgrade to upstream v3.0.7 release
Resolves: Bug#1133959
2015-03-31 16:08:30 +03:00
Nikolai Kondrashov
6ba73827f1 Move SNMP MIB installation out of cleanup chunk 2015-03-31 14:58:02 +03:00
Nikolai Kondrashov
aa41c2c44d Bump release number to catch up with Fedora 21. 2015-02-13 12:51:30 +01:00
Nikolai Kondrashov
f6201f6c98 Bump release number 2015-01-19 18:41:31 +02:00
Nikolai Kondrashov
2376f330f3 Fix OpenSSL version check issues
Resolves: Bug#1173821
2015-01-19 18:41:28 +02:00
Nikolai Kondrashov
c9fec23c45 raddb: Comment on ipaddr/ipv4addr/ipv6addr use
Describe combined ipaddr/ipv4addr/ipv6addr use in
raddb/sites-available/default.

Resolves: Bug#1168247
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
ba9071d76e Fix ipaddr fallback onto ipv6
Resolves: Bug#1168868
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
94d784ece8 raddb: Move trigger.conf INCLUDE before modules
Move "$INCLUDE trigger.conf" chunk before module section in
"radiusd.conf.in". This makes it possible to reference "snmptrap" and
related trigger variables under "pool.trigger" in module configurations,
simplifying them.

Resolves: Bug#1155961
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
7eb2ab3d96 Improve dhcpclient and rad_counter online help
Resolves: Bug:#1146966
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
b46bc32401 Convert PostgreSQL setup patch to git format
Convert freeradius-postgres-sql.patch to git format. This makes all
patches conform to git format, which makes it easier to apply them to a
git repo. This simplifies current and further rebases.

Related: Bug#1120234
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
11209699e6 valuepair: Don't remove unknown backslash
Don't remove backslash from unkown escape sequences in pairparsevalue,
adhering to behavior common to most other programs dealing with
backslash escape sequences.

Resolves: Bug#1173526
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
46c7f7b947 Update clients(5) man page
Remove attribute description from clients.conf(5) source as it is
outdated, lists just a few attributes and wasn't updated for more than a
year. Refer to clients.conf file itself, instead.

Remove references to non-existent naslist and clients manpages as they
are confusing.

Resolves: bug#1147464
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
f683c66d9f Don't install rbmonkey
Remove rbmonkey from installation as it is a test tool and is only
useful to upstream developers.

Related: Bug#1146966
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
9f95b2d211 Add -D option support to dhcpclient
Add support for -D option to radclient. The option allows overriding the
main dictionary directory location. This fixes the inability to fully
override dictionary locations introduced with
"freeradius-fix-dhcp-dictionary-loading.patch".

Related: Bug#1146939
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
34d5060c31 Disable rlm_rest building explicitly
Resolves: Bug#1162156
2015-01-19 17:52:26 +02:00
Nikolai Kondrashov
12ea0067d5 Fix PW_TYPE_FILE_INPUT handling in cf_item_parse
This fixes the following Coverity issues:

    Error: DEADCODE (CWE-561):
    freeradius-server-3.0.4/src/main/conffile.c:1002: assignment: Assigning: "type" &= "255".
    freeradius-server-3.0.4/src/main/conffile.c:1041: between: When switching on "type", the value of "type" must be between 0 and 255.
    freeradius-server-3.0.4/src/main/conffile.c:1167: dead_error_condition: The switch value "type" cannot be "16385".
    freeradius-server-3.0.4/src/main/conffile.c:1167: dead_error_line: Execution cannot reach this statement: "case 16385:".

    Error: DEADCODE (CWE-561):
    freeradius-server-3.0.4/src/main/conffile.c:1002: assignment: Assigning: "type" &= "255".
    freeradius-server-3.0.4/src/main/conffile.c:1041: between: When switching on "type", the value of "type" must be between 0 and 255.
    freeradius-server-3.0.4/src/main/conffile.c:1168: dead_error_condition: The switch value "type" cannot be "32769".
    freeradius-server-3.0.4/src/main/conffile.c:1168: dead_error_begin: Execution cannot reach this statement: "case 32769:".

Resolves: Bug#1120234
2015-01-19 17:52:25 +02:00
Nikolai Kondrashov
2c2e39afa9 Don't return stack memory in fr_getgrnam
This fixes the following Coverity issue:

    Error: RETURN_LOCAL (CWE-562):
    freeradius-server-3.0.4/src/modules/rlm_unix/rlm_unix.c:87: local_ptr_identity_local: "getgrnam_r(name, &my_group, group_buffer, group_size, &grp)" stores "&my_group" (address of local variable "my_group") into "grp".
    freeradius-server-3.0.4/src/modules/rlm_unix/rlm_unix.c:99: return_local_addr_alias: Returning pointer "grp" which points to local variable "my_group".

Resolves: Bug#1120234
2015-01-19 17:52:25 +02:00
Nikolai Kondrashov
d3ba025501 Fix triggers
Resolves: Bug#1110407
Resolves: Bug#1110414
Resolves: Bug#1110186
Resolves: Bug#1109164
2015-01-19 17:52:25 +02:00
Nikolai Kondrashov
aba3ebe6cb Fix radtest manpage patch order
Resolves: Bug#1146898
Resolves: Bug#1114669
2015-01-19 17:52:25 +02:00
Nikolai Kondrashov
808cec9332 man: Mention eap-md5 in radtest synopsis
Resolves: Bug#1146898
2015-01-19 17:52:25 +02:00