From 8e8505aa7261684a4eac0f9d0acfc81c8dc19e6b Mon Sep 17 00:00:00 2001 From: Antoine Brodin Date: Sat, 16 Nov 2013 12:11:27 +0000 Subject: New port: security/masscan masscan is a very fast port scanner PR: ports/183786 Submitted by: Chie Taguchi --- security/masscan/Makefile | 28 ++++++++++++++++++++++++++++ security/masscan/distinfo | 2 ++ security/masscan/pkg-descr | 7 +++++++ 3 files changed, 37 insertions(+) create mode 100644 security/masscan/Makefile create mode 100644 security/masscan/distinfo create mode 100644 security/masscan/pkg-descr (limited to 'security/masscan') diff --git a/security/masscan/Makefile b/security/masscan/Makefile new file mode 100644 index 000000000000..a8b97af5c834 --- /dev/null +++ b/security/masscan/Makefile @@ -0,0 +1,28 @@ +# Created by: Chie Taguchi +# $FreeBSD$ + +PORTNAME= masscan +PORTVERSION= 1.0 +CATEGORIES= security +MASTER_SITES= http://github.com/robertdavidgraham/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/ + +MAINTAINER= taguchi.ch@gmail.com +COMMENT= Very fast port scanner + +LICENSE= GPLv3 + +FETCH_ARGS= -Fpr +USES= gmake +CFLAGS+= -I. -Wno-format +MAKE_ARGS= SYS=freebsd CC=${CC} CFLAGS="${CFLAGS}" LIBS="-lpcap -lm ${PTHREAD_LIBS}" + +PLIST_FILES= bin/masscan man/man8/masscan.8.gz + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/bin/masscan ${STAGEDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doc/masscan.8 ${STAGEDIR}${MANPREFIX}/man/man8 + +regression-test: build + ${WRKSRC}/bin/masscan --selftest + +.include diff --git a/security/masscan/distinfo b/security/masscan/distinfo new file mode 100644 index 000000000000..e1e39e9c469c --- /dev/null +++ b/security/masscan/distinfo @@ -0,0 +1,2 @@ +SHA256 (masscan-1.0.tar.gz) = 703f5b61246dd70f71c4145e254a0b9306ffd302b466a2b615ea9aae1db34d43 +SIZE (masscan-1.0.tar.gz) = 241907 diff --git a/security/masscan/pkg-descr b/security/masscan/pkg-descr new file mode 100644 index 000000000000..c1b0fbb4cd78 --- /dev/null +++ b/security/masscan/pkg-descr @@ -0,0 +1,7 @@ +masscan is a very fast port scanner. + +Using masscan, you can get results similar to nmap. +And masscan is not only faster than other scanners, +also more flexible setting for address and port ranges. + +WWW: https://github.com/robertdavidgraham/masscan -- cgit v1.2.3