diff options
author | Marek Szuba <marecki@gentoo.org> | 2023-12-25 13:10:42 +0100 |
---|---|---|
committer | Marek Szuba <marecki@gentoo.org> | 2023-12-25 13:10:42 +0100 |
commit | af9a426538c3aed5fede44d2b5a8229cdccf1e2b (patch) | |
tree | e15013daf8714ac11b8613dd1a05a3bf6fcb0b4f /app-forensics | |
parent | profiles/features/wd40: mask dev-python/apprise (diff) | |
download | gentoo-af9a426538c3aed5fede44d2b5a8229cdccf1e2b.tar.gz gentoo-af9a426538c3aed5fede44d2b5a8229cdccf1e2b.tar.bz2 gentoo-af9a426538c3aed5fede44d2b5a8229cdccf1e2b.zip |
app-forensics/honggfuzz: add 2.6
Signed-off-by: Marek Szuba <marecki@gentoo.org>
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/honggfuzz/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/honggfuzz/honggfuzz-2.6.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest index 4fcf6705c343..c7ef97138e2c 100644 --- a/app-forensics/honggfuzz/Manifest +++ b/app-forensics/honggfuzz/Manifest @@ -1 +1,2 @@ DIST honggfuzz-2.5.tar.gz 65224877 BLAKE2B 610a15a674cfa928eb4b4d9fda91e5494fe08be4b01857f390c36925872479c77b5424c06ed4df87ad791de29598d848d88eb5437d6f5f9bf9521ff67aaa5ded SHA512 d1ff23471372a3d9d62de768bda8beba0e75c49f9550bc106efb4ab49ea626c1ccc078f7a9950051a99fbc841615a81faae2c3b39270facd6c0064e28956c419 +DIST honggfuzz-2.6.tar.gz 65227315 BLAKE2B 527d36dd66974b74be29e3dc22e22c893d0e35654a768bfd93c6a919de82841cc1552af2b479ac0d65ce2fcfd66886ca0e43bc95db5b8187c8d13191e65de320 SHA512 cdd97b65e679652be888b966e2c010fe29af262e88d6c94b94b2e78c88258c5c53b4928fdf9e8afe54029c0742c5dfb0f6f8e8cb8157093e7f5ffdcfa5c92fd4 diff --git a/app-forensics/honggfuzz/honggfuzz-2.6.ebuild b/app-forensics/honggfuzz/honggfuzz-2.6.ebuild new file mode 100644 index 000000000000..234ac8b97131 --- /dev/null +++ b/app-forensics/honggfuzz/honggfuzz-2.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 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.6-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 +} |