diff options
author | Hanno <hanno@gentoo.org> | 2016-03-08 20:16:59 +0100 |
---|---|---|
committer | Hanno <hanno@gentoo.org> | 2016-03-08 20:16:59 +0100 |
commit | 6f99e6a7873b00adaf4533c06b5e55f63a93eae2 (patch) | |
tree | 9078d31c136bbde1b496ef527bcbc9b5c081747c /app-forensics/afl | |
parent | app-i18n/tagainijisho: work around bug 576498 (diff) | |
download | gentoo-6f99e6a7873b00adaf4533c06b5e55f63a93eae2.tar.gz gentoo-6f99e6a7873b00adaf4533c06b5e55f63a93eae2.tar.bz2 gentoo-6f99e6a7873b00adaf4533c06b5e55f63a93eae2.zip |
app-forensics/afl: Bump, filter flags for clang, avoid QA warning
Package-Manager: portage-2.2.27
Diffstat (limited to 'app-forensics/afl')
-rw-r--r-- | app-forensics/afl/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/afl/afl-2.07b.ebuild | 41 |
2 files changed, 42 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest index 3d8970bd6080..fa159a6aa4c5 100644 --- a/app-forensics/afl/Manifest +++ b/app-forensics/afl/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/app-forensics/afl/afl-2.07b.ebuild b/app-forensics/afl/afl-2.07b.ebuild new file mode 100644 index 000000000000..36bd39534963 --- /dev/null +++ b/app-forensics/afl/afl-2.07b.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 +} |