Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2014 17:43:16 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r346940 - head/security/masscan
Message-ID:  <201403031743.s23HhGSd037103@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Mon Mar  3 17:43:16 2014
New Revision: 346940
URL: http://svnweb.freebsd.org/changeset/ports/346940
QAT: https://qat.redports.org/buildarchive/r346940/

Log:
  - Update to version 1.0.3
  - Fix CFLAGS and MAKE_ARGS
  - Suppress error message of gcc and git
  
  PR:		ports/186651
  Submitted by:	maintainer

Modified:
  head/security/masscan/Makefile
  head/security/masscan/distinfo

Modified: head/security/masscan/Makefile
==============================================================================
--- head/security/masscan/Makefile	Mon Mar  3 17:36:54 2014	(r346939)
+++ head/security/masscan/Makefile	Mon Mar  3 17:43:16 2014	(r346940)
@@ -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

Modified: head/security/masscan/distinfo
==============================================================================
--- head/security/masscan/distinfo	Mon Mar  3 17:36:54 2014	(r346939)
+++ head/security/masscan/distinfo	Mon Mar  3 17:43:16 2014	(r346940)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403031743.s23HhGSd037103>