Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Feb 2014 23:15:44 +0900
From:      Chie Taguchi <taguchi.ch@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/186651: [maintainer] security/masscan: update to 1.0.3
Message-ID:  <6A92BF84-4023-4EB8-BD54-8B3E923A6761@gmail.com>
In-Reply-To: <201402111407.s1BE7bON048572@cgiserv.freebsd.org>
References:  <201402111407.s1BE7bON048572@cgiserv.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--Apple-Mail=_053960ED-DCEB-4A39-9074-D1478A20FADE
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

Patch file is missing.
I reattach it here.


--Apple-Mail=_053960ED-DCEB-4A39-9074-D1478A20FADE
Content-Disposition: attachment;
	filename=patch.txt
Content-Type: text/plain;
	name="patch.txt"
Content-Transfer-Encoding: quoted-printable

diff -ruN masscan.orig/Makefile masscan/Makefile
--- masscan.orig/Makefile	2014-01-04 23:33:07.000000000 +0900
+++ masscan/Makefile	2014-02-11 21:42:18.000000000 +0900
@@ -2,7 +2,7 @@
 # $FreeBSD: head/security/masscan/Makefile 338513 2014-01-03 01:12:59Z =
bapt $
=20
 PORTNAME=3D	masscan
-PORTVERSION=3D	1.0
+PORTVERSION=3D	1.0.3
 CATEGORIES=3D	security
 MASTER_SITES=3D	=
http://github.com/robertdavidgraham/${PORTNAME}/archive/${PORTVERSION}.tar=
.gz?dummy=3D/
=20
@@ -12,11 +12,17 @@
 LICENSE=3D	GPLv3
=20
 USES=3D		gmake
-CFLAGS+=3D	-I. -Wno-format
-MAKE_ARGS=3D	SYS=3Dfreebsd CC=3D${CC} CFLAGS=3D"${CFLAGS}" =
LIBS=3D"-lpcap -lm ${PTHREAD_LIBS}"
+CFLAGS+=3D	-Wno-format
+MAKE_ARGS=3D	SYS=3Dfreebsd CC=3D${CC} CFLAGS=3D"${CFLAGS}"
+
+NEED_ROOT=3D	yes
=20
 PLIST_FILES=3D	bin/masscan man/man8/masscan.8.gz
=20
+pre-build:
+	@${REINPLACE_CMD} -e "s|SYS :=3D|SYS ?=3D|"\
+	-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 -ruN masscan.orig/distinfo masscan/distinfo
--- masscan.orig/distinfo	2013-11-17 00:17:07.000000000 +0900
+++ masscan/distinfo	2014-02-11 20:52:22.000000000 +0900
@@ -1,2 +1,2 @@
-SHA256 (masscan-1.0.tar.gz) =3D =
703f5b61246dd70f71c4145e254a0b9306ffd302b466a2b615ea9aae1db34d43
-SIZE (masscan-1.0.tar.gz) =3D 241907
+SHA256 (masscan-1.0.3.tar.gz) =3D =
331edd529df1904bcbcfb43029ced7e2dafe1744841e74cd9fc9f440b8301085
+SIZE (masscan-1.0.3.tar.gz) =3D 333393

--Apple-Mail=_053960ED-DCEB-4A39-9074-D1478A20FADE
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


On 2014/02/11, at 23:07, Chie Taguchi <taguchi.ch@gmail.com> wrote:

>=20
>> Number:         186651
>> Category:       ports
>> Synopsis:       [maintainer] security/masscan: update to 1.0.3
>> Confidential:   no
>> Severity:       non-critical
>> Priority:       low
>> Responsible:    freebsd-ports-bugs
>> State:          open
>> Quarter:       =20
>> Keywords:      =20
>> Date-Required:
>> Class:          maintainer-update
>> Submitter-Id:   current-users
>> Arrival-Date:   Tue Feb 11 14:10:00 UTC 2014
>> Closed-Date:
>> Last-Modified:
>> Originator:     Chie Taguchi
>> Release:        FreeBSD 11.0-CURRENT
>> Organization:
>> Environment:
> FreeBSD arty 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r261534: Thu Feb  6 =
15:42:28 JST 2014     user@arty:/usr/obj/usr/src/sys/ARTY  amd64
>=20
>> Description:
> - 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.
>> How-To-Repeat:
>=20
>> Fix:
>=20
>=20
>> Release-Note:
>> Audit-Trail:
>> Unformatted:
> _______________________________________________
> freebsd-ports-bugs@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
> To unsubscribe, send any mail to =
"freebsd-ports-bugs-unsubscribe@freebsd.org"


--Apple-Mail=_053960ED-DCEB-4A39-9074-D1478A20FADE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6A92BF84-4023-4EB8-BD54-8B3E923A6761>