summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanno <hanno@gentoo.org>2019-11-02 13:59:13 +0100
committerHanno <hanno@gentoo.org>2019-11-02 13:59:13 +0100
commitcdc0eea58fca87b91015db2b20a433fbbdf02123 (patch)
treed2959121bffc9c785a26bdf5f942ff495d967742 /app-forensics
parentwww-client/firefox: fix RESTRICT; Move REQUIRED_USE for readability (diff)
downloadgentoo-cdc0eea58fca87b91015db2b20a433fbbdf02123.tar.gz
gentoo-cdc0eea58fca87b91015db2b20a433fbbdf02123.tar.bz2
gentoo-cdc0eea58fca87b91015db2b20a433fbbdf02123.zip
app-forensics/afl: Version bump.
Add github reference to metadata.xml. Signed-off-by: Hanno Boeck <hanno@gentoo.org> Package-Manager: Portage-2.3.78, Repoman-2.3.17
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/afl/Manifest1
-rw-r--r--app-forensics/afl/afl-2.56b.ebuild42
-rw-r--r--app-forensics/afl/metadata.xml3
3 files changed, 46 insertions, 0 deletions
diff --git a/app-forensics/afl/Manifest b/app-forensics/afl/Manifest
index eb236db750f3..fad1c7abf276 100644
--- a/app-forensics/afl/Manifest
+++ b/app-forensics/afl/Manifest
@@ -1,2 +1,3 @@
DIST afl-2.52b.tgz 835907 BLAKE2B 6df8b8f97a0b1ccb22466492bf15f054e7a05f77f2827c6555572fd610cbed24c903ae188e2242ba6ffec302e154e319adb627626a7927f17ffa5ab00cef604f SHA512 30d4526440cff109ef2a014278f52a04b1b33560b6ab7d7f59e1516655858ffb36dac81963d2d8f214984776742ca9a7942c27c8fb61f7eb70b5b35cd029008f
DIST afl-2.55b.tar.gz 836905 BLAKE2B 53e20d4d6b8368eb981964263493beabb50aedc03a9c98ad7f24b99a3ce25264a5296911ac20ab2bc95d6b5ecbb4d14a7e8e01fd2a88db07a289f0bdefb1c1a9 SHA512 d2257aba27e90e502d89c528c4a214397cba83e04564e6bd9e73c9afb654c02c7e7f806952d730f685fd9b0049a61e07629e5ebd6e23fac516099ca1ea25a36e
+DIST afl-2.56b.tar.gz 836989 BLAKE2B 974c1efa3999c714068529d24c81e6d0ffb45a487b97625fa4ff538aeb86d43825561d5b496cb47caebf687078699e2ee606d7525424b5890dced14a95417750 SHA512 4e76fc503fe615aac4d0bbd8e3632d5cfbb7a3ac107be03c399afc024a8ad364dba933875d50a9b65083159faf6ebef5e13c39b25db977b01bd29b6340cad162
diff --git a/app-forensics/afl/afl-2.56b.ebuild b/app-forensics/afl/afl-2.56b.ebuild
new file mode 100644
index 000000000000..a2278aa44634
--- /dev/null
+++ b/app-forensics/afl/afl-2.56b.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit multilib toolchain-funcs flag-o-matic
+
+DESCRIPTION="american fuzzy lop - compile-time instrumentation fuzzer"
+HOMEPAGE="http://lcamtuf.coredump.cx/afl/"
+SRC_URI="https://github.com/google/AFL/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+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"
+
+S="${WORKDIR}/AFL-${PV}"
+
+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
+}
diff --git a/app-forensics/afl/metadata.xml b/app-forensics/afl/metadata.xml
index 38ce6c17a3f2..f5884d8aebb3 100644
--- a/app-forensics/afl/metadata.xml
+++ b/app-forensics/afl/metadata.xml
@@ -4,4 +4,7 @@
<maintainer type="person">
<email>hanno@gentoo.org</email>
</maintainer>
+ <upstream>
+ <remote-id type="github">google/AFL</remote-id>
+ </upstream>
</pkgmetadata>