4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
6 |
CRATES="
|
7 |
|
aardvark-dns-1.6.0
|
8 |
|
android_system_properties-0.1.5
|
9 |
|
anyhow-1.0.70
|
10 |
|
async-broadcast-0.5.1
|
11 |
|
async-trait-0.1.56
|
12 |
|
atty-0.2.14
|
13 |
|
autocfg-1.1.0
|
14 |
|
bitflags-1.3.2
|
15 |
|
bumpalo-3.10.0
|
16 |
|
bytes-1.1.0
|
17 |
|
cc-1.0.76
|
18 |
|
cfg-if-1.0.0
|
19 |
|
chrono-0.4.24
|
20 |
|
clap-3.2.23
|
21 |
|
clap_derive-3.2.18
|
22 |
|
clap_lex-0.2.4
|
23 |
|
codespan-reporting-0.11.1
|
24 |
|
core-foundation-sys-0.8.3
|
25 |
|
cxx-1.0.81
|
26 |
|
cxx-build-1.0.81
|
27 |
|
cxxbridge-flags-1.0.81
|
28 |
|
cxxbridge-macro-1.0.81
|
29 |
|
data-encoding-2.3.2
|
30 |
|
endian-type-0.1.2
|
31 |
|
enum-as-inner-0.5.1
|
32 |
|
error-chain-0.12.4
|
33 |
|
event-listener-2.5.2
|
34 |
|
form_urlencoded-1.0.1
|
35 |
|
futures-channel-0.3.21
|
36 |
|
futures-core-0.3.28
|
37 |
|
futures-executor-0.3.21
|
38 |
|
futures-io-0.3.21
|
39 |
|
futures-task-0.3.28
|
40 |
|
futures-util-0.3.28
|
41 |
|
getrandom-0.2.7
|
42 |
|
hashbrown-0.12.2
|
43 |
|
heck-0.4.0
|
44 |
|
hermit-abi-0.1.19
|
45 |
|
hostname-0.3.1
|
46 |
|
iana-time-zone-0.1.53
|
47 |
|
iana-time-zone-haiku-0.1.1
|
48 |
|
idna-0.2.3
|
49 |
|
indexmap-1.9.1
|
50 |
|
ipnet-2.5.0
|
51 |
|
itoa-1.0.2
|
52 |
|
js-sys-0.3.59
|
53 |
|
lazy_static-1.4.0
|
54 |
|
libc-0.2.140
|
55 |
|
link-cplusplus-1.0.7
|
56 |
|
log-0.4.17
|
57 |
|
match_cfg-0.1.0
|
58 |
|
matches-0.1.9
|
59 |
|
memoffset-0.7.1
|
60 |
|
mio-0.8.4
|
61 |
|
nibble_vec-0.1.0
|
62 |
|
nix-0.26.2
|
63 |
|
num-integer-0.1.45
|
64 |
|
num-traits-0.2.15
|
65 |
|
num_cpus-1.13.1
|
66 |
|
num_threads-0.1.6
|
67 |
|
once_cell-1.13.0
|
68 |
|
os_str_bytes-6.1.0
|
69 |
|
percent-encoding-2.1.0
|
70 |
|
pin-project-lite-0.2.9
|
71 |
|
pin-utils-0.1.0
|
72 |
|
ppv-lite86-0.2.16
|
73 |
|
proc-macro-error-1.0.4
|
74 |
|
proc-macro-error-attr-1.0.4
|
75 |
|
proc-macro2-1.0.54
|
76 |
|
quick-error-1.2.3
|
77 |
|
quote-1.0.26
|
78 |
|
radix_trie-0.2.1
|
79 |
|
rand-0.8.5
|
80 |
|
rand_chacha-0.3.1
|
81 |
|
rand_core-0.6.3
|
82 |
|
resolv-conf-0.7.0
|
83 |
|
scratch-1.0.2
|
84 |
|
serde-1.0.139
|
85 |
|
serde_derive-1.0.139
|
86 |
|
signal-hook-0.3.15
|
87 |
|
signal-hook-registry-1.4.0
|
88 |
|
slab-0.4.6
|
89 |
|
smallvec-1.9.0
|
90 |
|
socket2-0.4.9
|
91 |
|
static_assertions-1.1.0
|
92 |
|
strsim-0.10.0
|
93 |
|
syn-1.0.98
|
94 |
|
syn-2.0.12
|
95 |
|
syslog-6.0.1
|
96 |
|
termcolor-1.1.3
|
97 |
|
textwrap-0.16.0
|
98 |
|
thiserror-1.0.31
|
99 |
|
thiserror-impl-1.0.31
|
100 |
|
time-0.1.44
|
101 |
|
time-0.3.11
|
102 |
|
tinyvec-1.6.0
|
103 |
|
tinyvec_macros-0.1.0
|
104 |
|
tokio-1.27.0
|
105 |
|
tokio-macros-2.0.0
|
106 |
|
toml-0.5.9
|
107 |
|
tracing-0.1.36
|
108 |
|
tracing-attributes-0.1.22
|
109 |
|
tracing-core-0.1.29
|
110 |
|
trust-dns-client-0.22.0
|
111 |
|
trust-dns-proto-0.22.0
|
112 |
|
trust-dns-server-0.22.0
|
113 |
|
unicode-bidi-0.3.8
|
114 |
|
unicode-ident-1.0.1
|
115 |
|
unicode-normalization-0.1.21
|
116 |
|
unicode-width-0.1.10
|
117 |
|
url-2.2.2
|
118 |
|
version_check-0.9.4
|
119 |
|
wasi-0.10.0+wasi-snapshot-preview1
|
120 |
|
wasi-0.11.0+wasi-snapshot-preview1
|
121 |
|
wasm-bindgen-0.2.82
|
122 |
|
wasm-bindgen-backend-0.2.82
|
123 |
|
wasm-bindgen-macro-0.2.82
|
124 |
|
wasm-bindgen-macro-support-0.2.82
|
125 |
|
wasm-bindgen-shared-0.2.82
|
126 |
|
winapi-0.3.9
|
127 |
|
winapi-i686-pc-windows-gnu-0.4.0
|
128 |
|
winapi-util-0.1.5
|
129 |
|
winapi-x86_64-pc-windows-gnu-0.4.0
|
130 |
|
windows-sys-0.36.1
|
131 |
|
windows-sys-0.45.0
|
132 |
|
windows-targets-0.42.1
|
133 |
|
windows_aarch64_gnullvm-0.42.1
|
134 |
|
windows_aarch64_msvc-0.36.1
|
135 |
|
windows_aarch64_msvc-0.42.1
|
136 |
|
windows_i686_gnu-0.36.1
|
137 |
|
windows_i686_gnu-0.42.1
|
138 |
|
windows_i686_msvc-0.36.1
|
139 |
|
windows_i686_msvc-0.42.1
|
140 |
|
windows_x86_64_gnu-0.36.1
|
141 |
|
windows_x86_64_gnu-0.42.1
|
142 |
|
windows_x86_64_gnullvm-0.42.1
|
143 |
|
windows_x86_64_msvc-0.36.1
|
144 |
|
windows_x86_64_msvc-0.42.1
|
|
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
|
145 |
146 |
"
|
146 |
|
|
|
147 |
CRATES+="${PN}@1.8.0"
|
147 |
148 |
inherit cargo
|
148 |
149 |
|
149 |
150 |
DESCRIPTION="A container-focused DNS server"
|
150 |
151 |
HOMEPAGE="https://github.com/containers/aardvark-dns"
|
151 |
|
SRC_URI="$(cargo_crate_uris)"
|
152 |
|
|
153 |
|
LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense ZLIB"
|
|
152 |
if [[ ${PV} == *9999* ]]; then
|
|
153 |
inherit git-r3
|
|
154 |
EGIT_REPO_URI="https://github.com/containers/aardvark-dns.git"
|
|
155 |
else
|
|
156 |
SRC_URI="${CARGO_CRATE_URIS}"
|
|
157 |
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
|
158 |
fi
|
|
159 |
LICENSE="0BSD Apache-2.0 Apache-2.0-with-LLVM-exceptions MIT Unlicense Unicode-DFS-2016 ZLIB"
|
154 |
160 |
SLOT="0"
|
155 |
|
KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv"
|
|
161 |
QA_FLAGS_IGNORED="usr/bin/${PN}"
|
156 |
162 |
|
157 |
|
QA_FLAGS_IGNORED="usr/bin/${PN}
|
158 |
|
/usr/libexec/podman/${PN}"
|
|
163 |
src_unpack() {
|
|
164 |
if [[ ${PV} == *9999* ]]; then
|
|
165 |
git-r3_src_unpack
|
|
166 |
cargo_live_src_unpack
|
|
167 |
else
|
|
168 |
cargo_src_unpack
|
|
169 |
fi
|
|
170 |
}
|
159 |
171 |
|
160 |
172 |
src_install() {
|
161 |
173 |
cargo_src_install
|
162 |
174 |
dodir /usr/libexec/podman
|
163 |
|
ln "${ED}/usr/"{bin,libexec/podman}/${PN} || die
|
|
175 |
dosym -r /usr/bin/"${PN}" /usr/libexec/podman/"${PN}"
|
164 |
176 |
}
|