summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-forensics/afl')
-rw-r--r--app-forensics/afl/Manifest1
-rw-r--r--app-forensics/afl/afl-2.46b.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest
index 7dede51241d2..7ecdd9719c83 100644
--- a/app-forensics/afl/Manifest
+++ b/app-forensics/afl/Manifest
@@ -1,2 +1,3 @@
DIST afl-2.35b.tgz 829515 SHA256 596167527ad7a69cf06dc8143a051eb8b2ee04f159447a3086f6e60ae460bcea SHA512 77f286d0008055770812b7429a671caed54adb2355cd88e1cbdd13f9e739763f46ed6f3e25ddfbe7aa2679e0a71c9b1af9767d1c367df1778338fcf260bc38c5 WHIRLPOOL b2935a18f5f03b4c1da04365412d76d6ff9d2ddc0d9dd1fea0a5866fb632b1033c3f03f4229f36d45a6ec406410b1c522bf5198bbce2ca6478dffdc433dde422
DIST afl-2.39b.tgz 830897 SHA256 968eceae4d013eee62bc8f2fdddbb7060b92e03a0175153b0285ec7f5c78f141 SHA512 0df37fc8dea65d4130bc0fc8aaa23525bde4832c7202efb78ebe740d661546adee575b48fb94d851ef26293ca28a6ff818ab1dfd643c8e688aceb520e11229d0 WHIRLPOOL 3972c7718c35f545e6faadf763bbbd4bb57d1412ba2ec729832db9c636290bc8d67dfb5b8bfd67e3dff7f27b247b8ecd264245b75593a44c3298f0ca947cbb1a
+DIST afl-2.46b.tgz 834265 SHA256 268e2aec75f1bdd37d0d3dad70bbb80c32bce85152faf8f4f62e0c812e5d5d77 SHA512 01e150f05a023277f6fbf165f1ee0799f9a330efae562d67725cf87b456f4104e086162796634fcfdd7c68aa33a38ef7df9ac5931f8893c14364d270b864d059 WHIRLPOOL 9815f239d84a9bfa1418f523fbe5eca1a6f7bc0453ecfbc3397f7cefa4dff28a1beab259aa5c722e44f1e1b8915808e47f5d79a605e8de8f6c4e3b5da0d183c3
diff --git a/app-forensics/afl/afl-2.46b.ebuild b/app-forensics/afl/afl-2.46b.ebuild
new file mode 100644
index 000000000000..89db69a2e44f
--- /dev/null
+++ b/app-forensics/afl/afl-2.46b.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 || 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
+}