git: 8e136401b5b9 - main - dns/dnsjit: Update to 1.3.0

From: Daniel Engberg <diizzy_at_FreeBSD.org>
Date: Sat, 11 May 2024 10:17:32 UTC
The branch main has been updated by diizzy:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8e136401b5b90f15faf969f66123435327979fcd

commit 8e136401b5b90f15faf969f66123435327979fcd
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-05-11 09:54:59 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-05-11 10:17:14 +0000

    dns/dnsjit: Update to 1.3.0
    
    Remove dependency of net/libpcap dependency and rely on base version
    Based on patch by  Leo Vandewoestijne (maintainer)
    
    PR:             272812
    Approved by:    portmgr (maintainer timeout, 2+ weeks)
---
 dns/dnsjit/Makefile  | 15 ++++++---------
 dns/dnsjit/distinfo  |  8 +++-----
 dns/dnsjit/pkg-plist |  2 +-
 3 files changed, 10 insertions(+), 15 deletions(-)

diff --git a/dns/dnsjit/Makefile b/dns/dnsjit/Makefile
index 453432ccf5d8..ea4aad513cee 100644
--- a/dns/dnsjit/Makefile
+++ b/dns/dnsjit/Makefile
@@ -1,8 +1,7 @@
 PORTNAME=	dnsjit
-DISTVERSIONPREFIX=	v
-DISTVERSION=	1.2.3
-PORTREVISION=	1
+DISTVERSION=	1.3.0
 CATEGORIES=	dns net
+MASTER_SITES=	https://www.dns-oarc.net/files/${PORTNAME}/
 
 MAINTAINER=	freebsd@dns.company
 COMMENT=	Engine for capturing, parsing and replaying DNS
@@ -14,16 +13,14 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 LIB_DEPENDS=	libck.so:devel/concurrencykit \
 		libgnutls.so:security/gnutls \
 		liblmdb.so:databases/lmdb \
-		libpcap.so:net/libpcap \
 		liblz4.so:archivers/liblz4 \
 		libzstd.so:archivers/zstd
-		# Mind PR 262976 about libpcap
 
-USES=		autoreconf libtool luajit pkgconfig
-USE_GITHUB=	yes
-GH_ACCOUNT=	DNS-OARC
+USES=		libtool localbase luajit pkgconfig
 
-HAS_CONFIGURE=	yes
+GNU_CONFIGURE=	yes
+
+GNU_CONFIGURE_MANPREFIX=	${PREFIX}/share
 
 OPTIONS_DEFINE=	EXAMPLES
 
diff --git a/dns/dnsjit/distinfo b/dns/dnsjit/distinfo
index 57788bd33d6e..430d17a00abf 100644
--- a/dns/dnsjit/distinfo
+++ b/dns/dnsjit/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1649074208
-SHA256 (DNS-OARC-dnsjit-v1.2.3_GH0.tar.gz) = c7f83e02a068cbc75d1b43939fbf4135afce095a774eb1f02a4dc68a38ad21e7
-SIZE (DNS-OARC-dnsjit-v1.2.3_GH0.tar.gz) = 187468
-SHA256 (4346a4859b1ff21f74cc4ae7c79ba6af07a5774f.patch) = ea9a467e072e7aeddc2d27a9dbd2435e23d7bbba4f0f12bf10e5e9330655e39d
-SIZE (4346a4859b1ff21f74cc4ae7c79ba6af07a5774f.patch) = 1555
+TIMESTAMP = 1712529519
+SHA256 (dnsjit-1.3.0.tar.gz) = 88b7728d39ec5657a0c0154ec8950ebb9a817159330fc9cf1ecc17d081ee7b89
+SIZE (dnsjit-1.3.0.tar.gz) = 539876
diff --git a/dns/dnsjit/pkg-plist b/dns/dnsjit/pkg-plist
index c51925827745..ed073318305f 100644
--- a/dns/dnsjit/pkg-plist
+++ b/dns/dnsjit/pkg-plist
@@ -146,11 +146,11 @@ share/man/man3/dnsjit.output.tcpcli.3.gz
 share/man/man3/dnsjit.output.tlscli.3.gz
 share/man/man3/dnsjit.output.udpcli.3.gz
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/capture.lua
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/count-pkts-per-ip.lua
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns-qr.lua
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns.lua
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/dumpdns2pcap.lua
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/filter_rcode.lua
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pcap2tcpdns.lua
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/qr-multi-pcap-state.lua
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/readme.lua
 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/replay.lua