Gentoo Archives: gentoo-commits

From: Marek Szuba <marecki@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/honggfuzz/files/, app-forensics/honggfuzz/
Date: Tue, 01 Mar 2022 16:47:43
Message-Id: 1646153242.b05e3e39bf66760425771de98175027dbd78f7fa.marecki@gentoo
1 commit: b05e3e39bf66760425771de98175027dbd78f7fa
2 Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
3 AuthorDate: Tue Mar 1 15:22:01 2022 +0000
4 Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
5 CommitDate: Tue Mar 1 16:47:22 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b05e3e39
7
8 app-forensics/honggfuzz: drop 2.4
9
10 Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
11
12 app-forensics/honggfuzz/Manifest | 1 -
13 .../files/honggfuzz-2.4-headers-musl.patch | 45 -----------------
14 app-forensics/honggfuzz/honggfuzz-2.4.ebuild | 57 ----------------------
15 3 files changed, 103 deletions(-)
16
17 diff --git a/app-forensics/honggfuzz/Manifest b/app-forensics/honggfuzz/Manifest
18 index 2bce2e1d8690..4fcf6705c343 100644
19 --- a/app-forensics/honggfuzz/Manifest
20 +++ b/app-forensics/honggfuzz/Manifest
21 @@ -1,2 +1 @@
22 -DIST honggfuzz-2.4.tar.gz 65224128 BLAKE2B b584b0f143fe64c8f64f134d7dc3116ec88232ec4a7b635d1cee2c8c5e7253524a8559c0b89fac11b67c1c3566891f189efc2201a1bf42410c78f211b2bc376e SHA512 bdb172e6e1f694ba8c200fb37ba84c4dd88875c9412fc26a45b7be302d234ac503c108eadb0c14fafbf8494ffaf70450975cf205e8a71b8b3b8902fdf455b4f6
23 DIST honggfuzz-2.5.tar.gz 65224877 BLAKE2B 610a15a674cfa928eb4b4d9fda91e5494fe08be4b01857f390c36925872479c77b5424c06ed4df87ad791de29598d848d88eb5437d6f5f9bf9521ff67aaa5ded SHA512 d1ff23471372a3d9d62de768bda8beba0e75c49f9550bc106efb4ab49ea626c1ccc078f7a9950051a99fbc841615a81faae2c3b39270facd6c0064e28956c419
24
25 diff --git a/app-forensics/honggfuzz/files/honggfuzz-2.4-headers-musl.patch b/app-forensics/honggfuzz/files/honggfuzz-2.4-headers-musl.patch
26 deleted file mode 100644
27 index e70d6eae4eaf..000000000000
28 --- a/app-forensics/honggfuzz/files/honggfuzz-2.4-headers-musl.patch
29 +++ /dev/null
30 @@ -1,45 +0,0 @@
31 -From 29864795b194481dd0446326cda89b9802f4fe51 Mon Sep 17 00:00:00 2001
32 -From: David Carlier <devnexen@×××××.com>
33 -Date: Sat, 8 May 2021 11:23:32 +0100
34 -Subject: [PATCH] musl build fix proposal
35 -
36 ---- a/linux/arch.c
37 -+++ b/linux/arch.c
38 -@@ -34,7 +34,9 @@
39 - #include <stdio.h>
40 - #include <stdlib.h>
41 - #include <string.h>
42 -+#if defined(__GLIBC__)
43 - #include <sys/cdefs.h>
44 -+#endif
45 - #include <sys/personality.h>
46 - #include <sys/prctl.h>
47 - #include <sys/syscall.h>
48 ---- a/linux/perf.c
49 -+++ b/linux/perf.c
50 -@@ -30,12 +30,12 @@
51 - #include <linux/hw_breakpoint.h>
52 - #include <linux/perf_event.h>
53 - #include <linux/sysctl.h>
54 -+#include <poll.h>
55 - #include <signal.h>
56 - #include <stdlib.h>
57 - #include <string.h>
58 - #include <sys/ioctl.h>
59 - #include <sys/mman.h>
60 --#include <sys/poll.h>
61 - #include <sys/ptrace.h>
62 - #include <sys/syscall.h>
63 - #include <unistd.h>
64 ---- a/linux/trace.c
65 -+++ b/linux/trace.c
66 -@@ -34,7 +34,9 @@
67 - #include <stdio.h>
68 - #include <stdlib.h>
69 - #include <string.h>
70 -+#if defined(__GLIBC__)
71 - #include <sys/cdefs.h>
72 -+#endif
73 - #include <sys/personality.h>
74 - #include <sys/ptrace.h>
75 - #include <sys/resource.h>
76
77 diff --git a/app-forensics/honggfuzz/honggfuzz-2.4.ebuild b/app-forensics/honggfuzz/honggfuzz-2.4.ebuild
78 deleted file mode 100644
79 index 8a1b1c2588cd..000000000000
80 --- a/app-forensics/honggfuzz/honggfuzz-2.4.ebuild
81 +++ /dev/null
82 @@ -1,57 +0,0 @@
83 -# Copyright 1999-2022 Gentoo Authors
84 -# Distributed under the terms of the GNU General Public License v2
85 -
86 -EAPI=8
87 -
88 -inherit toolchain-funcs
89 -
90 -DESCRIPTION="A general purpose fuzzer with feedback support"
91 -HOMEPAGE="https://honggfuzz.dev/"
92 -SRC_URI="https://github.com/google/honggfuzz/archive/${PV}.tar.gz -> ${P}.tar.gz"
93 -
94 -LICENSE="Apache-2.0"
95 -SLOT="0"
96 -KEYWORDS="~amd64"
97 -IUSE="clang"
98 -
99 -RDEPEND="
100 - >=sys-libs/binutils-libs-2.29:=
101 - sys-libs/libunwind:=
102 - app-arch/xz-utils
103 - clang? ( sys-libs/blocksruntime )
104 -"
105 -
106 -DEPEND="${RDEPEND}
107 - elibc_musl? ( sys-libs/queue-standalone )"
108 -
109 -DOCS=(
110 - CHANGELOG
111 - COPYING
112 - CONTRIBUTING.md
113 - README.md
114 -)
115 -
116 -PATCHES=(
117 - "${FILESDIR}"/${PN}-2.0-no-werror.patch
118 - "${FILESDIR}"/${PN}-2.4-headers-musl.patch
119 -)
120 -
121 -pkg_pretend() {
122 - if tc-is-clang; then
123 - use clang || die "${P}: to use clang enable USE=clang for ${P} (bug #729256)."
124 - fi
125 -}
126 -
127 -src_prepare() {
128 - default
129 - tc-export AR CC
130 - export CFLAGS
131 - export LDFLAGS
132 -}
133 -
134 -src_install() {
135 - dobin ${PN}
136 - dobin hfuzz_cc/hfuzz-cc
137 -
138 - einstalldocs
139 -}