From 910b9e7b03212b098bd7b326e3188bedd75a5900 Mon Sep 17 00:00:00 2001 From: sthen Date: Tue, 6 Sep 2022 08:00:54 +0000 Subject: [PATCH] update to sngrep-1.6.0 --- telephony/sngrep/Makefile | 2 +- telephony/sngrep/distinfo | 4 ++-- telephony/sngrep/patches/patch-src_capture_c | 2 +- .../patches/patch-src_capture_openssl_h | 21 ------------------- 4 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 telephony/sngrep/patches/patch-src_capture_openssl_h diff --git a/telephony/sngrep/Makefile b/telephony/sngrep/Makefile index e1c5311fc8e..a2a4103fde5 100644 --- a/telephony/sngrep/Makefile +++ b/telephony/sngrep/Makefile @@ -2,7 +2,7 @@ COMMENT= SIP packet capture tool with curses UI GH_ACCOUNT= irontec GH_PROJECT= sngrep -GH_TAGNAME= v1.5.0 +GH_TAGNAME= v1.6.0 CATEGORIES= telephony net diff --git a/telephony/sngrep/distinfo b/telephony/sngrep/distinfo index cf306e50e39..0b722c2b8a4 100644 --- a/telephony/sngrep/distinfo +++ b/telephony/sngrep/distinfo @@ -1,2 +1,2 @@ -SHA256 (sngrep-1.5.0.tar.gz) = xBYgwCmC/oekQ8zHlcyMf+fPPVUzi4cj80W2hbwVP04= -SIZE (sngrep-1.5.0.tar.gz) = 244965 +SHA256 (sngrep-1.6.0.tar.gz) = /YCWTWVg8v9XtPW+8jU9Gm98SNLxpfChZ8hUvS6AGZk= +SIZE (sngrep-1.6.0.tar.gz) = 248091 diff --git a/telephony/sngrep/patches/patch-src_capture_c b/telephony/sngrep/patches/patch-src_capture_c index 6eb3b653ad5..c91709a2b30 100644 --- a/telephony/sngrep/patches/patch-src_capture_c +++ b/telephony/sngrep/patches/patch-src_capture_c @@ -1,7 +1,7 @@ Index: src/capture.c --- src/capture.c.orig +++ src/capture.c -@@ -1223,8 +1223,11 @@ datalink_size(int datalink) +@@ -1331,8 +1331,11 @@ datalink_size(int datalink) case DLT_PPP: case DLT_PPP_BSDOS: case DLT_PPP_SERIAL: diff --git a/telephony/sngrep/patches/patch-src_capture_openssl_h b/telephony/sngrep/patches/patch-src_capture_openssl_h deleted file mode 100644 index c4f807ed4b6..00000000000 --- a/telephony/sngrep/patches/patch-src_capture_openssl_h +++ /dev/null @@ -1,21 +0,0 @@ -All the OpenSSL API used by sngrep has long been available in LibreSSL -except for EVP_CIPHER_CTX_get_cipher_data() which was added in 3.5.0. - -Index: src/capture_openssl.h ---- src/capture_openssl.h.orig -+++ src/capture_openssl.h -@@ -66,14 +66,7 @@ - #define OLD_OPENSSL_VERSION 1 - #endif - --/* LibreSSL declares OPENSSL_VERSION_NUMBER == 2.0 but does not include most -- * changes from OpenSSL >= 1.1 (new functions, macros, deprecations, ...) -- */ --#if defined(LIBRESSL_VERSION_NUMBER) --#define MODSSL_USE_OPENSSL_PRE_1_1_API (1) --#else - #define MODSSL_USE_OPENSSL_PRE_1_1_API (OPENSSL_VERSION_NUMBER < 0x10100000L) --#endif - - //! Three bytes unsigned integer - typedef struct uint16 {