summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno <hanno@gentoo.org>2016-08-20 21:38:47 +0200
committerHanno <hanno@gentoo.org>2016-08-20 21:39:22 +0200
commite530e4ff2e20bbda50f35fe5a79f0b833bad5354 (patch)
tree50d71fb9f99bf462095bffa1ce56edbe83f7ab85 /app-forensics/afl
parentnet-irc/unrealircd: Fix/silence repoman warnings for unrealircd-4.0.5. (diff)
downloadgentoo-e530e4ff2e20bbda50f35fe5a79f0b833bad5354.tar.gz
gentoo-e530e4ff2e20bbda50f35fe5a79f0b833bad5354.tar.bz2
gentoo-e530e4ff2e20bbda50f35fe5a79f0b833bad5354.zip
app-forensics/afl: Version bump
Package-Manager: portage-2.3.0
Diffstat (limited to 'app-forensics/afl')
-rw-r--r--app-forensics/afl/Manifest1
-rw-r--r--app-forensics/afl/afl-2.32b.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest
index 9b0a0be573e1..4c3adf3ef3d1 100644
--- a/app-forensics/afl/Manifest
+++ b/app-forensics/afl/Manifest
@@ -1,2 +1,3 @@
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
diff --git a/app-forensics/afl/afl-2.32b.ebuild b/app-forensics/afl/afl-2.32b.ebuild
new file mode 100644
index 000000000000..7b024d6bf293
--- /dev/null
+++ b/app-forensics/afl/afl-2.32b.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
+}