Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2016 14:43:09 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r426929 - in head/security/smap: . files
Message-ID:  <201611231443.uANEh9MU084718@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Wed Nov 23 14:43:09 2016
New Revision: 426929
URL: https://svnweb.freebsd.org/changeset/ports/426929

Log:
  - Add LICENSE
  - Respect CFLAGS/LDFLAGS

Added:
  head/security/smap/files/
  head/security/smap/files/patch-Makefile   (contents, props changed)
Modified:
  head/security/smap/Makefile

Modified: head/security/smap/Makefile
==============================================================================
--- head/security/smap/Makefile	Wed Nov 23 14:41:04 2016	(r426928)
+++ head/security/smap/Makefile	Wed Nov 23 14:43:09 2016	(r426929)
@@ -3,13 +3,17 @@
 
 PORTNAME=	smap
 PORTVERSION=	0.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	security net
 MASTER_SITES=	http://www.wormulon.net/smap/
 
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	SIP scanner and identifier
 
+# does not really specify # of clauses, so stay
+# with strictest variant to be on a safe side
+LICENSE=	BSD4CLAUSE
+
 USES=		gmake
 
 do-install:

Added: head/security/smap/files/patch-Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/smap/files/patch-Makefile	Wed Nov 23 14:43:09 2016	(r426929)
@@ -0,0 +1,13 @@
+--- Makefile.orig	2007-05-10 13:45:31 UTC
++++ Makefile
+@@ -8,8 +8,8 @@
+ #
+ # $Id: Makefile,v 1.15 2007/05/10 13:45:31 hscholz Exp $
+ 
+-LDFLAGS= -L/usr/local/lib -lm
+-CFLAGS= -Wall -g -I/usr/local/include
++LDFLAGS+= -lm
++CFLAGS+= -Wall
+ CFLAGS+= -DHAVE_RANDOM -DRAW_SOCKET
+ CC?= gcc
+ OBJS= error.o fingerprint.o helpers.o icmpping.o localip.o request.o randomizer.o response.o scan.o sip.o smap.o stats.o stun.o test_accept.o test_allow.o test_supported.o test_headers.o transport_udp.o transport_tcp.o



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