freebsd-ports/security/blindelephant/Makefile
Niels Heinen 08ae07d604 New port: The BlindElephant Web Application Fingerprinter attempts
to discover the version of a (known) web application by comparing
static files at known locations against precomputed hashes for
versions of those files in all available releases. The technique
is fast, low-bandwidth, non-invasive, generic, and highly automatable.

WWW: http://blindelephant.sourceforge.net/

Approved by:	itetcu (mentor)
2010-08-21 09:27:45 +00:00

47 lines
1.1 KiB
Makefile

# New ports collection makefile for: blindelephant
# Date created: 2010-08-19
# Whom: Niels Heinen
#
# $FreeBSD$
#
PORTNAME= blindelephant
PORTVERSION= 1.0
PORTREVISION= 20100819
CATEGORIES= security www
MASTER_SITES= ${MASTER_SITE_LOCAL} \
http://people.freebsd.org/~niels/distfiles/
MASTER_SITE_SUBDIR= niels
DISTNAME= ${PORTNAME}-${PORTREVISION}
MAINTAINER= niels@FreeBSD.org
COMMENT= Fingerprint the web applications used by a web site
LICENSE= LGPL3
USE_BZIP2= YES
USE_PYTHON= 2.6+
USE_PYDISTUTILS= YES
SUB_FILES= ${PORTNAME}.sh
SUB_LIST= PYTHON_CMD=${PYTHON_CMD} \
PATH=${PYTHONPREFIX_SITELIBDIR}/${PORTNAME}
PORTDOCS= README Blind_Elephant_BlackHat_2010.pdf
.include <bsd.port.pre.mk>
post-extract:
@${MV} ${WRKSRC}/src/* ${WRKSRC}
@${MV} "${WRKSRC}/doc/Blind Elephant - BlackHat 2010.pdf" \
${WRKSRC}/Blind_Elephant_BlackHat_2010.pdf
post-install:
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME}
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
. for I in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${I} ${DOCSDIR}
. endfor
.endif
.include <bsd.port.post.mk>