commit: dd3139170e1c21bfbca9cdbcca0b905da324c944
Author: Hanno <hanno <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 3 15:33:23 2016 +0000
Commit: Hanno Boeck <hanno <AT> gentoo <DOT> org>
CommitDate: Sun Jan 3 15:33:23 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd313917
app-forensics/afl: Bump to 1.96b, remove old
app-forensics/afl/afl-1.57b.ebuild | 34 ----------------------
.../afl/{afl-1.45b.ebuild => afl-1.96b.ebuild} | 11 +++++--
2 files changed, 8 insertions(+), 37 deletions(-)
diff --git a/app-forensics/afl/afl-1.57b.ebuild
b/app-forensics/afl/afl-1.57b.ebuild
deleted file mode 100644
index 2ceb6de..0000000
--- a/app-forensics/afl/afl-1.57b.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-
-inherit multilib toolchain-funcs
-
-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"
-RDEPEND="${DEPEND}"
-
-src_compile() {
- emake CC="$(tc-getCC)" \
- 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
-}
diff --git a/app-forensics/afl/afl-1.45b.ebuild
b/app-forensics/afl/afl-1.96b.ebuild
similarity index 76%
rename from app-forensics/afl/afl-1.45b.ebuild
rename to app-forensics/afl/afl-1.96b.ebuild
index 2ceb6de..f311733 100644
--- a/app-forensics/afl/afl-1.45b.ebuild
+++ b/app-forensics/afl/afl-1.96b.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -14,8 +14,8 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
-
-DEPEND="sys-devel/gcc"
+DEPEND="sys-devel/gcc:*
+ sys-devel/clang"
RDEPEND="${DEPEND}"
src_compile() {
@@ -23,6 +23,11 @@ src_compile() {
PREFIX="/usr" \
HELPER_PATH="/usr/$(get_libdir)/afl" \
DOC_PATH="/usr/share/doc/${PF}"
+ cd llvm_mode
+ emake \
+ PREFIX="/usr" \
+ HELPER_PATH="/usr/$(get_libdir)/afl" \
+ DOC_PATH="/usr/share/doc/${PF}"
}
src_install() {