diff --git a/security/afl++/Makefile b/security/afl++/Makefile index f55ad3ac8534..27ae114df896 100644 --- a/security/afl++/Makefile +++ b/security/afl++/Makefile @@ -1,82 +1,82 @@ PORTNAME= afl DISTVERSIONPREFIX= v -DISTVERSION= 4.09c +DISTVERSION= 4.10c CATEGORIES= security PKGNAMESUFFIX= ++-${FLAVOR} MAINTAINER= salvadore@FreeBSD.org COMMENT= Fast instrumented fuzzer WWW= https://aflplus.plus/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/docs/COPYING ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc powerpc64 powerpc64le riscv64 ONLY_FOR_ARCHS_REASON= uses x86-only instrumentation or requires complete LLVM support BUILD_DEPENDS= ginstall:sysutils/coreutils FLAVORS= llvm gcc FLAVOR?= ${FLAVORS:[1]} _LLVM_VER= 16 llvm_BUILD_DEPENDS= clang${_LLVM_VER}:devel/llvm${_LLVM_VER} llvm_RUN_DEPENDS= clang${_LLVM_VER}:devel/llvm${_LLVM_VER} USES= gmake shebangfix tar:tgz .if ${FLAVOR} == gcc USE_GCC= yes .endif USE_GITHUB= yes GH_ACCOUNT= AFLplusplus GH_PROJECT= AFLplusplus SHEBANG_FILES= afl-persistent-config MAKEFILE= GNUmakefile MAKE_ARGS= ${${ARCH} != amd64 && ${ARCH} != i386:?AFL_NO_X86=1:} \ PREFIX="${PREFIX}/${PKGBASE}" .if ${FLAVOR} == llvm CFLAGS_riscv64= -mno-relax MAKE_ARGS+= CC=clang${_LLVM_VER} \ CXX=clang++${_LLVM_VER} \ LLVM_CONFIG=llvm-config${_LLVM_VER} .endif ALL_TARGET= distrib QA_ENV= IGNORE_QA_stripped=1 # unstripped to keep it functional DOCSDIR= ${PREFIX}/${PKGBASE}/share/doc/afl MANDIRS= ${PREFIX}/${PKGBASE}/share/man/man8 BINARY_ALIAS= install=ginstall PORTDOCS= * OPTIONS_DEFINE= DEBUG DOCS PYTHON OPTIONS_DEFAULT= PYTHON PYTHON_DESC= Python mutators support PYTHON_USES= gettext-runtime python PYTHON_BINARY_ALIAS= python3-config=${PYTHON_CMD}-config \ python3=${PYTHON_CMD} post-patch: @${REINPLACE_CMD} '/alt_cc/ s,"gcc","gcc${GCC_DEFAULT:S/-devel$//}",' \ ${WRKSRC}/src/afl-cc.c .if ${FLAVOR} == gcc @${REINPLACE_CMD} 's@\( as_params\[0\] = afl_as ? afl_as : \)\(.*\)@\1(u8*)"${LOCALBASE}/bin/as";@' \ ${WRKSRC}/src/afl-as.c .elif ${FLAVOR} == llvm @${ECHO_CMD} "all:" >${WRKSRC}/GNUmakefile.gcc_plugin .endif post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/etc/man.d @${ECHO_CMD} "MANPATH ${PREFIX}/${PKGBASE}/share/man" >${STAGEDIR}${PREFIX}/etc/man.d/${PKGBASE}.conf @${ECHO_CMD} "etc/man.d/${PKGBASE}.conf" >>${TMPPLIST} @cd ${STAGEDIR}${PREFIX}; \ ${FIND} ${PKGBASE} -not -path '${PKGBASE}/share/doc/*' -and \( -type f -or -type l \) | \ ${SED} -Ee 's,^afl\+\+-${FLAVOR}/share/man/.*,&.gz,' \ -e 's,^.*/afl-${${FLAVOR} == gcc:?(clang|llvm):(gcc|g\+\+)}.*,@comment &,' | \ ${SORT} >> ${TMPPLIST} @${CAT} ${TMPPLIST} .include diff --git a/security/afl++/distinfo b/security/afl++/distinfo index e2b0d15eb85e..3556fb3bdb87 100644 --- a/security/afl++/distinfo +++ b/security/afl++/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1702720263 -SHA256 (AFLplusplus-AFLplusplus-v4.09c_GH0.tar.gz) = 2d3b2e4f066b1f3eda17faff147dfa3e4b16fba044257361aca51a2322c5122d -SIZE (AFLplusplus-AFLplusplus-v4.09c_GH0.tar.gz) = 2937761 +TIMESTAMP = 1706961025 +SHA256 (AFLplusplus-AFLplusplus-v4.10c_GH0.tar.gz) = c9a43894b87502a5f69efdb97dee637c9dd4d2c5dfef1c9d79b9d406adafdb76 +SIZE (AFLplusplus-AFLplusplus-v4.10c_GH0.tar.gz) = 2955420