forked from OpenSIPS/opensips
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
redhat: replace deprecated radiuslient with radcli
- Loading branch information
1 parent
bf0e1ee
commit b36a247
Showing
1 changed file
with
5 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,10 +21,6 @@ | |
%global _with_cachedb_mongodb 1 | ||
%endif | ||
|
||
%if 0%{?rhel} > 7 || 0%{?fedora} > 23 | ||
%global _without_aaa_radius 1 | ||
%endif | ||
|
||
%if 0%{?rhel} > 7 || 0%{?fedora} > 36 | ||
%global _with_python3 1 | ||
%endif | ||
|
@@ -41,7 +37,7 @@ | |
%global _with_wolfssl 1 | ||
%endif | ||
|
||
%global EXCLUDE_MODULES %{!?_with_auth_jwt:auth_jwt} %{!?_with_cachedb_cassandra:cachedb_cassandra} %{!?_with_cachedb_couchbase:cachedb_couchbase} %{!?_with_cachedb_dynamodb:cachedb_dynamodb} %{!?_with_cachedb_mongodb:cachedb_mongodb} %{!?_with_cachedb_redis:cachedb_redis} %{!?_with_db_oracle:db_oracle} %{!?_with_osp:osp} %{!?_with_sngtc:sngtc} %{!?_with_aaa_diameter:aaa_diameter aka_av_diameter} %{?_without_aaa_radius:aaa_radius} %{?_without_db_perlvdb:db_perlvdb} %{?_without_snmpstats:snmpstats} %{!?_with_wolfssl:tls_wolfssl} launch_darkly http2d | ||
%global EXCLUDE_MODULES %{!?_with_auth_jwt:auth_jwt} %{!?_with_cachedb_cassandra:cachedb_cassandra} %{!?_with_cachedb_couchbase:cachedb_couchbase} %{!?_with_cachedb_dynamodb:cachedb_dynamodb} %{!?_with_cachedb_mongodb:cachedb_mongodb} %{!?_with_cachedb_redis:cachedb_redis} %{!?_with_db_oracle:db_oracle} %{!?_with_osp:osp} %{!?_with_sngtc:sngtc} %{!?_with_aaa_diameter:aaa_diameter aka_av_diameter} %{?_without_db_perlvdb:db_perlvdb} %{?_without_snmpstats:snmpstats} %{!?_with_wolfssl:tls_wolfssl} launch_darkly http2d | ||
|
||
Summary: Very fast and configurable SIP server | ||
Name: opensips | ||
|
@@ -685,9 +681,7 @@ module to publish RabbitMQ messages to a RabbitMQ server. | |
Summary: Radius modules for OpenSIPS | ||
Group: System Environment/Daemons | ||
Requires: %{name} = %{version}-%{release} | ||
%if 0%{!?_without_aaa_radius:1} | ||
BuildRequires: radiusclient-ng-devel | ||
%endif | ||
BuildRequires: radcli-devel | ||
|
||
%description radius-modules | ||
OpenSIPS is a very fast and flexible SIP (RFC3261) | ||
|
@@ -1077,9 +1071,7 @@ fi | |
%attr(755,root,root) %{_initrddir}/opensips | ||
%endif | ||
|
||
%if 0%{!?_without_aaa_radius:1} | ||
%config(noreplace) %{_sysconfdir}/opensips/dictionary.opensips | ||
%endif | ||
%config(noreplace) %{_sysconfdir}/sysconfig/%{name} | ||
%attr(640,%{name},%{name}) %config(noreplace) %{_sysconfdir}/opensips/opensips.cfg | ||
%attr(640,%{name},%{name}) %config(noreplace) %{_sysconfdir}/opensips/scenario_callcenter.xml | ||
|
@@ -1572,10 +1564,8 @@ fi | |
%files radius-modules | ||
%{_libdir}/opensips/modules/peering.so | ||
%doc docdir/README.peering | ||
%if 0%{!?_without_aaa_radius:1} | ||
%{_libdir}/opensips/modules/aaa_radius.so | ||
%doc docdir/README.aaa_radius | ||
%endif | ||
|
||
%if 0%{?_with_cachedb_redis:1} | ||
%files redis-module | ||
|
@@ -1674,6 +1664,9 @@ fi | |
|
||
|
||
%changelog | ||
* Mon Aug 19 2024 Razvan Crainea <[email protected]> - 3.6.0-1 | ||
- Replace deprecated dependency for radius modules | ||
|
||
* Sat May 18 2024 Nick Altmann <[email protected]> - 3.5.0-1 | ||
- Specification updated for opensips 3.5 | ||
- New modules: aka_av_diameter, auth_aka, mqueue, presence_reginfo, proto_ipsec, pua_reginfo | ||
|