svn commit: r432481 - head/net-mgmt/packit
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Jan 26 10:49:09 UTC 2017
Author: ehaupt
Date: Thu Jan 26 10:49:07 2017
New Revision: 432481
URL: https://svnweb.freebsd.org/changeset/ports/432481
Log:
- Update to 1.5
- Use new-ish options framework
- Add license
- Take maintainership
Modified:
head/net-mgmt/packit/Makefile
head/net-mgmt/packit/distinfo
head/net-mgmt/packit/pkg-descr
Modified: head/net-mgmt/packit/Makefile
==============================================================================
--- head/net-mgmt/packit/Makefile Thu Jan 26 10:11:52 2017 (r432480)
+++ head/net-mgmt/packit/Makefile Thu Jan 26 10:49:07 2017 (r432481)
@@ -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 at FreeBSD.org
+MAINTAINER= ehaupt at 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>
Modified: head/net-mgmt/packit/distinfo
==============================================================================
--- head/net-mgmt/packit/distinfo Thu Jan 26 10:11:52 2017 (r432480)
+++ head/net-mgmt/packit/distinfo Thu Jan 26 10:49:07 2017 (r432481)
@@ -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
Modified: head/net-mgmt/packit/pkg-descr
==============================================================================
--- head/net-mgmt/packit/pkg-descr Thu Jan 26 10:11:52 2017 (r432480)
+++ head/net-mgmt/packit/pkg-descr Thu Jan 26 10:49:07 2017 (r432481)
@@ -6,4 +6,4 @@ useful in testing firewalls, intrusion d
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
More information about the svn-ports-head
mailing list