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
This commit is contained in:
Hanno
2019-11-02 13:59:13 +01:00
parent 6525aee0ec
commit cdc0eea58f
3 changed files with 46 additions and 0 deletions

View File

@@ -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

View File

@@ -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
}

View File

@@ -4,4 +4,7 @@
<maintainer type="person">
<email>hanno@gentoo.org</email>
</maintainer>
<upstream>
<remote-id type="github">google/AFL</remote-id>
</upstream>
</pkgmetadata>