Date: Thu, 4 Aug 2016 18:14:31 +0000 (UTC) From: Sofian Brabez <sbz@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r419643 - in head/net/hexinject: . files Message-ID: <201608041814.u74IEVfB048178@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608041814.u74IEVfB048178>