[packages/opensips] - updated to 3.6.7
qboosh
qboosh at pld-linux.org
Sun Jul 19 10:54:54 CEST 2026
commit 836783ec623fa49f73dc0c8c9ad85df577a76d6d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Jul 19 10:55:01 2026 +0200
- updated to 3.6.7
gcc15.patch | 52 ------
make-4.4.patch | 447 --------------------------------------------
opensips.spec | 570 +++++++++++++++++++++++++++++++++------------------------
3 files changed, 330 insertions(+), 739 deletions(-)
---
diff --git a/opensips.spec b/opensips.spec
index c78e53d..b4f25ff 100644
--- a/opensips.spec
+++ b/opensips.spec
@@ -1,84 +1,98 @@
-# TODO: oracle, system wolfssl
+# TODO:
+# - cachedb_dynamodb + event_sqs (AWS)
+# - db_oracle
+# - http2d
+# - launch_darkly
+# - rtp.io (needs patch for shared librtpproxy)
+# - system wolfssl in tls_wolfssl module
#
# Conditional build:
-%bcond_without mysql # MySQL support
-%bcond_without pgsql # PostgreSQL support
-%bcond_without sqlite # Sqlite3 support
-%bcond_without odbc # ODBC support
-%bcond_without radius # radius support
+%bcond_without radius # radius aaa support
+%bcond_with aws # AWS services support (DynamoDB cachedb, SQS event)
+%bcond_with couchbase # couchbase cachedb support
+%bcond_without memcached # memcached cachedb support
+%bcond_with mongodb # mongodb cachedb support
+%bcond_without redis # Redis cachedb support
+%bcond_without mysql # MySQL DB support
+%bcond_without pgsql # PostgreSQL DB support
+%bcond_without sqlite # Sqlite3 DB support
+%bcond_without odbc # ODBC DB support
+%bcond_without kafka # Apache Kafka event support
+%bcond_without rabbitmq # Rabbit MQ event support
%bcond_without carrierroute # carrierroute support
+%bcond_with http2 # HTTP/2 support
+%bcond_without json # JSON support (multiple modules)
+%bcond_without geoip # MaxMind GeoIP support
+%bcond_with launchdarkly # Launch Darkly support
%bcond_without ldap # LDAP support
-%bcond_with osp # ETSI OSP VoIP Peering support
-%bcond_without geoip # GeoIP
-%bcond_without json # json support
-%bcond_without memcached # memcached support
%bcond_without microhttpd # httpd support
-%bcond_without kafka # Apache Kafka support
-%bcond_without redis # Redis support
-%bcond_with couchbase # couchbase support
-%bcond_with mongodb # mongodb support
+%bcond_with osp # ETSI OSP VoIP Peering support
+%bcond_with rtpproxy # rtpproxy support (rtp.io module)
%bcond_with sngtc # Sangoma transcoding module support
-%bcond_without rabbitmq # Rabbit MQ support
-%bcond_with wolfssl # WolfSSL support (builds internal WolfSSL :( )
+%bcond_with wolfssl # WolfSSL tls support (builds internal WolfSSL :( )
Summary: SIP proxy, redirect and registrar server
Summary(pl.UTF-8): Serwer SIP przekazujący (proxy), przekierowujący i rejestrujący
Name: opensips
-Version: 3.4.15
-Release: 5
+Version: 3.6.7
+Release: 1
License: GPL v2
Group: Networking/Daemons
Source0: https://opensips.org/pub/opensips/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: d8235ceae0b0ec9e31e0bc45b5df832c
+# Source0-md5: c94e57be3992d77e2e0969a59e0d9341
Source1: %{name}.init
Source2: %{name}.sysconfig
Source3: %{name}.service
Patch0: x32.patch
-Patch1: make-4.4.patch
-Patch2: gcc15.patch
URL: https://opensips.org/
%{?with_osp:BuildRequires: OSPToolkit}
%{?with_sngtc:BuildRequires: TODO-SNGTC-BRs}
+%{?with_aws:BuildRequires: aws-sdk-cpp-devel}
BuildRequires: bison
BuildRequires: curl-devel
BuildRequires: db-devel
+# for jabber/xmpp
BuildRequires: expat-devel
BuildRequires: flex
%{?with_redis:BuildRequires: hiredis-devel}
%{?with_json:BuildRequires: json-c-devel}
+%{?with_launchdarkly:BuildRequires: launchdarkly-c-client-sdk-devel}
%{?with_carrierroute:BuildRequires: libconfuse-devel}
%{?with_couchbase:BuildRequires: libcouchbase-devel}
+%{?with_http2:BuildRequires: libevent-devel}
%{?with_geoip:BuildRequires: libmaxminddb-devel}
%{?with_memcached:BuildRequires: libmemcached-devel}
%{?with_microhttpd:BuildRequires: libmicrohttpd-devel}
-%{?with_pgsql:BuildRequires: libpqxx-devel}
+BuildRequires: libmnl-devel
%{?with_kafka:BuildRequires: librdkafka-devel}
+%{?with_rtpproxy:BuildRequires: librtpproxy-devel}
BuildRequires: libsctp-devel
%{?with_osp:BuildRequires: libutf8proc-devel}
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel >= 2.0
BuildRequires: libxslt-progs
-BuildRequires: lua54-devel
+BuildRequires: lua54-devel >= 5.4
#BuildRequires: lynx
%{?with_mongodb:BuildRequires: mongo-c-driver-devel >= 1.0}
%{?with_mysql:BuildRequires: mysql-devel}
BuildRequires: net-snmp-devel
+%{?with_http2:BuildRequires: nghttp2-devel >= 1.62.1}
%{?with_ldap:BuildRequires: openldap-devel}
BuildRequires: openssl-devel
BuildRequires: pcre-devel
+BuildRequires: pcre2-8-devel
BuildRequires: perl-devel
BuildRequires: perl-tools-devel
BuildRequires: pkgconfig
+%{?with_pgsql:BuildRequires: postgresql-devel}
BuildRequires: python-devel >= 1:2.5
%{?with_rabbitmq:BuildRequires: rabbitmq-c-devel}
%{?with_radius:BuildRequires: radiusclient-ng-devel}
BuildRequires: rpm-pythonprov
BuildRequires: rpmbuild(macros) >= 1.671
%{?with_sqlite:BuildRequires: sqlite3-devel >= 3}
-#BuildRequires: subversion
%{?with_odbc:BuildRequires: unixODBC-devel}
BuildRequires: which
-BuildRequires: xmlrpc-c-devel >= 1.10.0
BuildRequires: zlib-devel
Requires(post,preun): /sbin/chkconfig
Requires: rc-scripts
@@ -87,8 +101,8 @@ Suggests: python-modules
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
# aaa_diameter requires 'freeDiameter/extension.h'
-# cachedb_cassandra requires 'protocol/TBinaryProtocol.h'
-%define exclude_modules aaa_diameter auth_jwt db_oracle cachedb_cassandra
+# cachedb_cassandra requires 'protocol/TBinaryProtocol.h' (thrift?)
+%define exclude_modules aaa_diameter auth_jwt db_oracle cachedb_cassandra
%description
OpenSIPS (Open SIP Server) is a mature Open Source implementation of a
@@ -108,6 +122,42 @@ SIP. Z bardzo elastycznym i konfigurowalnym silnikiem trasującym,
łączy usługi głosowe, wideo, komunikatorów oraz obecności w bardzo
wydajny sposób, dzięki skalowalnej, modularnej budowie.
+%package radius
+Summary: openSIPS Radius module
+Summary(pl.UTF-8): Moduł Radius do openSIPS
+Group: Networking/Daemons
+Requires: %{name} = %{version}-%{release}
+
+%description radius
+Radius auth/accounting module for openSIPS.
+
+%description radius -l pl.UTF-8
+Moduł uwierzytelniania/rozliczania Radius do openSIPS.
+
+%package memcached
+Summary: openSIPS memcached module
+Summary(pl.UTF-8): Moduł memcached do openSIPS
+Group: Networking/Daemons
+Requires: %{name} = %{version}-%{release}
+
+%description memcached
+Memcached cachedb module for openSIPS.
+
+%description memcached -l pl.UTF-8
+Moduł pamięci podręcznej memcached do openSIPS.
+
+%package redis
+Summary: Redis interface for openSIPS
+Summary(pl.UTF-8): Moduł Redis do openSIPS
+Group: Networking/Daemons
+Requires: %{name} = %{version}-%{release}
+
+%description redis
+Redis cachedb module for openSIPS.
+
+%description redis -l pl.UTF-8
+Moduł pamięci podręcznej Redis do openSIPS.
+
%package mysql
Summary: openSIPS MySQL module
Summary(pl.UTF-8): Moduł MySQL do openSIPS
@@ -115,10 +165,10 @@ Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description mysql
-MySQL module for openSIPS.
+MySQL db module for openSIPS.
%description mysql -l pl.UTF-8
-Moduł MySQL do openSIPS.
+Moduł bazy danych MySQL do openSIPS.
%package postgres
Summary: openSIPS PostgreSQL module
@@ -127,10 +177,10 @@ Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description postgres
-PostgreSQL module for openSIPS.
+PostgreSQL db module for openSIPS.
%description postgres -l pl.UTF-8
-Moduł PostgreSQL do openSIPS.
+Moduł bazy danych PostgreSQL do openSIPS.
%package sqlite3
Summary: openSIPS Sqlite3 module
@@ -139,95 +189,94 @@ Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
%description sqlite3
-Sqlite3 module for openSIPS.
+Sqlite3 db module for openSIPS.
%description sqlite3 -l pl.UTF-8
-Moduł Sqlite3 do openSIPS.
+Moduł bazy danych Sqlite3 do openSIPS.
-%package json
-Summary: openSIPS JSON module
-Summary(pl.UTF-8): Moduł JSON do openSIPS
+%package odbc
+Summary: openSIPS unixODBC module
+Summary(pl.UTF-8): Moduł unixODBC do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description json
-JSON module for openSIPS.
+%description odbc
+unixODBC db module for openSIPS.
-%description json -l pl.UTF-8
-Moduł JSON do openSIPS.
+%description odbc -l pl.UTF-8
+Moduł bazy danych unixODBC do openSIPS.
-%package cgrates
-Summary: openSIPS CGRateS module
-Summary(pl.UTF-8): Moduł CGRateS do openSIPS
+%package kafka
+Summary: Apache Kafka interface to openSIPS
+Summary(pl.UTF-8): Interfejs Apache Kafka do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description cgrates
-CGRateS module for openSIPS.
+%description kafka
+Apache Kafka event module for openSIPS.
-%description cgrates -l pl.UTF-8
-Moduł CGRateS do openSIPS.
+%description kafka -l pl.UTF-8
+Moduł kolejki zdarzeń Apache Kafka do openSIPS.
-%package memcached
-Summary: openSIPS memcached module
-Summary(pl.UTF-8): Moduł memcached do openSIPS
+%package rabbitmq
+Summary: RabbitMQ interface to openSIPS
+Summary(pl.UTF-8): Interfejs RabbitMQ do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description memcached
-Memcached module for openSIPS.
+%description rabbitmq
+RabbitMQ event module for openSIPS.
-%description memcached -l pl.UTF-8
-Moduł memcached do openSIPS.
+%description rabbitmq -l pl.UTF-8
+Moduł kolejki zdarzeń RabbitMQ do openSIPS.
-%package radius
-Summary: openSIPS Radius module
-Summary(pl.UTF-8): Moduł Radius do openSIPS
+%package carrierroute
+Summary: openSIPS Carrierroute module
+Summary(pl.UTF-8): Moduł Carrierroute do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description radius
-Radius module for openSIPS.
+%description carrierroute
+Carrierroute module for openSIPS.
-%description radius -l pl.UTF-8
-Moduł Radius do openSIPS.
+%description carrierroute -l pl.UTF-8
+Moduł Carrierroute do openSIPS.
-%package odbc
-Summary: openSIPS ODBC module
-Summary(pl.UTF-8): Moduł ODBC do openSIPS
+%package cgrates
+Summary: openSIPS CGRateS module
+Summary(pl.UTF-8): Moduł CGRateS do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description odbc
-ODBC module for openSIPS.
+%description cgrates
+CGRateS module for openSIPS.
-%description odbc -l pl.UTF-8
-Moduł ODBC do openSIPS.
+%description cgrates -l pl.UTF-8
+Moduł CGRateS do openSIPS.
-%package perl
-Summary: openSIPS perl and perlvdb modules
-Summary(pl.UTF-8): Moduły perl i perlvdb do openSIPS
+%package httpd
+Summary: HTTP interface to openSIPS
+Summary(pl.UTF-8): Interfejs HTTP do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description perl
-Perl modules (perl & perlvdb) for openSIPS.
+%description httpd
+HTTP interface to openSIPS.
-%description perl -l pl.UTF-8
-Moduły perl i perlvdb do openSIPS.
+%description httpd -l pl.UTF-8
+Interfejs HTTP do openSIPS.
-%package xmpp
-Summary: openSIPS XMPP/Jabber modules
-Summary(pl.UTF-8): Moduły XMPP/Jabber do openSIPS
+%package json
+Summary: openSIPS JSON module
+Summary(pl.UTF-8): Moduł JSON do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-Obsoletes: opensips-jabber < 1.4.1
-%description xmpp
-XMPP/Jabber modules for openSIPS.
+%description json
+JSON module for openSIPS.
-%description xmpp -l pl.UTF-8
-Moduły XMPP/Jabber do openSIPS.
+%description json -l pl.UTF-8
+Moduł JSON do openSIPS.
%package ldap
Summary: openSIPS LDAP and H350 modules
@@ -241,17 +290,17 @@ LDAP and H350 modules for openSIPS.
%description ldap -l pl.UTF-8
Moduły LDAP i H350 do openSIPS.
-%package carrierroute
-Summary: openSIPS Carrierroute module
-Summary(pl.UTF-8): Moduł Carrierroute do openSIPS
+%package mmgeoip
+Summary: openSIPS MaxMind GeoIP module
+Summary(pl.UTF-8): Moduł MaxMind GeoIP do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description carrierroute
-Carrierroute module for openSIPS.
+%description mmgeoip
+MaxMind GeoIP module for openSIPS.
-%description carrierroute -l pl.UTF-8
-Moduł Carrierroute do openSIPS.
+%description mmgeoip -l pl.UTF-8
+Moduł MaxMind GeoIP do openSIPS.
%package osp
Summary: openSIPS OSP module
@@ -265,17 +314,17 @@ OSP module for openSIPS.
%description osp -l pl.UTF-8
Moduł OSP do openSIPS.
-%package mmgeoip
-Summary: openSIPS MaxMind GeoIP module
-Summary(pl.UTF-8): Moduł MaxMind GeoIP do openSIPS
+%package perl
+Summary: openSIPS perl and perlvdb modules
+Summary(pl.UTF-8): Moduły perl i perlvdb do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
-%description mmgeoip
-MaxMind GeoIP module for openSIPS.
+%description perl
+Perl modules (perl & perlvdb) for openSIPS.
-%description mmgeoip -l pl.UTF-8
-Moduł MaxMind GeoIP do openSIPS.
+%description perl -l pl.UTF-8
+Moduły perl i perlvdb do openSIPS.
%package snmpstats
Summary: openSIPS SNMP statistics module
@@ -303,79 +352,45 @@ MIBs for openSIPS.
%description -n mibs-%{name} -l pl.UTF-8
MIB-y dla openSIPS.
-%package redis
-Summary: Redis interface for openSIPS
-Summary(pl.UTF-8): Moduł Redis do openSIPS
-Group: Networking/Daemons
-Requires: %{name} = %{version}-%{release}
-
-%description redis
-Redis interface for openSIPS.
-
-%description redis -l pl.UTF-8
-Moduł Redis do openSIPS.
-
-%package httpd
-Summary: HTTP interface to openSIPS
-Summary(pl.UTF-8): Interfejs HTTP do openSIPS
-Group: Networking/Daemons
-Requires: %{name} = %{version}-%{release}
-
-%description httpd
-HTTP interface to openSIPS.
-
-%description httpd -l pl.UTF-8
-Interfejs HTTP do openSIPS.
-
-%package rabbitmq
-Summary: RabbitMQ interface to openSIPS
-Summary(pl.UTF-8): Interfejs RabbitMQ do openSIPS
-Group: Networking/Daemons
-Requires: %{name} = %{version}-%{release}
-
-%description rabbitmq
-RabbitMQ interface to openSIPS.
-
-%description rabbitmq -l pl.UTF-8
-Interfejs RabbitMQ do openSIPS.
-
-%package kafka
-Summary: Apache Kafka interface to openSIPS
-Summary(pl.UTF-8): Interfejs Apache Kafka do openSIPS
+%package xmpp
+Summary: openSIPS XMPP/Jabber modules
+Summary(pl.UTF-8): Moduły XMPP/Jabber do openSIPS
Group: Networking/Daemons
Requires: %{name} = %{version}-%{release}
+Obsoletes: opensips-jabber < 1.4.1
-%description kafka
-Apache Kafka interface to openSIPS.
+%description xmpp
+XMPP/Jabber modules for openSIPS.
-%description kafka -l pl.UTF-8
-Interfejs Apache Kafka do openSIPS.
+%description xmpp -l pl.UTF-8
+Moduły XMPP/Jabber do openSIPS.
%prep
%setup -q
%patch -P0 -p1
-%patch -P1 -p1
-%patch -P2 -p1
%{__sed} -E -i -e '1s,#!\s*/usr/bin/python(\s|$),#!%{__python3}\1,' \
- scripts/dbtextdb/dbtextdb.py
+ scripts/dbtextdb/dbtextdb.py
%build
exclude_modules="%{exclude_modules}"
-%if %{without redis}
-exclude_modules="$exclude_modules cachedb_redis"
+%if %{without radius}
+exclude_modules="$exclude_modules aaa_radius"
%endif
-%if %{without ldap}
-exclude_modules="$exclude_modules h350 ldap"
+%if %{without aws}
+exclude_modules="$exclude_modules cachedb_dynamodb event_sqs"
%endif
-%if %{without carrierroute}
-exclude_modules="$exclude_modules carrierroute"
+%if %{without couchbase}
+exclude_modules="$exclude_modules cachedb_couchbase"
%endif
-%if %{without osp}
-exclude_modules="$exclude_modules osp"
+%if %{without memcached}
+exclude_modules="$exclude_modules cachedb_memcached"
%endif
-%if %{without microhttpd}
-exclude_modules="$exclude_modules httpd"
+%if %{without mongodb}
+exclude_modules="$exclude_modules cachedb_mongodb"
+%endif
+%if %{without redis}
+exclude_modules="$exclude_modules cachedb_redis"
%endif
%if %{without mysql}
exclude_modules="$exclude_modules db_mysql"
@@ -389,53 +404,63 @@ exclude_modules="$exclude_modules db_sqlite"
%if %{without odbc}
exclude_modules="$exclude_modules db_unixodbc"
%endif
-%if %{without geoip}
-exclude_modules="$exclude_modules mmgeoip"
+%if %{without kafka}
+exclude_modules="$exclude_modules event_kafka"
%endif
-%if %{without radius}
-exclude_modules="$exclude_modules aaa_radius"
+%if %{without carrierroute}
+exclude_modules="$exclude_modules carrierroute"
%endif
%if %{without json}
exclude_modules="$exclude_modules json"
exclude_modules="$exclude_modules cgrates"
%endif
-%if %{without memcached}
-exclude_modules="$exclude_modules cachedb_memcached"
+%if %{without ldap}
+exclude_modules="$exclude_modules h350 ldap"
%endif
-%if %{without couchbase}
-exclude_modules="$exclude_modules cachedb_couchbase"
+%if %{without microhttpd}
+exclude_modules="$exclude_modules httpd"
%endif
-%if %{without mongodb}
-exclude_modules="$exclude_modules cachedb_mongodb"
+%if %{without http2}
+exclude_modules="$exclude_modules http2d"
%endif
-%if %{without sngtc}
-exclude_modules="$exclude_modules sngtc"
+%if %{without launchdarkly}
+exclude_modules="$exclude_modules launch_darkly"
+%endif
+%if %{without geoip}
+exclude_modules="$exclude_modules mmgeoip"
+%endif
+%if %{without osp}
+exclude_modules="$exclude_modules osp"
%endif
%if %{without rabbitmq}
exclude_modules="$exclude_modules rabbitmq"
%endif
+%if %{without rtpproxy}
+exclude_modules="$exclude_modules rtp.io"
+%endif
+%if %{without sngtc}
+exclude_modules="$exclude_modules sngtc"
+%endif
%if %{without wolfssl}
exclude_modules="$exclude_modules tls_wolfssl"
%endif
-%if %{without kafka}
-exclude_modules="$exclude_modules event_kafka"
-%endif
echo "$exclude_modules" > exclude_modules
DFLAGS="%{rpmldflags}" \
LIB_LUA_NAME=lua5.4 \
%{__make} all \
+ CC="%{__cc}" \
+ CC_EXTRA_OPTS="-I/usr/include/ncurses" \
+ CFLAGS="%{rpmcflags} -Wcast-align" \
PYTHON=%{__python3} \
- Q= \
- exclude_modules="$exclude_modules" \
- prefix=%{_prefix} \
PREFIX=%{_prefix} \
LIBDIR=%{_lib} \
+ prefix=%{_prefix} \
cfg_prefix=$RPM_BUILD_ROOT \
cfg_target=%{_sysconfdir}/opensips/ \
+ HTTP2D_USE_SYSTEM=yes \
RADIUSCLIENT=RADIUSCLIENT \
- CC="%{__cc}" \
- CC_EXTRA_OPTS="-I/usr/include/ncurses" \
- CFLAGS="%{rpmcflags} -Wcast-align"
+ Q= \
+ exclude_modules="$exclude_modules" \
%install
rm -rf $RPM_BUILD_ROOT
@@ -447,12 +472,12 @@ exclude_modules="$(cat exclude_modules)"
Q= \
exclude_modules="$exclude_modules" \
prefix=%{_prefix} \
+ BASEDIR=$RPM_BUILD_ROOT \
PREFIX=%{_prefix} \
+ INSTALLMIBDIR=$RPM_BUILD_ROOT%{_datadir}/mibs \
LIBDIR=%{_lib} \
- BASEDIR=$RPM_BUILD_ROOT \
cfg_prefix=$RPM_BUILD_ROOT \
-cfg_target=%{_sysconfdir}/opensips/ \
- INSTALLMIBDIR=$RPM_BUILD_ROOT%{_datadir}/mibs
+ cfg_target=%{_sysconfdir}/opensips/
for i in modules/*; do \
i=$(basename $i)
@@ -497,7 +522,7 @@ fi
%files
%defattr(644,root,root,755)
-%doc README* AUTHORS CREDITS ChangeLog INSTALL NEWS scripts examples
+%doc AUTHORS CREDITS ChangeLog INSTALL NEWS README README.md SECURITY.md scripts examples
%attr(755,root,root) %{_sbindir}/bdb_recover
%attr(755,root,root) %{_sbindir}/opensips
%attr(755,root,root) %{_sbindir}/osipsconfig
@@ -529,11 +554,13 @@ fi
%dir %{_libdir}/opensips/modules
# explict list here, no globs please (to avoid mistakes)
%{_libdir}/opensips/modules/acc.so
+%{_libdir}/opensips/modules/aka_av_diameter.so
%{_libdir}/opensips/modules/alias_db.so
%{_libdir}/opensips/modules/auth_aaa.so
+%{_libdir}/opensips/modules/auth_aka.so
%{_libdir}/opensips/modules/auth_db.so
+# R: openssl
%{_libdir}/opensips/modules/auth.so
-%{_libdir}/opensips/modules/avpops.so
%{_libdir}/opensips/modules/b2b_entities.so
%{_libdir}/opensips/modules/b2b_logic.so
%{_libdir}/opensips/modules/b2b_sca.so
@@ -546,15 +573,21 @@ fi
%{_libdir}/opensips/modules/callops.so
%{_libdir}/opensips/modules/cfgutils.so
%{_libdir}/opensips/modules/clusterer.so
+# R: zlib
%{_libdir}/opensips/modules/compression.so
+%{_libdir}/opensips/modules/config.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/cpl_c.so
+# R: db
%{_libdir}/opensips/modules/db_berkeley.so
%{_libdir}/opensips/modules/db_cachedb.so
%{_libdir}/opensips/modules/db_flatstore.so
+# R: curl
%{_libdir}/opensips/modules/db_http.so
%{_libdir}/opensips/modules/db_text.so
%{_libdir}/opensips/modules/db_virtual.so
%{_libdir}/opensips/modules/dialog.so
+# R: pcre2-8
%{_libdir}/opensips/modules/dialplan.so
%{_libdir}/opensips/modules/dispatcher.so
%{_libdir}/opensips/modules/diversion.so
@@ -562,11 +595,11 @@ fi
%{_libdir}/opensips/modules/domainpolicy.so
%{_libdir}/opensips/modules/domain.so
%{_libdir}/opensips/modules/drouting.so
+# R: curl
%{_libdir}/opensips/modules/emergency.so
%{_libdir}/opensips/modules/enum.so
%{_libdir}/opensips/modules/event_datagram.so
%{_libdir}/opensips/modules/event_flatstore.so
-%{_libdir}/opensips/modules/event_route.so
%{_libdir}/opensips/modules/event_routing.so
%{_libdir}/opensips/modules/event_stream.so
%{_libdir}/opensips/modules/event_virtual.so
@@ -577,10 +610,13 @@ fi
%{_libdir}/opensips/modules/freeswitch.so
%{_libdir}/opensips/modules/gflags.so
%{_libdir}/opensips/modules/group.so
+# R: openssl
%{_libdir}/opensips/modules/identity.so
%{_libdir}/opensips/modules/imc.so
+%{_libdir}/opensips/modules/janus.so
%{_libdir}/opensips/modules/jsonrpc.so
%{_libdir}/opensips/modules/load_balancer.so
+# R: lua5.4 memcached mysql openssl zlib
%{_libdir}/opensips/modules/lua.so
%{_libdir}/opensips/modules/mangler.so
%{_libdir}/opensips/modules/mathops.so
@@ -592,9 +628,12 @@ fi
%{_libdir}/opensips/modules/mi_fifo.so
%{_libdir}/opensips/modules/mi_html.so
%{_libdir}/opensips/modules/mi_script.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/mi_xmlrpc_ng.so
+%{_libdir}/opensips/modules/mqueue.so
%{_libdir}/opensips/modules/msilo.so
%{_libdir}/opensips/modules/msrp_gateway.so
+# R: openssl
%{_libdir}/opensips/modules/msrp_relay.so
%{_libdir}/opensips/modules/msrp_ua.so
%{_libdir}/opensips/modules/nathelper.so
@@ -603,38 +642,57 @@ fi
%{_libdir}/opensips/modules/path.so
%{_libdir}/opensips/modules/peering.so
%{_libdir}/opensips/modules/permissions.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/pi_http.so
%{_libdir}/opensips/modules/pike.so
+%{_libdir}/opensips/modules/presence.so
%{_libdir}/opensips/modules/presence_callinfo.so
+# R: libxml2
+%{_libdir}/opensips/modules/presence_dfks.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/presence_dialoginfo.so
%{_libdir}/opensips/modules/presence_mwi.so
-%{_libdir}/opensips/modules/presence.so
-%{_libdir}/opensips/modules/presence_dfks.so
+# R: libxml2 zlib
+%{_libdir}/opensips/modules/presence_reginfo.so
%{_libdir}/opensips/modules/presence_xcapdiff.so
+# R: libxml2
%{_libdir}/opensips/modules/presence_xml.so
%{_libdir}/opensips/modules/prometheus.so
%{_libdir}/opensips/modules/proto_bin.so
%{_libdir}/opensips/modules/proto_bins.so
%{_libdir}/opensips/modules/proto_hep.so
+# R: libmnl
+%{_libdir}/opensips/modules/proto_ipsec.so
%{_libdir}/opensips/modules/proto_msrp.so
+# R: libsctp
%{_libdir}/opensips/modules/proto_sctp.so
%{_libdir}/opensips/modules/proto_smpp.so
%{_libdir}/opensips/modules/proto_tls.so
%{_libdir}/opensips/modules/proto_ws.so
%{_libdir}/opensips/modules/proto_wss.so
+%{_libdir}/opensips/modules/pua.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/pua_bla.so
+# R: libxml2
%{_libdir}/opensips/modules/pua_dialoginfo.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/pua_mi.so
-%{_libdir}/opensips/modules/pua.so
+# R: libxml2 zlib
+%{_libdir}/opensips/modules/pua_reginfo.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/pua_usrloc.so
+# R: python3-libs
%{_libdir}/opensips/modules/python.so
%{_libdir}/opensips/modules/qos.so
%{_libdir}/opensips/modules/qrouting.so
%{_libdir}/opensips/modules/rate_cacher.so
%{_libdir}/opensips/modules/ratelimit.so
+# R: pcre2-8
%{_libdir}/opensips/modules/regex.so
%{_libdir}/opensips/modules/registrar.so
+# R: curl
%{_libdir}/opensips/modules/rest_client.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/rls.so
%{_libdir}/opensips/modules/rr.so
%{_libdir}/opensips/modules/rtp_relay.so
@@ -645,31 +703,42 @@ fi
%{_libdir}/opensips/modules/sipcapture.so
%{_libdir}/opensips/modules/sip_i.so
%{_libdir}/opensips/modules/sipmsgops.so
+# R: libuuid
%{_libdir}/opensips/modules/siprec.so
%{_libdir}/opensips/modules/sl.so
+%{_libdir}/opensips/modules/sockets_mgm.so
%{_libdir}/opensips/modules/speeddial.so
%{_libdir}/opensips/modules/sql_cacher.so
%{_libdir}/opensips/modules/sst.so
+%{_libdir}/opensips/modules/sqlops.so
%{_libdir}/opensips/modules/statistics.so
%{_libdir}/opensips/modules/status_report.so
+# R: openssl
%{_libdir}/opensips/modules/stir_shaken.so
%{_libdir}/opensips/modules/stun.so
%{_libdir}/opensips/modules/tcp_mgm.so
%{_libdir}/opensips/modules/textops.so
%{_libdir}/opensips/modules/tls_mgm.so
+# R: openssl
%{_libdir}/opensips/modules/tls_openssl.so
%{_libdir}/opensips/modules/tm.so
%{_libdir}/opensips/modules/topology_hiding.so
%{_libdir}/opensips/modules/tracer.so
+%{_libdir}/opensips/modules/trie.so
+# R: openssl
%{_libdir}/opensips/modules/uac_auth.so
%{_libdir}/opensips/modules/uac_redirect.so
%{_libdir}/opensips/modules/uac_registrant.so
%{_libdir}/opensips/modules/uac.so
%{_libdir}/opensips/modules/userblacklist.so
-%{_libdir}/opensips/modules%{_prefix}loc.so
+%{_libdir}/opensips/modules/usrloc.so
+# R: libuuid
%{_libdir}/opensips/modules/uuid.so
-%{_libdir}/opensips/modules/xcap_client.so
+# R: libxml2 zlib
%{_libdir}/opensips/modules/xcap.so
+# R: curl libxml2 zlib
+%{_libdir}/opensips/modules/xcap_client.so
+# R: libxml2
%{_libdir}/opensips/modules/xml.so
%dir %{_datadir}/%{name}
%{_datadir}/%{name}/db_berkeley
@@ -679,15 +748,32 @@ fi
%{_mandir}/man5/opensips.cfg.5*
%{_mandir}/man8/opensips.8*
-%files xmpp
+%if %{with radius}
+%files radius
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/jabber.so
-%{_libdir}/opensips/modules/xmpp.so
-%{_libdir}/opensips/modules/pua_xmpp.so
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/dictionary.opensips
+# R: radiusclient-ng-libs
+%{_libdir}/opensips/modules/aaa_radius.so
+%endif
+
+%if %{with memcached}
+%files memcached
+%defattr(644,root,root,755)
+# R: libmemcached
+%{_libdir}/opensips/modules/cachedb_memcached.so
+%endif
+
+%if %{with redis}
+%files redis
+%defattr(644,root,root,755)
+# R: hiredis
+%{_libdir}/opensips/modules/cachedb_redis.so
+%endif
%if %{with mysql}
%files mysql
%defattr(644,root,root,755)
+# R: mysql-libs openssl zlib
%{_libdir}/opensips/modules/db_mysql.so
%{_datadir}/%{name}/mysql
%endif
@@ -695,6 +781,7 @@ fi
%if %{with pgsql}
%files postgres
%defattr(644,root,root,755)
+# R: postgresql-libs
%{_libdir}/opensips/modules/db_postgres.so
%{_datadir}/%{name}/postgres
%endif
@@ -702,58 +789,76 @@ fi
%if %{with sqlite}
%files sqlite3
%defattr(644,root,root,755)
+# R: sqlite3
%{_libdir}/opensips/modules/db_sqlite.so
%{_datadir}/opensips/sqlite
%endif
-%if %{with json}
-%files json
+%if %{with odbc}
+%files odbc
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/json.so
+# R: unixODBC
+%{_libdir}/opensips/modules/db_unixodbc.so
%endif
-%if %{with json}
-%files cgrates
+%if %{with kafka}
+%files kafka
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/cgrates.so
+# R: librdkafka
+%{_libdir}/opensips/modules/event_kafka.so
%endif
-%if %{with memcached}
-%files memcached
+%if %{with rabbitmq}
+%files rabbitmq
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/cachedb_memcached.so
+# R: librabbitmq-c
+%{_libdir}/opensips/modules/event_rabbitmq.so
+# R: librabbitmq-c
+%{_libdir}/opensips/modules/rabbitmq_consumer.so
%endif
-%if %{with radius}
-%files radius
+%if %{with carrierroute}
+%files carrierroute
%defattr(644,root,root,755)
-%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/opensips/dictionary.opensips
-%{_libdir}/opensips/modules/aaa_radius.so
+# R: libconfuse
+%{_libdir}/opensips/modules/carrierroute.so
%endif
-%if %{with odbc}
-%files odbc
+%if %{with json}
+%files cgrates
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/db_unixodbc.so
+# R: json-c
+%{_libdir}/opensips/modules/cgrates.so
%endif
-%if %{with geoip}
-%files mmgeoip
+%if %{with microhttpd}
+%files httpd
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/mmgeoip.so
+# R: libmicrohttpd
+%{_libdir}/opensips/modules/httpd.so
+%{_libdir}/opensips/modules/mi_http.so
+%endif
+
+%if %{with json}
+%files json
+%defattr(644,root,root,755)
+# R: json-c
+%{_libdir}/opensips/modules/json.so
%endif
%if %{with ldap}
%files ldap
%defattr(644,root,root,755)
%{_libdir}/opensips/modules/h350.so
+# R: openldap-libs
%{_libdir}/opensips/modules/ldap.so
%endif
-%if %{with carrierroute}
-%files carrierroute
+%if %{with geoip}
+%files mmgeoip
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/carrierroute.so
+# R: libmaxminddb
+%{_libdir}/opensips/modules/mmgeoip.so
%endif
%if %{with osp}
@@ -762,43 +867,28 @@ fi
%{_libdir}/opensips/modules/osp.so
%endif
-%files snmpstats
-%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/snmpstats.so
-
%files perl
%defattr(644,root,root,755)
+# R: perl-libs
%{_libdir}/opensips/modules/db_perlvdb.so
+# R: perl-libs
%{_libdir}/opensips/modules/perl.so
%{_libdir}/opensips/perl
-%files -n mibs-%{name}
-%defattr(644,root,root,755)
-%{_datadir}/mibs/*
-
-%if %{with redis}
-%files redis
-%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/cachedb_redis.so
-%endif
-
-%if %{with microhttpd}
-%files httpd
+%files snmpstats
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/httpd.so
-%{_libdir}/opensips/modules/mi_http.so
-%endif
+# R: net-snmp-libs + dependencies
+%{_libdir}/opensips/modules/snmpstats.so
-%if %{with rabbitmq}
-%files rabbitmq
+%files -n mibs-%{name}
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/event_rabbitmq.so
-%{_libdir}/opensips/modules/rabbitmq.so
-%{_libdir}/opensips/modules/rabbitmq_consumer.so
-%endif
+%{_datadir}/mibs/OPENSER-*
-%if %{with kafka}
-%files kafka
+%files xmpp
%defattr(644,root,root,755)
-%{_libdir}/opensips/modules/event_kafka.so
-%endif
+# R: expat
+%{_libdir}/opensips/modules/jabber.so
+# R: expat
+%{_libdir}/opensips/modules/xmpp.so
+# R: libxml2 zlib
+%{_libdir}/opensips/modules/pua_xmpp.so
diff --git a/gcc15.patch b/gcc15.patch
deleted file mode 100644
index 10e5fc9..0000000
--- a/gcc15.patch
+++ /dev/null
@@ -1,52 +0,0 @@
---- opensips-3.4.15/modules/statistics/statistics.c~ 2025-10-23 15:40:53.000000000 +0200
-+++ opensips-3.4.15/modules/statistics/statistics.c 2025-10-25 16:26:07.273326023 +0200
-@@ -98,8 +98,8 @@
- unsigned int nr;
- } avg;
- struct {
-- unsigned long true;
-- unsigned long false;
-+ unsigned long true_;
-+ unsigned long false_;
- } perc;
- long acc;
- };
-@@ -919,8 +919,8 @@
- ss->cache.acc -= slot->acc;
- break;
- case STAT_ALG_PERC:
-- ss->cache.perc.true -= slot->perc.true;
-- ss->cache.perc.false -= slot->perc.false;
-+ ss->cache.perc.true_ -= slot->perc.true_;
-+ ss->cache.perc.false_ -= slot->perc.false_;
- break;
- default:
- LM_ERR("unknown profile algorithm %d\n", ss->profile->algorithm);
-@@ -984,9 +984,9 @@
- ret = ss->cache.acc;
- break;
- case STAT_ALG_PERC:
-- total = ss->cache.perc.true + ss->cache.perc.false;
-+ total = ss->cache.perc.true_ + ss->cache.perc.false_;
- if (total != 0)
-- ret = ss->cache.perc.true * ss->profile->factor / total;
-+ ret = ss->cache.perc.true_ * ss->profile->factor / total;
- break;
- default:
- LM_ERR("unknown profile algorithm %d\n", ss->profile->algorithm);
-@@ -1072,11 +1072,11 @@
- break;
- case STAT_ALG_PERC:
- if (value > 0) {
-- s->perc.true += value;
-- ss->cache.perc.true += value;
-+ s->perc.true_ += value;
-+ ss->cache.perc.true_ += value;
- } else {
-- s->perc.false -= value;
-- ss->cache.perc.false -= value;
-+ s->perc.false_ -= value;
-+ ss->cache.perc.false_ -= value;
- }
- break;
- default:
diff --git a/make-4.4.patch b/make-4.4.patch
deleted file mode 100644
index 6349326..0000000
--- a/make-4.4.patch
+++ /dev/null
@@ -1,447 +0,0 @@
-diff -ur opensips-3.4.1/lib/json/Makefile.json opensips-3.4.1.make/lib/json/Makefile.json
---- opensips-3.4.1/lib/json/Makefile.json 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/lib/json/Makefile.json 2023-09-13 02:53:08.725162011 +0200
-@@ -17,7 +17,7 @@
- endif
-
- ifeq ($(CROSS_COMPILE),)
--JSON_BUILDER = $(shell \
-+JSON_BUILDER := $(shell \
- if pkg-config --exists json 2> /dev/null; then \
- echo 'pkg-config json'; \
- elif pkg-config --exists json-c 2> /dev/null; then\
-@@ -30,16 +30,16 @@
- DEFS += -I$(LOCALBASE)/include -I$(SYSBASE)/include
- LIBS += -L$(LOCALBASE)/lib -l$(JSONLIB)
- else
-- JSON_PKG_VER = $(shell $(JSON_BUILDER) --modversion)
-- JSON_PKG_MAJOR = $(shell \
-+ JSON_PKG_VER := $(shell $(JSON_BUILDER) --modversion)
-+ JSON_PKG_MAJOR := $(shell \
- ver_tmp=`echo '$(JSON_PKG_VER)' | cut -f1 -d.`; \
- if [ -z "$$ver_tmp" ]; then ver_tmp=0; fi; \
- echo "$$ver_tmp";)
-- JSON_PKG_MINOR = $(shell \
-+ JSON_PKG_MINOR := $(shell \
- ver_tmp=`echo '$(JSON_PKG_VER)' | cut -f2 -d.`; \
- if [ -z "$$ver_tmp" ]; then ver_tmp=0; fi; \
- echo "$$ver_tmp";)
-- JSON_PKG_MICRO = $(shell \
-+ JSON_PKG_MICRO := $(shell \
- ver_tmp=`echo '$(JSON_PKG_VER)' | cut -f3 -d.`; \
- if [ -z "$$ver_tmp" ]; then ver_tmp=0; fi; \
- echo "$$ver_tmp";)
-diff -ur opensips-3.4.1/Makefile.openssl opensips-3.4.1.make/Makefile.openssl
---- opensips-3.4.1/Makefile.openssl 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/Makefile.openssl 2023-09-13 02:48:08.336778245 +0200
-@@ -5,7 +5,7 @@
- DEFS += -Wno-deprecated-declarations
-
- ifeq ($(CROSS_COMPILE),)
--SSL_BUILDER=$(shell \
-+SSL_BUILDER:=$(shell \
- if pkg-config --exists libssl; then \
- echo 'pkg-config libssl'; \
- fi)
-diff -ur opensips-3.4.1/modules/aaa_radius/Makefile opensips-3.4.1.make/modules/aaa_radius/Makefile
---- opensips-3.4.1/modules/aaa_radius/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/aaa_radius/Makefile 2023-09-13 02:56:40.834593241 +0200
-@@ -13,7 +13,7 @@
- # Find the radius library we shall use
- #
- ifeq ($(RADIUSCLIENT),)
--RADIUSCLIENT=$(shell if [ -n "`ldconfig -p | grep radcli`" ]; then echo "RADCLI"; \
-+RADIUSCLIENT:=$(shell if [ -n "`ldconfig -p | grep radcli`" ]; then echo "RADCLI"; \
- elif [ -n "`ldconfig -p | grep freeradius`" ]; then echo "FREERADIUS"; \
- elif [ -n "`ldconfig -p | grep radiusclient-ng`" ];then echo "RADIUSCLIENT"; fi)
- endif
-@@ -38,7 +38,7 @@
- endif
-
- ifeq ($(CROSS_COMPILE),)
-- BUILDER=$(shell if pkg-config --exists $(RADIUS_PACKET); then \
-+ BUILDER:=$(shell if pkg-config --exists $(RADIUS_PACKET); then \
- echo "pkg-config $(RADIUS_PACKET)"; \
- fi)
- else
-diff -ur opensips-3.4.1/modules/cachedb_mongodb/Makefile opensips-3.4.1.make/modules/cachedb_mongodb/Makefile
---- opensips-3.4.1/modules/cachedb_mongodb/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/cachedb_mongodb/Makefile 2023-09-13 02:54:01.326590984 +0200
-@@ -10,7 +10,7 @@
- include ../../lib/json/Makefile.json
-
- ifeq ($(CROSS_COMPILE),)
--MONGOC_BUILDER = $(shell \
-+MONGOC_BUILDER := $(shell \
- if pkg-config --exists libmongoc-1.0; then \
- echo 'pkg-config libmongoc-1.0'; \
- fi)
-diff -ur opensips-3.4.1/modules/cachedb_redis/Makefile opensips-3.4.1.make/modules/cachedb_redis/Makefile
---- opensips-3.4.1/modules/cachedb_redis/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/cachedb_redis/Makefile 2023-09-13 02:57:29.519726762 +0200
-@@ -9,7 +9,7 @@
- auto_gen=
- NAME=cachedb_redis.so
-
--HAVE_REDIS_SSL=$(shell if [ -n "`ldconfig -p | grep hiredis_ssl`" ]; \
-+HAVE_REDIS_SSL:=$(shell if [ -n "`ldconfig -p | grep hiredis_ssl`" ]; \
- then echo "HAVE_REDIS_SSL"; fi)
- ifeq ($(HAVE_REDIS_SSL), HAVE_REDIS_SSL)
- LIBS+=-lhiredis_ssl -lssl -lcrypto
-diff -ur opensips-3.4.1/modules/carrierroute/Makefile opensips-3.4.1.make/modules/carrierroute/Makefile
---- opensips-3.4.1/modules/carrierroute/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/carrierroute/Makefile 2023-09-13 02:56:03.156634781 +0200
-@@ -9,7 +9,7 @@
- NAME=carrierroute.so
-
- ifeq ($(CROSS_COMPILE),)
--CONFUSE_BUILDER = $(shell \
-+CONFUSE_BUILDER := $(shell \
- if which confuse-config >/dev/null 2>/dev/null;then \
- echo 'confuse-config'; \
- elif pkg-config --exists libconfuse; then \
-diff -ur opensips-3.4.1/modules/cpl_c/Makefile opensips-3.4.1.make/modules/cpl_c/Makefile
---- opensips-3.4.1/modules/cpl_c/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/cpl_c/Makefile 2023-09-13 04:04:47.993894559 +0200
-@@ -7,7 +7,7 @@
- NAME=cpl_c.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/db_berkeley/Makefile opensips-3.4.1.make/modules/db_berkeley/Makefile
---- opensips-3.4.1/modules/db_berkeley/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/db_berkeley/Makefile 2023-09-13 02:57:50.903891339 +0200
-@@ -23,7 +23,7 @@
- DEFS +=-I$(LOCALBASE)/include -I$(LOCALBASE)/BerkeleyDB.4.6/include \
- -I$(SYSBASE)/include -I$(LOCALBASE)/include/db46
-
--IS_BSD= $(shell echo "$(OS)" | sed -e 's/^.*bsd/yes/i' )
-+IS_BSD:= $(shell echo "$(OS)" | sed -e 's/^.*bsd/yes/i' )
- ifeq ($(IS_BSD), yes)
- DB_LIB=ldb-4.6
- else
-diff -ur opensips-3.4.1/modules/db_http/Makefile opensips-3.4.1.make/modules/db_http/Makefile
---- opensips-3.4.1/modules/db_http/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/db_http/Makefile 2023-09-13 02:58:57.509946567 +0200
-@@ -11,7 +11,7 @@
- NAME=db_http.so
-
- ifeq ($(CROSS_COMPILE),)
--HAS_BUILDER = $(shell if which curl-config >/dev/null 2>/dev/null;then echo YES; fi)
-+HAS_BUILDER := $(shell if which curl-config >/dev/null 2>/dev/null;then echo YES; fi)
-
- ifeq ($(HAS_BUILDER),YES)
- # use autodetection
-diff -ur opensips-3.4.1/modules/db_mysql/Makefile opensips-3.4.1.make/modules/db_mysql/Makefile
---- opensips-3.4.1/modules/db_mysql/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/db_mysql/Makefile 2023-09-13 02:58:29.035426868 +0200
-@@ -13,7 +13,7 @@
- # CROSS_COMPILE=true
-
- ifeq ($(CROSS_COMPILE),)
--HAS_MYSQLCFG=$(shell if which mysql_config >/dev/null 2>/dev/null;then echo YES; fi)
-+HAS_MYSQLCFG:=$(shell if which mysql_config >/dev/null 2>/dev/null;then echo YES; fi)
- endif
-
- ifeq ($(HAS_MYSQLCFG),YES)
-diff -ur opensips-3.4.1/modules/db_postgres/Makefile opensips-3.4.1.make/modules/db_postgres/Makefile
---- opensips-3.4.1/modules/db_postgres/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/db_postgres/Makefile 2023-09-13 02:57:37.770044746 +0200
-@@ -13,7 +13,7 @@
- # CROSS_COMPILE=true
-
- ifeq ($(CROSS_COMPILE),)
--HAS_PGCFG=$(shell if which pg_config >/dev/null 2>/dev/null;then echo YES; fi)
-+HAS_PGCFG:=$(shell if which pg_config >/dev/null 2>/dev/null;then echo YES; fi)
- endif
-
-
-diff -ur opensips-3.4.1/modules/dialplan/Makefile opensips-3.4.1.make/modules/dialplan/Makefile
---- opensips-3.4.1/modules/dialplan/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/dialplan/Makefile 2023-09-13 02:57:18.532642157 +0200
-@@ -11,7 +11,7 @@
- # CROSS_COMPILE=true
-
- ifeq ($(CROSS_COMPILE),)
--PCRE_BUILDER = $(shell \
-+PCRE_BUILDER := $(shell \
- if which pcre-config >/dev/null 2>/dev/null; then \
- echo 'pcre-config'; \
- elif pkg-config --exists libcre; then \
-diff -ur opensips-3.4.1/modules/event_kafka/Makefile opensips-3.4.1.make/modules/event_kafka/Makefile
---- opensips-3.4.1/modules/event_kafka/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/event_kafka/Makefile 2023-09-13 02:58:04.187752203 +0200
-@@ -5,7 +5,7 @@
- NAME=event_kafka.so
-
- ifeq ($(CROSS_COMPILE),)
--KAFKA_BUILDER = $(shell \
-+KAFKA_BUILDER := $(shell \
- if pkg-config --exists rdkafka; then \
- echo 'pkg-config rdkafka'; \
- fi)
-diff -ur opensips-3.4.1/modules/event_rabbitmq/Makefile opensips-3.4.1.make/modules/event_rabbitmq/Makefile
---- opensips-3.4.1/modules/event_rabbitmq/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/event_rabbitmq/Makefile 2023-09-13 02:55:23.368717157 +0200
-@@ -7,7 +7,7 @@
- NAME=event_rabbitmq.so
-
- ifeq ($(CROSS_COMPILE),)
--RABBITMQ_BUILDER = $(shell \
-+RABBITMQ_BUILDER := $(shell \
- if pkg-config --exists librabbitmq; then \
- echo 'pkg-config librabbitmq'; \
- fi)
-diff -ur opensips-3.4.1/modules/httpd/Makefile opensips-3.4.1.make/modules/httpd/Makefile
---- opensips-3.4.1/modules/httpd/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/httpd/Makefile 2023-09-13 02:57:56.944130191 +0200
-@@ -8,7 +8,7 @@
- # the autodetection
- # CROSS_COMPILE=true
- ifeq ($(CROSS_COMPILE),)
--LIBMICROHTTPD_BUILDER=$(shell \
-+LIBMICROHTTPD_BUILDER:=$(shell \
- if pkg-config --exists libmicrohttpd; then \
- echo 'pkg-config libmicrohttpd'; \
- fi)
-diff -ur opensips-3.4.1/modules/lua/Makefile opensips-3.4.1.make/modules/lua/Makefile
---- opensips-3.4.1/modules/lua/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/lua/Makefile 2023-09-13 02:55:02.768121336 +0200
-@@ -6,7 +6,7 @@
- auto_gen=
- NAME=lua.so
-
--MYSQLCFG=$(shell which mysql_config)
-+MYSQLCFG:=$(shell which mysql_config)
- LIB_LUA_NAME?=$(shell \
- if pkg-config --exists lua; then echo lua; \
- elif pkg-config --exists lua5.3; then echo lua5.3; \
-@@ -19,8 +19,8 @@
- elif pkg-config --exists lua-5.1; then echo lua-5.1; \
- elif pkg-config --exists lua51; then echo lua51; fi)
-
--LIB_LUA = $(shell pkg-config --libs $(LIB_LUA_NAME) 2>/dev/null)
--FLAGS_LUA = $(shell pkg-config --cflags $(LIB_LUA_NAME) 2>/dev/null)
-+LIB_LUA := $(shell pkg-config --libs $(LIB_LUA_NAME) 2>/dev/null)
-+FLAGS_LUA := $(shell pkg-config --cflags $(LIB_LUA_NAME) 2>/dev/null)
- ifeq (,$(findstring -l,$(LIB_LUA)))
- LIB_LUA = -llua
- endif
-diff -ur opensips-3.4.1/modules/mi_xmlrpc_ng/Makefile opensips-3.4.1.make/modules/mi_xmlrpc_ng/Makefile
---- opensips-3.4.1/modules/mi_xmlrpc_ng/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/mi_xmlrpc_ng/Makefile 2023-09-13 04:05:39.882483610 +0200
-@@ -5,7 +5,7 @@
- NAME=mi_xmlrpc_ng.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/mmgeoip/Makefile opensips-3.4.1.make/modules/mmgeoip/Makefile
---- opensips-3.4.1/modules/mmgeoip/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/mmgeoip/Makefile 2023-09-13 02:57:09.028952592 +0200
-@@ -29,7 +29,7 @@
- NAME=mmgeoip.so
-
- ifeq ($(GEOIP),)
--GEOIP=$(shell if [ -n "`ldconfig -p | grep maxminddb`" ]; then echo "GEOIP2"; \
-+GEOIP:=$(shell if [ -n "`ldconfig -p | grep maxminddb`" ]; then echo "GEOIP2"; \
- elif [ -n "`ldconfig -p | grep libGeoIP`" ];then echo "GEOIPLEGACY"; fi)
- endif
-
-diff -ur opensips-3.4.1/modules/pi_http/Makefile opensips-3.4.1.make/modules/pi_http/Makefile
---- opensips-3.4.1/modules/pi_http/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/pi_http/Makefile 2023-09-13 03:50:42.424353468 +0200
-@@ -5,7 +5,7 @@
- NAME=pi_http.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/presence_dialoginfo/Makefile opensips-3.4.1.make/modules/presence_dialoginfo/Makefile
---- opensips-3.4.1/modules/presence_dialoginfo/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/presence_dialoginfo/Makefile 2023-09-13 04:05:26.392006524 +0200
-@@ -9,7 +9,7 @@
- NAME=presence_dialoginfo.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/pua/Makefile opensips-3.4.1.make/modules/pua/Makefile
---- opensips-3.4.1/modules/pua/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/pua/Makefile 2023-09-13 04:04:28.139704657 +0200
-@@ -10,7 +10,7 @@
- NAME=pua.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/pua_bla/Makefile opensips-3.4.1.make/modules/pua_bla/Makefile
---- opensips-3.4.1/modules/pua_bla/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/pua_bla/Makefile 2023-09-13 03:50:34.620619088 +0200
-@@ -10,7 +10,7 @@
- NAME=pua_bla.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/pua_mi/Makefile opensips-3.4.1.make/modules/pua_mi/Makefile
---- opensips-3.4.1/modules/pua_mi/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/pua_mi/Makefile 2023-09-13 03:50:24.686775345 +0200
-@@ -10,7 +10,7 @@
- NAME=pua_mi.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/pua_usrloc/Makefile opensips-3.4.1.make/modules/pua_usrloc/Makefile
---- opensips-3.4.1/modules/pua_usrloc/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/pua_usrloc/Makefile 2023-09-13 03:49:00.155770081 +0200
-@@ -10,7 +10,7 @@
- NAME=pua_usrloc.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/pua_xmpp/Makefile opensips-3.4.1.make/modules/pua_xmpp/Makefile
---- opensips-3.4.1/modules/pua_xmpp/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/pua_xmpp/Makefile 2023-09-13 04:05:32.462222355 +0200
-@@ -10,7 +10,7 @@
- NAME= pua_xmpp.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/rabbitmq/Makefile opensips-3.4.1.make/modules/rabbitmq/Makefile
---- opensips-3.4.1/modules/rabbitmq/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/rabbitmq/Makefile 2023-09-13 02:55:56.233074926 +0200
-@@ -8,7 +8,7 @@
- NAME=rabbitmq.so
-
- ifeq ($(CROSS_COMPILE),)
--RABBITMQ_BUILDER = $(shell \
-+RABBITMQ_BUILDER := $(shell \
- if pkg-config --exists librabbitmq; then \
- echo 'pkg-config librabbitmq'; \
- fi)
-diff -ur opensips-3.4.1/modules/rabbitmq_consumer/Makefile opensips-3.4.1.make/modules/rabbitmq_consumer/Makefile
---- opensips-3.4.1/modules/rabbitmq_consumer/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/rabbitmq_consumer/Makefile 2023-09-13 02:55:45.929411168 +0200
-@@ -7,7 +7,7 @@
- NAME=rabbitmq_consumer.so
-
- ifeq ($(CROSS_COMPILE),)
--RABBITMQ_BUILDER = $(shell \
-+RABBITMQ_BUILDER := $(shell \
- if pkg-config --exists librabbitmq; then \
- echo 'pkg-config librabbitmq'; \
- fi)
-diff -ur opensips-3.4.1/modules/regex/Makefile opensips-3.4.1.make/modules/regex/Makefile
---- opensips-3.4.1/modules/regex/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/regex/Makefile 2023-09-13 02:53:51.949727353 +0200
-@@ -9,7 +9,7 @@
- # CROSS_COMPILE=true
-
- ifeq ($(CROSS_COMPILE),)
--PCRE_BUILDER = $(shell \
-+PCRE_BUILDER := $(shell \
- if which pcre-config >/dev/null 2>/dev/null; then \
- echo 'pcre-config'; \
- elif pkg-config --exists libcre; then \
-diff -ur opensips-3.4.1/modules/rls/Makefile opensips-3.4.1.make/modules/rls/Makefile
---- opensips-3.4.1/modules/rls/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/rls/Makefile 2023-09-13 04:04:07.771987805 +0200
-@@ -10,7 +10,7 @@
- NAME=rls.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/snmpstats/Makefile opensips-3.4.1.make/modules/snmpstats/Makefile
---- opensips-3.4.1/modules/snmpstats/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/snmpstats/Makefile 2023-09-13 02:56:23.960669485 +0200
-@@ -4,14 +4,14 @@
-
- include ../../Makefile.defs
-
--HAS_BUILDER = $(shell if which net-snmp-config >/dev/null 2>/dev/null;then echo YES; fi)
-+HAS_BUILDER := $(shell if which net-snmp-config >/dev/null 2>/dev/null;then echo YES; fi)
-
- ifeq ($(CROSS_COMPILE),)
- ifeq ($(HAS_BUILDER),YES)
- # use autodetection
- DEFS += $(shell net-snmp-config --cflags)
- LIBS += $(shell net-snmp-config --netsnmp-agent-libs --external-agent-libs)
-- INSTALLMIBDIR = $(cfg_prefix)$(shell net-snmp-config --prefix)/share/snmp/mibs
-+ INSTALLMIBDIR := $(cfg_prefix)$(shell net-snmp-config --prefix)/share/snmp/mibs
- endif
- else
- # use standard know paths
-diff -ur opensips-3.4.1/modules/stir_shaken/Makefile opensips-3.4.1.make/modules/stir_shaken/Makefile
---- opensips-3.4.1/modules/stir_shaken/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/stir_shaken/Makefile 2023-09-13 02:55:32.292320007 +0200
-@@ -6,7 +6,7 @@
- NAME=stir_shaken.so
-
- ifeq ($(CROSS_COMPILE),)
--SSL_BUILDER=$(shell \
-+SSL_BUILDER:=$(shell \
- if pkg-config --exists libcrypto; then \
- echo 'pkg-config libcrypto'; \
- fi)
-diff -ur opensips-3.4.1/modules/xcap/Makefile opensips-3.4.1.make/modules/xcap/Makefile
---- opensips-3.4.1/modules/xcap/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/xcap/Makefile 2023-09-13 04:05:18.831734397 +0200
-@@ -10,7 +10,7 @@
- NAME=xcap.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
-+XML2CFG:=$(shell which xml2-config)
- endif
-
- ifneq ($(XML2CFG),)
-diff -ur opensips-3.4.1/modules/xcap_client/Makefile opensips-3.4.1.make/modules/xcap_client/Makefile
---- opensips-3.4.1/modules/xcap_client/Makefile 2023-08-31 15:30:47.000000000 +0200
-+++ opensips-3.4.1.make/modules/xcap_client/Makefile 2023-09-13 02:58:20.035058673 +0200
-@@ -10,8 +10,8 @@
- NAME=xcap_client.so
-
- ifeq ($(CROSS_COMPILE),)
--XML2CFG=$(shell which xml2-config)
--CURL_BUILDER=$(shell \
-+XML2CFG:=$(shell which xml2-config)
-+CURL_BUILDER:=$(shell \
- if pkg-config --exists libcurl; then \
- echo 'pkg-config libcurl'; \
- else \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/opensips.git/commitdiff/836783ec623fa49f73dc0c8c9ad85df577a76d6d
More information about the pld-cvs-commit
mailing list