aboutsummaryrefslogtreecommitdiff
path: root/security/masscan
diff options
context:
space:
mode:
authorPawel Pekala <pawel@FreeBSD.org>2014-03-03 17:43:16 +0000
committerPawel Pekala <pawel@FreeBSD.org>2014-03-03 17:43:16 +0000
commit501e906ff7f3bfb83d831a8082a76ef80d27e559 (patch)
treea14eccf9d4bcadaf00accc4d39010b390fe63cec /security/masscan
parent8294f075dd8cf73279bb0a0339b120dc0730867d (diff)
downloadports-501e906ff7f3bfb83d831a8082a76ef80d27e559.tar.gz
ports-501e906ff7f3bfb83d831a8082a76ef80d27e559.zip
Notes
Diffstat (limited to 'security/masscan')
-rw-r--r--security/masscan/Makefile10
-rw-r--r--security/masscan/distinfo4
2 files changed, 9 insertions, 5 deletions
diff --git a/security/masscan/Makefile b/security/masscan/Makefile
index 2c6efd6ef298..6aa0fc3e635d 100644
--- a/security/masscan/Makefile
+++ b/security/masscan/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= masscan
-PORTVERSION= 1.0
+PORTVERSION= 1.0.3
CATEGORIES= security
MASTER_SITES= http://github.com/robertdavidgraham/${PORTNAME}/archive/${PORTVERSION}.tar.gz?dummy=/
@@ -12,11 +12,15 @@ COMMENT= Very fast port scanner
LICENSE= GPLv3
USES= gmake
-CFLAGS+= -I. -Wno-format
-MAKE_ARGS= SYS=freebsd CC=${CC} CFLAGS="${CFLAGS}" LIBS="-lpcap -lm ${PTHREAD_LIBS}"
+CFLAGS+= -Wno-format
+MAKE_ARGS= SYS=freebsd CC=${CC} CFLAGS="${CFLAGS}"
PLIST_FILES= bin/masscan man/man8/masscan.8.gz
+pre-build:
+ @${REINPLACE_CMD} -e "s|SYS :=|SYS ?=|"\
+ -e "s|describe --tags|describe --tags 2> /dev/null|" ${WRKSRC}/Makefile
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/bin/masscan ${STAGEDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/masscan.8 ${STAGEDIR}${MANPREFIX}/man/man8
diff --git a/security/masscan/distinfo b/security/masscan/distinfo
index e1e39e9c469c..953cb797b7fa 100644
--- a/security/masscan/distinfo
+++ b/security/masscan/distinfo
@@ -1,2 +1,2 @@
-SHA256 (masscan-1.0.tar.gz) = 703f5b61246dd70f71c4145e254a0b9306ffd302b466a2b615ea9aae1db34d43
-SIZE (masscan-1.0.tar.gz) = 241907
+SHA256 (masscan-1.0.3.tar.gz) = 331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085
+SIZE (masscan-1.0.3.tar.gz) = 333393