svn commit: r405132 - head/security/afl
Martin Wilke
miwi at FreeBSD.org
Sun Jan 3 11:38:48 UTC 2016
Author: miwi
Date: Sun Jan 3 11:38:46 2016
New Revision: 405132
URL: https://svnweb.freebsd.org/changeset/ports/405132
Log:
- Update to 1.95b
- Convert to options helper
PR: 205375
Submitted by: Fabian Keil
Modified:
head/security/afl/Makefile
head/security/afl/distinfo
head/security/afl/pkg-plist
Modified: head/security/afl/Makefile
==============================================================================
--- head/security/afl/Makefile Sun Jan 3 11:33:09 2016 (r405131)
+++ head/security/afl/Makefile Sun Jan 3 11:38:46 2016 (r405132)
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= afl
-PORTVERSION= 1.86b
+PORTVERSION= 1.95b
CATEGORIES= security
MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/
@@ -37,13 +37,8 @@ BUILD_DEPENDS += ${LOCALBASE}/bin/as:${P
RUN_DEPENDS += ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
.endif
-.if ${PORT_OPTIONS:MMINIMIZE_CORPUS}
-RUN_DEPENDS+= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
-.endif
-
-.if ${PORT_OPTIONS:MPLOT_SUPPORT}
-RUN_DEPENDS+= gnuplot:${PORTSDIR}/math/gnuplot
-.endif
+MINIMIZE_CORPUS_RUN_DEPENDS= ${LOCALBASE}/bin/bash:${PORTSDIR}/shells/bash
+PLOT_SUPORT_RUN_DEPENDS= gnuplot:${PORTSDIR}/math/gnuplot
post-patch:
.if ! ${PORT_OPTIONS:MTEST_INSTRUMENTATION}
@@ -60,11 +55,6 @@ post-patch:
${REINPLACE_CMD} -e 's@\( as_params\[0\] = "\)@\1${LOCALBASE}/bin/@' \
${WRKSRC}/afl-as.c
.endif
-# XXX remove once 8.4-RELEASE is EOL
-# GNU as 2.15 doesn't understand lahf/sahf on amd64
- ${REINPLACE_CMD} -e 's at ifdef.*\(__OpenBSD__\)@if defined(\1) || \
- (defined(__FreeBSD__) \&\& __FreeBSD__ < 9)@' \
- ${WRKSRC}/afl-as.h
post-install:
${INSTALL_DATA} ${WRKSRC}/docs/COPYING ${STAGEDIR}${DOCSDIR}/
@@ -73,8 +63,7 @@ post-install:
${INSTALL_SCRIPT} ${WRKSRC}/${afl_script} ${STAGEDIR}${PREFIX}/bin/
.endfor
-.if ${PORT_OPTIONS:MMINIMIZE_CORPUS}
+post-install-MINIMIZE_CORPUS-on:
${INSTALL_SCRIPT} ${WRKSRC}/afl-cmin ${STAGEDIR}${PREFIX}/bin/
-.endif
.include <bsd.port.post.mk>
Modified: head/security/afl/distinfo
==============================================================================
--- head/security/afl/distinfo Sun Jan 3 11:33:09 2016 (r405131)
+++ head/security/afl/distinfo Sun Jan 3 11:38:46 2016 (r405132)
@@ -1,2 +1,2 @@
-SHA256 (afl-1.86b.tgz) = 19588e43d14d3f76c5970f7e64ab314d13b325198a7a8eff8a9e3d6a1cb3c9af
-SIZE (afl-1.86b.tgz) = 801376
+SHA256 (afl-1.95b.tgz) = 21ec6bb8c182fd821d25c8b67283f81a632c4f74419c9db5fec0135dd0c9ae2a
+SIZE (afl-1.95b.tgz) = 804542
Modified: head/security/afl/pkg-plist
==============================================================================
--- head/security/afl/pkg-plist Sun Jan 3 11:33:09 2016 (r405131)
+++ head/security/afl/pkg-plist Sun Jan 3 11:38:46 2016 (r405132)
@@ -72,3 +72,4 @@ lib/afl/as
%%PORTDOCS%%%%DOCSDIR%%/sister_projects.txt
%%PORTDOCS%%%%DOCSDIR%%/status_screen.txt
%%PORTDOCS%%%%DOCSDIR%%/technical_details.txt
+%%PORTDOCS%%%%DOCSDIR%%/QuickStartGuide.txt
More information about the svn-ports-head
mailing list