Index: Makefile =================================================================== RCS file: Makefile diff -N Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ Makefile 19 Apr 2010 18:48:28 -0000 @@ -0,0 +1,44 @@ +# New ports collection makefile for: jbrofuzz +# Date created: 2010-03-08 +# Whom: Niels Heinen +# +# $FreeBSD$ +# + +PORTNAME= jbrofuzz +PORTVERSION= 2.1 +CATEGORIES= security www java +MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}/ +DISTNAME= ${PORTNAME}-jar-21 + +MAINTAINER= niels@FreeBSD.org +COMMENT= JBroFuzz is a web application fuzzer + +USE_ZIP= YES +USE_JAVA= YES +NO_BUILD= YES +JAVA_VERSION= 1.6+ +PORTDOCS= README INSTALL +WRKSRC= ${WRKDIR}/${PORTNAME} +SUB_FILES= ${PORTNAME}.sh +SUB_LIST= JAVA_CMD=${JAVA} JBROFUZZ=${PORTNAME} + +.include + +do-install: + ${MKDIR} ${JAVASHAREDIR}/${PORTNAME} + ${INSTALL_DATA} ${WRKSRC}/JBroFuzz.jar ${JAVASHAREDIR}/${PORTNAME}/${PORTNAME}.jar + ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME}.sh ${PREFIX}/bin/${PORTNAME} + ( cd ${WRKSRC}/fuzzers/ && ${COPYTREE_SHARE} . ${DATADIR}/fuzzers/ ) +.if !defined(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} + ( cd ${WRKSRC}/examples/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR} ) +.endif +.if !defined(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +. for I in ${PORTDOCS} + ${INSTALL_DATA} ${WRKSRC}/${I} ${DOCSDIR} +. endfor +.endif + +.include Index: distinfo =================================================================== RCS file: distinfo diff -N distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ distinfo 19 Apr 2010 18:48:28 -0000 @@ -0,0 +1,3 @@ +MD5 (jbrofuzz-jar-21.zip) = 3ab74f3e44cf2def24c1f2b2397fb073 +SHA256 (jbrofuzz-jar-21.zip) = 802262d355c87033df6c21ca751c15a129b447bce3ab922b9d668d84f2d81366 +SIZE (jbrofuzz-jar-21.zip) = 3790481 Index: pkg-descr =================================================================== RCS file: pkg-descr diff -N pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg-descr 19 Apr 2010 18:48:28 -0000 @@ -0,0 +1,5 @@ +JBroFuzz is a web application fuzzer for requests being made over +HTTP or HTTPS. Its purpose is to provide a single, portable application +that offers stable web protocol fuzzing capabilities. + +WWW: http://www.owasp.org/index.php/Category:OWASP_JBroFuzz Index: pkg-plist =================================================================== RCS file: pkg-plist diff -N pkg-plist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ pkg-plist 19 Apr 2010 18:48:28 -0000 @@ -0,0 +1,15 @@ +bin/jbrofuzz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-01-http-version.jbrofuzz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-02-http-methods.jbrofuzz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-03-charset-buffer-overflow.jbrofuzz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-04-mobile-symbian.jbrofuzz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-05-chrome-version-fuzz.jbrofuzz +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example-06-user-agents-google.jbrofuzz +share/java/jbrofuzz/jbrofuzz.jar +%%DATADIR%%/fuzzers/fuzzers-file-extensions.jbrf +%%DATADIR%%/fuzzers/fuzzers.jbrf +%%DATADIR%%/fuzzers/headers.jbrf +@dirrm %%DATADIR%%/fuzzers +@dirrm %%DATADIR%% +@dirrm share/java/jbrofuzz +%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%% Index: files/jbrofuzz.sh.in =================================================================== RCS file: files/jbrofuzz.sh.in diff -N files/jbrofuzz.sh.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/jbrofuzz.sh.in 19 Apr 2010 18:48:28 -0000 @@ -0,0 +1,6 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +exec %%JAVA_CMD%% -jar -Xmx256m %%JAVASHAREDIR%%/%%JBROFUZZ%%/%%JBROFUZZ%%.jar "$@"