From owner-svn-ports-head@freebsd.org Thu Aug 4 18:14:32 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 7CD6FBAE2DD; Thu, 4 Aug 2016 18:14:32 +0000 (UTC) (envelope-from sbz@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 mx1.freebsd.org (Postfix) with ESMTPS id 412CC1484; Thu, 4 Aug 2016 18:14:32 +0000 (UTC) (envelope-from sbz@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u74IEV6O048181; Thu, 4 Aug 2016 18:14:31 GMT (envelope-from sbz@FreeBSD.org) Received: (from sbz@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u74IEVfB048178; Thu, 4 Aug 2016 18:14:31 GMT (envelope-from sbz@FreeBSD.org) Message-Id: <201608041814.u74IEVfB048178@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sbz set sender to sbz@FreeBSD.org using -f From: Sofian Brabez Date: Thu, 4 Aug 2016 18:14:31 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419643 - in head/net/hexinject: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 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: Thu, 04 Aug 2016 18:14:32 -0000 Author: sbz Date: Thu Aug 4 18:14:31 2016 New Revision: 419643 URL: https://svnweb.freebsd.org/changeset/ports/419643 Log: - Fix ambiguous specification of libpcap by using libpcap from base - Regenerate patch using make makepatch - Make happy portlint PR: 211578 Submitted by: marino Modified: head/net/hexinject/Makefile head/net/hexinject/distinfo head/net/hexinject/files/patch-prettypacket.h Modified: head/net/hexinject/Makefile ============================================================================== --- head/net/hexinject/Makefile Thu Aug 4 18:12:35 2016 (r419642) +++ head/net/hexinject/Makefile Thu Aug 4 18:14:31 2016 (r419643) @@ -3,6 +3,7 @@ PORTNAME= hexinject PORTVERSION= 1.5 +PORTREVISION= 1 CATEGORIES= net security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-${PORTVERSION} @@ -11,15 +12,12 @@ COMMENT= HexInject is a very versatile p LICENSE= BSD2CLAUSE -LIB_DEPENDS= libpcap.so:net/libpcap - PLIST_FILES= bin/${PORTNAME} -WRKSRC= ${WRKDIR}/${PORTNAME} +WRKSRC= ${WRKDIR}/${PORTNAME} post-patch: ${REINPLACE_CMD} -e 's#gcc#${CC}#g' ${WRKSRC}/Makefile - ${REINPLACE_CMD} -e '2s#-lpcap#-L${LOCALBASE}/lib -lpcap#' ${WRKSRC}/Makefile do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin Modified: head/net/hexinject/distinfo ============================================================================== --- head/net/hexinject/distinfo Thu Aug 4 18:12:35 2016 (r419642) +++ head/net/hexinject/distinfo Thu Aug 4 18:14:31 2016 (r419643) @@ -1,2 +1,3 @@ +TIMESTAMP = 1470332871 SHA256 (hexinject-1.5.tar.gz) = 329f0686069988ac0dae4a00082b205ac9669bc8e202d4b112c600bcbc198ce9 SIZE (hexinject-1.5.tar.gz) = 14449 Modified: head/net/hexinject/files/patch-prettypacket.h ============================================================================== --- head/net/hexinject/files/patch-prettypacket.h Thu Aug 4 18:12:35 2016 (r419642) +++ head/net/hexinject/files/patch-prettypacket.h Thu Aug 4 18:14:31 2016 (r419643) @@ -1,6 +1,6 @@ ---- ./prettypacket.h.orig 2012-12-04 10:31:27.000000000 +0100 -+++ ./prettypacket.h 2014-03-06 14:57:20.000000000 +0100 -@@ -102,7 +102,7 @@ +--- prettypacket.h.orig 2012-12-04 09:31:27 UTC ++++ prettypacket.h +@@ -102,7 +102,7 @@ const char *next_color() { * @param counter protocol number offset * @return protocol number in host format */ @@ -9,7 +9,7 @@ return *(packet_buffer + counter); } -@@ -113,7 +113,7 @@ +@@ -113,7 +113,7 @@ inline uint8_t protocol_8bit_extract(con * @param counter protocol number offset * @return protocol number in host format */ @@ -18,7 +18,7 @@ return ntohs(*((uint16_t *)(packet_buffer + counter))); } -@@ -123,7 +123,7 @@ +@@ -123,7 +123,7 @@ inline uint16_t protocol_16bit_extract(c * @param counter protocol number offset * @return protocol number in host format */ @@ -27,7 +27,7 @@ uint64_t value = 0; int i; -@@ -144,7 +144,7 @@ +@@ -144,7 +144,7 @@ inline uint64_t protocol_48bit_extract(c * @param counter read bytes counter * @param field_text description of the field */