Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Nov 2020 15:17:25 +0000 (UTC)
From:      =?UTF-8?Q?Fernando_Apestegu=c3=ada?= <fernape@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r555482 - head/net/sngrep
Message-ID:  <202011161517.0AGFHPkp042184@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: fernape
Date: Mon Nov 16 15:17:25 2020
New Revision: 555482
URL: https://svnweb.freebsd.org/changeset/ports/555482

Log:
  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)

Modified:
  head/net/sngrep/Makefile
  head/net/sngrep/distinfo

Modified: head/net/sngrep/Makefile
==============================================================================
--- head/net/sngrep/Makefile	Mon Nov 16 15:14:28 2020	(r555481)
+++ head/net/sngrep/Makefile	Mon Nov 16 15:17:25 2020	(r555482)
@@ -2,46 +2,44 @@
 # $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}/
+MASTER_SITES=	https://github.com/irontec/${PORTNAME}/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
-
 MAINTAINER=	tad@vif.com
 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>

Modified: head/net/sngrep/distinfo
==============================================================================
--- head/net/sngrep/distinfo	Mon Nov 16 15:14:28 2020	(r555481)
+++ head/net/sngrep/distinfo	Mon Nov 16 15:17:25 2020	(r555482)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011161517.0AGFHPkp042184>