freebsd-ports/security/dirbuster/Makefile
Niels Heinen c5684cbb74 OWASP DirBuster is a multi threaded java application designed to
brute force directories and files names on web/application servers.

Approved by:	itetcu (mentor)
Feature safe:	yes
WWW:	http://www.owasp.org/index.php/Category:OWASP_DirBuster_Project
2010-03-09 21:52:06 +00:00

41 lines
977 B
Makefile

# New ports collection makefile for: dirbuster
# Date created: 2010-03-08
# Whom: Niels Heinen
#
# $FreeBSD$
#
PORTNAME= dirbuster
PORTVERSION= 1.0r1
CATEGORIES= security java
MASTER_SITES= SF/${PORTNAME}/DirBuster%20%28jar%20%2B%20lists%29/1.0-RC1/
DISTNAME= DirBuster-1.0-RC1
MAINTAINER= niels@FreeBSD.org
COMMENT= DirBuster allows file and directory brute forcing on web servers
USE_ZIP= YES
USE_JAVA= YES
JAVA_VERSION= 1.4+
NO_BUILD= yes
WRKSRC= ${WRKDIR}/${DISTNAME}
DATADIR= ${JAVASHAREDIR}/${PORTNAME}
.include <bsd.port.pre.mk>
post-extract:
${RM} ${WRKSRC}/${DISTNAME}.sh
${RM} ${WRKSRC}/${DISTNAME}.bat
pre-install:
@${SED} -e 's:%%PATH%%:${DATADIR}/:' \
-e 's:%%JAVA_CMD%%:${JAVA}:' \
-e 's:%%DIRBUSTER%%:${DATADIR}/${DISTNAME}.jar:' \
< ${FILESDIR}/${PORTNAME}.sh > ${WRKDIR}/${PORTNAME}
do-install:
${MKDIR} ${DATADIR}
${CP} -R ${WRKSRC}/* ${DATADIR}
${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.post.mk>