View | Details | Raw Unified | Return to bug 98080
Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 7-13 Link Here
7
7
8
PORTNAME?=	nmap
8
PORTNAME?=	nmap
9
PORTVERSION=	${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/[^a-z0-9+]+/./g}
9
PORTVERSION=	${DISTVERSION:L:C/([a-z])[a-z]+/\1/g:C/[^a-z0-9+]+/./g}
10
PORTREVISION=	1
10
PORTREVISION=	2
11
CATEGORIES=	security ipv6
11
CATEGORIES=	security ipv6
12
MASTER_SITES=	http://download.insecure.org/nmap/dist/ \
12
MASTER_SITES=	http://download.insecure.org/nmap/dist/ \
13
		http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ \
13
		http://www.mirrors.wiretapped.net/security/network-mapping/nmap/ \
(-)files/patch-libdnet-stripped_src_eth-bsd.c (+14 lines)
Added Link Here
1
2
$FreeBSD$
3
4
--- libdnet-stripped/src/eth-bsd.c.orig
5
+++ libdnet-stripped/src/eth-bsd.c
6
@@ -45,7 +45,7 @@
7
 	int i;
8
 
9
 	if ((e = calloc(1, sizeof(*e))) != NULL) {
10
-		for (i = 0; i < 128; i++) {
11
+		for (i = 0; i < 1024; i++) {
12
 			snprintf(file, sizeof(file), "/dev/bpf%d", i);
13
 			e->fd = open(file, O_WRONLY);
14
 			if (e->fd != -1 || errno != EBUSY)

Return to bug 98080