package/sofia-sip: needs OpenSSL

Buildroot commit bb254e2304 bumped the
package to version 1.13.18 which includes upstream commit
8081a1a6d0
that added the unconditional usage of OpenSSL.

Tested with both LibreSSL and OpenSSL, the latter with all suboptions
disabled.

Fixes:
https://autobuild.buildroot.net/results/afe/afe7b327f12db86e4dc31ecc25b576bff5c4a0bb/

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls
2026-09-17 02:01:52 +02:00
committed by Thomas Petazzoni
parent a7acedfeeb
commit ea18394dd7
2 changed files with 6 additions and 13 deletions

View File

@@ -1,6 +1,7 @@
config BR2_PACKAGE_SOFIA_SIP config BR2_PACKAGE_SOFIA_SIP
bool "sofia-sip" bool "sofia-sip"
depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_OPENSSL
help help
Sofia-SIP is an open-source SIP User-Agent library, Sofia-SIP is an open-source SIP User-Agent library,
compliant with the IETF RFC3261 specification (see the compliant with the IETF RFC3261 specification (see the

View File

@@ -9,11 +9,14 @@ SOFIA_SIP_SITE = $(call github,freeswitch,sofia-sip,v$(SOFIA_SIP_VERSION))
SOFIA_SIP_INSTALL_STAGING = YES SOFIA_SIP_INSTALL_STAGING = YES
# Fetched from github, no pre-generated configure script provided # Fetched from github, no pre-generated configure script provided
SOFIA_SIP_AUTORECONF = YES SOFIA_SIP_AUTORECONF = YES
SOFIA_SIP_DEPENDENCIES = host-pkgconf SOFIA_SIP_DEPENDENCIES = host-pkgconf openssl
SOFIA_SIP_LICENSE = LGPL-2.1+ SOFIA_SIP_LICENSE = LGPL-2.1+
SOFIA_SIP_LICENSE_FILES = COPYING COPYRIGHTS SOFIA_SIP_LICENSE_FILES = COPYING COPYRIGHTS
SOFIA_SIP_CPE_ID_VENDOR = signalwire SOFIA_SIP_CPE_ID_VENDOR = signalwire
SOFIA_SIP_CONF_OPTS = --with-doxygen=no SOFIA_SIP_CONF_OPTS = \
--with-doxygen=no \
--enable-nth \
--with-openssl=pkg-config
ifeq ($(BR2_PACKAGE_LIBGLIB2),y) ifeq ($(BR2_PACKAGE_LIBGLIB2),y)
SOFIA_SIP_CONF_OPTS += --with-glib SOFIA_SIP_CONF_OPTS += --with-glib
@@ -22,15 +25,4 @@ else
SOFIA_SIP_CONF_OPTS += --without-glib SOFIA_SIP_CONF_OPTS += --without-glib
endif endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
SOFIA_SIP_CONF_OPTS += \
--enable-nth \
--with-openssl=pkg-config
SOFIA_SIP_DEPENDENCIES += openssl
else
SOFIA_SIP_CONF_OPTS += \
--disable-nth \
--without-openssl
endif
$(eval $(autotools-package)) $(eval $(autotools-package))