Changeset View
Changeset View
Standalone View
Standalone View
head/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.39 | PORTVERSION= 2.40 | ||||
DISTVERSIONSUFFIX= b | DISTVERSIONSUFFIX= b | ||||
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 | ||||
# In theory afl supports other architectures with the LLVM plugin. | # In theory afl supports other architectures with the LLVM plugin. | ||||
# It has to be compiled with AFL_NO_X86=1 in that case. | # It has to be compiled with AFL_NO_X86=1 in that case. | ||||
ONLY_FOR_ARCHS= amd64 i386 | ONLY_FOR_ARCHS= amd64 i386 | ||||
ONLY_FOR_ARCHS_REASON= Uses binary instrumentation | ONLY_FOR_ARCHS_REASON= Uses binary instrumentation | ||||
USES= gmake tar:tgz | USES= gmake tar:tgz | ||||
TEST_TARGET= test_build | TEST_TARGET= test_build | ||||
OPTIONS_DEFINE= DEBUG DOCS LLVM | OPTIONS_DEFINE= DEBUG DOCS LLVM | ||||
OPTIONS_DEFAULT= LLVM | OPTIONS_DEFAULT= LLVM | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
LLVM_DESC= LLVM-based instrumentation | LLVM_DESC= LLVM-based instrumentation | ||||
LLVM_VERSION= 39 | LLVM_VERSION= 40 | ||||
LLVM_BUILD_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} | LLVM_BUILD_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} | ||||
LLVM_RUN_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} | LLVM_RUN_DEPENDS= clang${LLVM_VERSION}:devel/llvm${LLVM_VERSION} | ||||
LLVM_VARS= CC=clang${LLVM_VERSION} CXX=clang++${LLVM_VERSION} \ | LLVM_VARS= CC=clang${LLVM_VERSION} CXX=clang++${LLVM_VERSION} \ | ||||
MAKE_ARGS=LLVM_CONFIG=llvm-config${LLVM_VERSION} | MAKE_ARGS=LLVM_CONFIG=llvm-config${LLVM_VERSION} | ||||
.include <bsd.port.options.mk> | .include <bsd.port.options.mk> | ||||
.if ${ARCH} == "i386" | .if ${ARCH} == "i386" | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |