diff options
author | Armin Kuster <akuster808@gmail.com> | 2021-07-27 08:06:43 -0700 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2021-07-28 18:21:25 -0700 |
commit | 8db7c65832cf29786d20261318e3230f0919e789 (patch) | |
tree | 79111d29ec15a210a7e3be8b3715431079ee4c25 | |
parent | 32dacb1f8d1ea80df0f886c77234bbb21aa2da14 (diff) | |
download | meta-security-8db7c65832cf29786d20261318e3230f0919e789.tar.gz |
krill: Add new pkg
Signed-off-by: Armin Kuster <akuster808@gmail.com>
3 files changed, 380 insertions, 0 deletions
diff --git a/dynamic-layers/meta-rust/recipes-security/krill/files/panic_workaround.patch b/dynamic-layers/meta-rust/recipes-security/krill/files/panic_workaround.patch new file mode 100644 index 0000000..9b08cb5 --- /dev/null +++ b/dynamic-layers/meta-rust/recipes-security/krill/files/panic_workaround.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Upstream-Status: OE specific | ||
2 | Signed-off-by: Armin Kuster <akuster808@gmail.com> | ||
3 | |||
4 | Index: git/Cargo.toml | ||
5 | =================================================================== | ||
6 | --- git.orig/Cargo.toml | ||
7 | +++ git/Cargo.toml | ||
8 | @@ -71,7 +71,7 @@ static-openssl = [ "openssl/vendored" ] | ||
9 | # Make sure that Krill crashes on panics, rather than losing threads and | ||
10 | # limping on in a bad state. | ||
11 | [profile.release] | ||
12 | -panic = "abort" | ||
13 | +#panic = "abort" | ||
14 | |||
15 | [dev-dependencies] | ||
16 | # for user management | ||
diff --git a/dynamic-layers/meta-rust/recipes-security/krill/krill.inc b/dynamic-layers/meta-rust/recipes-security/krill/krill.inc new file mode 100644 index 0000000..f86468b --- /dev/null +++ b/dynamic-layers/meta-rust/recipes-security/krill/krill.inc | |||
@@ -0,0 +1,325 @@ | |||
1 | # please note if you have entries that do not begin with crate:// | ||
2 | # you must change them to how that package can be fetched | ||
3 | SRC_URI += " \ | ||
4 | crate://crates.io/addr2line/0.14.1 \ | ||
5 | crate://crates.io/adler/1.0.2 \ | ||
6 | crate://crates.io/adler32/1.2.0 \ | ||
7 | crate://crates.io/aho-corasick/0.7.15 \ | ||
8 | crate://crates.io/ansi_term/0.11.0 \ | ||
9 | crate://crates.io/ansi_term/0.12.1 \ | ||
10 | crate://crates.io/arrayref/0.3.6 \ | ||
11 | crate://crates.io/arrayvec/0.5.2 \ | ||
12 | crate://crates.io/ascii-canvas/2.0.0 \ | ||
13 | crate://crates.io/ascii/1.0.0 \ | ||
14 | crate://crates.io/atty/0.2.14 \ | ||
15 | crate://crates.io/autocfg/0.1.7 \ | ||
16 | crate://crates.io/autocfg/1.0.1 \ | ||
17 | crate://crates.io/backtrace/0.3.56 \ | ||
18 | crate://crates.io/base64/0.10.1 \ | ||
19 | crate://crates.io/base64/0.12.3 \ | ||
20 | crate://crates.io/base64/0.13.0 \ | ||
21 | crate://crates.io/basic-cookies/0.1.4 \ | ||
22 | crate://crates.io/bcder/0.5.1 \ | ||
23 | crate://crates.io/bit-set/0.5.2 \ | ||
24 | crate://crates.io/bit-vec/0.6.3 \ | ||
25 | crate://crates.io/bitflags/1.2.1 \ | ||
26 | crate://crates.io/blake2b_simd/0.5.11 \ | ||
27 | crate://crates.io/block-buffer/0.9.0 \ | ||
28 | crate://crates.io/bumpalo/3.6.1 \ | ||
29 | crate://crates.io/byteorder/1.4.3 \ | ||
30 | crate://crates.io/bytes/0.4.12 \ | ||
31 | crate://crates.io/bytes/0.5.6 \ | ||
32 | crate://crates.io/bytes/1.0.1 \ | ||
33 | crate://crates.io/cc/1.0.67 \ | ||
34 | crate://crates.io/cfg-if/0.1.10 \ | ||
35 | crate://crates.io/cfg-if/1.0.0 \ | ||
36 | crate://crates.io/chrono/0.4.19 \ | ||
37 | crate://crates.io/chunked_transfer/1.4.0 \ | ||
38 | crate://crates.io/cipher/0.2.5 \ | ||
39 | crate://crates.io/clap/2.33.3 \ | ||
40 | crate://crates.io/clokwerk/0.3.4 \ | ||
41 | crate://crates.io/cloudabi/0.0.3 \ | ||
42 | crate://crates.io/constant_time_eq/0.1.5 \ | ||
43 | crate://crates.io/cookie/0.12.0 \ | ||
44 | crate://crates.io/cookie_store/0.7.0 \ | ||
45 | crate://crates.io/core-foundation-sys/0.8.2 \ | ||
46 | crate://crates.io/core-foundation/0.9.1 \ | ||
47 | crate://crates.io/cpuid-bool/0.1.2 \ | ||
48 | crate://crates.io/crc32fast/1.2.1 \ | ||
49 | crate://crates.io/crossbeam-deque/0.7.3 \ | ||
50 | crate://crates.io/crossbeam-epoch/0.8.2 \ | ||
51 | crate://crates.io/crossbeam-queue/0.2.3 \ | ||
52 | crate://crates.io/crossbeam-utils/0.7.2 \ | ||
53 | crate://crates.io/crossbeam-utils/0.8.3 \ | ||
54 | crate://crates.io/crunchy/0.2.2 \ | ||
55 | crate://crates.io/crypto-mac/0.10.0 \ | ||
56 | crate://crates.io/ctrlc/3.1.9 \ | ||
57 | crate://crates.io/deunicode/0.4.3 \ | ||
58 | crate://crates.io/diff/0.1.12 \ | ||
59 | crate://crates.io/digest/0.9.0 \ | ||
60 | crate://crates.io/dirs/1.0.5 \ | ||
61 | crate://crates.io/dtoa/0.4.8 \ | ||
62 | crate://crates.io/either/1.6.1 \ | ||
63 | crate://crates.io/ena/0.14.0 \ | ||
64 | crate://crates.io/encoding_rs/0.8.28 \ | ||
65 | crate://crates.io/error-chain/0.11.0 \ | ||
66 | crate://crates.io/failure/0.1.8 \ | ||
67 | crate://crates.io/failure_derive/0.1.8 \ | ||
68 | crate://crates.io/fern/0.5.9 \ | ||
69 | crate://crates.io/fixedbitset/0.2.0 \ | ||
70 | crate://crates.io/flate2/1.0.20 \ | ||
71 | crate://crates.io/fnv/1.0.7 \ | ||
72 | crate://crates.io/foreign-types-shared/0.1.1 \ | ||
73 | crate://crates.io/foreign-types/0.3.2 \ | ||
74 | crate://crates.io/form_urlencoded/1.0.1 \ | ||
75 | crate://crates.io/fuchsia-cprng/0.1.1 \ | ||
76 | crate://crates.io/fuchsia-zircon-sys/0.3.3 \ | ||
77 | crate://crates.io/fuchsia-zircon/0.3.3 \ | ||
78 | crate://crates.io/futures-channel/0.3.14 \ | ||
79 | crate://crates.io/futures-core/0.3.14 \ | ||
80 | crate://crates.io/futures-cpupool/0.1.8 \ | ||
81 | crate://crates.io/futures-executor/0.3.14 \ | ||
82 | crate://crates.io/futures-io/0.3.14 \ | ||
83 | crate://crates.io/futures-macro/0.3.14 \ | ||
84 | crate://crates.io/futures-sink/0.3.14 \ | ||
85 | crate://crates.io/futures-task/0.3.14 \ | ||
86 | crate://crates.io/futures-util/0.3.14 \ | ||
87 | crate://crates.io/futures/0.1.31 \ | ||
88 | crate://crates.io/futures/0.3.14 \ | ||
89 | crate://crates.io/generic-array/0.14.4 \ | ||
90 | crate://crates.io/getrandom/0.1.16 \ | ||
91 | crate://crates.io/getrandom/0.2.2 \ | ||
92 | crate://crates.io/gimli/0.23.0 \ | ||
93 | crate://crates.io/h2/0.1.26 \ | ||
94 | crate://crates.io/h2/0.2.7 \ | ||
95 | crate://crates.io/hashbrown/0.9.1 \ | ||
96 | crate://crates.io/hermit-abi/0.1.18 \ | ||
97 | crate://crates.io/hex/0.4.3 \ | ||
98 | crate://crates.io/hmac/0.10.1 \ | ||
99 | crate://crates.io/http-body/0.1.0 \ | ||
100 | crate://crates.io/http-body/0.3.1 \ | ||
101 | crate://crates.io/http/0.1.21 \ | ||
102 | crate://crates.io/http/0.2.4 \ | ||
103 | crate://crates.io/httparse/1.3.6 \ | ||
104 | crate://crates.io/httpdate/0.3.2 \ | ||
105 | crate://crates.io/hyper-tls/0.3.2 \ | ||
106 | crate://crates.io/hyper-tls/0.4.3 \ | ||
107 | crate://crates.io/hyper/0.12.36 \ | ||
108 | crate://crates.io/hyper/0.13.10 \ | ||
109 | crate://crates.io/idna/0.1.5 \ | ||
110 | crate://crates.io/idna/0.2.2 \ | ||
111 | crate://crates.io/impl-trait-for-tuples/0.2.1 \ | ||
112 | crate://crates.io/indexmap/1.6.2 \ | ||
113 | crate://crates.io/intervaltree/0.2.6 \ | ||
114 | crate://crates.io/iovec/0.1.4 \ | ||
115 | crate://crates.io/ipnet/2.3.0 \ | ||
116 | crate://crates.io/itertools/0.10.0 \ | ||
117 | crate://crates.io/itertools/0.9.0 \ | ||
118 | crate://crates.io/itoa/0.4.7 \ | ||
119 | crate://crates.io/jmespatch/0.3.0 \ | ||
120 | crate://crates.io/js-sys/0.3.50 \ | ||
121 | crate://crates.io/kernel32-sys/0.2.2 \ | ||
122 | crate://crates.io/lalrpop-util/0.19.5 \ | ||
123 | crate://crates.io/lalrpop/0.19.5 \ | ||
124 | crate://crates.io/lazy_static/1.4.0 \ | ||
125 | crate://crates.io/libc/0.2.93 \ | ||
126 | crate://crates.io/libflate/1.0.4 \ | ||
127 | crate://crates.io/libflate_lz77/1.0.0 \ | ||
128 | crate://crates.io/lock_api/0.3.4 \ | ||
129 | crate://crates.io/log/0.4.14 \ | ||
130 | crate://crates.io/maplit/1.0.2 \ | ||
131 | crate://crates.io/matchers/0.0.1 \ | ||
132 | crate://crates.io/matches/0.1.8 \ | ||
133 | crate://crates.io/maybe-uninit/2.0.0 \ | ||
134 | crate://crates.io/memchr/2.3.4 \ | ||
135 | crate://crates.io/memoffset/0.5.6 \ | ||
136 | crate://crates.io/mime/0.3.16 \ | ||
137 | crate://crates.io/mime_guess/2.0.3 \ | ||
138 | crate://crates.io/miniz_oxide/0.4.4 \ | ||
139 | crate://crates.io/mio/0.6.23 \ | ||
140 | crate://crates.io/miow/0.2.2 \ | ||
141 | crate://crates.io/native-tls/0.2.7 \ | ||
142 | crate://crates.io/net2/0.2.37 \ | ||
143 | crate://crates.io/new_debug_unreachable/1.0.4 \ | ||
144 | crate://crates.io/nix/0.20.0 \ | ||
145 | crate://crates.io/num-integer/0.1.44 \ | ||
146 | crate://crates.io/num-traits/0.2.14 \ | ||
147 | crate://crates.io/num_cpus/1.13.0 \ | ||
148 | crate://crates.io/oauth2/4.0.0 \ | ||
149 | crate://crates.io/object/0.23.0 \ | ||
150 | crate://crates.io/once_cell/1.7.2 \ | ||
151 | crate://crates.io/opaque-debug/0.3.0 \ | ||
152 | crate://crates.io/openidconnect/2.0.0 \ | ||
153 | crate://crates.io/openssl-probe/0.1.2 \ | ||
154 | crate://crates.io/openssl-src/111.15.0+1.1.1k \ | ||
155 | crate://crates.io/openssl-sys/0.9.61 \ | ||
156 | crate://crates.io/openssl/0.10.33 \ | ||
157 | crate://crates.io/ordered-float/1.1.1 \ | ||
158 | crate://crates.io/oso/0.12.0 \ | ||
159 | crate://crates.io/parking_lot/0.9.0 \ | ||
160 | crate://crates.io/parking_lot_core/0.6.2 \ | ||
161 | crate://crates.io/pbkdf2/0.7.5 \ | ||
162 | crate://crates.io/percent-encoding/1.0.1 \ | ||
163 | crate://crates.io/percent-encoding/2.1.0 \ | ||
164 | crate://crates.io/petgraph/0.5.1 \ | ||
165 | crate://crates.io/phf_shared/0.8.0 \ | ||
166 | crate://crates.io/pico-args/0.4.0 \ | ||
167 | crate://crates.io/pin-project-internal/1.0.6 \ | ||
168 | crate://crates.io/pin-project-lite/0.1.12 \ | ||
169 | crate://crates.io/pin-project-lite/0.2.6 \ | ||
170 | crate://crates.io/pin-project/1.0.6 \ | ||
171 | crate://crates.io/pin-utils/0.1.0 \ | ||
172 | crate://crates.io/pkg-config/0.3.19 \ | ||
173 | crate://crates.io/polar-core/0.12.0 \ | ||
174 | crate://crates.io/ppv-lite86/0.2.10 \ | ||
175 | crate://crates.io/precomputed-hash/0.1.1 \ | ||
176 | crate://crates.io/proc-macro-hack/0.5.19 \ | ||
177 | crate://crates.io/proc-macro-nested/0.1.7 \ | ||
178 | crate://crates.io/proc-macro2/1.0.26 \ | ||
179 | crate://crates.io/publicsuffix/1.5.6 \ | ||
180 | crate://crates.io/quick-xml/0.19.0 \ | ||
181 | crate://crates.io/quote/1.0.9 \ | ||
182 | crate://crates.io/rand/0.6.5 \ | ||
183 | crate://crates.io/rand/0.7.3 \ | ||
184 | crate://crates.io/rand/0.8.3 \ | ||
185 | crate://crates.io/rand_chacha/0.1.1 \ | ||
186 | crate://crates.io/rand_chacha/0.2.2 \ | ||
187 | crate://crates.io/rand_chacha/0.3.0 \ | ||
188 | crate://crates.io/rand_core/0.3.1 \ | ||
189 | crate://crates.io/rand_core/0.4.2 \ | ||
190 | crate://crates.io/rand_core/0.5.1 \ | ||
191 | crate://crates.io/rand_core/0.6.2 \ | ||
192 | crate://crates.io/rand_hc/0.1.0 \ | ||
193 | crate://crates.io/rand_hc/0.2.0 \ | ||
194 | crate://crates.io/rand_hc/0.3.0 \ | ||
195 | crate://crates.io/rand_isaac/0.1.1 \ | ||
196 | crate://crates.io/rand_jitter/0.1.4 \ | ||
197 | crate://crates.io/rand_os/0.1.3 \ | ||
198 | crate://crates.io/rand_pcg/0.1.2 \ | ||
199 | crate://crates.io/rand_xorshift/0.1.1 \ | ||
200 | crate://crates.io/rdrand/0.4.0 \ | ||
201 | crate://crates.io/redox_syscall/0.1.57 \ | ||
202 | crate://crates.io/redox_syscall/0.2.5 \ | ||
203 | crate://crates.io/redox_users/0.3.5 \ | ||
204 | crate://crates.io/regex-automata/0.1.9 \ | ||
205 | crate://crates.io/regex-syntax/0.6.23 \ | ||
206 | crate://crates.io/regex/1.4.5 \ | ||
207 | crate://crates.io/remove_dir_all/0.5.3 \ | ||
208 | crate://crates.io/reqwest/0.10.10 \ | ||
209 | crate://crates.io/reqwest/0.9.24 \ | ||
210 | crate://crates.io/ring/0.16.20 \ | ||
211 | crate://crates.io/rle-decode-fast/1.0.1 \ | ||
212 | crate://crates.io/rpassword/5.0.1 \ | ||
213 | crate://crates.io/rpki/0.10.1 \ | ||
214 | crate://crates.io/rust-argon2/0.8.3 \ | ||
215 | crate://crates.io/rustc-demangle/0.1.18 \ | ||
216 | crate://crates.io/rustc_version/0.2.3 \ | ||
217 | crate://crates.io/rustls/0.18.1 \ | ||
218 | crate://crates.io/ryu/1.0.5 \ | ||
219 | crate://crates.io/salsa20/0.7.2 \ | ||
220 | crate://crates.io/schannel/0.1.19 \ | ||
221 | crate://crates.io/scopeguard/1.1.0 \ | ||
222 | crate://crates.io/scrypt/0.6.5 \ | ||
223 | crate://crates.io/sct/0.6.1 \ | ||
224 | crate://crates.io/security-framework-sys/2.2.0 \ | ||
225 | crate://crates.io/security-framework/2.2.0 \ | ||
226 | crate://crates.io/semver-parser/0.7.0 \ | ||
227 | crate://crates.io/semver/0.9.0 \ | ||
228 | crate://crates.io/serde-value/0.6.0 \ | ||
229 | crate://crates.io/serde/1.0.125 \ | ||
230 | crate://crates.io/serde_derive/1.0.125 \ | ||
231 | crate://crates.io/serde_json/1.0.64 \ | ||
232 | crate://crates.io/serde_path_to_error/0.1.4 \ | ||
233 | crate://crates.io/serde_urlencoded/0.5.5 \ | ||
234 | crate://crates.io/serde_urlencoded/0.7.0 \ | ||
235 | crate://crates.io/sha2/0.9.3 \ | ||
236 | crate://crates.io/sharded-slab/0.1.1 \ | ||
237 | crate://crates.io/siphasher/0.3.5 \ | ||
238 | crate://crates.io/slab/0.4.2 \ | ||
239 | crate://crates.io/slug/0.1.4 \ | ||
240 | crate://crates.io/smallvec/0.6.14 \ | ||
241 | crate://crates.io/smallvec/1.6.1 \ | ||
242 | crate://crates.io/socket2/0.3.19 \ | ||
243 | crate://crates.io/spin/0.5.2 \ | ||
244 | crate://crates.io/string/0.2.1 \ | ||
245 | crate://crates.io/string_cache/0.8.1 \ | ||
246 | crate://crates.io/strsim/0.8.0 \ | ||
247 | crate://crates.io/subtle/2.4.0 \ | ||
248 | crate://crates.io/syn/1.0.69 \ | ||
249 | crate://crates.io/synstructure/0.12.4 \ | ||
250 | crate://crates.io/syslog/4.0.1 \ | ||
251 | crate://crates.io/tempfile/3.2.0 \ | ||
252 | crate://crates.io/term/0.5.2 \ | ||
253 | crate://crates.io/textwrap/0.11.0 \ | ||
254 | crate://crates.io/thiserror-impl/1.0.24 \ | ||
255 | crate://crates.io/thiserror/1.0.24 \ | ||
256 | crate://crates.io/thread_local/1.1.3 \ | ||
257 | crate://crates.io/time/0.1.44 \ | ||
258 | crate://crates.io/tiny-keccak/2.0.2 \ | ||
259 | crate://crates.io/tiny_http/0.8.0 \ | ||
260 | crate://crates.io/tinyvec/1.2.0 \ | ||
261 | crate://crates.io/tinyvec_macros/0.1.0 \ | ||
262 | crate://crates.io/tokio-buf/0.1.1 \ | ||
263 | crate://crates.io/tokio-current-thread/0.1.7 \ | ||
264 | crate://crates.io/tokio-executor/0.1.10 \ | ||
265 | crate://crates.io/tokio-io/0.1.13 \ | ||
266 | crate://crates.io/tokio-macros/0.2.6 \ | ||
267 | crate://crates.io/tokio-reactor/0.1.12 \ | ||
268 | crate://crates.io/tokio-rustls/0.14.1 \ | ||
269 | crate://crates.io/tokio-sync/0.1.8 \ | ||
270 | crate://crates.io/tokio-tcp/0.1.4 \ | ||
271 | crate://crates.io/tokio-threadpool/0.1.18 \ | ||
272 | crate://crates.io/tokio-timer/0.2.13 \ | ||
273 | crate://crates.io/tokio-tls/0.3.1 \ | ||
274 | crate://crates.io/tokio-util/0.3.1 \ | ||
275 | crate://crates.io/tokio/0.1.22 \ | ||
276 | crate://crates.io/tokio/0.2.25 \ | ||
277 | crate://crates.io/toml/0.5.8 \ | ||
278 | crate://crates.io/tower-service/0.3.1 \ | ||
279 | crate://crates.io/tracing-attributes/0.1.15 \ | ||
280 | crate://crates.io/tracing-core/0.1.17 \ | ||
281 | crate://crates.io/tracing-futures/0.2.5 \ | ||
282 | crate://crates.io/tracing-log/0.1.2 \ | ||
283 | crate://crates.io/tracing-serde/0.1.2 \ | ||
284 | crate://crates.io/tracing-subscriber/0.2.17 \ | ||
285 | crate://crates.io/tracing/0.1.25 \ | ||
286 | crate://crates.io/try-lock/0.2.3 \ | ||
287 | crate://crates.io/try_from/0.3.2 \ | ||
288 | crate://crates.io/typenum/1.13.0 \ | ||
289 | crate://crates.io/unicase/2.6.0 \ | ||
290 | crate://crates.io/unicode-bidi/0.3.5 \ | ||
291 | crate://crates.io/unicode-normalization/0.1.17 \ | ||
292 | crate://crates.io/unicode-width/0.1.8 \ | ||
293 | crate://crates.io/unicode-xid/0.2.1 \ | ||
294 | crate://crates.io/untrusted/0.7.1 \ | ||
295 | crate://crates.io/unwrap/1.2.1 \ | ||
296 | crate://crates.io/url/1.7.2 \ | ||
297 | crate://crates.io/url/2.2.1 \ | ||
298 | crate://crates.io/urlparse/0.7.3 \ | ||
299 | crate://crates.io/uuid/0.7.4 \ | ||
300 | crate://crates.io/uuid/0.8.2 \ | ||
301 | crate://crates.io/vcpkg/0.2.11 \ | ||
302 | crate://crates.io/vec_map/0.8.2 \ | ||
303 | crate://crates.io/version_check/0.9.3 \ | ||
304 | crate://crates.io/want/0.2.0 \ | ||
305 | crate://crates.io/want/0.3.0 \ | ||
306 | crate://crates.io/wasi/0.10.0+wasi-snapshot-preview1 \ | ||
307 | crate://crates.io/wasi/0.9.0+wasi-snapshot-preview1 \ | ||
308 | crate://crates.io/wasm-bindgen-backend/0.2.73 \ | ||
309 | crate://crates.io/wasm-bindgen-futures/0.4.23 \ | ||
310 | crate://crates.io/wasm-bindgen-macro-support/0.2.73 \ | ||
311 | crate://crates.io/wasm-bindgen-macro/0.2.73 \ | ||
312 | crate://crates.io/wasm-bindgen-shared/0.2.73 \ | ||
313 | crate://crates.io/wasm-bindgen/0.2.73 \ | ||
314 | crate://crates.io/web-sys/0.3.50 \ | ||
315 | crate://crates.io/webpki/0.21.4 \ | ||
316 | crate://crates.io/winapi-build/0.1.1 \ | ||
317 | crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ | ||
318 | crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ | ||
319 | crate://crates.io/winapi/0.2.8 \ | ||
320 | crate://crates.io/winapi/0.3.9 \ | ||
321 | crate://crates.io/winreg/0.6.2 \ | ||
322 | crate://crates.io/winreg/0.7.0 \ | ||
323 | crate://crates.io/ws2_32-sys/0.2.1 \ | ||
324 | crate://crates.io/xml-rs/0.8.3 \ | ||
325 | " | ||
diff --git a/dynamic-layers/meta-rust/recipes-security/krill/krill_0.9.1.bb b/dynamic-layers/meta-rust/recipes-security/krill/krill_0.9.1.bb new file mode 100644 index 0000000..2671ae8 --- /dev/null +++ b/dynamic-layers/meta-rust/recipes-security/krill/krill_0.9.1.bb | |||
@@ -0,0 +1,39 @@ | |||
1 | SUMMARY = "Resource Public Key Infrastructure (RPKI) daemon" | ||
2 | HOMEPAGE = "https://www.nlnetlabs.nl/projects/rpki/krill/" | ||
3 | LICENSE = "MPL-2.0" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=9741c346eef56131163e13b9db1241b3" | ||
5 | |||
6 | DEPENDS = "openssl" | ||
7 | |||
8 | include krill.inc | ||
9 | |||
10 | # SRC_URI += "crate://crates.io/krill/0.9.1" | ||
11 | SRC_URI += "git://github.com/NLnetLabs/krill.git;protocol=https;nobranch=1;branch=main" | ||
12 | SRCREV = "d6c03b6f0199b1d10d252750a19a92b84576eb30" | ||
13 | |||
14 | SRC_URI += "file://panic_workaround.patch" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | CARGO_SRC_DIR = "" | ||
18 | |||
19 | inherit pkgconfig useradd systemd cargo | ||
20 | |||
21 | |||
22 | do_install_append () { | ||
23 | install -d ${D}${sysconfdir} | ||
24 | install -d ${D}${datadir}/krill | ||
25 | |||
26 | install -m 664 ${S}/defaults/krill.conf ${D}${sysconfdir}/. | ||
27 | install ${S}/defaults/* ${D}${datadir}/krill/. | ||
28 | } | ||
29 | |||
30 | KRILL_UID ?= "krill" | ||
31 | KRILL_GID ?= "krill" | ||
32 | |||
33 | USERADD_PACKAGES = "${PN}" | ||
34 | GROUPADD_PARAM_${PN} = "--system ${KRILL_UID}" | ||
35 | USERADD_PARAM_${PN} = "--system -g ${KRILL_GID} --home-dir \ | ||
36 | /var/lib/krill/ --no-create-home \ | ||
37 | --shell /sbin/nologin ${BPN}" | ||
38 | |||
39 | FILES_${PN} += "{sysconfdir}/defaults ${datadir}" | ||