|
@@ -746,8 +746,8 @@ Summary: RADIUS modules for Kamailio
|
|
Group: %{PKGGROUP}
|
|
Group: %{PKGGROUP}
|
|
Requires: kamailio = %ver
|
|
Requires: kamailio = %ver
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel}
|
|
-Requires: freeradius-client
|
|
|
|
-BuildRequires: freeradius-client-devel
|
|
|
|
|
|
+Requires: radcli
|
|
|
|
+BuildRequires: radcli-devel
|
|
%else
|
|
%else
|
|
Requires: radiusclient-ng
|
|
Requires: radiusclient-ng
|
|
BuildRequires: radiusclient-ng-devel
|
|
BuildRequires: radiusclient-ng-devel
|
|
@@ -1072,7 +1072,7 @@ rm -f misc/examples/pkg/sipcapture.cfg
|
|
|
|
|
|
%build
|
|
%build
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
|
|
-export FREERADIUS=1
|
|
|
|
|
|
+export RADCLI=1
|
|
%endif
|
|
%endif
|
|
make cfg prefix=/usr \
|
|
make cfg prefix=/usr \
|
|
basedir=%{buildroot} \
|
|
basedir=%{buildroot} \
|
|
@@ -1084,7 +1084,7 @@ make
|
|
make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
|
|
make every-module skip_modules="app_mono db_cassandra db_oracle iptrtpproxy \
|
|
jabber ndb_cassandra osp" \
|
|
jabber ndb_cassandra osp" \
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
|
|
- FREERADIUS=1 \
|
|
|
|
|
|
+ RADCLI=1 \
|
|
%endif
|
|
%endif
|
|
%if 0%{?rhel} >= 8
|
|
%if 0%{?rhel} >= 8
|
|
PYTHON3=python3.12 \
|
|
PYTHON3=python3.12 \
|
|
@@ -1192,7 +1192,7 @@ make install
|
|
make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
|
|
make install-modules-all skip_modules="app_mono db_cassandra db_oracle \
|
|
iptrtpproxy jabber osp" \
|
|
iptrtpproxy jabber osp" \
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
|
|
%if 0%{?fedora} || 0%{?suse_version} || 0%{?rhel} >= 8
|
|
- FREERADIUS=1 \
|
|
|
|
|
|
+ RADCLI=1 \
|
|
%endif
|
|
%endif
|
|
%if 0%{?rhel} >= 8
|
|
%if 0%{?rhel} >= 8
|
|
PYTHON3=python3.12 \
|
|
PYTHON3=python3.12 \
|