summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2017-05-23 22:15:30 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2017-05-23 22:15:48 +0100
commit11b4cdb9bfa35c180842c53187f9cdc93871172f (patch)
tree178545e343e8e6c0ee6bba938850fa3a9c0ac48b /app-forensics
parentdev-lang/ghc: restore HCFLAGS=-O1 for UNREG arches (diff)
downloadgentoo-11b4cdb9bfa35c180842c53187f9cdc93871172f.tar.gz
gentoo-11b4cdb9bfa35c180842c53187f9cdc93871172f.tar.bz2
gentoo-11b4cdb9bfa35c180842c53187f9cdc93871172f.zip
app-forensics/honggfuzz: bump up to 1.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/honggfuzz/Manifest1
-rw-r--r--app-forensics/honggfuzz/files/honggfuzz-1.0-no-error.patch7
-rw-r--r--app-forensics/honggfuzz/honggfuzz-1.0.ebuild43
3 files changed, 51 insertions, 0 deletions
diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest
index 6df0bf6aa074..4dac6d483c9a 100644
--- a/app-forensics/honggfuzz/Manifest
+++ b/app-forensics/honggfuzz/Manifest
@@ -1,3 +1,4 @@
DIST honggfuzz-0.7.tar.gz 413122 SHA256 611472a453c870165bb44e55900e7709aa4f7bca0159a81fc599cd66d1547d2a SHA512 b0ab50ebae44fe734899a6fd4e6a861ff289ea6f449141fd974a4ad4cc8e12f0b77f7ba9163134668f5401596f2cf179c20d1e97cdc6578282f7c6b6e1c54b57 WHIRLPOOL d6e066efce44c7080467235a12392374da4bab1aa5714de1e7739cc96ecf66d44b97810b5a69b1a939c1194d9e129cc972a440943029d3a468f0946de648940a
DIST honggfuzz-0.8.tar.gz 432740 SHA256 6bdc09798e7fe69d2c88437b61c3d2ec5be17a8135ddbe8da006373ec0ca492f SHA512 65db9e67fd3ba3303a62c61c05a738dfad71dd3cbef032de8cae0965886887ea11ee3f4011354cf7b40014a8cd02d773ca66a06389cf76b42bdc5a79dbcb1ca1 WHIRLPOOL 33fe61321dc318824385632622d0f10d53dcfb36b0ffb5e43a7f3d051d8b9f2ae11b3d3c35c8f675250c88eaf2af3cd7ffcb7d33f9c18adf6fbea34e6aae3b88
DIST honggfuzz-0.9.tar.gz 7332175 SHA256 161ad1fab5a677054d54d55a9fc070a2a4cbd26d6794e7fd8fe68db909f433c7 SHA512 d73200994a26afc7c11db4a36b24d4ca90b1994ed088cbe462fcec46d9236d82511e3d3fc440ef44a56ef387683b6dc330b4e104bec8047c2c797681617ad1f4 WHIRLPOOL 4e3d2d8683ce774394a513280902d2285f2262f6a774f04a52de729bfaedb2268d559e01428b7666a436ce5eca12c034ebe0094107a92a2e3db1943d77a99657
+DIST honggfuzz-1.0.tar.gz 11704842 SHA256 72be94533cab10b5aa5b30894ce3e8036308b8cb2694395e40dee45516f96d20 SHA512 f51319b691d2d067bbdec3316ee824df2fb17276bcdf581edd84cef864ce48181b367bb73d99c4d1e19da580c2dfceab9dd2bf46436f7643e3c0f4e7e3ca3c2b WHIRLPOOL e711e3226f67645175bcd3a312fd2bfccb00f7120063a54ff14b8e081ddfdbdee68d4f345710c5d4b1b7a0def89cfd2910d167fd2702c63709e8980a154c3a56
diff --git a/app-forensics/honggfuzz/files/honggfuzz-1.0-no-error.patch b/app-forensics/honggfuzz/files/honggfuzz-1.0-no-error.patch
new file mode 100644
index 000000000000..c7d7f48af54f
--- /dev/null
+++ b/app-forensics/honggfuzz/files/honggfuzz-1.0-no-error.patch
@@ -0,0 +1,7 @@
+diff --git a/Makefile b/Makefile
+index 378df7d..75a6b71 100644
+--- a/Makefile
++++ b/Makefile
+@@ -30 +30 @@ CC_SRCS := display.c log.c util.c files.c hfuzz_cc/hfuzz-clang.c
+-COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Werror -Wframe-larger-than=131072
++COMMON_CFLAGS := -D_GNU_SOURCE -Wall -Wframe-larger-than=131072
diff --git a/app-forensics/honggfuzz/honggfuzz-1.0.ebuild b/app-forensics/honggfuzz/honggfuzz-1.0.ebuild
new file mode 100644
index 000000000000..b87a2be35620
--- /dev/null
+++ b/app-forensics/honggfuzz/honggfuzz-1.0.ebuild
@@ -0,0 +1,43 @@
+# 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}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.0-no-error.patch
+)
+
+DOCS=(
+ CHANGELOG
+ COPYING
+ CONTRIBUTING
+ README.md
+)
+
+src_compile() {
+ CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" emake
+}
+
+src_install() {
+ dobin ${PN}
+
+ einstalldocs
+}