diff options
-rw-r--r-- | app-forensics/afl/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/afl/afl-2.35b.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest index 4c3adf3ef3d1..4041f5e7beed 100644 --- a/app-forensics/afl/Manifest +++ b/app-forensics/afl/Manifest @@ -1,3 +1,4 @@ DIST afl-2.12b.tgz 815854 SHA256 7fdc2d7f6ff7ff7ada27b84fec07f7e7910facb468c94db14861c295a9f830ba SHA512 76e5018cc7ece1e9d164e91ec3552925454b85bf9d981fc2eb6a718fdb06741796b323605ddba93d01df0d9512309ba89554735b7b08c5bf8ad69257b3665e64 WHIRLPOOL 1aec706bc4c6c3ee4c89fa6a5bc8036c7e719205f638a5ddce817a742d1e1ef6f01853c534387c8b07a2297cdb5e1350d0af90d64516ff435adbf75652f553e1 DIST afl-2.19b.tgz 817294 SHA256 be12df9920c9cf68c412fb06ef5c7153f4b17e450b0195535a69663e749d8af2 SHA512 07920ba8dcbdaebecc6f229cd3d6b0f84ddbfd586c0563a26953e84af57ae2b9339ddbd74991433829bbc54fc77f50cc70dc23a0cc81d6c0c2652891251c8875 WHIRLPOOL b6c7de3db95db694e24816a6afc1fcc43af6c9ffa33d6e38e151a3abcaaee46a1ed21bc53159b53fc160f1e8d6d57fed8e2ba5fd394a443412b933683978750a DIST afl-2.32b.tgz 828474 SHA256 3d08b79e28c2075aec20aa6e6240f9f6fb7af3d29200b498e908f8b3960a7b79 SHA512 95acb2c5c8aa6110d6b168c1b00daff29e6397ba05c2ba90b5bdb6f18dc1619d5bce4fe81be86fff4f398eed449a6946839d24b7d2b5a9a08667fd198afa8d0f WHIRLPOOL 3bbdfd24cde96a06429441701412578a0af1175f2ae4cc395ce67788c8ee742b33cdb1689f33d7dcd1c1ff757eb8322b5e191c822bfeeb8d0a8962efb7ce0e9e +DIST afl-2.35b.tgz 829515 SHA256 596167527ad7a69cf06dc8143a051eb8b2ee04f159447a3086f6e60ae460bcea SHA512 77f286d0008055770812b7429a671caed54adb2355cd88e1cbdd13f9e739763f46ed6f3e25ddfbe7aa2679e0a71c9b1af9767d1c367df1778338fcf260bc38c5 WHIRLPOOL b2935a18f5f03b4c1da04365412d76d6ff9d2ddc0d9dd1fea0a5866fb632b1033c3f03f4229f36d45a6ec406410b1c522bf5198bbce2ca6478dffdc433dde422 diff --git a/app-forensics/afl/afl-2.35b.ebuild b/app-forensics/afl/afl-2.35b.ebuild new file mode 100644 index 000000000000..7b024d6bf293 --- /dev/null +++ b/app-forensics/afl/afl-2.35b.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib toolchain-funcs flag-o-matic + +DESCRIPTION="american fuzzy lop - compile-time instrumentation fuzzer" +HOMEPAGE="http://lcamtuf.coredump.cx/afl/" +SRC_URI="http://lcamtuf.coredump.cx/afl/releases/${P}.tgz" + +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" + +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 + 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 +} |