From owner-svn-ports-head@freebsd.org Wed Dec 18 11:39:52 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DE6771DC4FA; Wed, 18 Dec 2019 11:39:52 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47dCjN5Z3Cz4Tm2; Wed, 18 Dec 2019 11:39:52 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BA5D425909; Wed, 18 Dec 2019 11:39:52 +0000 (UTC) (envelope-from tobik@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBIBdqZJ044073; Wed, 18 Dec 2019 11:39:52 GMT (envelope-from tobik@FreeBSD.org) Received: (from tobik@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBIBdpK8044069; Wed, 18 Dec 2019 11:39:51 GMT (envelope-from tobik@FreeBSD.org) Message-Id: <201912181139.xBIBdpK8044069@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tobik set sender to tobik@FreeBSD.org using -f From: Tobias Kortkamp Date: Wed, 18 Dec 2019 11:39:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r520380 - in head/security/afl++: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tobik X-SVN-Commit-Paths: in head/security/afl++: . files X-SVN-Commit-Revision: 520380 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Dec 2019 11:39:52 -0000 Author: tobik Date: Wed Dec 18 11:39:51 2019 New Revision: 520380 URL: https://svnweb.freebsd.org/changeset/ports/520380 Log: security/afl++: Update to 2.59c Changes: https://github.com/vanhauser-thc/AFLplusplus/releases/tag/2.59c Modified: head/security/afl++/Makefile head/security/afl++/distinfo head/security/afl++/files/Makefile.extra head/security/afl++/pkg-plist Modified: head/security/afl++/Makefile ============================================================================== --- head/security/afl++/Makefile Wed Dec 18 10:10:45 2019 (r520379) +++ head/security/afl++/Makefile Wed Dec 18 11:39:51 2019 (r520380) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= afl -PORTVERSION= 2.58c +PORTVERSION= 2.59c CATEGORIES= security PKGNAMESUFFIX= ++ @@ -23,20 +23,21 @@ GH_ACCOUNT= vanhauser-thc GH_PROJECT= AFLplusplus MAKE_ARGS= STRIP_CMD="${STRIP_CMD}" -ALL_TARGET= all libdislocator +ALL_TARGET= all libdislocator libtokencap INSTALL_TARGET= install-strip TEST_TARGET= test_build CONFLICTS_INSTALL= afl -OPTIONS_DEFINE= DEBUG DOCS GCC LLVM -OPTIONS_DEFAULT= LLVM +OPTIONS_DEFINE= DEBUG DOCS EXAMPLES GCC LLVM PYTHON +OPTIONS_DEFAULT= LLVM PYTHON # On non-x86 architectures LLVM is mandatory OPTIONS_SLAVE= ${ARCH:Namd64:Ni386:S/${ARCH}/LLVM/} OPTIONS_SUB= yes GCC_DESC= Build GCC plugin and afl-gcc-fast LLVM_DESC= LLVM-based instrumentation +PYTHON_DESC= Python mutators support GCC_BUILD_DEPENDS= gcc${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT} GCC_RUN_DEPENDS= gcc${GCC_DEFAULT}:lang/gcc${GCC_DEFAULT} @@ -54,6 +55,9 @@ LLVM_BINARY_ALIAS= llvm-config=llvm-config${LLVM_DEFAU LLVM_VARS= CC=clang${LLVM_DEFAULT} \ CXX=clang++${LLVM_DEFAULT} +PYTHON_USES= gettext-runtime python:3.7 +PYTHON_MAKE_ARGS_OFF= PYTHON_INCLUDE=/nonexistent + .include .if ${ARCH} == "i386" || ${ARCH} == "amd64" @@ -97,9 +101,12 @@ post-patch-LLVM-on: ${WRKSRC}/llvm_mode/afl-clang-fast.c post-install: - @${MKDIR} ${STAGEDIR}${DOCSDIR}/libdislocator - ${INSTALL_MAN} ${WRKSRC}/libdislocator/README.md \ + @${MKDIR} ${STAGEDIR}${DOCSDIR}/libdislocator \ + ${STAGEDIR}${DOCSDIR}/libtokencap + ${INSTALL_MAN} ${WRKSRC}/libdislocator/README.dislocator.md \ ${STAGEDIR}${DOCSDIR}/libdislocator + ${INSTALL_MAN} ${WRKSRC}/libtokencap/README.tokencap.md \ + ${STAGEDIR}${DOCSDIR}/libtokencap post-install-GCC-on: @${MKDIR} ${STAGEDIR}${DOCSDIR}/gcc_plugin @@ -111,7 +118,13 @@ post-install-LLVM-on: ${INSTALL_MAN} ${WRKSRC}/llvm_mode/README.* \ ${STAGEDIR}${DOCSDIR}/llvm_mode +post-install-PYTHON-on: + @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/python_mutators + @cd ${WRKSRC} && \ + ${COPYTREE_SHARE} python_mutators ${STAGEDIR}${EXAMPLESDIR} + post-test: +# libtokencap test might require security.bsd.unprivileged_proc_debug=1 @cd ${WRKSRC}/test && ./test.sh .include Modified: head/security/afl++/distinfo ============================================================================== --- head/security/afl++/distinfo Wed Dec 18 10:10:45 2019 (r520379) +++ head/security/afl++/distinfo Wed Dec 18 11:39:51 2019 (r520380) @@ -1,3 +1,3 @@ -TIMESTAMP = 1571651123 -SHA256 (vanhauser-thc-AFLplusplus-2.58c_GH0.tar.gz) = d25d6d90062a9e17327bb7bd3e59650e527d00aba85009e578aed6b9896266df -SIZE (vanhauser-thc-AFLplusplus-2.58c_GH0.tar.gz) = 986561 +TIMESTAMP = 1576666209 +SHA256 (vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz) = 858c81fa6221ef2b8b2a8977a70dc86c2624c23230d0629b3037130fd0d8d685 +SIZE (vanhauser-thc-AFLplusplus-2.59c_GH0.tar.gz) = 1211443 Modified: head/security/afl++/files/Makefile.extra ============================================================================== --- head/security/afl++/files/Makefile.extra Wed Dec 18 10:10:45 2019 (r520379) +++ head/security/afl++/files/Makefile.extra Wed Dec 18 11:39:51 2019 (r520380) @@ -1,4 +1,4 @@ -.PHONY: gcc_plugin install-strip libdislocator llvm_mode test_gcc_plugin test_llvm_mode +.PHONY: gcc_plugin install-strip libdislocator libtokencap llvm_mode test_gcc_plugin test_llvm_mode install-strip: install @cd ${DESTDIR}${BIN_PATH} && ${STRIP_CMD} ${PROGS} @@ -8,7 +8,10 @@ install-strip: install libdislocator: $(MAKE) -C libdislocator CFLAGS="-I../include ${CFLAGS}" - + +libtokencap: + $(MAKE) -C libtokencap + llvm_mode: $(MAKE) -C llvm_mode Modified: head/security/afl++/pkg-plist ============================================================================== --- head/security/afl++/pkg-plist Wed Dec 18 10:10:45 2019 (r520379) +++ head/security/afl++/pkg-plist Wed Dec 18 11:39:51 2019 (r520380) @@ -25,6 +25,7 @@ bin/afl-whatsup %%X86%%lib/afl/as %%LLVM%%lib/afl/compare-transform-pass.so lib/afl/libdislocator.so +lib/afl/libtokencap.so %%LLVM%%lib/afl/libLLVMInsTrim.so %%LLVM%%lib/afl/split-compares-pass.so %%LLVM%%lib/afl/split-switches-pass.so @@ -89,6 +90,7 @@ man/man8/afl-whatsup.8.gz %%DATADIR%%/others/xml/small_document.xml %%DATADIR%%/pdf.dict %%DATADIR%%/png.dict +%%DATADIR%%/regexp.dict %%DATADIR%%/sql.dict %%DATADIR%%/tiff.dict %%DATADIR%%/webp.dict @@ -102,7 +104,8 @@ man/man8/afl-whatsup.8.gz %%GCC%%%%PORTDOCS%%%%DOCSDIR%%/gcc_plugin/README.gcc.md %%GCC%%%%PORTDOCS%%%%DOCSDIR%%/gcc_plugin/README.whitelist.md %%PORTDOCS%%%%DOCSDIR%%/historical_notes.txt -%%PORTDOCS%%%%DOCSDIR%%/libdislocator/README.md +%%PORTDOCS%%%%DOCSDIR%%/libdislocator/README.dislocator.md +%%PORTDOCS%%%%DOCSDIR%%/libtokencap/README.tokencap.md %%PORTDOCS%%%%DOCSDIR%%/life_pro_tips.txt %%LLVM%%%%PORTDOCS%%%%DOCSDIR%%/llvm_mode/README.md %%LLVM%%%%PORTDOCS%%%%DOCSDIR%%/llvm_mode/README.instrim.md @@ -117,3 +120,9 @@ man/man8/afl-whatsup.8.gz %%PORTDOCS%%%%DOCSDIR%%/sister_projects.txt %%PORTDOCS%%%%DOCSDIR%%/status_screen.txt %%PORTDOCS%%%%DOCSDIR%%/technical_details.txt +%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python_mutators/README +%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python_mutators/XmlMutatorMin.py +%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python_mutators/common.py +%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python_mutators/example.py +%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python_mutators/simple-chunk-replace.py +%%PYTHON%%%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python_mutators/wrapper_afl_min.py