From owner-svn-ports-head@freebsd.org Fri May 24 16:06:33 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2B80015AF54C; Fri, 24 May 2019 16:06:33 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE5806D3CD; Fri, 24 May 2019 16:06:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 932661F11F; Fri, 24 May 2019 16:06:32 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x4OG6We7067968; Fri, 24 May 2019 16:06:32 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x4OG6WYG067965; Fri, 24 May 2019 16:06:32 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201905241606.x4OG6WYG067965@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Fri, 24 May 2019 16:06:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r502484 - in head/security/arpCounterattack: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/security/arpCounterattack: . files X-SVN-Commit-Revision: 502484 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: BE5806D3CD X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.97 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_SHORT(-0.97)[-0.975,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_MEDIUM(-1.00)[-0.997,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 May 2019 16:06:33 -0000 Author: swills Date: Fri May 24 16:06:31 2019 New Revision: 502484 URL: https://svnweb.freebsd.org/changeset/ports/502484 Log: security/arpCounterattack: fix build failure PR: 236440 Submitted by: w.schwarzenfeld@utanet.at Reported by: my-roaming-data@outlook.com Modified: head/security/arpCounterattack/Makefile (contents, props changed) head/security/arpCounterattack/files/patch-address.hpp (contents, props changed) head/security/arpCounterattack/files/patch-arpCounterattack.cpp (contents, props changed) Modified: head/security/arpCounterattack/Makefile ============================================================================== --- head/security/arpCounterattack/Makefile Fri May 24 16:04:04 2019 (r502483) +++ head/security/arpCounterattack/Makefile Fri May 24 16:06:31 2019 (r502484) @@ -3,7 +3,7 @@ PORTNAME= arpCounterattack PORTVERSION= 1.2.0 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= security MASTER_SITES= http://isis.poly.edu/~bk/${PORTNAME}/ \ http://bk.macroblock.net/${PORTNAME}/ @@ -11,13 +11,14 @@ MASTER_SITES= http://isis.poly.edu/~bk/${PORTNAME}/ \ MAINTAINER= ports@FreeBSD.org COMMENT= Detects and remedies ARP attacks -LIB_DEPENDS= libdnet.so:net/libdnet +LIB_DEPENDS= libdnet.so:net/libdnet \ + libpcap.so:net/libpcap USES= compiler:c++11-lib tar:tbz USE_CSTD= c++11 -SUB_FILES= pkg-message - USE_RC_SUBR= ${PORTNAME} + +SUB_FILES= pkg-message do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/arpCounterattack Modified: head/security/arpCounterattack/files/patch-address.hpp ============================================================================== --- head/security/arpCounterattack/files/patch-address.hpp Fri May 24 16:04:04 2019 (r502483) +++ head/security/arpCounterattack/files/patch-address.hpp Fri May 24 16:06:31 2019 (r502484) @@ -1,4 +1,4 @@ ---- address.hpp.orig 2010-09-28 18:12:26.000000000 +0000 +--- address.hpp.orig 2010-09-28 18:12:26 UTC +++ address.hpp @@ -28,7 +28,7 @@ #include @@ -18,7 +18,7 @@ return std::string((char*)binaryEthernetAddress.octet, ETHER_ADDR_LEN); #endif #ifdef __linux__ -@@ -60,7 +60,7 @@ std::string textToEthernet(const std::st +@@ -60,7 +60,7 @@ std::string textToEthernet(const std::string &textEthe std::string ethernetToText(const char *binaryEthernetAddress) { ether_addr _binaryEthernetAddress; char textEthernetAddress[17]; Modified: head/security/arpCounterattack/files/patch-arpCounterattack.cpp ============================================================================== --- head/security/arpCounterattack/files/patch-arpCounterattack.cpp Fri May 24 16:04:04 2019 (r502483) +++ head/security/arpCounterattack/files/patch-arpCounterattack.cpp Fri May 24 16:06:31 2019 (r502484) @@ -1,6 +1,6 @@ ---- arpCounterattack.cpp.orig 2010-11-04 01:26:49.000000000 +0000 +--- arpCounterattack.cpp.orig 2019-03-13 08:10:31 UTC +++ arpCounterattack.cpp -@@ -25,7 +25,7 @@ +@@ -25,13 +25,14 @@ #include #include #include @@ -9,7 +9,14 @@ #include #ifdef __FreeBSD__ -@@ -47,7 +47,6 @@ + #include + #endif + ++#include + #include + #include + #include +@@ -47,7 +48,6 @@ #include "string.hpp" using namespace std;