aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-02-03 03:33:06 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-02-03 03:33:06 +0800
commitad00c55bdb2f53f7d0b49537cbd190427d0e6959 (patch)
treee0fd04c0bccf815cdae2ebd6d08320f26093de21 /security
parent0f1f36904b192b1a7b4796a1edacf0681096d3b0 (diff)
downloadfreebsd-ports-gnome-ad00c55bdb2f53f7d0b49537cbd190427d0e6959.tar.gz
freebsd-ports-gnome-ad00c55bdb2f53f7d0b49537cbd190427d0e6959.tar.zst
freebsd-ports-gnome-ad00c55bdb2f53f7d0b49537cbd190427d0e6959.zip
- Update to 1.38b
PR: 197274 Submitted by: fk@fabiankeil.de (maintainer)
Diffstat (limited to 'security')
-rw-r--r--security/afl/Makefile19
-rw-r--r--security/afl/distinfo4
-rw-r--r--security/afl/pkg-plist103
3 files changed, 114 insertions, 12 deletions
diff --git a/security/afl/Makefile b/security/afl/Makefile
index 8df140ec3b9e..c330acc3c309 100644
--- a/security/afl/Makefile
+++ b/security/afl/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= afl
-PORTVERSION= 1.11b
+PORTVERSION= 1.38b
CATEGORIES= security
MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/
@@ -13,7 +13,7 @@ USES= compiler gmake tar:tgz
OPTIONS_DEFINE= DEBUG DOCS MINIMIZE_CORPUS \
PLOT_SUPPORT TEST_INSTRUMENTATION
-MINIMIZE_CORPUS_DESC= Install minimize_corpus.sh (bash dependency).
+MINIMIZE_CORPUS_DESC= Install afl-cmin. Adds bash dependency
PLOT_SUPPORT_DESC= Support progress plotting. Adds Gnuplot dependency
TEST_INSTRUMENTATION_DESC= Execute tests expected to fail in jails
OPTIONS_DEFAULT= MINIMIZE_CORPUS PLOT_SUPPORT
@@ -50,9 +50,10 @@ post-patch:
# by default anyway.
${REINPLACE_CMD} -e 's@^\(all.*\) test_build@\1@' ${WRKSRC}/Makefile
.endif
- ${REINPLACE_CMD} -e 's@ -O3@@; s@ -g@@' \
+ ${REINPLACE_CMD} -E -e 's@ -O3@@; s@ -g@@' \
-e 's@install -m 755@${INSTALL_PROGRAM}@' \
- -e 's@ afl-plot @ @' ${WRKSRC}/Makefile
+ -e 's@ afl-(cmin|plot|whatsup) @ @g' \
+ ${WRKSRC}/Makefile
.if (${COMPILER_TYPE} == "clang" && ${ARCH} == "i386")
${REINPLACE_CMD} -e 's@\( as_params\[0\] = "\)@\1${LOCALBASE}/bin/@' \
${WRKSRC}/afl-as.c
@@ -65,11 +66,13 @@ post-patch:
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/COPYING ${STAGEDIR}${DOCSDIR}/
- ${INSTALL_SCRIPT} ${WRKSRC}/afl-plot ${STAGEDIR}${LOCALBASE}/bin/
+
+.for afl_script in afl-cmin afl-plot afl-whatsup
+ ${INSTALL_SCRIPT} ${WRKSRC}/${afl_script} ${STAGEDIR}${LOCALBASE}/bin/
+.endfor
+
.if ${PORT_OPTIONS:MMINIMIZE_CORPUS}
- ${INSTALL_SCRIPT} \
- ${WRKSRC}/experimental/minimization_script/minimize_corpus.sh \
- ${STAGEDIR}${LOCALBASE}/bin/
+ ${INSTALL_SCRIPT} ${WRKSRC}/afl-cmin ${STAGEDIR}${LOCALBASE}/bin/
.endif
.include <bsd.port.post.mk>
diff --git a/security/afl/distinfo b/security/afl/distinfo
index 417cc1bab063..5ca0398b9dc2 100644
--- a/security/afl/distinfo
+++ b/security/afl/distinfo
@@ -1,2 +1,2 @@
-SHA256 (afl-1.11b.tgz) = d225bbd5b76f3455cdc204861f360fc6fb3014464bbe2bcd2ce6e40dafe9f246
-SIZE (afl-1.11b.tgz) = 728339
+SHA256 (afl-1.38b.tgz) = 29ac53e6c06d9c0d632d1ac8527bb84e53b481195d21e3feeef191aede61b268
+SIZE (afl-1.38b.tgz) = 772843
diff --git a/security/afl/pkg-plist b/security/afl/pkg-plist
index 7a97b42e279a..78e1811adc12 100644
--- a/security/afl/pkg-plist
+++ b/security/afl/pkg-plist
@@ -1,11 +1,14 @@
bin/afl-clang
bin/afl-clang++
+%%MINIMIZE_CORPUS%%bin/afl-cmin
bin/afl-fuzz
bin/afl-g++
bin/afl-gcc
+bin/afl-gotcpu
%%PLOT_SUPPORT%%bin/afl-plot
bin/afl-showmap
-%%MINIMIZE_CORPUS%%bin/minimize_corpus.sh
+bin/afl-tmin
+bin/afl-whatsup
lib/afl/afl-as
lib/afl/as
%%DATADIR%%/_extras/gif/header_87a
@@ -31,6 +34,101 @@ lib/afl/as
%%DATADIR%%/_extras/jpeg/section_ffe0
%%DATADIR%%/_extras/jpeg/section_ffe1
%%DATADIR%%/_extras/jpeg/section_fffe
+%%DATADIR%%/_extras/js/keyword_arguments
+%%DATADIR%%/_extras/js/keyword_break
+%%DATADIR%%/_extras/js/keyword_case
+%%DATADIR%%/_extras/js/keyword_catch
+%%DATADIR%%/_extras/js/keyword_const
+%%DATADIR%%/_extras/js/keyword_continue
+%%DATADIR%%/_extras/js/keyword_debugger
+%%DATADIR%%/_extras/js/keyword_decodeURI
+%%DATADIR%%/_extras/js/keyword_default
+%%DATADIR%%/_extras/js/keyword_delete
+%%DATADIR%%/_extras/js/keyword_do
+%%DATADIR%%/_extras/js/keyword_else
+%%DATADIR%%/_extras/js/keyword_escape
+%%DATADIR%%/_extras/js/keyword_eval
+%%DATADIR%%/_extras/js/keyword_export
+%%DATADIR%%/_extras/js/keyword_finally
+%%DATADIR%%/_extras/js/keyword_for
+%%DATADIR%%/_extras/js/keyword_function
+%%DATADIR%%/_extras/js/keyword_if
+%%DATADIR%%/_extras/js/keyword_in
+%%DATADIR%%/_extras/js/keyword_instanceof
+%%DATADIR%%/_extras/js/keyword_isNaN
+%%DATADIR%%/_extras/js/keyword_let
+%%DATADIR%%/_extras/js/keyword_new
+%%DATADIR%%/_extras/js/keyword_parseInt
+%%DATADIR%%/_extras/js/keyword_return
+%%DATADIR%%/_extras/js/keyword_switch
+%%DATADIR%%/_extras/js/keyword_this
+%%DATADIR%%/_extras/js/keyword_throw
+%%DATADIR%%/_extras/js/keyword_try
+%%DATADIR%%/_extras/js/keyword_typeof
+%%DATADIR%%/_extras/js/keyword_var
+%%DATADIR%%/_extras/js/keyword_void
+%%DATADIR%%/_extras/js/keyword_while
+%%DATADIR%%/_extras/js/keyword_with
+%%DATADIR%%/_extras/js/misc_1
+%%DATADIR%%/_extras/js/misc_a
+%%DATADIR%%/_extras/js/misc_array
+%%DATADIR%%/_extras/js/misc_assign
+%%DATADIR%%/_extras/js/misc_code_block
+%%DATADIR%%/_extras/js/misc_colon_num
+%%DATADIR%%/_extras/js/misc_colon_string
+%%DATADIR%%/_extras/js/misc_comma
+%%DATADIR%%/_extras/js/misc_comment_block
+%%DATADIR%%/_extras/js/misc_comment_line
+%%DATADIR%%/_extras/js/misc_cond
+%%DATADIR%%/_extras/js/misc_dec
+%%DATADIR%%/_extras/js/misc_div
+%%DATADIR%%/_extras/js/misc_equals
+%%DATADIR%%/_extras/js/misc_fn
+%%DATADIR%%/_extras/js/misc_identical
+%%DATADIR%%/_extras/js/misc_inc
+%%DATADIR%%/_extras/js/misc_minus
+%%DATADIR%%/_extras/js/misc_modulo
+%%DATADIR%%/_extras/js/misc_parentheses
+%%DATADIR%%/_extras/js/misc_parentheses_1
+%%DATADIR%%/_extras/js/misc_parentheses_1x4
+%%DATADIR%%/_extras/js/misc_parentheses_a
+%%DATADIR%%/_extras/js/misc_period
+%%DATADIR%%/_extras/js/misc_plus
+%%DATADIR%%/_extras/js/misc_plus_assign
+%%DATADIR%%/_extras/js/misc_regex
+%%DATADIR%%/_extras/js/misc_rol
+%%DATADIR%%/_extras/js/misc_semicolon
+%%DATADIR%%/_extras/js/misc_serialized_object
+%%DATADIR%%/_extras/js/misc_string
+%%DATADIR%%/_extras/js/misc_unicode
+%%DATADIR%%/_extras/js/object_Array
+%%DATADIR%%/_extras/js/object_Boolean
+%%DATADIR%%/_extras/js/object_Date
+%%DATADIR%%/_extras/js/object_Function
+%%DATADIR%%/_extras/js/object_Infinity
+%%DATADIR%%/_extras/js/object_Int8Array
+%%DATADIR%%/_extras/js/object_Math
+%%DATADIR%%/_extras/js/object_NaN
+%%DATADIR%%/_extras/js/object_Number
+%%DATADIR%%/_extras/js/object_Object
+%%DATADIR%%/_extras/js/object_RegExp
+%%DATADIR%%/_extras/js/object_String
+%%DATADIR%%/_extras/js/object_Symbol
+%%DATADIR%%/_extras/js/object_false
+%%DATADIR%%/_extras/js/object_null
+%%DATADIR%%/_extras/js/object_true
+%%DATADIR%%/_extras/js/prop_charAt
+%%DATADIR%%/_extras/js/prop_concat
+%%DATADIR%%/_extras/js/prop_constructor
+%%DATADIR%%/_extras/js/prop_destructor
+%%DATADIR%%/_extras/js/prop_length
+%%DATADIR%%/_extras/js/prop_match
+%%DATADIR%%/_extras/js/prop_proto
+%%DATADIR%%/_extras/js/prop_prototype
+%%DATADIR%%/_extras/js/prop_slice
+%%DATADIR%%/_extras/js/prop_toCode
+%%DATADIR%%/_extras/js/prop_toString
+%%DATADIR%%/_extras/js/prop_valueOf
%%DATADIR%%/_extras/png/header_png
%%DATADIR%%/_extras/png/section_IDAT
%%DATADIR%%/_extras/png/section_IEND
@@ -464,6 +562,7 @@ lib/afl/as
%%DATADIR%%/images/webp/hello_kitty_lossless.webp
%%DATADIR%%/multimedia/h264/small_movie.mp4
%%DATADIR%%/others/elf/small_exec.elf
+%%DATADIR%%/others/js/small_script.js
%%DATADIR%%/others/pcap/small_capture.pcap
%%DATADIR%%/others/pdf/small.pdf
%%DATADIR%%/others/rtf/small_document.rtf
@@ -474,10 +573,10 @@ lib/afl/as
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/current_todo.txt
%%PORTDOCS%%%%DOCSDIR%%/env_variables.txt
%%PORTDOCS%%%%DOCSDIR%%/notes_for_asan.txt
%%PORTDOCS%%%%DOCSDIR%%/parallel_fuzzing.txt
%%PORTDOCS%%%%DOCSDIR%%/perf_tips.txt
%%PORTDOCS%%%%DOCSDIR%%/related_work.txt
%%PORTDOCS%%%%DOCSDIR%%/status_screen.txt
+%%PORTDOCS%%%%DOCSDIR%%/technical_details.txt