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>
This commit is contained in:
Antonio Torres 2022-09-05 17:05:18 +02:00
parent 3d25326b00
commit d9e143bb12
No known key found for this signature in database
GPG Key ID: 359FAF777296F653
2 changed files with 726 additions and 1 deletions

View File

@ -0,0 +1,719 @@
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

@ -1,7 +1,7 @@
Summary: High-performance and highly configurable free RADIUS server
Name: freeradius
Version: 3.2.0
Release: 2%{?dist}
Release: 3%{?dist}
License: GPLv2+ and LGPLv2+
URL: http://www.freeradius.org/
@ -27,6 +27,7 @@ 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,6 +212,7 @@ 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
@ -897,6 +899,10 @@ EOF
%attr(640,root,radiusd) %config(noreplace) /etc/raddb/mods-available/rest
%changelog
* Mon Sep 5 2022 Antonio Torres <antorres@redhat.com> - 3.2.0-3
- configure: allow building with runstatedir option
Resolves: #2123374
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.2.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild