Сравнение netavark-1.6.0 с netavark-1.8.0

/usr/portage/app-containers/netavark/netavark-1.8.0.ebuild 2023-10-09 14:52:28.224368318 +0300
1
# Copyright 2023 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5 5

  
6
CRATES="
7
	aho-corasick-0.7.20
8
	android_system_properties-0.1.5
9
	anyhow-1.0.70
10
	arrayvec-0.7.2
11
	async-broadcast-0.5.1
12
	async-channel-1.8.0
13
	async-executor-1.5.0
14
	async-fs-1.6.0
15
	async-io-1.12.0
16
	async-lock-2.7.0
17
	async-recursion-1.0.2
18
	async-task-4.3.0
19
	async-trait-0.1.68
20
	atomic-waker-1.1.0
21
	atty-0.2.14
22
	autocfg-1.1.0
23
	axum-0.6.12
24
	axum-core-0.3.3
25
	base64-0.21.0
26
	bitflags-1.3.2
27
	block-buffer-0.10.3
28
	blocking-1.3.0
29
	bumpalo-3.12.0
30
	byteorder-1.4.3
31
	bytes-1.4.0
32
	cc-1.0.79
33
	cfg-if-1.0.0
34
	chrono-0.4.24
35
	clap-3.2.23
36
	clap_derive-3.2.18
37
	clap_lex-0.2.4
38
	codespan-reporting-0.11.1
39
	concurrent-queue-2.1.0
40
	core-foundation-sys-0.8.3
41
	cpufeatures-0.2.5
42
	crossbeam-utils-0.8.15
43
	crypto-common-0.1.6
44
	cxx-1.0.92
45
	cxx-build-1.0.92
46
	cxxbridge-flags-1.0.92
47
	cxxbridge-macro-1.0.92
48
	data-encoding-2.3.3
49
	derivative-2.2.0
50
	dhcproto-0.9.0
51
	dhcproto-macros-0.1.0
52
	digest-0.10.6
53
	dirs-4.0.0
54
	dirs-sys-0.3.7
55
	either-1.8.1
56
	enum-as-inner-0.5.1
57
	enumflags2-0.7.5
58
	enumflags2_derive-0.7.4
59
	env_logger-0.10.0
60
	errno-0.2.8
61
	errno-dragonfly-0.1.2
62
	etherparse-0.13.0
63
	ethtool-0.2.4
64
	event-listener-2.5.3
65
	fastrand-1.9.0
66
	fixedbitset-0.4.2
67
	fnv-1.0.7
68
	form_urlencoded-1.1.0
69
	fs2-0.4.3
70
	futures-0.3.26
71
	futures-channel-0.3.28
72
	futures-core-0.3.28
73
	futures-executor-0.3.26
74
	futures-io-0.3.28
75
	futures-lite-1.12.0
76
	futures-macro-0.3.28
77
	futures-sink-0.3.28
78
	futures-task-0.3.28
79
	futures-util-0.3.28
80
	generic-array-0.14.6
81
	genetlink-0.2.4
82
	getrandom-0.2.8
83
	h2-0.3.16
84
	hashbrown-0.12.3
85
	heck-0.4.1
86
	hermit-abi-0.1.19
87
	hermit-abi-0.2.6
88
	hermit-abi-0.3.1
89
	hex-0.4.3
90
	http-0.2.9
91
	http-body-0.4.5
92
	httparse-1.8.0
93
	httpdate-1.0.2
94
	humantime-2.1.0
95
	hyper-0.14.24
96
	hyper-timeout-0.4.1
97
	iana-time-zone-0.1.53
98
	iana-time-zone-haiku-0.1.1
99
	idna-0.2.3
100
	idna-0.3.0
101
	indexmap-1.9.2
102
	instant-0.1.12
103
	io-lifetimes-1.0.5
104
	ipnet-2.7.2
105
	iptables-0.5.0
106
	is-terminal-0.4.4
107
	itertools-0.10.5
108
	itoa-1.0.6
109
	js-sys-0.3.61
110
	lazy_static-1.4.0
111
	libc-0.2.140
112
	link-cplusplus-1.0.8
113
	linux-raw-sys-0.1.4
114
	log-0.4.17
115
	macaddr-1.0.1
116
	matches-0.1.10
117
	matchit-0.7.0
118
	memchr-2.5.0
119
	memoffset-0.6.5
120
	memoffset-0.7.1
121
	mime-0.3.16
122
	mio-0.8.6
123
	mozim-0.2.2
124
	mptcp-pm-0.1.2
125
	multimap-0.8.3
126
	netavark-1.6.0
127
	netlink-packet-core-0.5.0
128
	netlink-packet-generic-0.3.2
129
	netlink-packet-route-0.15.0
130
	netlink-packet-utils-0.5.2
131
	netlink-proto-0.11.1
132
	netlink-sys-0.8.5
133
	nispor-1.2.10
134
	nix-0.23.2
135
	nix-0.26.2
136
	num-integer-0.1.45
137
	num-traits-0.2.15
138
	num_cpus-1.15.0
139
	once_cell-1.17.1
140
	ordered-float-2.10.0
141
	ordered-stream-0.2.0
142
	os_str_bytes-6.4.1
143
	parking-2.0.0
144
	paste-1.0.12
145
	percent-encoding-2.2.0
146
	petgraph-0.6.3
147
	pin-project-1.0.12
148
	pin-project-internal-1.0.12
149
	pin-project-lite-0.2.9
150
	pin-utils-0.1.0
151
	polling-2.5.2
152
	ppv-lite86-0.2.17
153
	prettyplease-0.1.24
154
	proc-macro-crate-1.3.1
155
	proc-macro-error-1.0.4
156
	proc-macro-error-attr-1.0.4
157
	proc-macro2-1.0.53
158
	prost-0.11.8
159
	prost-build-0.11.8
160
	prost-derive-0.11.8
161
	prost-types-0.11.8
162
	quote-1.0.26
163
	rand-0.8.5
164
	rand_chacha-0.3.1
165
	rand_core-0.6.4
166
	redox_syscall-0.2.16
167
	redox_users-0.4.3
168
	regex-1.7.1
169
	regex-syntax-0.6.28
170
	rtnetlink-0.12.0
171
	rustix-0.36.9
172
	rustversion-1.0.12
173
	ryu-1.0.13
174
	same-file-1.0.6
175
	scratch-1.0.5
176
	serde-1.0.159
177
	serde-value-0.7.0
178
	serde_derive-1.0.159
179
	serde_json-1.0.95
180
	serde_repr-0.1.11
181
	sha1-0.10.5
182
	sha2-0.10.6
183
	signal-hook-registry-1.4.1
184
	slab-0.4.8
185
	smallvec-1.10.0
186
	socket2-0.4.9
187
	static_assertions-1.1.0
188
	strsim-0.10.0
189
	syn-1.0.109
190
	syn-2.0.12
191
	sync_wrapper-0.1.2
192
	sysctl-0.5.4
193
	tempfile-3.4.0
194
	termcolor-1.2.0
195
	textwrap-0.16.0
196
	thiserror-1.0.39
197
	thiserror-impl-1.0.39
198
	tinyvec-1.6.0
199
	tinyvec_macros-0.1.1
200
	tokio-1.27.0
201
	tokio-io-timeout-1.2.0
202
	tokio-macros-2.0.0
203
	tokio-stream-0.1.12
204
	tokio-util-0.7.7
205
	toml_datetime-0.6.1
206
	toml_edit-0.19.4
207
	tonic-0.9.1
208
	tonic-build-0.8.4
209
	tower-0.4.13
210
	tower-layer-0.3.2
211
	tower-service-0.3.2
212
	tracing-0.1.37
213
	tracing-attributes-0.1.23
214
	tracing-core-0.1.30
215
	trust-dns-proto-0.22.0
216
	try-lock-0.2.4
217
	typenum-1.16.0
218
	uds_windows-1.0.2
219
	unicode-bidi-0.3.10
220
	unicode-ident-1.0.8
221
	unicode-normalization-0.1.22
222
	unicode-width-0.1.10
223
	url-2.3.1
224
	version_check-0.9.4
225
	waker-fn-1.1.0
226
	walkdir-2.3.2
227
	want-0.3.0
228
	wasi-0.11.0+wasi-snapshot-preview1
229
	wasm-bindgen-0.2.84
230
	wasm-bindgen-backend-0.2.84
231
	wasm-bindgen-macro-0.2.84
232
	wasm-bindgen-macro-support-0.2.84
233
	wasm-bindgen-shared-0.2.84
234
	wepoll-ffi-0.1.2
235
	which-4.4.0
236
	winapi-0.3.9
237
	winapi-i686-pc-windows-gnu-0.4.0
238
	winapi-util-0.1.5
239
	winapi-x86_64-pc-windows-gnu-0.4.0
240
	windows-sys-0.42.0
241
	windows-sys-0.45.0
242
	windows-targets-0.42.1
243
	windows_aarch64_gnullvm-0.42.1
244
	windows_aarch64_msvc-0.42.1
245
	windows_i686_gnu-0.42.1
246
	windows_i686_msvc-0.42.1
247
	windows_x86_64_gnu-0.42.1
248
	windows_x86_64_gnullvm-0.42.1
249
	windows_x86_64_msvc-0.42.1
250
	winnow-0.3.4
251
	zbus-3.11.1
252
	zbus_macros-3.11.1
253
	zbus_names-2.5.0
254
	zvariant-3.11.0
255
	zvariant_derive-3.11.0
256
	zvariant_utils-1.0.0
257
"
6
[[ ${PV} == *9999* ]] || CRATES="${PN}@${PV}"
258 7

  
259
inherit cargo
8
inherit cargo systemd
260 9

  
261 10
DESCRIPTION="A container network stack"
262 11
HOMEPAGE="https://github.com/containers/netavark"
263
SRC_URI="$(cargo_crate_uris)"
264

  
12
if [[ ${PV} == *9999* ]]; then
13
	inherit git-r3
14
	EGIT_REPO_URI="https://github.com/containers/netavark.git"
15
else
16
	SRC_URI="${CARGO_CRATE_URIS} https://github.com/containers/netavark/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz"
17
	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
18
fi
265 19
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD BSD-2 Boost-1.0 MIT Unicode-DFS-2016 Unlicense ZLIB"
266 20
SLOT="0"
267
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
268 21
BDEPEND="dev-go/go-md2man
269 22
	dev-libs/protobuf"
270 23

  
271
QA_FLAGS_IGNORED="usr/bin/${PN}
272
	usr/bin/${PN}-dhcp-proxy-client
24
QA_FLAGS_IGNORED="
25
	usr/libexec/podman/${PN}"
26
QA_PRESTRIPPED="
273 27
	usr/libexec/podman/${PN}"
274 28

  
29
ECARGO_VENDOR="${WORKDIR}/vendor"
30

  
31
src_unpack() {
32
	if [[ ${PV} == *9999* ]]; then
33
		git-r3_src_unpack
34
		cargo_live_src_unpack
35
	else
36
		cargo_src_unpack
37
	fi
38
}
39

  
40
src_prepare() {
41
	default
42
	sed -i -e "s|m0755 bin|m0755 target/$(usex debug debug release)|g;" Makefile || die
43
}
44

  
275 45
src_compile() {
276
	go-md2man -in docs/netavark.1.md -out docs/netavark.1 || die
277 46
	cargo_src_compile
47
	export PREFIX="${EPREFIX}"/usr SYSTEMDDIR="$(systemd_get_systemunitdir)"
48
	emake docs
278 49
}
279 50

  
280 51
src_install() {
281
	cargo_src_install
282
	doman docs/netavark.1
283
	dodir /usr/libexec/podman
284
	ln "${ED}/usr/"{bin,libexec/podman}/netavark || die
52
	default
285 53
}
Спасибо!