Diff aardvark-dns-1.8.0 with a aardvark-dns-1.8.0-r1

/usr/portage/app-containers/aardvark-dns/aardvark-dns-1.8.0-r1.ebuild 2023-10-09 14:52:28.216368318 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
CRATES="
7
	addr2line@0.21.0
8
	adler@1.0.2
9
	android-tzdata@0.1.1
10
	android_system_properties@0.1.5
11
	anstream@0.3.2
12
	anstyle-parse@0.2.1
13
	anstyle-query@1.0.0
14
	anstyle-wincon@1.0.2
15
	anstyle@1.0.2
16
	anyhow@1.0.75
17
	async-broadcast@0.5.1
18
	async-trait@0.1.73
19
	autocfg@1.1.0
20
	backtrace@0.3.69
21
	bitflags@2.4.0
22
	bumpalo@3.14.0
23
	bytes@1.5.0
24
	cc@1.0.83
25
	cfg-if@1.0.0
26
	chrono@0.4.31
27
	clap@4.3.24
28
	clap_builder@4.3.24
29
	clap_derive@4.3.12
30
	clap_lex@0.5.0
31
	colorchoice@1.0.0
32
	core-foundation-sys@0.8.4
33
	data-encoding@2.4.0
34
	drain@0.1.1
35
	endian-type@0.1.2
36
	enum-as-inner@0.6.0
37
	equivalent@1.0.1
38
	errno-dragonfly@0.1.2
39
	errno@0.3.3
40
	error-chain@0.12.4
41
	event-listener@2.5.3
42
	form_urlencoded@1.2.0
43
	futures-channel@0.3.28
44
	futures-core@0.3.28
45
	futures-executor@0.3.28
46
	futures-io@0.3.28
47
	futures-task@0.3.28
48
	futures-util@0.3.28
49
	getrandom@0.2.10
50
	gimli@0.28.0
51
	hashbrown@0.14.0
52
	heck@0.4.1
53
	hermit-abi@0.3.3
54
	hostname@0.3.1
55
	iana-time-zone-haiku@0.1.2
56
	iana-time-zone@0.1.57
57
	idna@0.4.0
58
	indexmap@2.0.0
59
	ipnet@2.8.0
60
	is-terminal@0.4.9
61
	itoa@1.0.9
62
	js-sys@0.3.64
63
	libc@0.2.148
64
	linux-raw-sys@0.4.7
65
	log@0.4.20
66
	match_cfg@0.1.0
67
	memchr@2.6.3
68
	miniz_oxide@0.7.1
69
	mio@0.8.8
70
	nibble_vec@0.1.0
71
	nix@0.27.1
72
	num-traits@0.2.16
73
	num_cpus@1.16.0
74
	num_threads@0.1.6
75
	object@0.32.1
76
	once_cell@1.18.0
77
	percent-encoding@2.3.0
78
	pin-project-lite@0.2.13
79
	pin-utils@0.1.0
80
	ppv-lite86@0.2.17
81
	proc-macro2@1.0.67
82
	quick-error@1.2.3
83
	quote@1.0.33
84
	radix_trie@0.2.1
85
	rand@0.8.5
86
	rand_chacha@0.3.1
87
	rand_core@0.6.4
88
	resolv-conf@0.7.0
89
	rustc-demangle@0.1.23
90
	rustix@0.38.14
91
	serde@1.0.188
92
	serde_derive@1.0.188
93
	serde_spanned@0.6.3
94
	signal-hook-registry@1.4.1
95
	signal-hook@0.3.17
96
	slab@0.4.9
97
	smallvec@1.11.1
98
	socket2@0.5.4
99
	strsim@0.10.0
100
	syn@2.0.37
101
	syslog@6.1.0
102
	thiserror-impl@1.0.48
103
	thiserror@1.0.48
104
	time-core@0.1.1
105
	time-macros@0.2.10
106
	time@0.3.23
107
	tinyvec@1.6.0
108
	tinyvec_macros@0.1.1
109
	tokio-macros@2.1.0
110
	tokio@1.32.0
111
	toml@0.7.8
112
	toml_datetime@0.6.3
113
	toml_edit@0.19.15
114
	tracing-attributes@0.1.26
115
	tracing-core@0.1.31
116
	tracing@0.1.37
117
	trust-dns-client@0.23.0
118
	trust-dns-proto@0.23.0
119
	trust-dns-server@0.23.0
120
	unicode-bidi@0.3.13
121
	unicode-ident@1.0.12
122
	unicode-normalization@0.1.22
123
	url@2.4.1
124
	utf8parse@0.2.1
125
	version_check@0.9.4
126
	wasi@0.11.0+wasi-snapshot-preview1
127
	wasm-bindgen-backend@0.2.87
128
	wasm-bindgen-macro-support@0.2.87
129
	wasm-bindgen-macro@0.2.87
130
	wasm-bindgen-shared@0.2.87
131
	wasm-bindgen@0.2.87
132
	winapi-i686-pc-windows-gnu@0.4.0
133
	winapi-x86_64-pc-windows-gnu@0.4.0
134
	winapi@0.3.9
135
	windows-sys@0.48.0
136
	windows-targets@0.48.5
137
	windows@0.48.0
138
	windows_aarch64_gnullvm@0.48.5
139
	windows_aarch64_msvc@0.48.5
140
	windows_i686_gnu@0.48.5
141
	windows_i686_msvc@0.48.5
142
	windows_x86_64_gnu@0.48.5
143
	windows_x86_64_gnullvm@0.48.5
144
	windows_x86_64_msvc@0.48.5
145
	winnow@0.5.15
146
"
147
CRATES+="${PN}@1.8.0"
6
[[ ${PV} == *9999* ]] || CRATES="${PN}@${PV}"
148 7
inherit cargo
149 8

  
150 9
DESCRIPTION="A container-focused DNS server"
......
154 13
	EGIT_REPO_URI="https://github.com/containers/aardvark-dns.git"
155 14
else
156 15
	SRC_URI="${CARGO_CRATE_URIS}"
16
	SRC_URI+="https://github.com/containers/aardvark-dns/releases/download/v${PV}/${PN}-v${PV}-vendor.tar.gz"
157 17
	KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
158 18
fi
159 19
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB"
160 20
SLOT="0"
161
QA_FLAGS_IGNORED="usr/bin/${PN}"
21
QA_FLAGS_IGNORED="usr/libexec/podman/${PN}"
22
QA_PRESTRIPPED="usr/libexec/podman/${PN}"
23
ECARGO_VENDOR="${WORKDIR}/vendor"
162 24

  
163 25
src_unpack() {
164 26
	if [[ ${PV} == *9999* ]]; then
......
169 31
	fi
170 32
}
171 33

  
34
src_prepare() {
35
	default
36
	sed -i -e "s|m0755 bin|m0755 target/$(usex debug debug release)|g;" Makefile || die
37
}
38

  
172 39
src_install() {
173
	cargo_src_install
174
	dodir /usr/libexec/podman
175
	dosym -r /usr/bin/"${PN}" /usr/libexec/podman/"${PN}"
40
	export PREFIX="${EPREFIX}"/usr
41
	default
176 42
}
Thank you!