svn commit: r426929 - in head/security/smap: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Nov 23 14:43:10 UTC 2016


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 at 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


More information about the svn-ports-head mailing list