pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/comms/srtp
Module Name: pkgsrc
Committed By: adam
Date: Wed Feb 15 12:23:31 UTC 2023
Modified Files:
pkgsrc/comms/srtp: Makefile PLIST distinfo
pkgsrc/comms/srtp/patches: patch-CMakeLists.txt
Log Message:
srtp: updated to 2.5.0
2.5.0
- Make mbedtls hmac less restrictive in line with RFC and library capabilities
- Allow overriding stream list implementation
- update min openssl version to 1.1.0
- Openssl 3 support for EVP MAC
- Add android build to CI
- add CIFuzz Github action to workflows
- Add policy_set_aes_cm_192_xxx symbols to def file
- Use current directions in stream update test
- Call `set_aad` and `get_tag` in AEAD performance tests
- Create alias for srtp2 as libSRTP::srtp2
- Remove compatibility code for legacy OpenSSL to fix LibreSSL build
- Export CMake Targets
- Avoid initializing local char table when converting nibble to hex
- EVP_CIPHER_CTX_cleanup() is deprecated in OpenSSL 1.1.0
- Correct null cipher key sizes and be more defensive
- Include directory should point to 'include' not to 'include/srtp2'
- Count blocks instead of bytes in AES-ICM limit computation
- Rtp decoder support ssrc and roc
- Use a full-length key even with null ciphers
- Fix set ROC functionality with gcm
2.4.0
Major changes
- Remove EKT files, this was never completed and the draft has since changed.
- Adds support for Mbedtls as a crypto backend.
- Support apple silicon build.
- Adds support for the Meson build system. This is an alternative to Cmake and auto tools.
Other changes
- Improve OpenSSL KDF check.
- Add void to function declarations for EVP_EncryptInit check.
- Remove dead code.
- Support running against nss >= 3.52.
- Remove references to dtls from libsrtp.
- Use nss based hmac when nss enabled.
- Move selftest vectors form backends to common files.
- Extend cmake support.
- Fix gcc11 warning by defining output length.
- Remove visual studio build files.
- cmake: Set the VERSION property of the srtp2 library.
- Fixed issue 499 with buffer overflow.
- Feature/additional error checks.
- Rework check for OPENSSL_cleanse().
- Avoid non-existing compiler flag -O4.
- Fix two-byte RTP header extension encryption.
- Modify cmake to install crypto_types.h instead of cipher_types.h
To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 pkgsrc/comms/srtp/Makefile
cvs rdiff -u -r1.3 -r1.4 pkgsrc/comms/srtp/PLIST
cvs rdiff -u -r1.7 -r1.8 pkgsrc/comms/srtp/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/comms/srtp/patches/patch-CMakeLists.txt
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/comms/srtp/Makefile
diff -u pkgsrc/comms/srtp/Makefile:1.4 pkgsrc/comms/srtp/Makefile:1.5
--- pkgsrc/comms/srtp/Makefile:1.4 Tue May 5 17:54:39 2020
+++ pkgsrc/comms/srtp/Makefile Wed Feb 15 12:23:30 2023
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.4 2020/05/05 17:54:39 adam Exp $
+# $NetBSD: Makefile,v 1.5 2023/02/15 12:23:30 adam Exp $
-DISTNAME= srtp-2.3.0
+DISTNAME= srtp-2.5.0
CATEGORIES= comms security
MASTER_SITES= ${MASTER_SITE_GITHUB:=cisco/}
GITHUB_PROJECT= libsrtp
@@ -11,15 +11,15 @@ HOMEPAGE= https://github.com/cisco/libsr
COMMENT= Secure Real-time Transport Protocol library
LICENSE= modified-bsd
-USE_CMAKE= yes
-USE_TOOLS+= gmake
PKGCONFIG_OVERRIDE= libsrtp2.pc.in
TEST_TARGET= test
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON
+CMAKE_ARGS+= -DBUILD_WITH_WARNINGS=OFF
CMAKE_ARGS+= -DENABLE_OPENSSL=ON
LDFLAGS.SunOS+= -lsocket -lnsl
+.include "../../devel/cmake/build.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/comms/srtp/PLIST
diff -u pkgsrc/comms/srtp/PLIST:1.3 pkgsrc/comms/srtp/PLIST:1.4
--- pkgsrc/comms/srtp/PLIST:1.3 Tue May 5 17:54:39 2020
+++ pkgsrc/comms/srtp/PLIST Wed Feb 15 12:23:30 2023
@@ -1,10 +1,12 @@
-@comment $NetBSD: PLIST,v 1.3 2020/05/05 17:54:39 adam Exp $
+@comment $NetBSD: PLIST,v 1.4 2023/02/15 12:23:30 adam Exp $
include/srtp2/auth.h
include/srtp2/cipher.h
-include/srtp2/cipher_types.h
include/srtp2/crypto_types.h
include/srtp2/srtp.h
+lib/cmake/libSRTP/libSRTPConfig.cmake
+lib/cmake/libSRTP/libSRTPConfigVersion.cmake
+lib/cmake/libSRTP/libSRTPTargets-noconfig.cmake
+lib/cmake/libSRTP/libSRTPTargets.cmake
lib/libsrtp2.so
lib/libsrtp2.so.${PKGVERSION}
-lib/libsrtp2.so.2
lib/pkgconfig/libsrtp2.pc
Index: pkgsrc/comms/srtp/distinfo
diff -u pkgsrc/comms/srtp/distinfo:1.7 pkgsrc/comms/srtp/distinfo:1.8
--- pkgsrc/comms/srtp/distinfo:1.7 Tue Oct 26 10:06:06 2021
+++ pkgsrc/comms/srtp/distinfo Wed Feb 15 12:23:30 2023
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 10:06:06 nia Exp $
+$NetBSD: distinfo,v 1.8 2023/02/15 12:23:30 adam Exp $
-BLAKE2s (srtp-2.3.0.tar.gz) = 89da9bdf742280f8088b69ae8f8a3184ed35fe3c8a67db1f1fd3d02a9aa7fead
-SHA512 (srtp-2.3.0.tar.gz) = 34b1a01cb9a75aed175be09aadd2827224203b9801becc3fbc5214667cce79c3b87b0f59e4315583863ab5a2cc4fc81d56ab604a5e4c984518b8a8a2a7b77461
-Size (srtp-2.3.0.tar.gz) = 633819 bytes
-SHA1 (patch-CMakeLists.txt) = 26975bb773ab2729a0a7df45c44239cf5fb0fb6f
+BLAKE2s (srtp-2.5.0.tar.gz) = f5901a179289b5fef66b85e94f8005e722c193c652670b1de2adba5b3c47f07d
+SHA512 (srtp-2.5.0.tar.gz) = bd679ab65ccf22ca30fe867b9649a0b84cfa6fad6e22eb10f081141632f6dd56479a04d525b865f11fd46007303ca211065d9c170e4820d6ea7055403702340a
+Size (srtp-2.5.0.tar.gz) = 638704 bytes
+SHA1 (patch-CMakeLists.txt) = b8818d6d91e164eb2f008c6445e09312552161e3
Index: pkgsrc/comms/srtp/patches/patch-CMakeLists.txt
diff -u pkgsrc/comms/srtp/patches/patch-CMakeLists.txt:1.1 pkgsrc/comms/srtp/patches/patch-CMakeLists.txt:1.2
--- pkgsrc/comms/srtp/patches/patch-CMakeLists.txt:1.1 Tue May 5 17:54:39 2020
+++ pkgsrc/comms/srtp/patches/patch-CMakeLists.txt Wed Feb 15 12:23:31 2023
@@ -1,39 +1,27 @@
-$NetBSD: patch-CMakeLists.txt,v 1.1 2020/05/05 17:54:39 adam Exp $
+$NetBSD: patch-CMakeLists.txt,v 1.2 2023/02/15 12:23:31 adam Exp $
-Set shared library version.
Prepare and install pkgconfig file.
-Install crypto_types.h.
---- CMakeLists.txt.orig 2019-12-23 09:58:25.000000000 +0000
+--- CMakeLists.txt.orig 2023-02-01 07:25:02.000000000 +0000
+++ CMakeLists.txt
-@@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 2.8)
+@@ -2,6 +2,7 @@ cmake_minimum_required(VERSION 3.12)
- project(libsrtp2 LANGUAGES C)
+ project(libsrtp2 VERSION 2.5.0 LANGUAGES C)
+set(PACKAGE_NAME "${CMAKE_PROJECT_NAME}")
- set(PACKAGE_VERSION 2.3.0)
-+set(PACKAGE_SOVERSION 2)
- set(PACKAGE_STRING "${CMAKE_PROJECT_NAME} ${PACKAGE_VERSION}")
+ set(PACKAGE_VERSION ${CMAKE_PROJECT_VERSION})
+ set(PACKAGE_STRING "${CMAKE_PROJECT_NAME} ${CMAKE_PROJECT_VERSION}")
- include(TestBigEndian)
-@@ -184,10 +186,20 @@ if(WIN32)
- target_link_libraries(srtp2 ws2_32)
- endif()
+@@ -278,6 +279,12 @@ install(TARGETS srtp2 DESTINATION lib
+ EXPORT libSRTPTargets
+ )
+set(prefix "${CMAKE_INSTALL_PREFIX}")
+set(libdir "\${exec_prefix}/lib")
+set(includedir "\${prefix}/include")
+configure_file(libsrtp2.pc.in libsrtp2.pc @ONLY)
-+install(FILES libsrtp2.pc DESTINATION lib/pkgconfig)
++install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libsrtp2.pc DESTINATION lib/pkgconfig)
+
-+set_target_properties(srtp2 PROPERTIES
-+ VERSION ${PACKAGE_VERSION} SOVERSION ${PACKAGE_SOVERSION})
-+
- install(TARGETS srtp2 DESTINATION lib)
install(FILES include/srtp.h crypto/include/auth.h
crypto/include/cipher.h
- crypto/include/cipher_types.h
-+ crypto/include/crypto_types.h
- DESTINATION include/srtp2)
-
- if(TEST_APPS)
+ crypto/include/crypto_types.h
Home |
Main Index |
Thread Index |
Old Index