Bug 186651 - [maintainer] security/masscan: update to 1.0.3
Summary: [maintainer] security/masscan: update to 1.0.3
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pawel Pekala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-11 14:10 UTC by Chie Taguchi
Modified: 2014-03-03 17:50 UTC (History)
0 users

See Also:


Attachments
patch.txt (1.50 KB, text/plain)
2014-02-11 14:15 UTC, Chie Taguchi
no flags Details
file.dat (1.54 KB, text/plain; charset=us-ascii)
2014-02-11 14:15 UTC, Chie Taguchi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chie Taguchi 2014-02-11 14:10:00 UTC
- Update to 1.0.3
- fix CFLAGS and MAKE_ARGS
- add NEED_ROOT
- add patch for suppressing error message of gcc and git.
Git command use for only git version check to show git version in --version option.
And it doesn't have any effects on build.
In addition, this git command can work only in git repository.
So it always causes to error, because of ports is not cloning git repository.
Comment 1 Chie Taguchi 2014-02-11 14:15:44 UTC
Patch file is missing.
I reattach it here.
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2014-03-03 17:29:28 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

I'll take it.
Comment 3 dfilter service freebsd_committer freebsd_triage 2014-03-03 17:43:24 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 4 Pawel Pekala freebsd_committer freebsd_triage 2014-03-03 17:43:30 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!