View | Details | Raw Unified | Return to bug 221522 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-8 / +8 lines)
Lines 3-9 Link Here
3
3
4
PORTNAME=	nmap
4
PORTNAME=	nmap
5
DISTVERSION=	7.70
5
DISTVERSION=	7.70
6
PORTREVISION=	0
6
PORTREVISION=	1
7
CATEGORIES=	security ipv6
7
CATEGORIES=	security ipv6
8
MASTER_SITES=	https://nmap.org/dist/ \
8
MASTER_SITES=	https://nmap.org/dist/ \
9
		LOCAL/ohauer
9
		LOCAL/ohauer
Lines 20-41 Link Here
20
20
21
.if !defined(MASTERDIR)
21
.if !defined(MASTERDIR)
22
22
23
LIB_DEPENDS=	libpcre.so:devel/pcre
23
LIB_DEPENDS=	libpcre.so:devel/pcre \
24
		libpcap.so.1:net/libpcap
24
25
25
USES=		tar:bzip2 gmake cpe
26
USES=		tar:bzip2 gmake cpe
26
GNU_CONFIGURE=	yes
27
GNU_CONFIGURE=	yes
27
28
28
OPTIONS_SUB=	yes
29
OPTIONS_SUB=	yes
29
OPTIONS_DEFINE=	DOCS PCAP SSH2 SSL
30
OPTIONS_DEFINE=	DOCS SSH2 SSL
30
OPTIONS_DEFAULT=PCAP SSH2 SSL
31
OPTIONS_DEFAULT=SSH2 SSL
31
32
32
PCAP_DESC=		Build with libpcap from nmap
33
SSH2_DESC=		SSH2 protocol support
33
SSH2_DESC=		SSH2 protocol support
34
34
SSH2_CONFIGURE_ON=	--with-libssh2=${LOCALBASE}
35
PCAP_CONFIGURE_ON=	--with-libpcap=included
36
SSH2_CONFIGURE_ON=	--with-libssh2=included
37
SSH2_CONFIGURE_OFF=	--without-libssh2
35
SSH2_CONFIGURE_OFF=	--without-libssh2
38
SSH2_IMPLIES=		SSL
36
SSH2_IMPLIES=		SSL
37
SSH2_LIB_DEPENDS=	libssh2.so:security/libssh2
39
SSL_USES=		ssl
38
SSL_USES=		ssl
40
SSL_CONFIGURE_ON=	--with-openssl=${OPENSSLBASE}
39
SSL_CONFIGURE_ON=	--with-openssl=${OPENSSLBASE}
41
SSL_CONFIGURE_OFF=	--without-openssl
40
SSL_CONFIGURE_OFF=	--without-openssl
Lines 48-53 Link Here
48
CONFIGURE_ARGS+=--without-localdirs \
47
CONFIGURE_ARGS+=--without-localdirs \
49
		--without-zenmap \
48
		--without-zenmap \
50
		--without-ndiff \
49
		--without-ndiff \
50
		--with-libpcap=${LOCALBASE} \
51
		--with-libpcre=${LOCALBASE} \
51
		--with-libpcre=${LOCALBASE} \
52
		--with-liblua=included \
52
		--with-liblua=included \
53
		--without-nmap-update
53
		--without-nmap-update
(-)files/patch-libdnet-stripped_configure (-4 / +4 lines)
Lines 1-6 Link Here
1
--- libdnet-stripped/configure.orig	2017-02-13 19:46:23 UTC
1
--- libdnet-stripped/configure.orig	2017-08-02 18:48:27 UTC
2
+++ libdnet-stripped/configure
2
+++ libdnet-stripped/configure
3
@@ -733,6 +733,9 @@ ac_includes_default="\
3
@@ -764,6 +764,9 @@ ac_includes_default="\
4
 #ifdef HAVE_STDINT_H
4
 #ifdef HAVE_STDINT_H
5
 # include <stdint.h>
5
 # include <stdint.h>
6
 #endif
6
 #endif
Lines 10-17 Link Here
10
 #ifdef HAVE_UNISTD_H
10
 #ifdef HAVE_UNISTD_H
11
 # include <unistd.h>
11
 # include <unistd.h>
12
 #endif"
12
 #endif"
13
@@ -11716,11 +11719,8 @@ $as_echo_n "checking for Berkeley Packet
13
@@ -11828,11 +11831,8 @@ $as_echo_n "checking for Berkeley Packet
14
     if test "${ac_cv_dnet_bsd_bpf+set}" = set; then :
14
     if ${ac_cv_dnet_bsd_bpf+:} false; then :
15
   $as_echo_n "(cached) " >&6
15
   $as_echo_n "(cached) " >&6
16
 else
16
 else
17
-  if test -c /dev/bpf0 ; then
17
-  if test -c /dev/bpf0 ; then

Return to bug 221522