git: 7a132f38d34c - main - net/libsrtp2: Update to 2.5.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 Feb 2023 14:04:56 UTC
The branch main has been updated by tijl:
URL: https://cgit.FreeBSD.org/ports/commit/?id=7a132f38d34c71b2f52d3c5a806643440a38a2e7
commit 7a132f38d34c71b2f52d3c5a806643440a38a2e7
Author: Tijl Coosemans <tijl@FreeBSD.org>
AuthorDate: 2023-02-03 13:42:20 +0000
Commit: Tijl Coosemans <tijl@FreeBSD.org>
CommitDate: 2023-02-03 14:01:56 +0000
net/libsrtp2: Update to 2.5.0
---
net/libsrtp2/Makefile | 2 +-
net/libsrtp2/distinfo | 6 +++---
net/libsrtp2/files/patch-crypto_hash_hmac__ossl.c | 20 --------------------
net/libsrtp2/files/patch-libsrtp2.pc.in | 10 ----------
4 files changed, 4 insertions(+), 34 deletions(-)
diff --git a/net/libsrtp2/Makefile b/net/libsrtp2/Makefile
index 1e6279e9e68f..165e75562f22 100644
--- a/net/libsrtp2/Makefile
+++ b/net/libsrtp2/Makefile
@@ -1,6 +1,6 @@
PORTNAME= libsrtp
DISTVERSIONPREFIX= v
-DISTVERSION= 2.4.2
+DISTVERSION= 2.5.0
CATEGORIES= net
PKGNAMESUFFIX= 2
diff --git a/net/libsrtp2/distinfo b/net/libsrtp2/distinfo
index 9923e5c59836..f14e8c49e761 100644
--- a/net/libsrtp2/distinfo
+++ b/net/libsrtp2/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1632244600
-SHA256 (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 3b1bcb14ebda572b04b9bdf07574a449c84cb924905414e4d94e62837d22b628
-SIZE (cisco-libsrtp-v2.4.2_GH0.tar.gz) = 631393
+TIMESTAMP = 1675429915
+SHA256 (cisco-libsrtp-v2.5.0_GH0.tar.gz) = 8a43ef8e9ae2b665292591af62aa1a4ae41e468b6d98d8258f91478735da4e09
+SIZE (cisco-libsrtp-v2.5.0_GH0.tar.gz) = 638704
diff --git a/net/libsrtp2/files/patch-crypto_hash_hmac__ossl.c b/net/libsrtp2/files/patch-crypto_hash_hmac__ossl.c
deleted file mode 100644
index 248e6fda0403..000000000000
--- a/net/libsrtp2/files/patch-crypto_hash_hmac__ossl.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- crypto/hash/hmac_ossl.c.orig 2022-10-17 11:30:42 UTC
-+++ crypto/hash/hmac_ossl.c
-@@ -80,7 +80,7 @@ static srtp_err_status_t srtp_hmac_alloc(srtp_auth_t *
-
- /* OpenSSL 1.1.0 made HMAC_CTX an opaque structure, which must be allocated
- using HMAC_CTX_new. But this function doesn't exist in OpenSSL 1.0.x. */
--#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L
- {
- /* allocate memory for auth and HMAC_CTX structures */
- uint8_t *pointer;
-@@ -126,7 +126,7 @@ static srtp_err_status_t srtp_hmac_dealloc(srtp_auth_t
-
- hmac_ctx = (HMAC_CTX *)a->state;
-
--#if OPENSSL_VERSION_NUMBER < 0x10100000L || LIBRESSL_VERSION_NUMBER
-+#if OPENSSL_VERSION_NUMBER < 0x10100000L
- HMAC_CTX_cleanup(hmac_ctx);
-
- /* zeroize entire state*/
diff --git a/net/libsrtp2/files/patch-libsrtp2.pc.in b/net/libsrtp2/files/patch-libsrtp2.pc.in
deleted file mode 100644
index ca4395df712a..000000000000
--- a/net/libsrtp2/files/patch-libsrtp2.pc.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- libsrtp2.pc.in.orig 2014-12-30 16:27:06 UTC
-+++ libsrtp2.pc.in
-@@ -7,5 +7,6 @@ Name: @PACKAGE_NAME@
- Version: @PACKAGE_VERSION@
- Description: Library for SRTP (Secure Realtime Transport Protocol)
-
--Libs: -L${libdir} -lsrtp2 @LIBS@
-+Libs: -L${libdir} -lsrtp2
-+Libs.private: -lcrypto
- Cflags: -I${includedir}