Index: head/net-mgmt/packit/Makefile =================================================================== --- head/net-mgmt/packit/Makefile (revision 432480) +++ head/net-mgmt/packit/Makefile (revision 432481) @@ -1,30 +1,38 @@ # Created by: Kirill Ponomarew # $FreeBSD$ PORTNAME= packit -PORTVERSION= 1.0 -PORTREVISION= 4 +PORTVERSION= 1.5 CATEGORIES= net-mgmt -MASTER_SITES= http://packit.sourceforge.net/downloads/ -EXTRACT_SUFX= .tgz -MAINTAINER= ports@FreeBSD.org +MAINTAINER= ehaupt@FreeBSD.org COMMENT= Network auditing tool +LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/LICENSE + LIB_DEPENDS= libnet.so:net/libnet +USE_GITHUB= yes +GH_ACCOUNT= eribertomota + +USES= autoreconf GNU_CONFIGURE= yes + CPPFLAGS+= -I${LOCALBASE}/include LIBS+= -L${LOCALBASE}/lib PLIST_FILES= sbin/packit \ man/man8/packit.8.gz -.if defined(WITHOUT_CAPTURE) -CONFIGURE_ARGS+= --without-capture -.endif -.if defined(WITHOUT_INJECTION) -CONFIGURE_ARGS+= --without-injection -.endif +OPTIONS_DEFINE= CAPTURE INJECTION + +CAPTURE_DESC= Capture support +INJECTION_DESC= Injection support + +OPTIONS_DEFAULT=CAPTURE INJECTION + +CAPTURE_CONFIGURE_OFF= --without-capture +INJECTION_CONFIGURE_OFF= --without-injection .include Index: head/net-mgmt/packit/distinfo =================================================================== --- head/net-mgmt/packit/distinfo (revision 432480) +++ head/net-mgmt/packit/distinfo (revision 432481) @@ -1,2 +1,3 @@ -SHA256 (packit-1.0.tgz) = dd03023a03b3c98819f4da5c23426d103ed3f457562e2afda2eb3ebc419ad8fa -SIZE (packit-1.0.tgz) = 138367 +TIMESTAMP = 1485426490 +SHA256 (eribertomota-packit-1.5_GH0.tar.gz) = 5e0c8f7406581345f71cd769800bab83c448766ac48907c3263e105349d4dbd7 +SIZE (eribertomota-packit-1.5_GH0.tar.gz) = 52390 Index: head/net-mgmt/packit/pkg-descr =================================================================== --- head/net-mgmt/packit/pkg-descr (revision 432480) +++ head/net-mgmt/packit/pkg-descr (revision 432481) @@ -1,9 +1,9 @@ Packit is a network auditing tool. Its value is derived from its ability to customize, inject, monitor, and manipulate IP traffic. By allowing you to define (spoof) nearly all TCP, UDP, ICMP, IP, ARP, RARP, and Ethernet header options, Packit can be useful in testing firewalls, intrusion detection systems, port scanning, simulating network traffic, and general TCP/IP auditing. Packit is also an excellent tool for learning TCP/IP. -WWW: http://packit.sourceforge.net/ +WWW: https://github.com/eribertomota/packit