View | Details | Raw Unified | Return to bug 203970
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	tcpflow
4
PORTNAME=	tcpflow
5
PORTVERSION=	1.4.4
5
PORTVERSION=	1.4.5
6
CATEGORIES=	net
6
CATEGORIES=	net
7
MASTER_SITES=	http://www.digitalcorpora.org/downloads/${PORTNAME}/
7
MASTER_SITES=	http://www.digitalcorpora.org/downloads/${PORTNAME}/
8
8
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (tcpflow-1.4.4.tar.gz) = b6f5605e7e3f71d004736f4ded9e2a4f5c2233d3423019f3dc0af56037ed544c
1
SHA256 (tcpflow-1.4.5.tar.gz) = f39fed437911b858c97937bc902f68f9a690753617abe825411a8483a7f70c72
2
SIZE (tcpflow-1.4.4.tar.gz) = 437616
2
SIZE (tcpflow-1.4.5.tar.gz) = 450450
(-)files/patch-src__wifipcap__wifipcap.cpp (-16 lines)
Lines 1-16 Link Here
1
--- ./src/wifipcap/wifipcap.cpp.orig	2013-12-27 17:57:48.000000000 +0000
2
+++ ./src/wifipcap/wifipcap.cpp	2013-12-28 16:20:01.000000000 +0000
3
@@ -1735,6 +1735,13 @@
4
 const char *Wifipcap::SetFilter(const char *filter)
5
 {
6
     struct bpf_program fp;
7
+/*
8
+ * libpcap from FreeBSD 8 does not have PCAP_NETMASK_UNKNOWN
9
+ * According to pcap_compile(3) a value of 0 can be supplied
10
+ */
11
+#ifndef PCAP_NETMASK_UNKNOWN
12
+#define PCAP_NETMASK_UNKNOWN 0
13
+#endif
14
     bpf_u_int32 netp=PCAP_NETMASK_UNKNOWN;
15
 
16
     if(pcap_compile(descr,&fp,(char *)filter,0,netp) == -1) { 

Return to bug 203970