aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNiels Heinen <niels@FreeBSD.org>2010-04-20 21:12:59 +0000
committerNiels Heinen <niels@FreeBSD.org>2010-04-20 21:12:59 +0000
commit44cef5647cb86af87bbbd606a233f3e44e1504e1 (patch)
treedd31fbeae25b1e10a4bf62bb35ca5e7cfd648d7a
parent03438882f68ff0818a0ebb8981fa9a77aa77ea85 (diff)
downloadports-44cef5647cb86af87bbbd606a233f3e44e1504e1.tar.gz
ports-44cef5647cb86af87bbbd606a233f3e44e1504e1.zip
Notes
-rw-r--r--security/Makefile1
-rw-r--r--security/jbrofuzz/Makefile44
-rw-r--r--security/jbrofuzz/distinfo3
-rw-r--r--security/jbrofuzz/files/jbrofuzz.sh.in6
-rw-r--r--security/jbrofuzz/pkg-descr5
-rw-r--r--security/jbrofuzz/pkg-plist15
6 files changed, 74 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index d378ef29d768..bd083445d2d8 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -216,6 +216,7 @@
SUBDIR += isnprober
SUBDIR += isolate
SUBDIR += its4
+ SUBDIR += jbrofuzz
SUBDIR += jce_policy14
SUBDIR += john
SUBDIR += kedpm
diff --git a/security/jbrofuzz/Makefile b/security/jbrofuzz/Makefile
new file mode 100644
index 000000000000..c22c20538d94
--- /dev/null
+++ b/security/jbrofuzz/Makefile
@@ -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 <bsd.port.pre.mk>
+
+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 <bsd.port.post.mk>
diff --git a/security/jbrofuzz/distinfo b/security/jbrofuzz/distinfo
new file mode 100644
index 000000000000..6c0e5cb5d93c
--- /dev/null
+++ b/security/jbrofuzz/distinfo
@@ -0,0 +1,3 @@
+MD5 (jbrofuzz-jar-21.zip) = 3ab74f3e44cf2def24c1f2b2397fb073
+SHA256 (jbrofuzz-jar-21.zip) = 802262d355c87033df6c21ca751c15a129b447bce3ab922b9d668d84f2d81366
+SIZE (jbrofuzz-jar-21.zip) = 3790481
diff --git a/security/jbrofuzz/files/jbrofuzz.sh.in b/security/jbrofuzz/files/jbrofuzz.sh.in
new file mode 100644
index 000000000000..2d2666fc4a69
--- /dev/null
+++ b/security/jbrofuzz/files/jbrofuzz.sh.in
@@ -0,0 +1,6 @@
+#!/bin/sh
+#
+# $FreeBSD$
+#
+
+exec %%JAVA_CMD%% -jar -Xmx256m %%JAVASHAREDIR%%/%%JBROFUZZ%%/%%JBROFUZZ%%.jar "$@"
diff --git a/security/jbrofuzz/pkg-descr b/security/jbrofuzz/pkg-descr
new file mode 100644
index 000000000000..e05777ca2298
--- /dev/null
+++ b/security/jbrofuzz/pkg-descr
@@ -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
diff --git a/security/jbrofuzz/pkg-plist b/security/jbrofuzz/pkg-plist
new file mode 100644
index 000000000000..cc5652e2d492
--- /dev/null
+++ b/security/jbrofuzz/pkg-plist
@@ -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%%