git: 4c40691a18c5 - main - net/sngrep: update to 1.7.0

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Wed, 04 Oct 2023 20:03:07 UTC
The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c40691a18c5440981d3c9496c072dbc3d961f84

commit 4c40691a18c5440981d3c9496c072dbc3d961f84
Author:     Herbert J. Skuhra <herbert@gojira.at>
AuthorDate: 2023-10-04 16:58:38 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-10-04 20:01:39 +0000

    net/sngrep: update to 1.7.0
    
     - enable zlib support
    
    Changelog: https://github.com/irontec/sngrep/releases/tag/v1.7.0
    
    PR:             273635
    Approved by:    Talal Al Dik <tad@vif.com> (maintainer)
---
 net/sngrep/Makefile  | 3 ++-
 net/sngrep/distinfo  | 6 +++---
 net/sngrep/pkg-plist | 2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/net/sngrep/Makefile b/net/sngrep/Makefile
index 88df9e55a2ab..47fbbcf9371b 100644
--- a/net/sngrep/Makefile
+++ b/net/sngrep/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	sngrep
-DISTVERSION=	1.6.0
+DISTVERSION=	1.7.0
 CATEGORIES=	net
 MASTER_SITES=	https://github.com/irontec/${PORTNAME}/releases/download/v${DISTVERSION}/
 
@@ -13,6 +13,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 USES=		autoreconf localbase ncurses pkgconfig
 
 GNU_CONFIGURE=	yes
+CONFIGURE_ARGS=	--with-zlib
 
 OPTIONS_DEFINE=		EEP IPV6 PCRE UNICODE
 OPTIONS_DEFAULT=	EEP IPV6 UNICODE OPENSSL
diff --git a/net/sngrep/distinfo b/net/sngrep/distinfo
index b8d7c29b3f4e..625eef6a4d53 100644
--- a/net/sngrep/distinfo
+++ b/net/sngrep/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1662114859
-SHA256 (sngrep-1.6.0.tar.gz) = fd80964d6560f2ff57b4f5bef2353d1a6f7c48d2f1a5f0a167c854bd2e801999
-SIZE (sngrep-1.6.0.tar.gz) = 248091
+TIMESTAMP = 1694165436
+SHA256 (sngrep-1.7.0.tar.gz) = 2e5ba3a4d6486ea00bd73d2cceff383ba162dcd6d0170ae74cfa3b1c206e2cb1
+SIZE (sngrep-1.7.0.tar.gz) = 248947
diff --git a/net/sngrep/pkg-plist b/net/sngrep/pkg-plist
index b6cfd8f91a28..67de4280fcc7 100644
--- a/net/sngrep/pkg-plist
+++ b/net/sngrep/pkg-plist
@@ -1,3 +1,3 @@
 bin/sngrep
-@sample %%ETCDIR%%rc %%ETCDIR%%rc.sample
+@sample etc/sngreprc etc/sngreprc.sample
 man/man8/sngrep.8.gz