diff options
author | Marek Szuba <marecki@gentoo.org> | 2022-01-26 13:41:55 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2022-01-26 13:41:55 +0100 |
commit | c4a5eb91281e75a1fd3ebb9860ae95f093ba9a8c (patch) | |
tree | ce006d0299b24c5769da56382fc7be688f8b5880 /app-forensics/honggfuzz | |
parent | dev-python/setuptools: Switch to PEP 517 build (diff) | |
download | gentoo-c4a5eb91281e75a1fd3ebb9860ae95f093ba9a8c.tar.gz gentoo-c4a5eb91281e75a1fd3ebb9860ae95f093ba9a8c.tar.bz2 gentoo-c4a5eb91281e75a1fd3ebb9860ae95f093ba9a8c.zip |
app-forensics/honggfuzz: add 2.5
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-forensics/honggfuzz')
-rw-r--r-- | app-forensics/honggfuzz/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/honggfuzz/honggfuzz-2.5.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest index 87a46487665c..2bce2e1d8690 100644 --- a/app-forensics/honggfuzz/Manifest +++ b/app-forensics/honggfuzz/Manifest @@ -1 +1,2 @@ DIST honggfuzz-2.4.tar.gz 65224128 BLAKE2B b584b0f143fe64c8f64f134d7dc3116ec88232ec4a7b635d1cee2c8c5e7253524a8559c0b89fac11b67c1c3566891f189efc2201a1bf42410c78f211b2bc376e SHA512 bdb172e6e1f694ba8c200fb37ba84c4dd88875c9412fc26a45b7be302d234ac503c108eadb0c14fafbf8494ffaf70450975cf205e8a71b8b3b8902fdf455b4f6 +DIST honggfuzz-2.5.tar.gz 65224877 BLAKE2B 610a15a674cfa928eb4b4d9fda91e5494fe08be4b01857f390c36925872479c77b5424c06ed4df87ad791de29598d848d88eb5437d6f5f9bf9521ff67aaa5ded SHA512 d1ff23471372a3d9d62de768bda8beba0e75c49f9550bc106efb4ab49ea626c1ccc078f7a9950051a99fbc841615a81faae2c3b39270facd6c0064e28956c419 diff --git a/app-forensics/honggfuzz/honggfuzz-2.5.ebuild b/app-forensics/honggfuzz/honggfuzz-2.5.ebuild new file mode 100644 index 000000000000..db12e6d64274 --- /dev/null +++ b/app-forensics/honggfuzz/honggfuzz-2.5.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="A general purpose fuzzer with feedback support" +HOMEPAGE="https://honggfuzz.dev/" +SRC_URI="https://github.com/google/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="clang" + +RDEPEND=" + >=sys-libs/binutils-libs-2.29:= + sys-libs/libunwind:= + app-arch/xz-utils + clang? ( sys-libs/blocksruntime ) +" + +DEPEND="${RDEPEND} + elibc_musl? ( sys-libs/queue-standalone )" + +DOCS=( + CHANGELOG + COPYING + CONTRIBUTING.md + README.md +) + +PATCHES=( + "${FILESDIR}"/${PN}-2.0-no-werror.patch +) + +pkg_pretend() { + if tc-is-clang; then + use clang || die "${P}: to use clang enable USE=clang for ${P} (bug #729256)." + fi +} + +src_prepare() { + default + tc-export AR CC + export CFLAGS + export LDFLAGS +} + +src_install() { + dobin ${PN} + dobin hfuzz_cc/hfuzz-cc + + einstalldocs +} |