Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2002 21:42:03 +0100 (BST)
From:      Dominic Marks <dominic_marks@btinternet.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/38305: Port update: security/nmap
Message-ID:  <20020519204203.A41EC232@host217-41-15-143.in-addr.btopenworld.com>

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

>Number:         38305
>Category:       ports
>Synopsis:       Port update: security/nmap
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 19 13:50:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Dominic Marks
>Release:        FreeBSD 4.6-RC i386
>Organization:
Student
>Environment:
System: FreeBSD gallium 4.6-RC FreeBSD 4.6-RC #4:
Thu May 16 22:38:19 BST 2002 dom@gallium:/usr/obj/usr/src/sys/GALLIUM i386
	
>Description:
	nmap 2.54-b33 -> 2.54-b34

	I also fixed building of nmapfe. It now will get built (correctly)
	if HAVE_GTK is defined. If HAVE_GTK is not defined no attempt to
	compile it will be made (it was failing anyway previous to now).

	Currently nmapfe crashes when you try and use it, I will look into
	why soon.

	Take maintainership from ports@
	
	Thanks!
	
	
>How-To-Repeat:
	NA.
	
>Fix:

Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/security/nmap/Makefile,v
retrieving revision 1.54
diff -u -r1.54 Makefile
--- Makefile	2002/05/08 21:32:36	1.54
+++ Makefile	2002/05/19 20:37:31
@@ -7,18 +7,16 @@
 #
 
 PORTNAME?=	nmap
-PORTVERSION=	2.54.b33
+PORTVERSION=	2.54.b34
 CATEGORIES=	security
 MASTER_SITES=	http://www.insecure.org/nmap/dist/  \
 		ftp://nuxi.ucdavis.edu/pub/misc/  \
 		http://www.mobis.com/ajax/projects/
 DISTNAME=	nmap-${PORTVERSION:S/.b/BETA/}
 EXTRACT_SUFX=	.tgz
+PLIST=	pkg-plist
+MAINTAINER=	dominic_marks@btinternet.com
 
-#PATCH_SITES=	http://www.mobis.com/ajax/projects/
-
-MAINTAINER=	ports@FreeBSD.org
-
 .include <bsd.port.pre.mk>
 
 GNU_CONFIGURE=	yes
@@ -27,9 +25,25 @@
 .endif
 MAN1?=		nmap.1
 
+.if !defined (HAVE_GTK)
+pre-configure:
+	@${SED} -e "s,) nmapfe/nmapfe,),g" \
+		${WRKSRC}/Makefile.in > ${WRKDIR}/Makefile.in.temp
+	@${MV} ${WRKDIR}/Makefile.in.temp ${WRKSRC}/Makefile.in
+.else
+pre-configure:
+	@${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>
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/security/nmap/distinfo,v
retrieving revision 1.36
diff -u -r1.36 distinfo
--- distinfo	2002/04/29 06:33:34	1.36
+++ distinfo	2002/05/19 20:37:31
@@ -1 +1 @@
-MD5 (nmap-2.54BETA33.tgz) = 4d82a7feb1ef5865900a8843935a7f63
+MD5 (nmap-2.54BETA34.tgz) = be5f0784fe0a318c9b54c09ffa1b565b

	


>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?20020519204203.A41EC232>