1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00

net/sngrep: Update to 1.4.8

From ChangeLog: https://github.com/irontec/sngrep/releases/tag/v1.4.8

 * capture: add support for IPv6 SDP connection address
 * capture: fixed a crash while parsing INVITES without R-URI
 * capture: fixed a crash while parsing malformed Req/Resp lines
 * call flow: improved IPv6 RTP columns address display
 * core: code cleanup removing unused variables
 * core: fixed multiple snprintf memory overflows
 * core: avoid crash when linking against ncurses without tinfo

PR:	251120
Submitted by:	daniel.engberg.lists@pyret.net
Approved by:	tad@vif.com (maintainer)
This commit is contained in:
Fernando Apesteguía 2020-11-16 15:17:25 +00:00
parent a16dd999e4
commit 566e715c74
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555482
2 changed files with 25 additions and 29 deletions

View File

@ -2,15 +2,9 @@
# $FreeBSD$
PORTNAME= sngrep
DISTVERSION= 1.4.7
PORTREVISION= 1
DISTVERSION= 1.4.8
CATEGORIES= net
MASTER_SITES= https://github.com/irontec/sngrep/releases/download/v${DISTVERSION}/
# Fix LDFLAGS
# Ref: https://github.com/irontec/sngrep/commit/1789d262c0ee90b1057181dc2abef681ba2233a6
PATCH_SITES= https://github.com/irontec/sngrep/commit/
PATCHFILES= 1789d262c0ee90b1057181dc2abef681ba2233a6.patch:-p1
MASTER_SITES= https://github.com/irontec/${PORTNAME}/releases/download/v${DISTVERSION}/
MAINTAINER= tad@vif.com
COMMENT= SIP Packet display and capture
@ -18,30 +12,34 @@ COMMENT= SIP Packet display and capture
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= autoreconf localbase ncurses
USES= autoreconf localbase ncurses pkgconfig
GNU_CONFIGURE= yes
OPTIONS_DEFINE= OPENSSL PCRE UNICODE IPV6 EEP
OPTIONS_DEFAULT= IPV6 EEP UNICODE OPENSSL
OPTIONS_DEFINE= EEP IPV6 PCRE UNICODE
OPTIONS_DEFAULT= EEP IPV6 UNICODE OPENSSL
OPENSSL_DESC= Adds OpenSSL support to parse TLS captured messages
OPENSSL_USES= ssl
OPTIONS_RADIO= SSL
OPTIONS_RADIO_SSL= GNUTLS OPENSSL
EEP_DESC= Enable EEP packet send/receive support
EEP_CONFIGURE_ENABLE= eep
IPV6_CONFIGURE_ENABLE= ipv6
GNUTLS_LIB_DEPENDS= libgnutls.so:security/gnutls \
libgcrypt.so:security/libgcrypt \
libgpg-error.so:security/libgpg-error
GNUTLS_CONFIGURE_WITH= gnutls
OPENSSL_USES= ssl
OPENSSL_CONFIGURE_ENV+= SSL_CFLAGS="-I${OPENSSLINC}" \
SSL_LIBS="-L${OPENSSLLIB} -lcrypto -lssl"
OPENSSL_CONFIGURE_ON= --with-openssl
OPENSSL_CONFIGURE_WITH= openssl
PCRE_DESC= Adds Perl Compatible regex support
PCRE_CONFIGURE_ON= --with-pcre
PCRE_CONFIGURE_WITH= pcre
PCRE_LIB_DEPENDS= libpcre.so:devel/pcre
UNICODE_DESC= Adds Ncurses UTF-8/Unicode support
UNICODE_CONFIGURE_ON= --enable-unicode
IPV6_DESC= Enable IPv6 packet capture support
IPV6_CONFIGURE_ON= --enable-ipv6
EEP_DESC= Enable EEP packet send/receive support
EEP_CONFIGURE_ON= --enable-eep
UNICODE_CONFIGURE_ENABLE= unicode
.include <bsd.port.mk>

View File

@ -1,5 +1,3 @@
TIMESTAMP = 1598791747
SHA256 (sngrep-1.4.7.tar.gz) = 3c96aadd8b8c6b7adb5552d6fb4234f2000f15109b0f6c5feb632c81306cc49b
SIZE (sngrep-1.4.7.tar.gz) = 237978
SHA256 (1789d262c0ee90b1057181dc2abef681ba2233a6.patch) = b9bf35e68d09e916a229178e36a10cd0e7033d40365f3153355a11fe427f8dc4
SIZE (1789d262c0ee90b1057181dc2abef681ba2233a6.patch) = 942
TIMESTAMP = 1605310186
SHA256 (sngrep-1.4.8.tar.gz) = f39fded8dc9ef0b7a41319f223dd4afa348bb2418bea578ed281557726829728
SIZE (sngrep-1.4.8.tar.gz) = 238244