Index: jbrofuzz/Makefile =================================================================== RCS file: jbrofuzz/Makefile diff -N jbrofuzz/Makefile --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ jbrofuzz/Makefile 16 Apr 2010 20:53:22 -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: jbrofuzz/distinfo =================================================================== RCS file: jbrofuzz/distinfo diff -N jbrofuzz/distinfo --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ jbrofuzz/distinfo 16 Apr 2010 20:53:22 -0000 @@ -0,0 +1,3 @@ +MD5 (jbrofuzz-jar-21.zip) = 3ab74f3e44cf2def24c1f2b2397fb073 +SHA256 (jbrofuzz-jar-21.zip) = 802262d355c87033df6c21ca751c15a129b447bce3ab922b9d668d84f2d81366 +SIZE (jbrofuzz-jar-21.zip) = 3790481 Index: jbrofuzz/pkg-descr =================================================================== RCS file: jbrofuzz/pkg-descr diff -N jbrofuzz/pkg-descr --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ jbrofuzz/pkg-descr 16 Apr 2010 20:53:22 -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: jbrofuzz/pkg-plist =================================================================== RCS file: jbrofuzz/pkg-plist diff -N jbrofuzz/pkg-plist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ jbrofuzz/pkg-plist 16 Apr 2010 20:53:22 -0000 @@ -0,0 +1,15 @@ +bin/jbrofuzz +%%EXAMPLESDIR%%/example-01-http-version.jbrofuzz +%%EXAMPLESDIR%%/example-02-http-methods.jbrofuzz +%%EXAMPLESDIR%%/example-03-charset-buffer-overflow.jbrofuzz +%%EXAMPLESDIR%%/example-04-mobile-symbian.jbrofuzz +%%EXAMPLESDIR%%/example-05-chrome-version-fuzz.jbrofuzz +%%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 +@dirrm %%EXAMPLESDIR%% Index: jbrofuzz/files/jbrofuzz.sh.in =================================================================== RCS file: jbrofuzz/files/jbrofuzz.sh.in diff -N jbrofuzz/files/jbrofuzz.sh.in --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ jbrofuzz/files/jbrofuzz.sh.in 16 Apr 2010 20:53:22 -0000 @@ -0,0 +1,6 @@ +#!/bin/sh +# +# $FreeBSD$ +# + +exec %%JAVA_CMD%% -jar -Xmx256m %%JAVASHAREDIR%%/%%JBROFUZZ%%/%%JBROFUZZ%%.jar "$@"