update to sngrep-1.6.0

This commit is contained in:
sthen 2022-09-06 08:00:54 +00:00
parent 929ecac573
commit 910b9e7b03
4 changed files with 4 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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:

View File

@ -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 {