View | Details | Raw Unified | Return to bug 236440 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-2 / +3 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	arpCounterattack
4
PORTNAME=	arpCounterattack
5
PORTVERSION=	1.2.0
5
PORTVERSION=	1.2.0
6
PORTREVISION=	6
6
PORTREVISION=	7
7
CATEGORIES=	security
7
CATEGORIES=	security
8
MASTER_SITES=	http://isis.poly.edu/~bk/${PORTNAME}/ \
8
MASTER_SITES=	http://isis.poly.edu/~bk/${PORTNAME}/ \
9
		http://bk.macroblock.net/${PORTNAME}/
9
		http://bk.macroblock.net/${PORTNAME}/
Lines 11-17 Link Here
11
MAINTAINER=	ports@FreeBSD.org
11
MAINTAINER=	ports@FreeBSD.org
12
COMMENT=	Detects and remedies ARP attacks
12
COMMENT=	Detects and remedies ARP attacks
13
13
14
LIB_DEPENDS=	libdnet.so:net/libdnet
14
LIB_DEPENDS=	libdnet.so:net/libdnet \
15
		libpcap.so:net/libpcap
15
16
16
USES=		compiler:c++11-lib tar:tbz
17
USES=		compiler:c++11-lib tar:tbz
17
USE_CSTD=	c++11
18
USE_CSTD=	c++11
(-)files/patch-arpCounterattack.cpp (-3 / +10 lines)
Lines 1-6 Link Here
1
--- arpCounterattack.cpp.orig	2010-11-04 01:26:49.000000000 +0000
1
--- arpCounterattack.cpp.orig	2019-03-13 08:10:31 UTC
2
+++ arpCounterattack.cpp
2
+++ arpCounterattack.cpp
3
@@ -25,7 +25,7 @@
3
@@ -25,13 +25,14 @@
4
 #include <fstream>
4
 #include <fstream>
5
 #include <iostream>
5
 #include <iostream>
6
 #include <queue>
6
 #include <queue>
Lines 9-15 Link Here
9
 #include <vector>
9
 #include <vector>
10
 
10
 
11
 #ifdef __FreeBSD__
11
 #ifdef __FreeBSD__
12
@@ -47,7 +47,6 @@
12
   #include <sys/ioctl.h>
13
 #endif
14
 
15
+#include <net/bpf.h>
16
 #include <errno.h>
17
 #include <pcap.h>
18
 #include <signal.h>
19
@@ -47,7 +48,6 @@
13
 #include "string.hpp"
20
 #include "string.hpp"
14
 
21
 
15
 using namespace std;
22
 using namespace std;

Return to bug 236440