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.
Hey, One minor optimization to my patch. No functional changes. 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/20 16:50:53 @@ -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,24 @@ .endif MAN1?= nmap.1 +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> 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/20 16:50:53 @@ -1 +1 @@ -MD5 (nmap-2.54BETA33.tgz) = 4d82a7feb1ef5865900a8843935a7f63 +MD5 (nmap-2.54BETA34.tgz) = be5f0784fe0a318c9b54c09ffa1b565b Thanks! -- Dominic
State Changed From-To: open->closed Committed, thanks!