aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-11-23 22:43:09 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-11-23 22:43:09 +0800
commitaeb4077be8744c1d29c0d2cd05085be30783247d (patch)
tree1531eccf745a550587eb5038f49bea079668b597 /security
parent8070d2e894d18c58e18bca2f5c3a09c303c53866 (diff)
downloadfreebsd-ports-gnome-aeb4077be8744c1d29c0d2cd05085be30783247d.tar.gz
freebsd-ports-gnome-aeb4077be8744c1d29c0d2cd05085be30783247d.tar.zst
freebsd-ports-gnome-aeb4077be8744c1d29c0d2cd05085be30783247d.zip
- Add LICENSE
- Respect CFLAGS/LDFLAGS
Diffstat (limited to 'security')
-rw-r--r--security/smap/Makefile6
-rw-r--r--security/smap/files/patch-Makefile13
2 files changed, 18 insertions, 1 deletions
diff --git a/security/smap/Makefile b/security/smap/Makefile
index 05dbbd4670cf..1ea7eb1fa67f 100644
--- a/security/smap/Makefile
+++ b/security/smap/Makefile
@@ -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:
diff --git a/security/smap/files/patch-Makefile b/security/smap/files/patch-Makefile
new file mode 100644
index 000000000000..b2f724332c27
--- /dev/null
+++ b/security/smap/files/patch-Makefile
@@ -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