Changeset View
Changeset View
Standalone View
Standalone View
security/afl/Makefile
# Created by: Fabian Keil <fk@fabiankeil.de> | # Created by: Fabian Keil <fk@fabiankeil.de> | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= afl | PORTNAME= afl | ||||
PORTVERSION= 2.52 | PORTVERSION= 2.52 | ||||
DISTVERSIONSUFFIX= b | DISTVERSIONSUFFIX= b | ||||
PORTREVISION= 4 | PORTREVISION= 4 | ||||
tobik: `security/afl` is not ready as even a basic `make test` fails. It would probably be best to… | |||||
CATEGORIES= security | CATEGORIES= security | ||||
MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/ | MASTER_SITES= http://lcamtuf.coredump.cx/afl/releases/ | ||||
MAINTAINER= tobik@FreeBSD.org | MAINTAINER= tobik@FreeBSD.org | ||||
COMMENT= Fast instrumented fuzzer | COMMENT= Fast instrumented fuzzer | ||||
LICENSE= APACHE20 | LICENSE= APACHE20 | ||||
LICENSE_FILE= ${WRKSRC}/docs/COPYING | LICENSE_FILE= ${WRKSRC}/docs/COPYING | ||||
Show All 21 Lines | |||||
LLVM_MAKE_ARGS= LLVM_CONFIG=llvm-config${LLVM_DEFAULT} | LLVM_MAKE_ARGS= LLVM_CONFIG=llvm-config${LLVM_DEFAULT} | ||||
LLVM_ALL_TARGET= llvm_mode | LLVM_ALL_TARGET= llvm_mode | ||||
LLVM_TEST_TARGET= test_llvm_mode | LLVM_TEST_TARGET= test_llvm_mode | ||||
LLVM_VARS= CC=clang${LLVM_DEFAULT} \ | LLVM_VARS= CC=clang${LLVM_DEFAULT} \ | ||||
CXX=clang++${LLVM_DEFAULT} | CXX=clang++${LLVM_DEFAULT} | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${LLVM_DEFAULT:S,-devel,990,} >= 90 | |||||
LLVM_DEFAULT= 80 | |||||
.endif | |||||
.if ${ARCH} == "i386" | .if ${ARCH} == "i386" | ||||
# Clang i386 emits .cfi_sections which base as(1) doesn't understand | # Clang i386 emits .cfi_sections which base as(1) doesn't understand | ||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | BUILD_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | RUN_DEPENDS+= ${LOCALBASE}/bin/as:devel/binutils | ||||
.endif | .endif | ||||
post-patch: | post-patch: | ||||
# Disable the instrumentation tests to make sure building packages in | # Disable the instrumentation tests to make sure building packages in | ||||
Show All 36 Lines |
security/afl is not ready as even a basic make test fails. It would probably be best to lock it to llvm80 too.