diff options
author | Hanno <hanno@gentoo.org> | 2019-09-22 13:39:14 +0200 |
---|---|---|
committer | Hanno <hanno@gentoo.org> | 2019-09-22 13:39:14 +0200 |
commit | fe481a3a0c4b480df97c1cb15dea65429747c57e (patch) | |
tree | ab8b826025fef65f698925949f8d3564a9e6254e /app-forensics | |
parent | sys-devel/gcc: 8.3.0: cut 2 patchset (diff) | |
download | gentoo-fe481a3a0c4b480df97c1cb15dea65429747c57e.tar.gz gentoo-fe481a3a0c4b480df97c1cb15dea65429747c57e.tar.bz2 gentoo-fe481a3a0c4b480df97c1cb15dea65429747c57e.zip |
app-forensics/afl: Version bump.
Update needed for clang/llvm 9.
Signed-off-by: Hanno Boeck <hanno@gentoo.org>
Package-Manager: Portage-2.3.76, Repoman-2.3.17
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/afl/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/afl/afl-2.55b.ebuild | 42 |
2 files changed, 43 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest index 57a0845d077f..eb236db750f3 100644 --- a/app-forensics/afl/Manifest +++ b/app-forensics/afl/Manifest @@ -1 +1,2 @@ DIST afl-2.52b.tgz 835907 BLAKE2B 6df8b8f97a0b1ccb22466492bf15f054e7a05f77f2827c6555572fd610cbed24c903ae188e2242ba6ffec302e154e319adb627626a7927f17ffa5ab00cef604f SHA512 30d4526440cff109ef2a014278f52a04b1b33560b6ab7d7f59e1516655858ffb36dac81963d2d8f214984776742ca9a7942c27c8fb61f7eb70b5b35cd029008f +DIST afl-2.55b.tar.gz 836905 BLAKE2B 53e20d4d6b8368eb981964263493beabb50aedc03a9c98ad7f24b99a3ce25264a5296911ac20ab2bc95d6b5ecbb4d14a7e8e01fd2a88db07a289f0bdefb1c1a9 SHA512 d2257aba27e90e502d89c528c4a214397cba83e04564e6bd9e73c9afb654c02c7e7f806952d730f685fd9b0049a61e07629e5ebd6e23fac516099ca1ea25a36e diff --git a/app-forensics/afl/afl-2.55b.ebuild b/app-forensics/afl/afl-2.55b.ebuild new file mode 100644 index 000000000000..a2278aa44634 --- /dev/null +++ b/app-forensics/afl/afl-2.55b.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit multilib toolchain-funcs flag-o-matic + +DESCRIPTION="american fuzzy lop - compile-time instrumentation fuzzer" +HOMEPAGE="http://lcamtuf.coredump.cx/afl/" +SRC_URI="https://github.com/google/AFL/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" +DEPEND="sys-devel/gcc:* + sys-devel/clang:=" +RDEPEND="${DEPEND}" +QA_PREBUILT="/usr/share/afl/testcases/others/elf/small_exec.elf" + +S="${WORKDIR}/AFL-${PV}" + +src_compile() { + emake CC="$(tc-getCC)" \ + PREFIX="/usr" \ + HELPER_PATH="/usr/$(get_libdir)/afl" \ + DOC_PATH="/usr/share/doc/${PF}" + CC="clang" CXX="clang++" strip-unsupported-flags + cd llvm_mode || die + emake \ + PREFIX="/usr" \ + HELPER_PATH="/usr/$(get_libdir)/afl" \ + DOC_PATH="/usr/share/doc/${PF}" +} + +src_install() { + emake DESTDIR="${D}" \ + PREFIX="/usr" \ + HELPER_PATH="/usr/$(get_libdir)/afl" \ + DOC_PATH="/usr/share/doc/${PF}" \ + install +} |