aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/packit
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2017-01-26 10:49:07 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2017-01-26 10:49:07 +0000
commitaceb14ba8ccf19f343227e3bdb26ad468ab02993 (patch)
tree617d8074ec9ee452c2dccecc327ca040067b5da5 /net-mgmt/packit
parent0a079097b9f9b2d155929a12ac71c0f42f5ab8b3 (diff)
Notes
Diffstat (limited to 'net-mgmt/packit')
-rw-r--r--net-mgmt/packit/Makefile30
-rw-r--r--net-mgmt/packit/distinfo5
-rw-r--r--net-mgmt/packit/pkg-descr2
3 files changed, 23 insertions, 14 deletions
diff --git a/net-mgmt/packit/Makefile b/net-mgmt/packit/Makefile
index a100878c9885..caa92f284102 100644
--- a/net-mgmt/packit/Makefile
+++ b/net-mgmt/packit/Makefile
@@ -2,29 +2,37 @@
# $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 <bsd.port.mk>
diff --git a/net-mgmt/packit/distinfo b/net-mgmt/packit/distinfo
index 652b9a25dfaf..7f78211fa9a4 100644
--- a/net-mgmt/packit/distinfo
+++ b/net-mgmt/packit/distinfo
@@ -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
diff --git a/net-mgmt/packit/pkg-descr b/net-mgmt/packit/pkg-descr
index d469900dba3e..09d5ca2899d8 100644
--- a/net-mgmt/packit/pkg-descr
+++ b/net-mgmt/packit/pkg-descr
@@ -6,4 +6,4 @@ 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