diff options
-rw-r--r-- | app-forensics/honggfuzz/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/honggfuzz/honggfuzz-1.2.ebuild | 46 |
2 files changed, 47 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest index bde5d3fd869..c7db74ef206 100644 --- a/app-forensics/honggfuzz/Manifest +++ b/app-forensics/honggfuzz/Manifest @@ -1,2 +1,3 @@ DIST honggfuzz-1.0.tar.gz 11705394 SHA256 922af667c2699be4e2a39cb7d2cd6324b9cb27d4817b073b48d43a580074fd4d SHA512 c31a8a252b4a57c7da632bf3ff55a0fe8b5f777bfe5196cd09b2a016bf7ac48413587e3b515d1a7c2a074adc3d8d83f9bfd49cabd881542184b16cf8acd41356 WHIRLPOOL cd9e9222cf622a410d49662f84a62d0cb737fe3cddcb58dec83e19d14d7de75e24a0a23b537f7a5d78520ac6d9438198166e86814aa7c083dad5802df35bd29b DIST honggfuzz-1.1.tar.gz 11705217 SHA256 e1ddbffc3240b2601c7e997d759c6a89ea69fe619bf59d1d9a58f11205934ee4 SHA512 dad1e763b1a74607995548b7c8a81b930286fc1d403f10fa2e88b165948fb323370233a9969eb972020cfa8782bc8aecd59c905a8ff63f18b0e50fe5b289bcf5 WHIRLPOOL c090c071904fadfbd6c794e0f4445c2b0efc66a5cf4eb6a2ec3427014ae0298a46c4c9cdbcef1bae5d2e1b383a384a98c6d64ca64a5d3c4a127b776cad09cf1b +DIST honggfuzz-1.2.tar.gz 53810802 SHA256 d141263b5d9e95cf17a9ad26189a29b5d2bf39b347547a4d3a3e1b4702f106c6 SHA512 8c5ccdd78ae4c1861b1cf3ff72177717fb07cf4009d6e93b77e64698f5ff6d1ee1ef6a5b0143483dd7b828b541682065ad218a7853ed050adfabcc77e07a0dd9 WHIRLPOOL e56f0491be41db8725774484c792adf5acfb502bfcd438d3d532a14f34f17dd96f1aab8aab1d802b1b8c208da7bf7da5f351f9bea40cdf2e35a44db17ceb89c1 diff --git a/app-forensics/honggfuzz/honggfuzz-1.2.ebuild b/app-forensics/honggfuzz/honggfuzz-1.2.ebuild new file mode 100644 index 00000000000..eb072b67c9b --- /dev/null +++ b/app-forensics/honggfuzz/honggfuzz-1.2.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="A general purpose fuzzer with feedback support" +HOMEPAGE="http://google.github.io/honggfuzz/" +SRC_URI="https://github.com/google/honggfuzz/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +RDEPEND=" + sys-libs/binutils-libs:= + sys-libs/libunwind +" + +DEPEND="${RDEPEND}" + +DOCS=( + CHANGELOG + COPYING + CONTRIBUTING + README.md +) + +src_prepare() { + default + if has_version ">=sys-libs/binutils-libs-2.29"; then + eapply "${FILESDIR}"/${PN}-1.1-binutils-2.29.patch + fi +} + +src_compile() { + CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" emake +} + +src_install() { + dobin ${PN} + + einstalldocs +} |