Update to upstream release 3.2.1

Resolves: #2131850
Signed-off-by: Antonio Torres <antorres@redhat.com>
This commit is contained in:
Antonio Torres 2022-10-17 13:25:03 +02:00
parent 491f4aac7b
commit d2db6eed8c
No known key found for this signature in database
GPG Key ID: 359FAF777296F653
6 changed files with 32 additions and 744 deletions

1
.gitignore vendored
View File

@ -39,3 +39,4 @@ freeradius-*.src.rpm
/freeradius-server-3.0.24.tar.bz2
/freeradius-server-3.0.25.tar.bz2
/freeradius-server-3.2.0.tar.bz2
/freeradius-server-3.2.1.tar.bz2

View File

@ -4,6 +4,7 @@ Date: Wed, 8 May 2019 10:16:31 -0400
Subject: [PATCH] Use system-provided crypto-policies by default
Signed-off-by: Alexander Scheel <ascheel@redhat.com>
[antorres@redhat.com]: update patch to 3.2.1 state
---
raddb/mods-available/eap | 4 ++--
raddb/mods-available/inner-eap | 2 +-
@ -12,19 +13,19 @@ Signed-off-by: Alexander Scheel <ascheel@redhat.com>
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/raddb/mods-available/eap b/raddb/mods-available/eap
index 36849e10f2..b28c0f19c6 100644
index 62152a6dfc..9f64963034 100644
--- a/raddb/mods-available/eap
+++ b/raddb/mods-available/eap
@@ -370,7 +370,7 @@ eap {
@@ -400,7 +400,7 @@ eap {
# TLS cipher suites. The format is listed
# in "man 1 ciphers".
#
- cipher_list = "DEFAULT"
+ cipher_list = "PROFILE=SYSTEM"
# If enabled, OpenSSL will use server cipher list
# (possibly defined by cipher_list option above)
@@ -1008,7 +1008,7 @@ eap {
# Set this option to specify the allowed
# TLS signature algorithms for OpenSSL 1.1.1 and above.
@@ -1082,7 +1082,7 @@ eap {
# "DEFAULT" as "DEFAULT" contains "!aNULL" so instead it is
# recommended "ALL:!EXPORT:!eNULL:!SSLv2" is used
#
@ -60,10 +61,10 @@ index b8d0626bbe..073b2933c2 100644
enable = no
lifetime = 24 # hours
diff --git a/raddb/sites-available/tls b/raddb/sites-available/tls
index bbc761b1c5..83cd35b851 100644
index 137fcbc6cc..a65f8a8711 100644
--- a/raddb/sites-available/tls
+++ b/raddb/sites-available/tls
@@ -215,7 +215,7 @@ listen {
@@ -292,7 +292,7 @@ listen {
# Set this option to specify the allowed
# TLS cipher suites. The format is listed
# in "man 1 ciphers".
@ -72,15 +73,15 @@ index bbc761b1c5..83cd35b851 100644
# If enabled, OpenSSL will use server cipher list
# (possibly defined by cipher_list option above)
@@ -517,7 +517,7 @@ home_server tls {
@@ -676,7 +676,7 @@ home_server tls {
# Set this option to specify the allowed
# TLS cipher suites. The format is listed
# in "man 1 ciphers".
- cipher_list = "DEFAULT"
+ cipher_list = "PROFILE=SYSTEM"
}
}
#
# Connection timeout for outgoing TLS connections.
--
2.21.0

View File

@ -1,719 +0,0 @@
From: Antonio Torres <antorres@redhat.com>
Date: Mon, 5 Sep 2022
Subject: 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>
---
src/modules/rlm_cache/configure | 3 +++
src/modules/rlm_cache/drivers/rlm_cache_memcached/configure | 3 +++
src/modules/rlm_couchbase/configure | 3 +++
src/modules/rlm_counter/configure | 3 +++
src/modules/rlm_eap/configure | 3 +++
src/modules/rlm_eap/types/rlm_eap_fast/configure | 3 +++
src/modules/rlm_eap/types/rlm_eap_ikev2/configure | 3 +++
src/modules/rlm_eap/types/rlm_eap_pwd/configure | 3 +++
src/modules/rlm_eap/types/rlm_eap_sim/configure | 3 +++
src/modules/rlm_eap/types/rlm_eap_tnc/configure | 3 +++
src/modules/rlm_example/configure | 3 +++
src/modules/rlm_idn/configure | 3 +++
src/modules/rlm_ippool/configure | 3 +++
src/modules/rlm_krb5/configure | 3 +++
src/modules/rlm_ldap/configure | 3 +++
src/modules/rlm_mschap/configure | 3 +++
src/modules/rlm_opendirectory/configure | 3 +++
src/modules/rlm_pam/configure | 3 +++
src/modules/rlm_perl/configure | 3 +++
src/modules/rlm_python/configure | 3 +++
src/modules/rlm_python3/configure | 3 +++
src/modules/rlm_radutmp/configure | 3 +++
src/modules/rlm_realm/configure | 3 +++
src/modules/rlm_redis/configure | 3 +++
src/modules/rlm_rediswho/configure | 3 +++
src/modules/rlm_rest/configure | 3 +++
src/modules/rlm_ruby/configure | 3 +++
src/modules/rlm_securid/configure | 3 +++
src/modules/rlm_smsotp/configure | 3 +++
src/modules/rlm_sql/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_db2/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_firebird/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_freetds/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_mongo/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_mysql/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_oracle/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure | 3 +++
src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure | 3 +++
src/modules/rlm_sql_map/configure | 3 +++
src/modules/rlm_sqlcounter/configure | 3 +++
src/modules/rlm_sqlhpwippool/configure | 3 +++
src/modules/rlm_sqlippool/configure | 3 +++
src/modules/rlm_unbound/configure | 3 +++
src/modules/rlm_unix/configure | 3 +++
src/modules/rlm_yubikey/configure | 3 +++
47 files changed, 141 insertions(+)
diff --git a/src/modules/rlm_cache/configure b/src/modules/rlm_cache/configure
index e6382e91ee..d9f6a6d021 100755
--- a/src/modules/rlm_cache/configure
+++ b/src/modules/rlm_cache/configure
@@ -936,6 +936,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure b/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure
index ecb7f11ca5..3701e0f5c5 100755
--- a/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure
+++ b/src/modules/rlm_cache/drivers/rlm_cache_memcached/configure
@@ -941,6 +941,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_couchbase/configure b/src/modules/rlm_couchbase/configure
index 1e1bd898da..6d0a65a578 100755
--- a/src/modules/rlm_couchbase/configure
+++ b/src/modules/rlm_couchbase/configure
@@ -944,6 +944,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_counter/configure b/src/modules/rlm_counter/configure
index c254e7ac3e..281671727c 100755
--- a/src/modules/rlm_counter/configure
+++ b/src/modules/rlm_counter/configure
@@ -941,6 +941,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_eap/configure b/src/modules/rlm_eap/configure
index 4aff92daff..5179fa33e9 100755
--- a/src/modules/rlm_eap/configure
+++ b/src/modules/rlm_eap/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_eap/types/rlm_eap_fast/configure b/src/modules/rlm_eap/types/rlm_eap_fast/configure
index b360af6bf9..4145de9937 100755
--- a/src/modules/rlm_eap/types/rlm_eap_fast/configure
+++ b/src/modules/rlm_eap/types/rlm_eap_fast/configure
@@ -943,6 +943,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_eap/types/rlm_eap_ikev2/configure b/src/modules/rlm_eap/types/rlm_eap_ikev2/configure
index 8671d86c1d..71ce73ece9 100755
--- a/src/modules/rlm_eap/types/rlm_eap_ikev2/configure
+++ b/src/modules/rlm_eap/types/rlm_eap_ikev2/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_eap/types/rlm_eap_pwd/configure b/src/modules/rlm_eap/types/rlm_eap_pwd/configure
index b4b5bc085f..f13170c85d 100755
--- a/src/modules/rlm_eap/types/rlm_eap_pwd/configure
+++ b/src/modules/rlm_eap/types/rlm_eap_pwd/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_eap/types/rlm_eap_sim/configure b/src/modules/rlm_eap/types/rlm_eap_sim/configure
index ef5f2bac1f..664d0dc3fa 100755
--- a/src/modules/rlm_eap/types/rlm_eap_sim/configure
+++ b/src/modules/rlm_eap/types/rlm_eap_sim/configure
@@ -924,6 +924,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_eap/types/rlm_eap_tnc/configure b/src/modules/rlm_eap/types/rlm_eap_tnc/configure
index 92da810c75..852511afbb 100755
--- a/src/modules/rlm_eap/types/rlm_eap_tnc/configure
+++ b/src/modules/rlm_eap/types/rlm_eap_tnc/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_example/configure b/src/modules/rlm_example/configure
index 280e00dd85..23b6c6a681 100755
--- a/src/modules/rlm_example/configure
+++ b/src/modules/rlm_example/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_idn/configure b/src/modules/rlm_idn/configure
index 7b25ba14d6..2fd00ffa8a 100755
--- a/src/modules/rlm_idn/configure
+++ b/src/modules/rlm_idn/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_ippool/configure b/src/modules/rlm_ippool/configure
index c911010098..ed62cd8f07 100755
--- a/src/modules/rlm_ippool/configure
+++ b/src/modules/rlm_ippool/configure
@@ -943,6 +943,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_krb5/configure b/src/modules/rlm_krb5/configure
index 991131b531..4439a4671d 100755
--- a/src/modules/rlm_krb5/configure
+++ b/src/modules/rlm_krb5/configure
@@ -940,6 +940,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_ldap/configure b/src/modules/rlm_ldap/configure
index ded503f6ee..a8f502174c 100755
--- a/src/modules/rlm_ldap/configure
+++ b/src/modules/rlm_ldap/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_mschap/configure b/src/modules/rlm_mschap/configure
index dec56aaf31..770a2a57ab 100755
--- a/src/modules/rlm_mschap/configure
+++ b/src/modules/rlm_mschap/configure
@@ -942,6 +942,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_opendirectory/configure b/src/modules/rlm_opendirectory/configure
index b85c9fd1b3..0b81c8b49a 100755
--- a/src/modules/rlm_opendirectory/configure
+++ b/src/modules/rlm_opendirectory/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_pam/configure b/src/modules/rlm_pam/configure
index 5adcf9b366..461887f370 100755
--- a/src/modules/rlm_pam/configure
+++ b/src/modules/rlm_pam/configure
@@ -977,6 +977,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_perl/configure b/src/modules/rlm_perl/configure
index aa1e4e9dbf..9c047ee362 100755
--- a/src/modules/rlm_perl/configure
+++ b/src/modules/rlm_perl/configure
@@ -941,6 +941,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_python/configure b/src/modules/rlm_python/configure
index d7d6bc9454..958fb4f3fa 100755
--- a/src/modules/rlm_python/configure
+++ b/src/modules/rlm_python/configure
@@ -942,6 +942,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_python3/configure b/src/modules/rlm_python3/configure
index 52bc177dcd..927f1049f6 100755
--- a/src/modules/rlm_python3/configure
+++ b/src/modules/rlm_python3/configure
@@ -950,6 +950,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_radutmp/configure b/src/modules/rlm_radutmp/configure
index 2bfb8570f4..84eeba4858 100755
--- a/src/modules/rlm_radutmp/configure
+++ b/src/modules/rlm_radutmp/configure
@@ -977,6 +977,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_realm/configure b/src/modules/rlm_realm/configure
index 13e202aa10..6f339ca25a 100755
--- a/src/modules/rlm_realm/configure
+++ b/src/modules/rlm_realm/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_redis/configure b/src/modules/rlm_redis/configure
index 12357e127e..e529ca6bfa 100755
--- a/src/modules/rlm_redis/configure
+++ b/src/modules/rlm_redis/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_rediswho/configure b/src/modules/rlm_rediswho/configure
index f906a222e8..2c8833176f 100755
--- a/src/modules/rlm_rediswho/configure
+++ b/src/modules/rlm_rediswho/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_rest/configure b/src/modules/rlm_rest/configure
index 2a97662fad..dbefc261ed 100755
--- a/src/modules/rlm_rest/configure
+++ b/src/modules/rlm_rest/configure
@@ -946,6 +946,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_ruby/configure b/src/modules/rlm_ruby/configure
index 92bc11eae5..2e434f20b1 100755
--- a/src/modules/rlm_ruby/configure
+++ b/src/modules/rlm_ruby/configure
@@ -951,6 +951,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_securid/configure b/src/modules/rlm_securid/configure
index 88d6871019..1ab7633088 100755
--- a/src/modules/rlm_securid/configure
+++ b/src/modules/rlm_securid/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_smsotp/configure b/src/modules/rlm_smsotp/configure
index c90bc60810..0d7e944fee 100755
--- a/src/modules/rlm_smsotp/configure
+++ b/src/modules/rlm_smsotp/configure
@@ -977,6 +977,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/configure b/src/modules/rlm_sql/configure
index 422e5baf64..285a634bcc 100755
--- a/src/modules/rlm_sql/configure
+++ b/src/modules/rlm_sql/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure b/src/modules/rlm_sql/drivers/rlm_sql_db2/configure
index 0eeffda80a..5001dd5f84 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_db2/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_db2/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure b/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure
index ffdfca36f1..1ab7613426 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_firebird/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure b/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure
index 501daaeb02..bf643f1931 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_freetds/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure b/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure
index 99d0bbc3f3..5a02d9479a 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_iodbc/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure b/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure
index 8ddcba052b..af09bb9fab 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_mongo/configure
@@ -940,6 +940,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure b/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure
index 7ed19587c3..283b5c2cdf 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_mysql/configure
@@ -941,6 +941,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure b/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
index 5a8123851a..44b2a059db 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_oracle/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure b/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure
index db98a9296a..509882a6e9 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_postgresql/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure b/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure
index 6ea76be4e1..f0846f7cef 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_sqlite/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure b/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure
index f6a6157ebb..3ca3b7117b 100755
--- a/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure
+++ b/src/modules/rlm_sql/drivers/rlm_sql_unixodbc/configure
@@ -939,6 +939,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sql_map/configure b/src/modules/rlm_sql_map/configure
index 08c49a2631..99e9543d0c 100755
--- a/src/modules/rlm_sql_map/configure
+++ b/src/modules/rlm_sql_map/configure
@@ -924,6 +924,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sqlcounter/configure b/src/modules/rlm_sqlcounter/configure
index 72a475c392..606804b146 100755
--- a/src/modules/rlm_sqlcounter/configure
+++ b/src/modules/rlm_sqlcounter/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sqlhpwippool/configure b/src/modules/rlm_sqlhpwippool/configure
index 9e434c9f85..16e07caf6e 100755
--- a/src/modules/rlm_sqlhpwippool/configure
+++ b/src/modules/rlm_sqlhpwippool/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_sqlippool/configure b/src/modules/rlm_sqlippool/configure
index 6d07b2c4a6..5866c2a43e 100755
--- a/src/modules/rlm_sqlippool/configure
+++ b/src/modules/rlm_sqlippool/configure
@@ -924,6 +924,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_unbound/configure b/src/modules/rlm_unbound/configure
index 4d92d5b127..4da5738078 100755
--- a/src/modules/rlm_unbound/configure
+++ b/src/modules/rlm_unbound/configure
@@ -938,6 +938,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_unix/configure b/src/modules/rlm_unix/configure
index 8ad9a34042..8949a43d13 100755
--- a/src/modules/rlm_unix/configure
+++ b/src/modules/rlm_unix/configure
@@ -977,6 +977,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
diff --git a/src/modules/rlm_yubikey/configure b/src/modules/rlm_yubikey/configure
index 146d432ed6..ffc8561ed8 100755
--- a/src/modules/rlm_yubikey/configure
+++ b/src/modules/rlm_yubikey/configure
@@ -942,6 +942,9 @@ do
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
+ --runstatedir=*)
+ true ;;
+
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \

View File

@ -27,10 +27,10 @@ index 0b2cd74de8..8c623cf95c 100644
#
# For creating documentation via doc/all.mk
diff --git a/configure b/configure
index b9adc3be20..5bdb2f081b 100755
index 77a1436510..74ff9a1fd4 100755
--- a/configure
+++ b/configure
@@ -679,6 +679,7 @@ AUTOCONF
@@ -652,6 +652,7 @@ AUTOCONF
ACLOCAL
RUSERS
SNMPWALK
@ -38,15 +38,16 @@ index b9adc3be20..5bdb2f081b 100755
SNMPGET
openssl_version_check_config
WITH_DHCP
@@ -7031,6 +7032,7 @@ else
@@ -5961,7 +5962,7 @@ else
openssl_version_check_config=
fi
-
+ENABLE_REPRODUCIBLE_BUILDS=yes
# Check whether --enable-reproducible-builds was given.
if test ${enable_reproducible_builds+y}
then :
@@ -7043,6 +7045,7 @@ printf "%s\n" "#define ENABLE_REPRODUCIBLE_BUILDS 1" >>confdefs.h
if test "${enable_reproducible_builds+set}" = set; then :
enableval=$enable_reproducible_builds; case "$enableval" in
@@ -5973,6 +5974,7 @@ $as_echo "#define ENABLE_REPRODUCIBLE_BUILDS 1" >>confdefs.h
;;
*)
reproducible_builds=no
@ -54,7 +55,6 @@ index b9adc3be20..5bdb2f081b 100755
esac
fi
diff --git a/configure.ac b/configure.ac
index ce4d9b0ae5..790cbf02a0 100644
--- a/configure.ac

View File

@ -1,7 +1,7 @@
Summary: High-performance and highly configurable free RADIUS server
Name: freeradius
Version: 3.2.0
Release: 4%{?dist}
Version: 3.2.1
Release: 1%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.freeradius.org/
@ -27,7 +27,6 @@ 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-configure-runstatedir.patch
%global docdir %{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}}
@ -211,7 +210,6 @@ 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
@ -434,6 +432,7 @@ EOF
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/files/*
%dir %attr(750,root,radiusd) /etc/raddb/mods-config/preprocess
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/preprocess/*
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/realm/freeradius-naptr-to-home-server.sh
%dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql
%dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/counter
@ -445,6 +444,7 @@ EOF
# sites-available
%dir %attr(750,root,radiusd) /etc/raddb/sites-available
/etc/raddb/sites-available/README
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/aws-nlb
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/resource-check
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/control-socket
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/sites-available/decoupled-accounting
@ -881,8 +881,9 @@ EOF
%dir %attr(750,root,radiusd) /etc/raddb/mods-config/sql/main/sqlite
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/queries.conf
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/schema.sql
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/process-radacct-refresh.sh
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/process-radacct-schema.sql
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/process-radacct-close-after-reload.pl
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-config/sql/main/sqlite/process-radacct-new-data-usage-period.sh
%{_libdir}/freeradius/rlm_sql_sqlite.so
@ -898,7 +899,11 @@ EOF
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%changelog
* Tue 20 Sep 2022 Antonio Torres <antorres@redhat.com> - 3.2.0-4
* Mon Oct 17 2022 Antonio Torres <antorres@redhat.com> - 3.2.1-1
- Update to 3.2.1 upstream release
Resolves #2131850
* Tue Sep 20 2022 Antonio Torres <antorres@redhat.com> - 3.2.0-4
- Remove deprecated pcre-devel dependency
Resolves #2128292

View File

@ -1 +1 @@
SHA512 (freeradius-server-3.2.0.tar.bz2) = e7aa7bfc5a6968cdb860bb565ebd45bc1b3f78a665a9888a8b8dacaa1c5256755468aed33bdffe39465f8678c1fb9d6f47f0dbcf0178dfdcb38d99e3bc4b747d
SHA512 (freeradius-server-3.2.1.tar.bz2) = 0f9e98cbf0eff4c5af54731ec34a8c9070252eaf2f91ca0c87caae939f6356fa91a6e1ed98ba66dbf1c1bafecdfcf38603fb4f65a5955e88974f49a5b7885f7a