git: 2fec78d1fcda - main - net/libpcap: Update to 1.10.2

From: Renato Botelho <garga_at_FreeBSD.org>
Date: Mon, 09 Jan 2023 17:07:50 UTC
The branch main has been updated by garga:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2fec78d1fcdae85e75c3e4a5087cc8b372de2ed5

commit 2fec78d1fcdae85e75c3e4a5087cc8b372de2ed5
Author:     Renato Botelho <garga@FreeBSD.org>
AuthorDate: 2023-01-09 17:05:08 +0000
Commit:     Renato Botelho <garga@FreeBSD.org>
CommitDate: 2023-01-09 17:07:45 +0000

    net/libpcap: Update to 1.10.2
    
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 net/libpcap/Makefile              |  4 ++--
 net/libpcap/distinfo              |  6 +++---
 net/libpcap/files/patch-gencode.c | 20 --------------------
 net/libpcap/pkg-plist             |  1 +
 4 files changed, 6 insertions(+), 25 deletions(-)

diff --git a/net/libpcap/Makefile b/net/libpcap/Makefile
index 0b49ac64867e..a4f3864a9bc6 100644
--- a/net/libpcap/Makefile
+++ b/net/libpcap/Makefile
@@ -1,11 +1,11 @@
 PORTNAME=	libpcap
-PORTVERSION=	1.10.1
-PORTREVISION=	2
+PORTVERSION=	1.10.2
 CATEGORIES=	net
 MASTER_SITES=	http://www.tcpdump.org/release/
 
 MAINTAINER=	garga@FreeBSD.org
 COMMENT=	Ubiquitous network traffic capture library
+WWW=		https://www.tcpdump.org/
 
 LICENSE=	BSD3CLAUSE
 
diff --git a/net/libpcap/distinfo b/net/libpcap/distinfo
index cb76598c09d7..abb628a3410e 100644
--- a/net/libpcap/distinfo
+++ b/net/libpcap/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1635952093
-SHA256 (libpcap-1.10.1.tar.gz) = ed285f4accaf05344f90975757b3dbfe772ba41d1c401c2648b7fa45b711bdd4
-SIZE (libpcap-1.10.1.tar.gz) = 935221
+TIMESTAMP = 1673274288
+SHA256 (libpcap-1.10.2.tar.gz) = db6d79d4ad03b8b15fb16c42447d093ad3520c0ec0ae3d331104dcfb1ce77560
+SIZE (libpcap-1.10.2.tar.gz) = 951063
diff --git a/net/libpcap/files/patch-gencode.c b/net/libpcap/files/patch-gencode.c
deleted file mode 100644
index 5f626d26ab32..000000000000
--- a/net/libpcap/files/patch-gencode.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- gencode.c.orig	2021-06-07 20:21:35 UTC
-+++ gencode.c
-@@ -59,10 +59,16 @@
- #include <sys/socket.h>
- #include <net/if.h>
- #include <net/pfvar.h>
--#include <net/if_pflog.h>
- #endif /* HAVE_NET_PFVAR_H */
- 
- #include "pcap-int.h"
-+
-+#ifdef HAVE_NET_PFVAR_H
-+/* FreeBSD includes <net/bpf.h> from <net/if_pflog.h>, and indirectly includes
-+ * <net/dlt.h>. The FreeBSD version lacks DLT_IEEE802_15_4_TAP, so we really
-+ * want to use our own version. */
-+#include <net/if_pflog.h>
-+#endif /* HAVE_NET_PFVAR_H */
- 
- #include "extract.h"
- 
diff --git a/net/libpcap/pkg-plist b/net/libpcap/pkg-plist
index 4bf6610af7ea..857c9c9291b5 100644
--- a/net/libpcap/pkg-plist
+++ b/net/libpcap/pkg-plist
@@ -1,6 +1,7 @@
 bin/pcap-config
 include/pcap-bpf.h
 include/pcap-namedb.h
+include/pcap-util.h
 include/pcap.h
 include/pcap/bluetooth.h
 include/pcap/bpf.h