Module: kamailio
Branch: master
Commit: c2fc809059e0c70aa4324f5727666989ee8aff05
URL: 
https://github.com/kamailio/kamailio/commit/c2fc809059e0c70aa4324f5727666989ee8aff05

Author: Sergey Safarov <s.safa...@anycast-lb.net>
Committer: Sergey Safarov <s.safa...@anycast-lb.net>
Date: 2025-05-23T11:04:14+03:00

pkg/kamailio: use radcli on RHEL based dist [skip ci]

---

Modified: pkg/kamailio/obs/kamailio.spec

---

Diff:  
https://github.com/kamailio/kamailio/commit/c2fc809059e0c70aa4324f5727666989ee8aff05.diff
Patch: 
https://github.com/kamailio/kamailio/commit/c2fc809059e0c70aa4324f5727666989ee8aff05.patch

---

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

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to