summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Rüger <mrueg@gentoo.org>2017-09-15 13:39:05 +0200
committerManuel Rüger <mrueg@gentoo.org>2017-09-15 13:39:05 +0200
commit9c58011a5b3765ac9f7803540fe067780920a6e6 (patch)
tree0c977693fc0fdc74437613d43f78aebd9fc74fa4 /app-forensics
parentdev-util/pycharm-community: Remove old (diff)
downloadgentoo-9c58011a5b3765ac9f7803540fe067780920a6e6.tar.gz
gentoo-9c58011a5b3765ac9f7803540fe067780920a6e6.tar.bz2
gentoo-9c58011a5b3765ac9f7803540fe067780920a6e6.zip
app-forensics/afl: Version bump to 2.51b
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/afl/Manifest1
-rw-r--r--app-forensics/afl/afl-2.51b.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest
index 7ecdd9719c83..bb7339148dc1 100644
--- a/app-forensics/afl/Manifest
+++ b/app-forensics/afl/Manifest
@@ -1,3 +1,4 @@
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
+DIST afl-2.51b.tgz 835611 SHA256 d435b94b35b844ea0bacbdb8516d2d5adffc2a4f4a5aad78785c5d2a5495bb97 SHA512 fd67cf44b7336175041c2efa42b122e91f887f4a293618a59ea1e145ef47b9c0fab9fc274e4b94499c523bec950ff5a704050c3f4260e890ad97774c365a358c WHIRLPOOL 1bf84c4855bcd2e28a1c9a50a7c154f355b024356dec0d9490ccc0b501f2b2b2ff0ecd24fc8d6a48b097f6a4f96573792554741e2945460a4560811ac2a7b609
diff --git a/app-forensics/afl/afl-2.51b.ebuild b/app-forensics/afl/afl-2.51b.ebuild
new file mode 100644
index 000000000000..f78cf33093a2
--- /dev/null
+++ b/app-forensics/afl/afl-2.51b.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+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
+}