Skip to contentSkip to conversation

package/libsrtp: bump to version 2.4.1

PATCH New Fabrice Fontaine 1 participant 1 message Sep 19, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libsrtp: bump to version 2.4.1

- libnss is an optional dependency since version 2.3.0 and
https://github.com/cisco/libsrtp/commit/a946b3f561757a08b879cb337bfa932086df3081
- Drop comment about pkg-config as libsrtp uses PKG_CHECK_MODULES to find libnss and openssl
- Update indentation in hash file (two spaces)

https://github.com/cisco/libsrtp/blob/v2.4.1/CHANGES

---
 package/libsrtp/libsrtp.hash |  4 ++--
 package/libsrtp/libsrtp.mk   | 13 ++++++-------
 2 files changed, 8 insertions(+), 9 deletions(-)
package/libsrtp/libsrtp.hash +2 -2
index d4b7b54d03..3de0130f4c 100644
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 44fd7497bce78767e96b54a11bca520adb2ad32effd515f04bce602b60a1a50b  libsrtp-2.2.0.tar.gz
-sha256 8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae  LICENSE
+sha256  3cb580928fcd502426809c68406d04aaa5ef1af7ebb0a3a41a52a13576f2fc07  libsrtp-2.4.1.tar.gz
+sha256  8e19d42a1eec9561f3f347253ddf2e385c55f392f025bb0fd41b88dbf38db5ae  LICENSE
package/libsrtp/libsrtp.mk +6 -7
index 5cbd97957a..885f05a33c 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-LIBSRTP_VERSION = 2.2.0
+LIBSRTP_VERSION = 2.4.1
 LIBSRTP_SITE = $(call github,cisco,libsrtp,v$(LIBSRTP_VERSION))
 LIBSRTP_INSTALL_STAGING = YES
 LIBSRTP_LICENSE = BSD-3-Clause
@@ -19,18 +19,17 @@ else
 LIBSRTP_MAKE_OPTS = libsrtp2.a shared_library
 endif
 
-# While libsrtp is not using pkg-config itself, it checks if
-# pkg-config is available to determine whether it should install
-# libsrtp.pc. Since installing it seems useful, let's depend on
-# host-pkgconf to make sure pkg-config is installed.
 LIBSRTP_DEPENDENCIES = host-pkgconf
 
 # openssl handling needs libdl support
 ifeq ($(BR2_PACKAGE_OPENSSL)x$(BR2_STATIC_LIBS),yx)
 LIBSRTP_DEPENDENCIES += openssl
-LIBSRTP_CONF_OPTS += --enable-openssl
+LIBSRTP_CONF_OPTS += --disable-nss --enable-openssl
+else ifeq ($(BR2_PACKAGE_LIBNSS),y)
+LIBSRTP_DEPENDENCIES += libnss
+LIBSRTP_CONF_OPTS += --enable-nss --disable-openssl
 else
-LIBSRTP_CONF_OPTS += --disable-openssl
+LIBSRTP_CONF_OPTS += --disable-nss --disable-openssl
 endif
 
 $(eval $(autotools-package))
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot