ports/50754: New port: security/hmap - web server fingerprinting tool

Foxfair Hu foxfair at drago.fomokka.net
Tue Jun 24 07:30:22 UTC 2003


The following reply was made to PR ports/50754; it has been noted by GNATS.

From: Foxfair Hu <foxfair at drago.fomokka.net>
To: Yonatan Bokovza <Yonatan at xpert.com>
Cc: freebsd-gnats-submit at FreeBSD.org
Subject: Re: ports/50754: New port: security/hmap - web server fingerprinting tool
Date: Tue, 24 Jun 2003 15:28:48 +0800

 --DKU6Jbt7q3WqK7+M
 Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z"
 Content-Disposition: inline
 
 
 --Nq2Wo0NMKNjxTN9z
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 On Tue, Jun 24, 2003 at 10:23:08AM +0300, Yonatan Bokovza wrote:
 >
 > Something in my mail emptied your attachment.
 > Please follow-up on ports/50754 and I'll get your patch via
 > GNATS.
 >
 > TIA,
 > Yonatan
 
 How about this diff? I do a little bit of reformatting in Makefile.
 Change post-patch section to pre-patch, to make the patch
 really happened.
 Also delete one line of CVS tag in pkg-comment.
 
 foxfair
 
 
 --Nq2Wo0NMKNjxTN9z
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename="hmap.diff"
 Content-Transfer-Encoding: quoted-printable
 
 diff -ruN ../hmap.orig/Makefile ./Makefile
 --- ../hmap.orig/Makefile	Tue Jun 24 13:45:11 2003
 +++ ./Makefile	Tue Jun 24 13:48:27 2003
 @@ -12,7 +12,7 @@
  DISTNAME=3D	${PORTNAME}
 =20
  MAINTAINER=3D	Yonatan at xpert.com
 -COMMENT=3D	Web server fingerprinting utility
 +COMMENT=3D	Web server fingerprinting utility in Python
 =20
  RUN_DEPENDS=3D	python:${PORTSDIR}/lang/python
 =20
 @@ -20,7 +20,7 @@
  NO_BUILD=3D	yes
  USE_REINPLACE=3D	yes
 =20
 -post-patch:
 +pre-patch:
  	${CP} ${WRKSRC}/hmap.py ${WRKSRC}/hmap.py.old
  	${TR} -d "\r" < ${WRKSRC}/hmap.py.old > ${WRKSRC}/hmap.py
  	${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/hmap.py
 @@ -28,14 +28,23 @@
  do-install:
  	${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${PREFIX}/bin/
  	${MKDIR} ${PREFIX}/share/hmap/
 -.	for i in apache.1.3.12.win32 apache.2.0.44.win32 apache.1.3.14.win32 bad=
 blue.2.1.win32 apache.1.3.17.win32 dwhttpd.4.1a6.solaris.8 apache.1.3.22.wi=
 n32 hpws.2.00.1454.solaris.8 apache.1.3.23.rhl.7.3 ibm_http_server.2.0.42.w=
 in32 apache.1.3.26.freebsd.4.6.2.r iis.5.0.win32 apache.1.3.26.solaris.8 ji=
 gsaw.2.0.5.win32 apache.1.3.27.freebsd.4.7 jigsaw.2.2.0.win32 apache.1.3.27=
 =2Efreebsd.5.0 jigsaw.2.2.2.solaris.8 apache.1.3.27.mac.10.1.5 ncsa.1.3.ult=
 rix.4.4 apache.1.3.27.mac.10.2.4 thttpd.2.23beta1.freebsd.4.6.st apache.1.3=
 =2E27.rhl.8.0 thttpd.2.23beta1.rhl.7.3 apache.1.3.9.win32 zope.2.6.0.solari=
 s.8 apache.2.0.40.rhl.8.0
 -		${INSTALL_DATA} ${WRKSRC}/known.servers/$i ${PREFIX}/share/hmap/
 -.	endfor
 -.	if !defined(NOPORTDOCS)
 -		${MKDIR} ${DOCSDIR}
 -.		for i in README BUGS GPL FAQS HIDING_GUIDE KNOWN_TESTS
 -			${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
 -.		endfor
 -.	endif
 +.for i in apache.1.3.12.win32 apache.2.0.44.win32 apache.1.3.14.win32 \
 +	badblue.2.1.win32 apache.1.3.17.win32 dwhttpd.4.1a6.solaris.8 \
 +	apache.1.3.22.win32 hpws.2.00.1454.solaris.8 apache.1.3.23.rhl.7.3 \
 +	ibm_http_server.2.0.42.win32 apache.1.3.26.freebsd.4.6.2.r \
 +	iis.5.0.win32 apache.1.3.26.solaris.8 jigsaw.2.0.5.win32 \
 +	apache.1.3.27.freebsd.4.7 jigsaw.2.2.0.win32 apache.1.3.27.freebsd.5.0 \
 +	jigsaw.2.2.2.solaris.8 apache.1.3.27.mac.10.1.5 ncsa.1.3.ultrix.4.4 \
 +	apache.1.3.27.mac.10.2.4 thttpd.2.23beta1.freebsd.4.6.st \
 +	apache.1.3.27.rhl.8.0 thttpd.2.23beta1.rhl.7.3 apache.1.3.9.win32 \
 +	zope.2.6.0.solaris.8 apache.2.0.40.rhl.8.0
 +	${INSTALL_DATA} ${WRKSRC}/known.servers/$i ${PREFIX}/share/hmap/
 +.endfor
 +.if !defined(NOPORTDOCS)
 +	${MKDIR} ${DOCSDIR}
 +.for i in README BUGS GPL FAQS HIDING_GUIDE KNOWN_TESTS
 +	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
 +.endfor
 +.endif
 =20
  .include <bsd.port.mk>
 diff -ruN ../hmap.orig/pkg-plist ./pkg-plist
 --- ../hmap.orig/pkg-plist	Tue Jun 24 13:45:11 2003
 +++ ./pkg-plist	Tue Jun 24 13:20:44 2003
 @@ -1,4 +1,3 @@
 - at comment $FreeBSD$
  bin/hmap.py
  share/hmap/apache.1.3.12.win32
  share/hmap/apache.2.0.44.win32
 
 --Nq2Wo0NMKNjxTN9z--
 
 --DKU6Jbt7q3WqK7+M
 Content-Type: application/pgp-signature
 Content-Disposition: inline
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.2.1 (FreeBSD)
 
 iD8DBQE+9/2wsWh5Cw3CV+oRAvdoAJ9eB76QAAdROqG9DNluwTg8GG30eQCfXvNF
 ZoTOyGcQsmbTYuR6r5vFUt4=
 =t/Rn
 -----END PGP SIGNATURE-----
 
 --DKU6Jbt7q3WqK7+M--



More information about the freebsd-ports-bugs mailing list