summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Pipping <sping@gentoo.org>2016-05-16 17:43:33 +0200
committerSebastian Pipping <sping@gentoo.org>2016-05-16 17:43:33 +0200
commit9e6bc0f13161b980d9175171bacdf8c22cca3bfc (patch)
tree6e6b7e56c45fdb1593501cbbd8054d97b49e6cf5 /app-forensics
parentdev-ruby/json: drop ruby19 (diff)
downloadgentoo-9e6bc0f13161b980d9175171bacdf8c22cca3bfc.tar.gz
gentoo-9e6bc0f13161b980d9175171bacdf8c22cca3bfc.tar.bz2
gentoo-9e6bc0f13161b980d9175171bacdf8c22cca3bfc.zip
app-forensics/afl: 2.12b
Package-Manager: portage-2.2.28
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/afl/Manifest1
-rw-r--r--app-forensics/afl/afl-2.12b.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest
index fa159a6aa4c5..ba0ddc16d841 100644
--- a/app-forensics/afl/Manifest
+++ b/app-forensics/afl/Manifest
@@ -1,3 +1,4 @@
DIST afl-1.80b.tgz 797509 SHA256 e042cfe30d03ef6df3ae92619408e236d1a8e9bb6cf94ca107c4519e23161401 SHA512 822e93643f0ca10e9ce3eb726667e70eae1789029385cb5332eef65589f7ef0350e6775108634b642e5b394c46599b1e7943227c93cb1b1b50facf1f9e069095 WHIRLPOOL 9e761ee67321cf8980229f6a0245b3c31c9d195db21ec240adef14113020e360d856a4e8de3ab9abce08205a1f085ad8c1f7826ae20702f54de402c21c2b9b72
DIST afl-1.96b.tgz 804864 SHA256 03beb06f8993dcb37d348e53da19ca9d064c83fcedc9d87b0b506c73c310f27c SHA512 a55d89ffe9c89586b70f8a9ab80330cc0511f453d5918045ec06289093ca5321611b08a522bb058e3c16ddc9b5d5ec221ce1cab9819b79f4738cba15f2aadff0 WHIRLPOOL 997efe32fcb0d2c53e9ed9b2bb31dd776ccdafb93990505676bbf04f2a4791ffa814ab8da0a6e4febdfd6184e41497a4509fa9ac3964b5ef6ed7a1c607982bb5
DIST afl-2.07b.tgz 814913 SHA256 9dd324bc3930ec1dbb44d00df8dcf8a3c8ca54b765665cc7f20b89e71d70b184 SHA512 784e731ca76615493309624e7d1e64556589da624f3a9f839e948c2bd40923b21dd1074235f15c23490b3ec3a8111f386d299ab6e120cc3a2d732a704716c116 WHIRLPOOL 871a11eafdb28c01148c6f39a5f319805394082996d07e219ed85a0f45d063a5794020a9ecf33c364f67b7c551247d97e36074d1c889f25485217c087869ab91
+DIST afl-2.12b.tgz 815854 SHA256 7fdc2d7f6ff7ff7ada27b84fec07f7e7910facb468c94db14861c295a9f830ba SHA512 76e5018cc7ece1e9d164e91ec3552925454b85bf9d981fc2eb6a718fdb06741796b323605ddba93d01df0d9512309ba89554735b7b08c5bf8ad69257b3665e64 WHIRLPOOL 1aec706bc4c6c3ee4c89fa6a5bc8036c7e719205f638a5ddce817a742d1e1ef6f01853c534387c8b07a2297cdb5e1350d0af90d64516ff435adbf75652f553e1
diff --git a/app-forensics/afl/afl-2.12b.ebuild b/app-forensics/afl/afl-2.12b.ebuild
new file mode 100644
index 000000000000..36bd39534963
--- /dev/null
+++ b/app-forensics/afl/afl-2.12b.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" 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
+}