head	1.5;
access;
symbols
	RELEASE_8_3_0:1.4
	RELEASE_9_0_0:1.4
	RELEASE_7_4_0:1.3
	RELEASE_8_2_0:1.3
	RELEASE_6_EOL:1.3
	RELEASE_8_1_0:1.3
	RELEASE_7_3_0:1.3
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.3
	RELEASE_7_1_0:1.3
	RELEASE_6_4_0:1.3
	RELEASE_5_EOL:1.3
	RELEASE_7_0_0:1.3
	RELEASE_6_3_0:1.3
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.3
	RELEASE_6_2_0:1.3
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1;
locks; strict;
comment	@# @;


1.5
date	2012.11.17.06.01.05;	author svnexp;	state Exp;
branches;
next	1.4;

1.4
date	2011.09.01.13.11.46;	author stefan;	state Exp;
branches;
next	1.3;

1.3
date	2006.05.13.04.15.04;	author edwin;	state Exp;
branches;
next	1.2;

1.2
date	2004.11.14.22.26.10;	author pav;	state Exp;
branches;
next	1.1;

1.1
date	2003.09.04.13.28.15;	author edwin;	state Exp;
branches;
next	;


desc
@@


1.5
log
@Switch exporter over
@
text
@# Ports collection makefile for:  hmap
# Date created:			  29 Apr 2003
# Whom:				  Yonatan <onatan@@gmail.com>
#
# $FreeBSD: head/security/hmap/Makefile 300897 2012-07-14 14:29:18Z beat $
#

PORTNAME=	hmap
PORTVERSION=	0.1
PORTREVISION=	1
CATEGORIES=	security
MASTER_SITES=	http://ujeni.murkyroc.com/hmap/code/current/
DISTNAME=	${PORTNAME}

MAINTAINER=	onatan@@gmail.com
COMMENT=	Web server fingerprinting utility

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/GPL

USE_DOS2UNIX=	yes
USE_PYTHON=	yes

NO_WRKSUBDIR=	yes
NO_BUILD=	yes

post-patch:
	${REINPLACE_CMD} -e 's|DATADIR|${DATADIR}|' ${WRKSRC}/hmap.py

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/hmap.py ${PREFIX}/bin/
	${MKDIR} ${DATADIR}
	(cd ${WRKSRC}/known.servers/ && ${COPYTREE_SHARE} \* ${DATADIR})
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
.for i in README BUGS FAQS HIDING_GUIDE KNOWN_TESTS
	${INSTALL_DATA} ${WRKSRC}/$i ${DOCSDIR}
.endfor
.endif

.include <bsd.port.mk>
@


1.4
log
@- remove dead mirror
- install license with LICENSE knob
- use USE_PYTHON instead of RUN_DEPENDS
- use DOS2UNIX instead of homemade commands
- use DATADIR instead of share/hmap
- use COPYTREE_SHARE for copying group of files
- fix plist
- bump PORTREVISION because of plist changes

PR:		156693
Submitted by:	Ruslan Mahmatkhanov <cvs-src@@yandex.ru>
Approved by:	maintainer timeout (>4 months)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.3
log
@Remove USE_REINPLACE from all categories starting with S
@
text
@d10 1
d12 1
a12 2
MASTER_SITES=	http://ujeni.murkyroc.com/hmap/code/current/	\
		http://wwwcsif.cs.ucdavis.edu/~leed/hmap/code/current/
d18 5
a22 1
RUN_DEPENDS=	python:${PORTSDIR}/lang/python
a26 4
pre-patch:
	${CP} ${WRKSRC}/hmap.py ${WRKSRC}/hmap.py.old
	${TR} -d "\r" < ${WRKSRC}/hmap.py.old > ${WRKSRC}/hmap.py

d28 1
a28 1
	${REINPLACE_CMD} -e 's|PREFIX|${PREFIX}|' ${WRKSRC}/hmap.py
d32 8
a39 10
	${MKDIR} ${PREFIX}/share/hmap/
.	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
@


1.2
log
@- Update maintainer's email address

PR:		ports/73939
Submitted by:	Yonatan <onatan@@gmail.com> (maintainer)
@
text
@a21 1
USE_REINPLACE=	yes
@


1.1
log
@New port: security/hmap - web server fingerprinting tool

	Web server fingerprinting tool, used to identify web servers
	that changed thier banners.

PR:		ports/50754
Submitted by:	Yonatan@@xpert.com <Yonatan@@xpert.com>
@
text
@d3 1
a3 1
# Whom:				  Yonatan <Yonatan@@xpert.com>
d15 1
a15 1
MAINTAINER=	Yonatan@@xpert.com
@

