1 |
|
# Copyright 2022 Gentoo Authors
|
|
1 |
# Copyright 2022-2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
6 |
CRATES="
|
7 |
|
ahash-0.6.3
|
8 |
|
aho-corasick-0.7.18
|
9 |
|
ansi_term-0.11.0
|
10 |
|
anyhow-1.0.55
|
11 |
|
array-macro-1.0.5
|
|
7 |
ahash-0.7.6
|
|
8 |
ahash-0.8.0
|
|
9 |
aho-corasick-0.7.19
|
|
10 |
android_system_properties-0.1.5
|
|
11 |
anyhow-1.0.66
|
|
12 |
async-trait-0.1.58
|
12 |
13 |
atty-0.2.14
|
13 |
|
autocfg-1.0.1
|
|
14 |
autocfg-1.1.0
|
14 |
15 |
bitflags-1.3.2
|
15 |
|
bytes-1.1.0
|
|
16 |
bumpalo-3.11.1
|
|
17 |
bytes-1.2.1
|
|
18 |
camino-1.1.1
|
16 |
19 |
cargo-platform-0.1.2
|
17 |
|
cargo_metadata-0.12.3
|
18 |
|
cc-1.0.72
|
|
20 |
cargo_metadata-0.14.2
|
|
21 |
cc-1.0.73
|
19 |
22 |
cfg-if-1.0.0
|
20 |
|
chrono-0.4.19
|
21 |
|
clap-2.33.3
|
22 |
|
console-0.15.0
|
23 |
|
crossbeam-channel-0.5.1
|
24 |
|
crossbeam-deque-0.8.1
|
25 |
|
crossbeam-epoch-0.9.7
|
26 |
|
crossbeam-utils-0.8.5
|
27 |
|
crossterm-0.19.0
|
28 |
|
crossterm-0.20.0
|
29 |
|
crossterm_winapi-0.7.0
|
30 |
|
crossterm_winapi-0.8.0
|
31 |
|
cursive-0.16.3
|
32 |
|
cursive_buffered_backend-0.5.0
|
33 |
|
cursive_core-0.2.2
|
34 |
|
darling-0.10.2
|
35 |
|
darling_core-0.10.2
|
36 |
|
darling_macro-0.10.2
|
37 |
|
derivative-2.2.0
|
|
23 |
chrono-0.4.22
|
|
24 |
clap-3.2.23
|
|
25 |
clap_complete-3.2.5
|
|
26 |
clap_derive-3.2.18
|
|
27 |
clap_lex-0.2.4
|
|
28 |
codespan-reporting-0.11.1
|
|
29 |
console-0.15.2
|
|
30 |
core-foundation-sys-0.8.3
|
|
31 |
crossbeam-channel-0.5.6
|
|
32 |
crossbeam-deque-0.8.2
|
|
33 |
crossbeam-epoch-0.9.11
|
|
34 |
crossbeam-utils-0.8.12
|
|
35 |
crossterm-0.23.2
|
|
36 |
crossterm-0.24.0
|
|
37 |
crossterm_winapi-0.9.0
|
|
38 |
cursive-0.19.0
|
|
39 |
cursive_buffered_backend-0.6.1
|
|
40 |
cursive_core-0.3.5
|
|
41 |
cxx-1.0.80
|
|
42 |
cxx-build-1.0.80
|
|
43 |
cxxbridge-flags-1.0.80
|
|
44 |
cxxbridge-macro-1.0.80
|
|
45 |
darling-0.14.2
|
|
46 |
darling_core-0.14.2
|
|
47 |
darling_macro-0.14.2
|
38 |
48 |
dirs-next-2.0.0
|
39 |
49 |
dirs-sys-next-0.1.2
|
40 |
|
either-1.6.1
|
|
50 |
either-1.8.0
|
41 |
51 |
encode_unicode-0.3.6
|
42 |
|
enum-map-0.6.4
|
43 |
|
enum-map-derive-0.4.6
|
44 |
|
erased-serde-0.3.16
|
45 |
|
filetime-0.2.15
|
|
52 |
enum-map-2.4.1
|
|
53 |
enum-map-derive-0.10.0
|
|
54 |
enumset-1.0.12
|
|
55 |
enumset_derive-0.6.1
|
|
56 |
erased-serde-0.3.23
|
|
57 |
errno-0.2.8
|
|
58 |
errno-dragonfly-0.1.2
|
|
59 |
fastrand-1.8.0
|
|
60 |
filetime-0.2.18
|
46 |
61 |
fnv-1.0.7
|
47 |
62 |
fuchsia-cprng-0.1.1
|
48 |
|
futures-core-0.3.17
|
49 |
|
getrandom-0.2.3
|
|
63 |
futures-0.1.31
|
|
64 |
futures-0.3.25
|
|
65 |
futures-channel-0.3.25
|
|
66 |
futures-core-0.3.25
|
|
67 |
futures-executor-0.3.25
|
|
68 |
futures-io-0.3.25
|
|
69 |
futures-macro-0.3.25
|
|
70 |
futures-sink-0.3.25
|
|
71 |
futures-task-0.3.25
|
|
72 |
futures-util-0.3.25
|
|
73 |
getrandom-0.2.8
|
50 |
74 |
half-1.8.2
|
|
75 |
hashbrown-0.12.3
|
51 |
76 |
heck-0.3.3
|
|
77 |
heck-0.4.0
|
52 |
78 |
hermit-abi-0.1.19
|
53 |
79 |
hostname-0.3.1
|
54 |
80 |
humantime-2.1.0
|
|
81 |
iana-time-zone-0.1.53
|
|
82 |
iana-time-zone-haiku-0.1.1
|
55 |
83 |
ident_case-1.0.1
|
56 |
|
indicatif-0.15.0
|
|
84 |
indexmap-1.9.1
|
|
85 |
indicatif-0.17.1
|
57 |
86 |
instant-0.1.12
|
58 |
|
itertools-0.10.3
|
59 |
|
itoa-0.4.8
|
60 |
|
jobserver-0.1.24
|
|
87 |
io-lifetimes-0.7.4
|
|
88 |
itertools-0.10.5
|
|
89 |
itoa-1.0.4
|
|
90 |
jobserver-0.1.25
|
|
91 |
js-sys-0.3.60
|
61 |
92 |
lazy_static-1.4.0
|
62 |
|
libbpf-cargo-0.10.0
|
63 |
|
libbpf-rs-0.16.0
|
64 |
|
libbpf-sys-0.6.0-1
|
65 |
|
libc-0.2.107
|
66 |
|
lock_api-0.4.5
|
67 |
|
log-0.4.14
|
|
93 |
libbpf-cargo-0.13.1
|
|
94 |
libbpf-rs-0.19.1
|
|
95 |
libbpf-sys-1.0.4+v1.0.1
|
|
96 |
libc-0.2.137
|
|
97 |
libm-0.2.5
|
|
98 |
link-cplusplus-1.0.7
|
|
99 |
linux-raw-sys-0.0.46
|
|
100 |
lock_api-0.4.9
|
|
101 |
log-0.4.17
|
68 |
102 |
maplit-1.0.2
|
69 |
103 |
match_cfg-0.1.0
|
70 |
|
memchr-2.4.1
|
|
104 |
memchr-2.5.0
|
71 |
105 |
memmap-0.7.0
|
72 |
|
memmap2-0.3.1
|
73 |
|
memoffset-0.6.4
|
74 |
|
mio-0.7.14
|
75 |
|
miow-0.3.7
|
76 |
|
nix-0.22.0
|
77 |
|
ntapi-0.3.6
|
78 |
|
num-0.3.1
|
79 |
|
num-complex-0.3.1
|
80 |
|
num-integer-0.1.44
|
81 |
|
num-iter-0.1.42
|
82 |
|
num-rational-0.3.2
|
83 |
|
num-traits-0.2.14
|
84 |
|
num_cpus-1.13.0
|
85 |
|
num_enum-0.5.4
|
86 |
|
num_enum_derive-0.5.4
|
87 |
|
number_prefix-0.3.0
|
88 |
|
numtoa-0.1.0
|
89 |
|
once_cell-1.8.0
|
|
106 |
memmap2-0.5.7
|
|
107 |
memoffset-0.6.5
|
|
108 |
mio-0.8.5
|
|
109 |
nix-0.24.2
|
|
110 |
nix-0.25.0
|
|
111 |
num-0.4.0
|
|
112 |
num-complex-0.4.2
|
|
113 |
num-integer-0.1.45
|
|
114 |
num-iter-0.1.43
|
|
115 |
num-rational-0.4.1
|
|
116 |
num-traits-0.2.15
|
|
117 |
num_cpus-1.13.1
|
|
118 |
num_enum-0.5.7
|
|
119 |
num_enum_derive-0.5.7
|
|
120 |
num_threads-0.1.6
|
|
121 |
number_prefix-0.4.0
|
|
122 |
once_cell-1.15.0
|
90 |
123 |
openat-0.1.21
|
91 |
|
os_info-3.0.7
|
|
124 |
os_info-3.5.1
|
|
125 |
os_str_bytes-6.3.1
|
92 |
126 |
owning_ref-0.4.1
|
93 |
|
parking_lot-0.11.2
|
94 |
|
parking_lot_core-0.8.5
|
95 |
|
paste-1.0.6
|
96 |
|
pest-2.1.3
|
97 |
|
pkg-config-0.3.22
|
|
127 |
parking_lot-0.12.1
|
|
128 |
parking_lot_core-0.9.4
|
|
129 |
paste-1.0.9
|
|
130 |
pin-project-lite-0.2.9
|
|
131 |
pin-utils-0.1.0
|
|
132 |
pkg-config-0.3.26
|
98 |
133 |
plain-0.2.3
|
99 |
|
ppv-lite86-0.2.15
|
100 |
|
proc-macro-crate-1.1.0
|
|
134 |
portpicker-0.1.1
|
|
135 |
ppv-lite86-0.2.16
|
|
136 |
proc-macro-crate-1.2.1
|
101 |
137 |
proc-macro-error-1.0.4
|
102 |
138 |
proc-macro-error-attr-1.0.4
|
103 |
|
proc-macro2-1.0.32
|
104 |
|
quote-1.0.10
|
|
139 |
proc-macro2-1.0.47
|
|
140 |
quote-1.0.21
|
105 |
141 |
rand-0.4.6
|
106 |
|
rand-0.8.4
|
|
142 |
rand-0.8.5
|
107 |
143 |
rand_chacha-0.3.1
|
108 |
144 |
rand_core-0.3.1
|
109 |
145 |
rand_core-0.4.2
|
110 |
|
rand_core-0.6.3
|
111 |
|
rand_hc-0.3.1
|
112 |
|
rayon-1.5.1
|
113 |
|
rayon-core-1.9.1
|
|
146 |
rand_core-0.6.4
|
|
147 |
rand_distr-0.4.3
|
|
148 |
rayon-1.5.3
|
|
149 |
rayon-core-1.9.3
|
114 |
150 |
rdrand-0.4.0
|
115 |
|
redox_syscall-0.2.10
|
116 |
|
redox_termios-0.1.2
|
117 |
|
redox_users-0.4.0
|
118 |
|
regex-1.5.4
|
119 |
|
regex-syntax-0.6.25
|
|
151 |
redox_syscall-0.2.16
|
|
152 |
redox_users-0.4.3
|
|
153 |
regex-1.6.0
|
|
154 |
regex-syntax-0.6.27
|
120 |
155 |
remove_dir_all-0.5.3
|
121 |
|
rustversion-1.0.5
|
122 |
|
ryu-1.0.5
|
|
156 |
rustix-0.35.12
|
|
157 |
rustversion-1.0.9
|
|
158 |
ryu-1.0.11
|
123 |
159 |
same-file-1.0.6
|
124 |
160 |
scopeguard-1.1.0
|
125 |
|
scroll-0.10.2
|
126 |
|
scroll_derive-0.10.5
|
127 |
|
semver-0.11.0
|
128 |
|
semver-1.0.4
|
129 |
|
semver-parser-0.10.2
|
130 |
|
serde-1.0.130
|
|
161 |
scratch-1.0.2
|
|
162 |
scroll-0.11.0
|
|
163 |
scroll_derive-0.11.0
|
|
164 |
semver-1.0.14
|
|
165 |
serde-1.0.147
|
131 |
166 |
serde_cbor-0.11.2
|
132 |
|
serde_derive-1.0.130
|
133 |
|
serde_json-1.0.69
|
134 |
|
signal-hook-0.1.17
|
135 |
|
signal-hook-0.3.10
|
136 |
|
signal-hook-mio-0.2.1
|
|
167 |
serde_derive-1.0.147
|
|
168 |
serde_json-1.0.87
|
|
169 |
signal-hook-0.3.14
|
|
170 |
signal-hook-mio-0.2.3
|
137 |
171 |
signal-hook-registry-1.4.0
|
|
172 |
slab-0.4.7
|
138 |
173 |
slog-2.7.0
|
139 |
|
slog-async-2.7.0
|
140 |
|
slog-term-2.8.0
|
141 |
|
smallvec-1.7.0
|
|
174 |
slog-term-2.9.0
|
|
175 |
smallvec-1.10.0
|
142 |
176 |
stable_deref_trait-1.2.0
|
143 |
177 |
static_assertions-1.1.0
|
144 |
|
strsim-0.8.0
|
145 |
|
strsim-0.9.3
|
146 |
|
structopt-0.3.25
|
147 |
|
structopt-derive-0.4.18
|
148 |
|
strum_macros-0.21.1
|
149 |
|
syn-1.0.81
|
150 |
|
take_mut-0.2.2
|
|
178 |
strsim-0.10.0
|
|
179 |
strum_macros-0.23.1
|
|
180 |
syn-1.0.103
|
151 |
181 |
tar-0.4.38
|
152 |
182 |
tempdir-0.3.7
|
153 |
|
tempfile-3.2.0
|
|
183 |
tempfile-3.3.0
|
154 |
184 |
term-0.7.0
|
|
185 |
termcolor-1.1.3
|
155 |
186 |
terminal_size-0.1.17
|
156 |
|
termion-1.5.6
|
157 |
|
textwrap-0.11.0
|
158 |
|
thiserror-1.0.30
|
159 |
|
thiserror-impl-1.0.30
|
160 |
|
thread_local-1.1.3
|
|
187 |
terminal_size-0.2.1
|
|
188 |
textwrap-0.16.0
|
|
189 |
thiserror-1.0.37
|
|
190 |
thiserror-impl-1.0.37
|
|
191 |
thread_local-1.1.4
|
161 |
192 |
threadpool-1.8.1
|
162 |
|
time-0.1.43
|
|
193 |
time-0.3.16
|
|
194 |
time-core-0.1.0
|
|
195 |
time-macros-0.2.5
|
|
196 |
tokio-1.21.2
|
163 |
197 |
toml-0.5.8
|
164 |
|
ucd-trie-0.1.3
|
165 |
|
unicode-segmentation-1.8.0
|
166 |
|
unicode-width-0.1.9
|
167 |
|
unicode-xid-0.2.2
|
|
198 |
unicase-2.6.0
|
|
199 |
unicode-ident-1.0.5
|
|
200 |
unicode-segmentation-1.10.0
|
|
201 |
unicode-width-0.1.10
|
168 |
202 |
users-0.11.0
|
169 |
|
vec_map-0.8.2
|
170 |
|
version_check-0.9.3
|
|
203 |
version_check-0.9.4
|
171 |
204 |
vsprintf-2.0.0
|
172 |
205 |
walkdir-2.3.2
|
173 |
|
wasi-0.10.2+wasi-snapshot-preview1
|
174 |
|
wasmer_enumset-1.0.1
|
175 |
|
wasmer_enumset_derive-0.5.0
|
|
206 |
wasi-0.11.0+wasi-snapshot-preview1
|
|
207 |
wasm-bindgen-0.2.83
|
|
208 |
wasm-bindgen-backend-0.2.83
|
|
209 |
wasm-bindgen-macro-0.2.83
|
|
210 |
wasm-bindgen-macro-support-0.2.83
|
|
211 |
wasm-bindgen-shared-0.2.83
|
176 |
212 |
winapi-0.3.9
|
177 |
213 |
winapi-i686-pc-windows-gnu-0.4.0
|
178 |
214 |
winapi-util-0.1.5
|
179 |
215 |
winapi-x86_64-pc-windows-gnu-0.4.0
|
180 |
|
xattr-0.2.2
|
|
216 |
windows-sys-0.36.1
|
|
217 |
windows-sys-0.42.0
|
|
218 |
windows_aarch64_gnullvm-0.42.0
|
|
219 |
windows_aarch64_msvc-0.36.1
|
|
220 |
windows_aarch64_msvc-0.42.0
|
|
221 |
windows_i686_gnu-0.36.1
|
|
222 |
windows_i686_gnu-0.42.0
|
|
223 |
windows_i686_msvc-0.36.1
|
|
224 |
windows_i686_msvc-0.42.0
|
|
225 |
windows_x86_64_gnu-0.36.1
|
|
226 |
windows_x86_64_gnu-0.42.0
|
|
227 |
windows_x86_64_gnullvm-0.42.0
|
|
228 |
windows_x86_64_msvc-0.36.1
|
|
229 |
windows_x86_64_msvc-0.42.0
|
|
230 |
xattr-0.2.3
|
181 |
231 |
xi-unicode-0.3.0
|
182 |
|
zstd-0.8.0+zstd.1.4.9
|
183 |
|
zstd-safe-4.0.0+zstd.1.4.9
|
184 |
|
zstd-sys-1.5.0+zstd.1.4.9
|
|
232 |
zstd-0.11.2+zstd.1.5.2
|
|
233 |
zstd-safe-5.0.2+zstd.1.5.2
|
|
234 |
zstd-sys-2.0.1+zstd.1.5.2
|
185 |
235 |
"
|
186 |
236 |
|
187 |
237 |
inherit cargo systemd
|
... | ... | |
212 |
262 |
|
213 |
263 |
QA_FLAGS_IGNORED="usr/bin/below"
|
214 |
264 |
|
|
265 |
src_test() {
|
|
266 |
local skip=(
|
|
267 |
--skip disable_disk_stat
|
|
268 |
--skip advance_forward_and_reverse
|
|
269 |
--skip disable_io_stat
|
|
270 |
--skip record_replay_integration
|
|
271 |
--skip test_belowrc_to_event
|
|
272 |
)
|
|
273 |
cargo_src_test --workspace below -- "${skip[@]}"
|
|
274 |
}
|
|
275 |
|
215 |
276 |
src_install() {
|
216 |
277 |
cargo_src_install --path below
|
217 |
278 |
|
218 |
279 |
keepdir /var/log/below
|
219 |
280 |
|
220 |
281 |
systemd_dounit "${FILESDIR}/${PN}.service"
|
|
282 |
newinitd "${FILESDIR}/${PN}.initd" below
|
|
283 |
newconfd "${FILESDIR}/${PN}.confd" below
|
|
284 |
|
|
285 |
insinto /etc/logrotate.d
|
|
286 |
newins "${FILESDIR}/${PN}.logrotated" below
|
221 |
287 |
}
|