1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

net/libpcap: Update to 1.10.2

Sponsored by:	Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Renato Botelho 2023-01-09 14:05:08 -03:00
parent 4644aebd33
commit 2fec78d1fc
4 changed files with 6 additions and 25 deletions

View File

@ -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

View File

@ -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

View File

@ -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"

View File

@ -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