Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 May 2002 10:00:07 -0700 (PDT)
From:      Dominic Marks <dominic_marks@btinternet.com>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/38305: Port update: security/nmap
Message-ID:  <200205201700.g4KH07O28985@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/38305; it has been noted by GNATS.

From: Dominic Marks <dominic_marks@btinternet.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Cc:  
Subject: Re: ports/38305: Port update: security/nmap
Date: Mon, 20 May 2002 17:54:11 +0100

 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

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?200205201700.g4KH07O28985>