app-forensics/afl: Bump to 1.96b, remove old
authorHanno <hanno@gentoo.org>
Sun, 3 Jan 2016 15:33:23 +0000 (16:33 +0100)
committerHanno <hanno@gentoo.org>
Sun, 3 Jan 2016 15:33:23 +0000 (16:33 +0100)
app-forensics/afl/afl-1.57b.ebuild [deleted file]
app-forensics/afl/afl-1.96b.ebuild [moved from app-forensics/afl/afl-1.45b.ebuild with 76% similarity]

diff --git a/app-forensics/afl/afl-1.57b.ebuild b/app-forensics/afl/afl-1.57b.ebuild
deleted file mode 100644 (file)
index 2ceb6de..0000000
+++ /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
-}
similarity index 76%
rename from app-forensics/afl/afl-1.45b.ebuild
rename to app-forensics/afl/afl-1.96b.ebuild
index 2ceb6deb5641e8096a22d1d430f527bc748996ca..f311733a15d65d090c5011b266e88f9aebb4746e 100644 (file)
@@ -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() {