- Update to version 1.0.3
- Fix CFLAGS and MAKE_ARGS - Suppress error message of gcc and git PR: ports/186651 Submitted by: maintainer
This commit is contained in:
parent
8294f075dd
commit
501e906ff7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=346940
2 changed files with 9 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue