Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 May 2001 22:27:20 -0400 (EDT)
From:      marcus@marcuscom.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/27675: Update security/nmap to add nmapfe support
Message-ID:  <200105270227.f4R2RKX59884@shumai.marcuscom.com>

next in thread | raw e-mail | index | archive | help

>Number:         27675
>Category:       ports
>Synopsis:       Update security/nmap to add nmapfe support
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 26 19:30:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Joe Marcus Clarke
>Release:        FreeBSD 4.3-RELEASE i386
>Organization:
MarcusCom
>Environment:
System: FreeBSD shumai.marcuscom.com 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Sun May 6 01:46:59 EDT 2001 root@shumai.marcuscom.com:/usr/src/sys/compile/SHUMAI i386


	
>Description:
	These patches allow for the latest version of nmapfe to be built
along side the command line nmap application.  This is especially useful
as the stand-alone nmapfe port appears to be broken.
>How-To-Repeat:

>Fix:

--- Makefile.orig	Sat May 26 22:21:43 2001
+++ Makefile	Sat May 26 22:19:33 2001
@@ -21,6 +21,10 @@
 
 .include <bsd.port.pre.mk>
 
+.if defined(HAVE_GTK)
+USE_GTK=        yes
+.endif
+
 GNU_CONFIGURE=	yes
 .if ${OSVERSION} < 300004
 CFLAGS+=	-DDLT_RAW=12 # for obsoleted <net/bpf.h>
@@ -31,6 +35,7 @@
 	@${RM} -rf ${WRKSRC}/libpcap*
 
 post-install:
+	[ -e ${PREFIX}/bin/nmapfe ] || (cd ${PREFIX}/bin ; ${LN} -sf nmap nmapfe)
 	@strip ${PREFIX}/bin/nmap
 
 .include <bsd.port.post.mk>

--- pkg-plist.orig	Sat May 26 22:19:41 2001
+++ pkg-plist	Sat May 26 22:19:55 2001
@@ -1,5 +1,6 @@
 @comment $FreeBSD: ports/security/nmap/pkg-plist,v 1.11 2001/04/15 01:04:33 obrien Exp $
 bin/nmap
+bin/nmapfe
 share/nmap/nmap-os-fingerprints
 share/nmap/nmap-protocols
 share/nmap/nmap-services
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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