git: 9ef0710c63ee - main - net/liblinphone: Update version 5.4.26=>5.4.72

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Fri, 02 Jan 2026 09:38:49 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9ef0710c63eefc357d6d128e33b7652562e2fbcb

commit 9ef0710c63eefc357d6d128e33b7652562e2fbcb
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2026-01-02 09:38:03 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2026-01-02 09:38:24 +0000

    net/liblinphone: Update version 5.4.26=>5.4.72
    
    - Update WWW
    
    Changelog: https://gitlab.linphone.org/BC/public/liblinphone/-/tags/5.4.72
---
 net/liblinphone/Makefile                                 | 12 +++++++++---
 net/liblinphone/distinfo                                 |  6 +++---
 net/liblinphone/files/patch-CMakeLists.txt               |  6 +++---
 net/liblinphone/files/patch-coreapi_linphonecore.c       |  4 ++--
 .../files/patch-src_ldap_ldap-contact-provider.cpp       | 16 +++-------------
 5 files changed, 20 insertions(+), 24 deletions(-)

diff --git a/net/liblinphone/Makefile b/net/liblinphone/Makefile
index 70833c61190d..b0345a8a9022 100644
--- a/net/liblinphone/Makefile
+++ b/net/liblinphone/Makefile
@@ -1,10 +1,10 @@
 PORTNAME=	liblinphone
-DISTVERSION=	5.4.26
+DISTVERSION=	5.4.72
 CATEGORIES=	net
 
 MAINTAINER=	bofh@FreeBSD.org
 COMMENT=	SIP library supporting voice/video calls and text messaging
-WWW=		https://www.linphone.org/technical-corner/liblinphone.html
+WWW=		https://gitlab.linphone.org/BC/public/liblinphone
 
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
@@ -15,11 +15,17 @@ BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pystache>=0:textproc/py-pystache@${PY_FLAV
 		v4l_compat>=1.0.20120501:multimedia/v4l_compat \
 		xsd>0:devel/xsd
 LIB_DEPENDS=	\
+		libbctoolbox.so:net/bctoolbox \
 		libbelcard.so:deskutils/belcard \
 		libbelle-sip.so:net/belle-sip \
+		libbelr.so:textproc/belr \
+		libbzrtp.so:security/bzrtp \
+		libjsoncpp.so:devel/jsoncpp \
 		liblime.so:security/lime \
 		libmediastreamer2.so:net/mediastreamer \
-		libsoci_core.so:databases/soci
+		libortp.so:net/ortp \
+		libsoci_core.so:databases/soci \
+		libxerces-c-3.3.so:textproc/xerces-c3
 
 USES=		cmake compiler:c++17-lang gnome iconv pkgconfig python:build \
 		sqlite xorg
diff --git a/net/liblinphone/distinfo b/net/liblinphone/distinfo
index 6505aa74fe1e..2d89a3ac777b 100644
--- a/net/liblinphone/distinfo
+++ b/net/liblinphone/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1758131774
-SHA256 (liblinphone-5.4.26.tar.bz2) = 193e2e7daadf2eef21524efad624346568c47b48cb9ba1be110431d662e55d48
-SIZE (liblinphone-5.4.26.tar.bz2) = 21093368
+TIMESTAMP = 1767345307
+SHA256 (liblinphone-5.4.72.tar.bz2) = 3a829cccbf148d1ff26063fb37e34e6a65f0d10546ab7beab059e5535b4769a8
+SIZE (liblinphone-5.4.72.tar.bz2) = 21090624
diff --git a/net/liblinphone/files/patch-CMakeLists.txt b/net/liblinphone/files/patch-CMakeLists.txt
index 8b08cb93743e..a2071f37899f 100644
--- a/net/liblinphone/files/patch-CMakeLists.txt
+++ b/net/liblinphone/files/patch-CMakeLists.txt
@@ -2,9 +2,9 @@ Fix compilation error:
 
 src/core/core.cpp:428:2: error: void function 'doLater' should not return a
 value [-Wreturn-type]
---- CMakeLists.txt.orig	2025-03-20 22:21:32 UTC
+--- CMakeLists.txt.orig	2025-12-22 14:02:00 UTC
 +++ CMakeLists.txt
-@@ -115,8 +115,10 @@ find_package(BelleSIP 5.3.0 REQUIRED OPTIONAL_COMPONEN
+@@ -117,8 +117,10 @@ find_package(BelleSIP 5.3.0 REQUIRED OPTIONAL_COMPONEN
  endif()
  
  find_package(BelleSIP 5.3.0 REQUIRED OPTIONAL_COMPONENTS tester)
@@ -15,7 +15,7 @@ value [-Wreturn-type]
  find_package(BCToolbox 5.3.0 REQUIRED OPTIONAL_COMPONENTS tester)
  #Mandatory to init default compilation flags
  bc_init_compilation_flags(STRICT_OPTIONS_CPP STRICT_OPTIONS_C STRICT_OPTIONS_CXX ENABLE_STRICT)
-@@ -306,7 +308,7 @@ else()
+@@ -309,7 +311,7 @@ else()
  	list(APPEND STRICT_OPTIONS_CPP
  		"-Wall"
  		"-Wconversion"
diff --git a/net/liblinphone/files/patch-coreapi_linphonecore.c b/net/liblinphone/files/patch-coreapi_linphonecore.c
index e267021b3fa5..e5b28f1fe81d 100644
--- a/net/liblinphone/files/patch-coreapi_linphonecore.c
+++ b/net/liblinphone/files/patch-coreapi_linphonecore.c
@@ -1,6 +1,6 @@
---- coreapi/linphonecore.c.orig	2025-03-20 22:21:32 UTC
+--- coreapi/linphonecore.c.orig	2025-12-22 14:02:00 UTC
 +++ coreapi/linphonecore.c
-@@ -938,7 +938,7 @@ static void _close_log_collection_file(void) {
+@@ -924,7 +924,7 @@ static void _close_log_collection_file(void) {
  	}
  }
  
diff --git a/net/liblinphone/files/patch-src_ldap_ldap-contact-provider.cpp b/net/liblinphone/files/patch-src_ldap_ldap-contact-provider.cpp
index 38c7bb6daeff..c40d077c1529 100644
--- a/net/liblinphone/files/patch-src_ldap_ldap-contact-provider.cpp
+++ b/net/liblinphone/files/patch-src_ldap_ldap-contact-provider.cpp
@@ -1,16 +1,6 @@
---- src/ldap/ldap-contact-provider.cpp.orig	2025-03-20 22:21:32 UTC
+--- src/ldap/ldap-contact-provider.cpp.orig	2025-12-22 14:02:00 UTC
 +++ src/ldap/ldap-contact-provider.cpp
-@@ -269,7 +269,9 @@ void LdapContactProvider::initializeLdap() {
- 			lError() << "[LDAP] Problem initializing TLS on setting require SAN '" << mServerUrl[mServerUrlIndex]
- 			         << "': " << ret << " (" << ldap_err2string(ret) << ")";
- 
-+#ifdef LDAP_OPT_X_TLS_RANDOM_FUNC
- 		ret = ldap_set_option(NULL, LDAP_OPT_X_TLS_RANDOM_FUNC, (void *)randomProvider);
-+#endif
- 		if (ret != LDAP_SUCCESS) {
- 			lError() << "[LDAP] Problem initializing TLS random generator function.";
- 		}
-@@ -291,16 +293,6 @@ void LdapContactProvider::initializeLdap() {
+@@ -279,16 +279,6 @@ void LdapContactProvider::initializeLdap() {
  		         << ldap_err2string(ret) << "), err " << err << " (" << ldap_err2string(err) << ")";
  		fallbackToNextServerUrl();
  	} else if (mConfig.count("use_tls") > 0 && mConfig["use_tls"][0] == "1") {
@@ -20,7 +10,7 @@
 -			belle_generic_uri_t *serverUri = belle_generic_uri_parse(
 -			    mConfig["server"][mConfigServerIndex].c_str()); // mServer are results of sal. Use the root urls.
 -			const char *cHost = belle_generic_uri_get_host(serverUri);
--			std::string hostname = cHost ? cHost : "";
+-			std::string hostname = L_C_TO_STRING(cHost);
 -			ldap_set_option(mLd, LDAP_OPT_X_TLS_PEER_CN, &hostname[0]);
 -			if (serverUri) belle_sip_object_unref(serverUri);
 -		}