From owner-freebsd-ports Sun May 19 13:50:27 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 9BECA37B41A for ; Sun, 19 May 2002 13:50:01 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g4JKo1L12419; Sun, 19 May 2002 13:50:01 -0700 (PDT) (envelope-from gnats) Received: from host217-41-15-143.in-addr.btopenworld.com (host217-41-15-143.in-addr.btopenworld.com [217.41.15.143]) by hub.freebsd.org (Postfix) with ESMTP id E409137B401 for ; Sun, 19 May 2002 13:42:10 -0700 (PDT) Received: by host217-41-15-143.in-addr.btopenworld.com (Postfix, from userid 1001) id A41EC232; Sun, 19 May 2002 21:42:03 +0100 (BST) Message-Id: <20020519204203.A41EC232@host217-41-15-143.in-addr.btopenworld.com> Date: Sun, 19 May 2002 21:42:03 +0100 (BST) From: Dominic Marks Reply-To: Dominic Marks To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/38305: Port update: security/nmap Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 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 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