Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2002 13:33:35 +0100 (BST)
From:      Dominic Marks <dominic_marks@btinternet.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/38496: Nmap update broken Nmapfe port
Message-ID:  <20020524123335.BFBB883C@host217-41-12-91.in-addr.btopenworld.com>

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

>Number:         38496
>Category:       ports
>Synopsis:       Nmap update broken Nmapfe port
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 24 05:40:05 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 4.6-RC i386
>Organization:
Student
>Environment:
System: FreeBSD 4.6-RC i386

	
>Description:
	When I updated the security/nmap port I inadvertently broke the
	security/nmapfe port. This patch fixes the situation.
	
>How-To-Repeat:
	cd ${PORTSDIR}/security/nmapfe && make
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/nmap/Makefile,v
retrieving revision 1.55
diff -u -r1.55 Makefile
--- Makefile	2002/05/21 16:26:04	1.55
+++ Makefile	2002/05/24 12:32:05
@@ -14,7 +14,6 @@
 		http://www.mobis.com/ajax/projects/
 DISTNAME=	nmap-${PORTVERSION:S/.b/BETA/}
 EXTRACT_SUFX=	.tgz
-PLIST=	pkg-plist
 MAINTAINER=	dominic_marks@btinternet.com
 
 .include <bsd.port.pre.mk>
@@ -25,24 +24,15 @@
 .endif
 MAN1?=		nmap.1
 
+# if you want to use the nmap gtk gui use the nmapfe port.
 pre-configure:
-.if !defined (HAVE_GTK)
 	@${SED} -e "s,) nmapfe/nmapfe,),g" \
 		${WRKSRC}/Makefile.in > ${WRKDIR}/Makefile.in.temp
 	@${MV} ${WRKDIR}/Makefile.in.temp ${WRKSRC}/Makefile.in
-.else
-	@${SED} -e "s,gtk-config,gtk12-config,g" \
-		${WRKSRC}/nmapfe/configure > ${WRKDIR}/configure.temp
-	@${MV} ${WRKDIR}/configure.temp ${WRKSRC}/nmapfe/configure
-.endif
 
 .if !target(post-install) && (${PORTNAME} == "nmap")
 post-install:
 	@strip ${PREFIX}/bin/nmap
-.if defined (HAVE_GTK)
-	cd ${WRKSRC} && ${MAKE} install-nmapfe
-	echo "bin/nmapfe" >> ${PLIST}
-.endif
 .endif
 
 .include <bsd.port.post.mk>
	
>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?20020524123335.BFBB883C>