diff options
Diffstat (limited to 'recipes-containers')
160 files changed, 12533 insertions, 3012 deletions
diff --git a/recipes-containers/aardvark-dns/aardvark-dns-crates.inc b/recipes-containers/aardvark-dns/aardvark-dns-crates.inc new file mode 100644 index 00000000..55c2f308 --- /dev/null +++ b/recipes-containers/aardvark-dns/aardvark-dns-crates.inc @@ -0,0 +1,286 @@ +# Autogenerated with 'bitbake -c update_crates aardvark-dns' + +# from Cargo.lock +SRC_URI += " \ + crate://crates.io/addr2line/0.21.0 \ + crate://crates.io/adler/1.0.2 \ + crate://crates.io/android-tzdata/0.1.1 \ + crate://crates.io/android_system_properties/0.1.5 \ + crate://crates.io/anstream/0.6.4 \ + crate://crates.io/anstyle/1.0.4 \ + crate://crates.io/anstyle-parse/0.2.2 \ + crate://crates.io/anstyle-query/1.0.0 \ + crate://crates.io/anstyle-wincon/3.0.1 \ + crate://crates.io/anyhow/1.0.80 \ + crate://crates.io/async-broadcast/0.7.0 \ + crate://crates.io/async-trait/0.1.74 \ + crate://crates.io/autocfg/1.1.0 \ + crate://crates.io/backtrace/0.3.69 \ + crate://crates.io/bitflags/2.4.1 \ + crate://crates.io/bumpalo/3.14.0 \ + crate://crates.io/bytes/1.5.0 \ + crate://crates.io/cc/1.0.83 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono/0.4.34 \ + crate://crates.io/clap/4.4.10 \ + crate://crates.io/clap_builder/4.4.9 \ + crate://crates.io/clap_derive/4.4.7 \ + crate://crates.io/clap_lex/0.6.0 \ + crate://crates.io/colorchoice/1.0.0 \ + crate://crates.io/concurrent-queue/2.3.0 \ + crate://crates.io/core-foundation-sys/0.8.4 \ + crate://crates.io/crossbeam-utils/0.8.16 \ + crate://crates.io/data-encoding/2.4.0 \ + crate://crates.io/deranged/0.3.9 \ + crate://crates.io/endian-type/0.1.2 \ + crate://crates.io/enum-as-inner/0.6.0 \ + crate://crates.io/error-chain/0.12.4 \ + crate://crates.io/event-listener/5.0.0 \ + crate://crates.io/event-listener-strategy/0.5.0 \ + crate://crates.io/form_urlencoded/1.2.0 \ + crate://crates.io/futures-channel/0.3.29 \ + crate://crates.io/futures-core/0.3.30 \ + crate://crates.io/futures-io/0.3.29 \ + crate://crates.io/futures-sink/0.3.29 \ + crate://crates.io/futures-task/0.3.30 \ + crate://crates.io/futures-util/0.3.30 \ + crate://crates.io/getrandom/0.2.11 \ + crate://crates.io/gimli/0.28.0 \ + crate://crates.io/heck/0.4.1 \ + crate://crates.io/hermit-abi/0.3.3 \ + crate://crates.io/hickory-client/0.24.0 \ + crate://crates.io/hickory-proto/0.24.0 \ + crate://crates.io/hickory-server/0.24.0 \ + crate://crates.io/hostname/0.3.1 \ + crate://crates.io/iana-time-zone/0.1.58 \ + crate://crates.io/iana-time-zone-haiku/0.1.2 \ + crate://crates.io/idna/0.4.0 \ + crate://crates.io/ipnet/2.9.0 \ + crate://crates.io/itoa/1.0.9 \ + crate://crates.io/js-sys/0.3.65 \ + crate://crates.io/libc/0.2.150 \ + crate://crates.io/log/0.4.20 \ + crate://crates.io/match_cfg/0.1.0 \ + crate://crates.io/memchr/2.6.4 \ + crate://crates.io/miniz_oxide/0.7.1 \ + crate://crates.io/mio/0.8.9 \ + crate://crates.io/nibble_vec/0.1.0 \ + crate://crates.io/nix/0.27.1 \ + crate://crates.io/num-traits/0.2.17 \ + crate://crates.io/num_cpus/1.16.0 \ + crate://crates.io/num_threads/0.1.6 \ + crate://crates.io/object/0.32.1 \ + crate://crates.io/once_cell/1.18.0 \ + crate://crates.io/parking/2.2.0 \ + crate://crates.io/percent-encoding/2.3.0 \ + crate://crates.io/pin-project-lite/0.2.13 \ + crate://crates.io/pin-utils/0.1.0 \ + crate://crates.io/powerfmt/0.2.0 \ + crate://crates.io/ppv-lite86/0.2.17 \ + crate://crates.io/proc-macro2/1.0.69 \ + crate://crates.io/quick-error/1.2.3 \ + crate://crates.io/quote/1.0.33 \ + crate://crates.io/radix_trie/0.2.1 \ + crate://crates.io/rand/0.8.5 \ + crate://crates.io/rand_chacha/0.3.1 \ + crate://crates.io/rand_core/0.6.4 \ + crate://crates.io/resolv-conf/0.7.0 \ + crate://crates.io/rustc-demangle/0.1.23 \ + crate://crates.io/serde/1.0.192 \ + crate://crates.io/serde_derive/1.0.192 \ + crate://crates.io/signal-hook/0.3.17 \ + crate://crates.io/signal-hook-registry/1.4.1 \ + crate://crates.io/slab/0.4.9 \ + crate://crates.io/smallvec/1.11.2 \ + crate://crates.io/socket2/0.5.5 \ + crate://crates.io/strsim/0.10.0 \ + crate://crates.io/syn/2.0.39 \ + crate://crates.io/syslog/6.1.0 \ + crate://crates.io/thiserror/1.0.50 \ + crate://crates.io/thiserror-impl/1.0.50 \ + crate://crates.io/time/0.3.30 \ + crate://crates.io/time-core/0.1.2 \ + crate://crates.io/time-macros/0.2.15 \ + crate://crates.io/tinyvec/1.6.0 \ + crate://crates.io/tinyvec_macros/0.1.1 \ + crate://crates.io/tokio/1.36.0 \ + crate://crates.io/tokio-macros/2.2.0 \ + crate://crates.io/tokio-util/0.7.10 \ + crate://crates.io/tracing/0.1.40 \ + crate://crates.io/tracing-attributes/0.1.27 \ + crate://crates.io/tracing-core/0.1.32 \ + crate://crates.io/unicode-bidi/0.3.13 \ + crate://crates.io/unicode-ident/1.0.12 \ + crate://crates.io/unicode-normalization/0.1.22 \ + crate://crates.io/url/2.4.1 \ + crate://crates.io/utf8parse/0.2.1 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/wasm-bindgen/0.2.88 \ + crate://crates.io/wasm-bindgen-backend/0.2.88 \ + crate://crates.io/wasm-bindgen-macro/0.2.88 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.88 \ + crate://crates.io/wasm-bindgen-shared/0.2.88 \ + crate://crates.io/winapi/0.3.9 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/windows-core/0.51.1 \ + crate://crates.io/windows-sys/0.48.0 \ + crate://crates.io/windows-targets/0.48.5 \ + crate://crates.io/windows-targets/0.52.0 \ + crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ + crate://crates.io/windows_aarch64_gnullvm/0.52.0 \ + crate://crates.io/windows_aarch64_msvc/0.48.5 \ + crate://crates.io/windows_aarch64_msvc/0.52.0 \ + crate://crates.io/windows_i686_gnu/0.48.5 \ + crate://crates.io/windows_i686_gnu/0.52.0 \ + crate://crates.io/windows_i686_msvc/0.48.5 \ + crate://crates.io/windows_i686_msvc/0.52.0 \ + crate://crates.io/windows_x86_64_gnu/0.48.5 \ + crate://crates.io/windows_x86_64_gnu/0.52.0 \ + crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ + crate://crates.io/windows_x86_64_gnullvm/0.52.0 \ + crate://crates.io/windows_x86_64_msvc/0.48.5 \ + crate://crates.io/windows_x86_64_msvc/0.52.0 \ +" + +SRC_URI[addr2line-0.21.0.sha256sum] = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" +SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +SRC_URI[anstream-0.6.4.sha256sum] = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" +SRC_URI[anstyle-1.0.4.sha256sum] = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +SRC_URI[anstyle-parse-0.2.2.sha256sum] = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +SRC_URI[anstyle-query-1.0.0.sha256sum] = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +SRC_URI[anstyle-wincon-3.0.1.sha256sum] = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +SRC_URI[anyhow-1.0.80.sha256sum] = "5ad32ce52e4161730f7098c077cd2ed6229b5804ccf99e5366be1ab72a98b4e1" +SRC_URI[async-broadcast-0.7.0.sha256sum] = "258b52a1aa741b9f09783b2d86cf0aeeb617bbf847f6933340a39644227acbdb" +SRC_URI[async-trait-0.1.74.sha256sum] = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" +SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +SRC_URI[backtrace-0.3.69.sha256sum] = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +SRC_URI[bitflags-2.4.1.sha256sum] = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +SRC_URI[bumpalo-3.14.0.sha256sum] = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +SRC_URI[bytes-1.5.0.sha256sum] = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +SRC_URI[chrono-0.4.34.sha256sum] = "5bc015644b92d5890fab7489e49d21f879d5c990186827d42ec511919404f38b" +SRC_URI[clap-4.4.10.sha256sum] = "41fffed7514f420abec6d183b1d3acfd9099c79c3a10a06ade4f8203f1411272" +SRC_URI[clap_builder-4.4.9.sha256sum] = "63361bae7eef3771745f02d8d892bec2fee5f6e34af316ba556e7f97a7069ff1" +SRC_URI[clap_derive-4.4.7.sha256sum] = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +SRC_URI[clap_lex-0.6.0.sha256sum] = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +SRC_URI[concurrent-queue-2.3.0.sha256sum] = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" +SRC_URI[core-foundation-sys-0.8.4.sha256sum] = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +SRC_URI[crossbeam-utils-0.8.16.sha256sum] = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" +SRC_URI[data-encoding-2.4.0.sha256sum] = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" +SRC_URI[deranged-0.3.9.sha256sum] = "0f32d04922c60427da6f9fef14d042d9edddef64cb9d4ce0d64d0685fbeb1fd3" +SRC_URI[endian-type-0.1.2.sha256sum] = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" +SRC_URI[enum-as-inner-0.6.0.sha256sum] = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +SRC_URI[error-chain-0.12.4.sha256sum] = "2d2f06b9cac1506ece98fe3231e3cc9c4410ec3d5b1f24ae1c8946f0742cdefc" +SRC_URI[event-listener-5.0.0.sha256sum] = "b72557800024fabbaa2449dd4bf24e37b93702d457a4d4f2b0dd1f0f039f20c1" +SRC_URI[event-listener-strategy-0.5.0.sha256sum] = "feedafcaa9b749175d5ac357452a9d41ea2911da598fde46ce1fe02c37751291" +SRC_URI[form_urlencoded-1.2.0.sha256sum] = "a62bc1cf6f830c2ec14a513a9fb124d0a213a629668a4186f329db21fe045652" +SRC_URI[futures-channel-0.3.29.sha256sum] = "ff4dd66668b557604244583e3e1e1eada8c5c2e96a6d0d6653ede395b78bbacb" +SRC_URI[futures-core-0.3.30.sha256sum] = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +SRC_URI[futures-io-0.3.29.sha256sum] = "8bf34a163b5c4c52d0478a4d757da8fb65cabef42ba90515efee0f6f9fa45aaa" +SRC_URI[futures-sink-0.3.29.sha256sum] = "e36d3378ee38c2a36ad710c5d30c2911d752cb941c00c72dbabfb786a7970817" +SRC_URI[futures-task-0.3.30.sha256sum] = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +SRC_URI[futures-util-0.3.30.sha256sum] = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +SRC_URI[getrandom-0.2.11.sha256sum] = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +SRC_URI[gimli-0.28.0.sha256sum] = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +SRC_URI[hermit-abi-0.3.3.sha256sum] = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +SRC_URI[hickory-client-0.24.0.sha256sum] = "7f3e08124cf0ddda93b1186d4af73599de401f3b52f14cd9aaa719049379462e" +SRC_URI[hickory-proto-0.24.0.sha256sum] = "091a6fbccf4860009355e3efc52ff4acf37a63489aad7435372d44ceeb6fbbcf" +SRC_URI[hickory-server-0.24.0.sha256sum] = "4fbbb45bc4dcb456445732c705e3cfdc7393b8bcae5c36ecec36b9d76bd67cb5" +SRC_URI[hostname-0.3.1.sha256sum] = "3c731c3e10504cc8ed35cfe2f1db4c9274c3d35fa486e3b31df46f068ef3e867" +SRC_URI[iana-time-zone-0.1.58.sha256sum] = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +SRC_URI[idna-0.4.0.sha256sum] = "7d20d6b07bfbc108882d88ed8e37d39636dcc260e15e30c45e6ba089610b917c" +SRC_URI[ipnet-2.9.0.sha256sum] = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +SRC_URI[itoa-1.0.9.sha256sum] = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +SRC_URI[js-sys-0.3.65.sha256sum] = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" +SRC_URI[libc-0.2.150.sha256sum] = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" +SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +SRC_URI[match_cfg-0.1.0.sha256sum] = "ffbee8634e0d45d258acb448e7eaab3fce7a0a467395d4d9f228e3c1f01fb2e4" +SRC_URI[memchr-2.6.4.sha256sum] = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +SRC_URI[miniz_oxide-0.7.1.sha256sum] = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +SRC_URI[mio-0.8.9.sha256sum] = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" +SRC_URI[nibble_vec-0.1.0.sha256sum] = "77a5d83df9f36fe23f0c3648c6bbb8b0298bb5f1939c8f2704431371f4b84d43" +SRC_URI[nix-0.27.1.sha256sum] = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +SRC_URI[num-traits-0.2.17.sha256sum] = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +SRC_URI[num_cpus-1.16.0.sha256sum] = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +SRC_URI[num_threads-0.1.6.sha256sum] = "2819ce041d2ee131036f4fc9d6ae7ae125a3a40e97ba64d04fe799ad9dabbb44" +SRC_URI[object-0.32.1.sha256sum] = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +SRC_URI[once_cell-1.18.0.sha256sum] = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +SRC_URI[parking-2.2.0.sha256sum] = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +SRC_URI[percent-encoding-2.3.0.sha256sum] = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" +SRC_URI[pin-project-lite-0.2.13.sha256sum] = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" +SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +SRC_URI[proc-macro2-1.0.69.sha256sum] = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da" +SRC_URI[quick-error-1.2.3.sha256sum] = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" +SRC_URI[quote-1.0.33.sha256sum] = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +SRC_URI[radix_trie-0.2.1.sha256sum] = "c069c179fcdc6a2fe24d8d18305cf085fdbd4f922c041943e203685d6a1c58fd" +SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +SRC_URI[resolv-conf-0.7.0.sha256sum] = "52e44394d2086d010551b14b53b1f24e31647570cd1deb0379e2c21b329aba00" +SRC_URI[rustc-demangle-0.1.23.sha256sum] = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +SRC_URI[serde-1.0.192.sha256sum] = "bca2a08484b285dcb282d0f67b26cadc0df8b19f8c12502c13d966bf9482f001" +SRC_URI[serde_derive-1.0.192.sha256sum] = "d6c7207fbec9faa48073f3e3074cbe553af6ea512d7c21ba46e434e70ea9fbc1" +SRC_URI[signal-hook-0.3.17.sha256sum] = "8621587d4798caf8eb44879d42e56b9a93ea5dcd315a6487c357130095b62801" +SRC_URI[signal-hook-registry-1.4.1.sha256sum] = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +SRC_URI[slab-0.4.9.sha256sum] = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +SRC_URI[smallvec-1.11.2.sha256sum] = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +SRC_URI[socket2-0.5.5.sha256sum] = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +SRC_URI[syn-2.0.39.sha256sum] = "23e78b90f2fcf45d3e842032ce32e3f2d1545ba6636271dcbf24fa306d87be7a" +SRC_URI[syslog-6.1.0.sha256sum] = "7434e95bcccce1215d30f4bf84fe8c00e8de1b9be4fb736d747ca53d36e7f96f" +SRC_URI[thiserror-1.0.50.sha256sum] = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +SRC_URI[thiserror-impl-1.0.50.sha256sum] = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +SRC_URI[time-0.3.30.sha256sum] = "c4a34ab300f2dee6e562c10a046fc05e358b29f9bf92277f30c3c8d82275f6f5" +SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" +SRC_URI[time-macros-0.2.15.sha256sum] = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20" +SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +SRC_URI[tokio-1.36.0.sha256sum] = "61285f6515fa018fb2d1e46eb21223fff441ee8db5d0f1435e8ab4f5cdb80931" +SRC_URI[tokio-macros-2.2.0.sha256sum] = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +SRC_URI[tokio-util-0.7.10.sha256sum] = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +SRC_URI[tracing-0.1.40.sha256sum] = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +SRC_URI[tracing-attributes-0.1.27.sha256sum] = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +SRC_URI[tracing-core-0.1.32.sha256sum] = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +SRC_URI[unicode-bidi-0.3.13.sha256sum] = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +SRC_URI[url-2.4.1.sha256sum] = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" +SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +SRC_URI[wasm-bindgen-0.2.88.sha256sum] = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" +SRC_URI[wasm-bindgen-backend-0.2.88.sha256sum] = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" +SRC_URI[wasm-bindgen-macro-0.2.88.sha256sum] = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" +SRC_URI[wasm-bindgen-macro-support-0.2.88.sha256sum] = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" +SRC_URI[wasm-bindgen-shared-0.2.88.sha256sum] = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" +SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +SRC_URI[windows-core-0.51.1.sha256sum] = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +SRC_URI[windows-targets-0.52.0.sha256sum] = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +SRC_URI[windows_aarch64_gnullvm-0.52.0.sha256sum] = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +SRC_URI[windows_aarch64_msvc-0.52.0.sha256sum] = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +SRC_URI[windows_i686_gnu-0.52.0.sha256sum] = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +SRC_URI[windows_i686_msvc-0.52.0.sha256sum] = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +SRC_URI[windows_x86_64_gnu-0.52.0.sha256sum] = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +SRC_URI[windows_x86_64_gnullvm-0.52.0.sha256sum] = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +SRC_URI[windows_x86_64_msvc-0.52.0.sha256sum] = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" diff --git a/recipes-containers/aardvark-dns/aardvark-dns_1.10.0.bb b/recipes-containers/aardvark-dns/aardvark-dns_1.10.0.bb new file mode 100644 index 00000000..766cf97f --- /dev/null +++ b/recipes-containers/aardvark-dns/aardvark-dns_1.10.0.bb @@ -0,0 +1,43 @@ +SUMMARY = "A container-focused DNS server" +HOMEPAGE = "https://github.com/containers/aardvark-dns" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRCREV = "526260a1bc99d823814afb134980c749c56dea47" + +# It is possible to fetch the source using the crate fetcher instead: +#SRC_URI = "crate://crates.io/${BPN}/${PV}" +SRC_URI = "git://github.com/containers/aardvark-dns;protocol=https;nobranch=1 \ + file://run-ptest" +require ${BPN}-crates.inc + +S = "${WORKDIR}/git" + +inherit cargo cargo-update-recipe-crates features_check ptest + +# Cargo installs the binary to bin so move it to where podman expects it +do_install:append() { + install -d ${D}${libexecdir} + mv ${D}${bindir} ${D}${libexecdir}/podman +} + +do_install_ptest() { + cp -r ${S}/test ${D}${PTEST_PATH} +} + +# rdepends on slirp4netns +REQUIRED_DISTRO_FEATURES ?= "seccomp" + +RDEPENDS:${PN}-ptest += " \ + bash \ + bats \ + bind-utils \ + coreutils \ + dbus-daemon-proxy \ + ipcalc \ + iproute2 \ + jq \ + slirp4netns \ + util-linux-unshare \ +" diff --git a/recipes-containers/aardvark-dns/files/run-ptest b/recipes-containers/aardvark-dns/files/run-ptest new file mode 100644 index 00000000..b33d8fd4 --- /dev/null +++ b/recipes-containers/aardvark-dns/files/run-ptest @@ -0,0 +1,3 @@ +#!/bin/bash + +NETAVARK=/usr/libexec/podman/netavark AARDVARK=/usr/libexec/podman/aardvark-dns bats ./test/ diff --git a/recipes-containers/buildah/buildah_git.bb b/recipes-containers/buildah/buildah_git.bb new file mode 100644 index 00000000..64ee4f7d --- /dev/null +++ b/recipes-containers/buildah/buildah_git.bb @@ -0,0 +1,66 @@ +HOMEPAGE = "https://buildah.io" +SUMMARY = "A tool that facilitates building OCI container images." +DESCRIPTION = "A tool that facilitates building OCI container images." + +# Apache-2.0 for containerd +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://src/github.com/containers/buildah/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +S = "${WORKDIR}/git" + +BUILDAH_VERSION = "1.34.1" + +PV = "${BUILDAH_VERSION}" + +inherit go +inherit goarch +inherit pkgconfig + +# Rdepends on podman which needs seccomp and ipv6 +inherit features_check +REQUIRED_DISTRO_FEATURES = "seccomp ipv6" + +COMPATIBLE_HOST = "^(?!mips).*" + +GO_IMPORT = "github.com/containers/buildah" +GO_INSTALL = "${GO_IMPORT}" +GO_WORKDIR = "${GO_INSTALL}" +GOBUILDFLAGS += "-mod vendor" + +SRCREV_FORMAT = "buildah_storage" +SRCREV_buildah = "dbeb097c6fbf4bfd643f096992da572a97a8ec12" +SRCREV_storage = "246ba3062e8b551026aef2708eee747014ce5c52" + +SRC_URI = " \ + git://github.com/containers/buildah;branch=release-1.34;name=buildah;protocol=https \ + " + +DEPENDS = "libdevmapper btrfs-tools gpgme" +RDEPENDS:${PN} = "cgroup-lite fuse-overlayfs libdevmapper podman" +RDEPENDS:${PN}-dev = "bash perl" + +do_compile:prepend() { + cd ${S}/src/github.com/containers/buildah +} + +go_do_compile() { + export TMPDIR="${GOTMPDIR}" + export AS='${CC} -c' + if [ -n "${GO_INSTALL}" ]; then + ${GO} install ${GOBUILDFLAGS} ./cmd/buildah + ${GO} install ${GOBUILDFLAGS} ./tests/imgtype/imgtype.go + ${GO} install ${GOBUILDFLAGS} ./tests/copy/copy.go + fi + + # x86 statically linked executable that we don't need + rm -f ${S}/src/github.com/containers/buildah/internal/mkcw/embed/entrypoint +} + +do_install:append() { + dest_dir=${D}/${sysconfdir}/containers + mkdir -p ${dest_dir} + install -m 666 ${S}/src/github.com/containers/buildah/docs/samples/registries.conf ${dest_dir}/buildah.registries.conf.sample + install -m 666 ${S}/src/github.com/containers/buildah/tests/policy.json ${dest_dir}/buildah.policy.json.sample +} + +INSANE_SKIP:${PN} = "already-stripped" diff --git a/recipes-containers/catatonit/catatonit_0.2.0.bb b/recipes-containers/catatonit/catatonit_0.2.0.bb new file mode 100644 index 00000000..13537a4a --- /dev/null +++ b/recipes-containers/catatonit/catatonit_0.2.0.bb @@ -0,0 +1,16 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: MIT + +SUMMARY = "A container init that is so simple it's effectively brain-dead." +HOMEPAGE = "https://github.com/openSUSE/catatonit" +DESCRIPTION = "${SUMMARY}" +SECTION = "base" +LICENSE = "GPL-2.0-or-later" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +SRC_URI = "git://github.com/openSUSE/${BPN};protocol=https;branch=main" +SRCREV = "7f0c9bb45d3490c3e7f579833c9b0689f78c8923" +S = "${WORKDIR}/git" + +inherit autotools diff --git a/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb b/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb index 45cc287c..23ecfa4a 100644 --- a/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb +++ b/recipes-containers/cgroup-lite/cgroup-lite_1.15.bb @@ -2,7 +2,7 @@ SECTION = "devel" SUMMARY = "Light-weight package to set up cgroups at system boot." DESCRIPTION = "Light-weight package to set up cgroups at system boot." HOMEPAGE = "http://packages.ubuntu.com/source/artful/cgroup-lite" -LICENSE = "GPLv2" +LICENSE = "GPL-2.0-only" LIC_FILES_CHKSUM = "file://debian/copyright;md5=5d5da4e0867cf06014f87102154d0102" SRC_URI = "https://launchpad.net/ubuntu/+archive/primary/+files/cgroup-lite_1.15.tar.xz" SRC_URI += "file://cgroups-init" @@ -17,8 +17,8 @@ INITSCRIPT_PARAMS = "start 8 2 3 4 5 . stop 20 0 1 6 ." # Keeps the sysvinit scripts out of the image if building # where systemd is in use. SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE_${PN} = "cgroups-init.service" -SYSTEMD_AUTO_ENABLE_${PN} = "mask" +SYSTEMD_SERVICE:${PN} = "cgroups-init.service" +SYSTEMD_AUTO_ENABLE:${PN} = "mask" do_install() { diff --git a/recipes-containers/conmon/conmon_2.0.9.bb b/recipes-containers/conmon/conmon_git.bb index af7847b4..d7047ed0 100644 --- a/recipes-containers/conmon/conmon_2.0.9.bb +++ b/recipes-containers/conmon/conmon_git.bb @@ -4,20 +4,24 @@ HOMEPAGE = "https://github.com/containers/conmon" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=61af0b6932ea7b12fb9142721043bc77" -DEPENDS = "glib-2.0" +inherit features_check +REQUIRED_DISTRO_FEATURES ?= "seccomp" -SRCREV = "60b42f20f222df9da07a01ee444327348b9f54ee" +DEPENDS = "glib-2.0 go-md2man-native libseccomp" + +SRCREV = "affab49967eb62f75d2a47398344ab053326289f" SRC_URI = "\ - git://github.com/containers/conmon.git \ + git://github.com/containers/conmon.git;branch=main;protocol=https \ " -SRC_URI[md5sum] = "5c711911d766d76813333c3812277574" -SRC_URI[sha256sum] = "4c31278b2c03e5be5a696c3088bc86cf2557a70e00f697799c163aba18e3c40e" +PV = "2.1.10+git" S = "${WORKDIR}/git" inherit pkgconfig +export GOCACHE = "${B}/.cache" + EXTRA_OEMAKE = "PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir}" PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" @@ -26,7 +30,3 @@ PACKAGECONFIG[systemd] = ",,systemd" do_install() { oe_runmake 'DESTDIR=${D}' install } - -FILES_${PN} += " \ - ${bindir}/conmon \ -" diff --git a/recipes-containers/container-host-config/container-host-config.bb b/recipes-containers/container-host-config/container-host-config.bb new file mode 100644 index 00000000..80abddf0 --- /dev/null +++ b/recipes-containers/container-host-config/container-host-config.bb @@ -0,0 +1,22 @@ +HOMEPAGE = "https://git.yoctoproject.org/meta-virtualization" +SUMMARY = "Configuration Package for container hosts" +DESCRIPTION = "Common / centralized configuration files for container hosts" + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +SRC_URI = " \ + file://storage.conf \ + file://registries.conf \ + file://policy.json \ +" + +do_install() { + install -d ${D}/${sysconfdir}/containers + + install ${WORKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf + install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf + install ${WORKDIR}/policy.json ${D}/${sysconfdir}/containers/policy.json +} + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-containers/container-host-config/container-host-config/policy.json b/recipes-containers/container-host-config/container-host-config/policy.json new file mode 100755 index 00000000..bb26e57f --- /dev/null +++ b/recipes-containers/container-host-config/container-host-config/policy.json @@ -0,0 +1,7 @@ +{ + "default": [ + { + "type": "insecureAcceptAnything" + } + ] +} diff --git a/recipes-containers/skopeo/files/registries.conf b/recipes-containers/container-host-config/container-host-config/registries.conf index ba6c3f6e..ba6c3f6e 100644 --- a/recipes-containers/skopeo/files/registries.conf +++ b/recipes-containers/container-host-config/container-host-config/registries.conf diff --git a/recipes-containers/container-host-config/container-host-config/storage.conf b/recipes-containers/container-host-config/container-host-config/storage.conf new file mode 100644 index 00000000..cb4525f2 --- /dev/null +++ b/recipes-containers/container-host-config/container-host-config/storage.conf @@ -0,0 +1,243 @@ +# This file is the configuration file for all tools +# that use the containers/storage library. The storage.conf file +# overrides all other storage.conf files. Container engines using the +# container/storage library do not inherit fields from other storage.conf +# files. +# +# Note: The storage.conf file overrides other storage.conf files based on this precedence: +# /usr/containers/storage.conf +# /etc/containers/storage.conf +# $HOME/.config/containers/storage.conf +# $XDG_CONFIG_HOME/containers/storage.conf (If XDG_CONFIG_HOME is set) +# See man 5 containers-storage.conf for more information +# The "container storage" table contains all of the server options. +[storage] + +# Default Storage Driver, Must be set for proper operation. +driver = "overlay" + +# Temporary storage location +runroot = "/run/containers/storage" + +# Primary Read/Write location of container storage +# When changing the graphroot location on an SELINUX system, you must +# ensure the labeling matches the default locations labels with the +# following commands: +# semanage fcontext -a -e /var/lib/containers/storage /NEWSTORAGEPATH +# restorecon -R -v /NEWSTORAGEPATH +graphroot = "/var/lib/containers/storage" + +# Optional alternate location of image store if a location separate from the +# container store is required. If set, it must be different than graphroot. +# imagestore = "" + + +# Storage path for rootless users +# +# rootless_storage_path = "$HOME/.local/share/containers/storage" + +# Transient store mode makes all container metadata be saved in temporary storage +# (i.e. runroot above). This is faster, but doesn't persist across reboots. +# Additional garbage collection must also be performed at boot-time, so this +# option should remain disabled in most configurations. +# transient_store = true + +[storage.options] +# Storage options to be passed to underlying storage drivers + +# AdditionalImageStores is used to pass paths to additional Read/Only image stores +# Must be comma separated list. +additionalimagestores = [ +] + +# Allows specification of how storage is populated when pulling images. This +# option can speed the pulling process of images compressed with format +# zstd:chunked. Containers/storage looks for files within images that are being +# pulled from a container registry that were previously pulled to the host. It +# can copy or create a hard link to the existing file when it finds them, +# eliminating the need to pull them from the container registry. These options +# can deduplicate pulling of content, disk storage of content and can allow the +# kernel to use less memory when running containers. + +# containers/storage supports three keys +# * enable_partial_images="true" | "false" +# Tells containers/storage to look for files previously pulled in storage +# rather then always pulling them from the container registry. +# * use_hard_links = "false" | "true" +# Tells containers/storage to use hard links rather then create new files in +# the image, if an identical file already existed in storage. +# * ostree_repos = "" +# Tells containers/storage where an ostree repository exists that might have +# previously pulled content which can be used when attempting to avoid +# pulling content from the container registry +pull_options = {enable_partial_images = "false", use_hard_links = "false", ostree_repos=""} + +# Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of +# a container, to the UIDs/GIDs as they should appear outside of the container, +# and the length of the range of UIDs/GIDs. Additional mapped sets can be +# listed and will be heeded by libraries, but there are limits to the number of +# mappings which the kernel will allow when you later attempt to run a +# container. +# +# remap-uids = "0:1668442479:65536" +# remap-gids = "0:1668442479:65536" + +# Remap-User/Group is a user name which can be used to look up one or more UID/GID +# ranges in the /etc/subuid or /etc/subgid file. Mappings are set up starting +# with an in-container ID of 0 and then a host-level ID taken from the lowest +# range that matches the specified name, and using the length of that range. +# Additional ranges are then assigned, using the ranges which specify the +# lowest host-level IDs first, to the lowest not-yet-mapped in-container ID, +# until all of the entries have been used for maps. This setting overrides the +# Remap-UIDs/GIDs setting. +# +# remap-user = "containers" +# remap-group = "containers" + +# Root-auto-userns-user is a user name which can be used to look up one or more UID/GID +# ranges in the /etc/subuid and /etc/subgid file. These ranges will be partitioned +# to containers configured to create automatically a user namespace. Containers +# configured to automatically create a user namespace can still overlap with containers +# having an explicit mapping set. +# This setting is ignored when running as rootless. +# root-auto-userns-user = "storage" +# +# Auto-userns-min-size is the minimum size for a user namespace created automatically. +# auto-userns-min-size=1024 +# +# Auto-userns-max-size is the maximum size for a user namespace created automatically. +# auto-userns-max-size=65536 + +[storage.options.overlay] +# ignore_chown_errors can be set to allow a non privileged user running with +# a single UID within a user namespace to run containers. The user can pull +# and use any image even those with multiple uids. Note multiple UIDs will be +# squashed down to the default uid in the container. These images will have no +# separation between the users in the container. Only supported for the overlay +# and vfs drivers. +#ignore_chown_errors = "false" + +# Inodes is used to set a maximum inodes of the container image. +# inodes = "" + +# Path to an helper program to use for mounting the file system instead of mounting it +# directly. +#mount_program = "/usr/bin/fuse-overlayfs" + +# mountopt specifies comma separated list of extra mount options +mountopt = "nodev" + +# Set to skip a PRIVATE bind mount on the storage home directory. +# skip_mount_home = "false" + +# Size is used to set a maximum size of the container image. +# size = "" + +# ForceMask specifies the permissions mask that is used for new files and +# directories. +# +# The values "shared" and "private" are accepted. +# Octal permission masks are also accepted. +# +# "": No value specified. +# All files/directories, get set with the permissions identified within the +# image. +# "private": it is equivalent to 0700. +# All files/directories get set with 0700 permissions. The owner has rwx +# access to the files. No other users on the system can access the files. +# This setting could be used with networked based homedirs. +# "shared": it is equivalent to 0755. +# The owner has rwx access to the files and everyone else can read, access +# and execute them. This setting is useful for sharing containers storage +# with other users. For instance have a storage owned by root but shared +# to rootless users as an additional store. +# NOTE: All files within the image are made readable and executable by any +# user on the system. Even /etc/shadow within your image is now readable by +# any user. +# +# OCTAL: Users can experiment with other OCTAL Permissions. +# +# Note: The force_mask Flag is an experimental feature, it could change in the +# future. When "force_mask" is set the original permission mask is stored in +# the "user.containers.override_stat" xattr and the "mount_program" option must +# be specified. Mount programs like "/usr/bin/fuse-overlayfs" present the +# extended attribute permissions to processes within containers rather than the +# "force_mask" permissions. +# +# force_mask = "" + +[storage.options.thinpool] +# Storage Options for thinpool + +# autoextend_percent determines the amount by which pool needs to be +# grown. This is specified in terms of % of pool size. So a value of 20 means +# that when threshold is hit, pool will be grown by 20% of existing +# pool size. +# autoextend_percent = "20" + +# autoextend_threshold determines the pool extension threshold in terms +# of percentage of pool size. For example, if threshold is 60, that means when +# pool is 60% full, threshold has been hit. +# autoextend_threshold = "80" + +# basesize specifies the size to use when creating the base device, which +# limits the size of images and containers. +# basesize = "10G" + +# blocksize specifies a custom blocksize to use for the thin pool. +# blocksize="64k" + +# directlvm_device specifies a custom block storage device to use for the +# thin pool. Required if you setup devicemapper. +# directlvm_device = "" + +# directlvm_device_force wipes device even if device already has a filesystem. +# directlvm_device_force = "True" + +# fs specifies the filesystem type to use for the base device. +# fs="xfs" + +# log_level sets the log level of devicemapper. +# 0: LogLevelSuppress 0 (Default) +# 2: LogLevelFatal +# 3: LogLevelErr +# 4: LogLevelWarn +# 5: LogLevelNotice +# 6: LogLevelInfo +# 7: LogLevelDebug +# log_level = "7" + +# min_free_space specifies the min free space percent in a thin pool require for +# new device creation to succeed. Valid values are from 0% - 99%. +# Value 0% disables +# min_free_space = "10%" + +# mkfsarg specifies extra mkfs arguments to be used when creating the base +# device. +# mkfsarg = "" + +# metadata_size is used to set the `pvcreate --metadatasize` options when +# creating thin devices. Default is 128k +# metadata_size = "" + +# Size is used to set a maximum size of the container image. +# size = "" + +# use_deferred_removal marks devicemapper block device for deferred removal. +# If the thinpool is in use when the driver attempts to remove it, the driver +# tells the kernel to remove it as soon as possible. Note this does not free +# up the disk space, use deferred deletion to fully remove the thinpool. +# use_deferred_removal = "True" + +# use_deferred_deletion marks thinpool device for deferred deletion. +# If the device is busy when the driver attempts to delete it, the driver +# will attempt to delete device every 30 seconds until successful. +# If the program using the driver exits, the driver will continue attempting +# to cleanup the next time the driver is used. Deferred deletion permanently +# deletes the device and all data stored in device will be lost. +# use_deferred_deletion = "True" + +# xfs_nospace_max_retries specifies the maximum number of retries XFS should +# attempt to complete IO when ENOSPC (no space) error is returned by +# underlying storage device. +# xfs_nospace_max_retries = "0" diff --git a/recipes-containers/containerd/README.md b/recipes-containers/containerd/README.md new file mode 100644 index 00000000..f7730793 --- /dev/null +++ b/recipes-containers/containerd/README.md @@ -0,0 +1,30 @@ +# containerd: sample image fetch and exec commands + +```shell +root@qemux86-64:~# ctr images list +REF TYPE DIGEST SIZE PLATFORMS +docker.io/calico/node:v3.11.2 application/vnd.docker.distribution.manifest.list.v2+json sha256:887bcd551668cccae1fbfd6d2eb0f635ec37bb4cf599e1169989aa49dfac5b57 84.8 MiB linux/amd64,linux/arm64,linux/ppc64le +docker.io/library/alpine:latest application/vnd.docker.distribution.manifest.list.v2+json sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a 2.7 MiB linux/386,linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,l + +root@qemux86-64:~# ctr image pull docker.io/library/alpine:latest +docker.io/library/alpine:latest: resolved |++++++++++++++++++++++++++++++++++++++| +index-sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a: exists |++++++++++++++++++++++++++++++++++++++| +manifest-sha256:d7342993700f8cd7aba8496c2d0e57be0666e80b4c441925fc6f9361fa81d10e: exists |++++++++++++++++++++++++++++++++++++++| +layer-sha256:188c0c94c7c576fff0792aca7ec73d67a2f7f4cb3a6e53a84559337260b36964: exists |++++++++++++++++++++++++++++++++++++++| +config-sha256:d6e46aa2470df1d32034c6707c8041158b652f38d2a9ae3d7ad7e7532d22ebe0: exists |++++++++++++++++++++++++++++++++++++++| +elapsed: 6.5 s total: 0.0 B (0.0 B/s) +unpacking linux/amd64 sha256:c0e9560cda118f9ec63ddefb4a173a2b2a0347082d7dff7dc14272e7841a5b5a... + + +root@qemux86-64:~# ctr run -t docker.io/library/alpine:latest dtest /bin/sh +/ # uname -a +Linux qemux86-64 5.8.13-yocto-standard #1 SMP PREEMPT Tue Oct 6 12:23:29 UTC 2020 x86_64 Linux +/ # + + + # root@qemux86-64:~# ctr c list +CONTAINER IMAGE RUNTIME +dtest docker.io/library/alpine:latest io.containerd.runc.v2 + +root@qemux86-64:~# ctr c delete dtest +```
\ No newline at end of file diff --git a/recipes-containers/containerd/containerd-docker_git.bb b/recipes-containers/containerd/containerd-docker_git.bb deleted file mode 100644 index b18a9bb2..00000000 --- a/recipes-containers/containerd/containerd-docker_git.bb +++ /dev/null @@ -1,14 +0,0 @@ -SRCREV = "3addd840653146c90a254301d6c3a663c7fd6429" -SRC_URI = "\ - git://github.com/docker/containerd.git;branch=v0.2.x;destsuffix=git/src/github.com/containerd/containerd \ - " - -include containerd.inc - -CONTAINERD_VERSION = "v0.2.x" -S = "${WORKDIR}/git/src/github.com/containerd/containerd" - -PROVIDES += "virtual/containerd" -RPROVIDES_${PN} = "virtual/containerd" - -DEPENDS += "btrfs-tools" diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-Add-build-option-GODEBUG-1.patch b/recipes-containers/containerd/containerd-opencontainers/0001-Add-build-option-GODEBUG-1.patch deleted file mode 100644 index 05c4f153..00000000 --- a/recipes-containers/containerd/containerd-opencontainers/0001-Add-build-option-GODEBUG-1.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 84874e47aa2025b8e73df0286c44f3b8a1d9fdb2 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <hongxu.jia@windriver.com> -Date: Mon, 2 Sep 2019 16:20:07 +0800 -Subject: [PATCH] Add build option "GODEBUG=1" - -Make will generate GDB friendly binary with this build option. - -Signed-off-by: Hui Zhu <teawater@hyper.sh> - -Upstream-Status: Backport [c5a0c7f491b435e4eb45972903b00e2d8ed46495] - -Partly backport and refresh to v1.2.7 -Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> ---- - src/import/Makefile | 8 ++++++-- - 1 file changed, 6 insertions(+), 2 deletions(-) - -diff --git a/src/import/Makefile b/src/import/Makefile -index 4355395..4fb5d3b 100644 ---- a/src/import/Makefile -+++ b/src/import/Makefile -@@ -75,11 +75,15 @@ TEST_REQUIRES_ROOT_PACKAGES=$(filter \ - COMMANDS=ctr containerd containerd-stress - MANPAGES=ctr.1 containerd.1 containerd-config.1 containerd-config.toml.5 - -+ifndef GODEBUG -+ EXTRA_LDFLAGS += -s -w -+endif -+ - # Build tags seccomp and apparmor are needed by CRI plugin. - BUILDTAGS ?= seccomp apparmor - GO_TAGS=$(if $(BUILDTAGS),-tags "$(BUILDTAGS)",) --GO_LDFLAGS=-ldflags '-s -w -X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revision=$(REVISION) -X $(PKG)/version.Package=$(PACKAGE) $(EXTRA_LDFLAGS)' --SHIM_GO_LDFLAGS=-ldflags '-s -w -X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revision=$(REVISION) -X $(PKG)/version.Package=$(PACKAGE) -extldflags "-static"' -+GO_LDFLAGS=-ldflags '-X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revision=$(REVISION) -X $(PKG)/version.Package=$(PACKAGE) $(EXTRA_LDFLAGS)' -+SHIM_GO_LDFLAGS=-ldflags '-X $(PKG)/version.Version=$(VERSION) -X $(PKG)/version.Revision=$(REVISION) -X $(PKG)/version.Package=$(PACKAGE) -extldflags "-static" $(EXTRA_LDFLAGS)' - - #Replaces ":" (*nix), ";" (windows) with newline for easy parsing - GOPATHS=$(shell echo ${GOPATH} | tr ":" "\n" | tr ";" "\n") --- -2.7.4 - diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch b/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch new file mode 100644 index 00000000..63498a86 --- /dev/null +++ b/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch @@ -0,0 +1,35 @@ +From 474b93f8f643651144304a6971ef476add7f06f8 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 25 May 2021 12:49:41 -0400 +Subject: [PATCH] Makefile: allow GO_BUILD_FLAGS to be externally specified + +Since our oe-core go infrastructure insists on both -pie and static +builds (for the most part), and that is not recommended by many +packages, we end up with errors like: + + cannot find package runtime/cgo (using -importcfg) + ... + recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: + cannot open file : open : no such file or directory + +Upstream-Status: Inappropriate [specific to OE go configuration and build] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: containerd/Makefile +=================================================================== +--- containerd.orig/Makefile ++++ containerd/Makefile +@@ -129,7 +129,8 @@ + GOPATHS=$(shell $(GO) env GOPATH | tr ":" "\n" | tr ";" "\n") + + TESTFLAGS_RACE= +-GO_BUILD_FLAGS ?= ++# allow flags to be exported and picked up. ++# GO_BUILD_FLAGS ?= + # See Golang issue re: '-trimpath': https://github.com/golang/go/issues/13809 + GO_GCFLAGS=$(shell \ + set -- ${GOPATHS}; \ diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch b/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch new file mode 100644 index 00000000..74e313b5 --- /dev/null +++ b/recipes-containers/containerd/containerd-opencontainers/0001-Makefile-update-default-PACKAGE-to-v2.patch @@ -0,0 +1,28 @@ +From eb39888898a9d196e3eb63724c6c07777f3b9402 Mon Sep 17 00:00:00 2001 +From: Changqing Li <changqing.li@windriver.com> +Date: Wed, 24 Apr 2024 14:10:11 +0800 +Subject: [PATCH] Makefile: update default PACKAGE to v2 + +Upstream-Status: Submitted [https://github.com/containerd/containerd/pull/10125] + +Signed-off-by: Changqing Li <changqing.li@windriver.com> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index a5b244191..cb9ff4172 100644 +--- a/Makefile ++++ b/Makefile +@@ -34,7 +34,7 @@ TEST_IMAGE_LIST ?= + # Used to populate variables in version package. + VERSION ?= $(shell git describe --match 'v[0-9]*' --dirty='.m' --always) + REVISION ?= $(shell git rev-parse HEAD)$(shell if ! git diff --no-ext-diff --quiet --exit-code; then echo .m; fi) +-PACKAGE=github.com/containerd/containerd ++PACKAGE=github.com/containerd/containerd/v2 + SHIM_CGO_ENABLED ?= 0 + + ifneq "$(strip $(shell command -v $(GO) 2>/dev/null))" "" +-- +2.25.1 + diff --git a/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch b/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch new file mode 100644 index 00000000..62580c6c --- /dev/null +++ b/recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch @@ -0,0 +1,32 @@ +From 9174091fa1624dbb09ce812792a4102dff693541 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Mon, 12 Sep 2022 15:40:08 -0400 +Subject: [PATCH] build: don't use gcflags to define trimpath + +We can pass trimpath in via environment variables. The gcflags +definition of trimpath is for older go versions and is using the +complete path for trimming. If the variable is captured in the +resulting binary, we have a reproducibility and QA issue. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + Makefile | 1 - + 1 file changed, 1 deletion(-) + +diff --git git.orig/Makefile git.orig/Makefile +index 4a6c13042..debb57925 100644 +--- git.orig/Makefile ++++ git.orig/Makefile +@@ -130,7 +130,6 @@ TESTFLAGS_RACE= + # See Golang issue re: '-trimpath': https://github.com/golang/go/issues/13809 + GO_GCFLAGS=$(shell \ + set -- ${GOPATHS}; \ +- echo "-gcflags=-trimpath=$${1}/src"; \ + ) + + BINARIES=$(addprefix bin/,$(COMMANDS)) +-- +2.19.1 + diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd-opencontainers_git.bb index 347eae5d..ed73e398 100644 --- a/recipes-containers/containerd/containerd-opencontainers_git.bb +++ b/recipes-containers/containerd/containerd-opencontainers_git.bb @@ -1,16 +1,99 @@ -SRCREV = "fd103cb716352c7e19768e4fed057f71d68902a0" -SRC_URI = "git://github.com/containerd/containerd;branch=release/1.2 \ - file://0001-build-use-oe-provided-GO-and-flags.patch \ - file://0001-Add-build-option-GODEBUG-1.patch \ - " +HOMEPAGE = "https://github.com/containerd/containerd" +SUMMARY = "containerd is a daemon to control runC" +DESCRIPTION = "containerd is a daemon to control runC, built for performance and density. \ + containerd leverages runC's advanced features such as seccomp and user namespace \ + support as well as checkpoint and restore for cloning and live migration of containers." + -include containerd.inc +SRCREV = "b1624c3628954e769dd50783b63823040b2db38c" +SRC_URI = "git://github.com/containerd/containerd;branch=main;protocol=https;destsuffix=git/src/github.com/containerd/containerd/v2 \ + file://0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch \ + file://0001-build-don-t-use-gcflags-to-define-trimpath.patch \ + file://0001-Makefile-update-default-PACKAGE-to-v2.patch \ + " -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=1269f40c0d099c21a871163984590d89" +# Apache-2.0 for containerd +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=1269f40c0d099c21a871163984590d89" -CONTAINERD_VERSION = "v1.2.7" +CONTAINERD_VERSION = "v2.0.0-beta.0" +CVE_VERSION = "v2.0.0-beta.0" -EXTRA_OEMAKE += "GODEBUG=1" +# EXTRA_OEMAKE += "GODEBUG=1" PROVIDES += "virtual/containerd" -RPROVIDES_${PN} = "virtual/containerd" +RPROVIDES:${PN} = "virtual-containerd" + +S = "${WORKDIR}/git/src/github.com/containerd/containerd/v2" + +PV = "${CONTAINERD_VERSION}+git" + +inherit go +inherit goarch + +GO_IMPORT = "import" + +INSANE_SKIP:${PN} += "ldflags" + +do_configure[noexec] = "1" + +do_compile() { + export GOARCH="${TARGET_GOARCH}" + + export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${WORKDIR}/git/" + export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" + + # Pass the needed cflags/ldflags so that cgo + # can find the needed headers files and libraries + export CGO_ENABLED="1" + export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export BUILDTAGS="no_btrfs static_build netgo" + export CFLAGS="${CFLAGS}" + export LDFLAGS="${LDFLAGS}" + export SHIM_CGO_ENABLED="${CGO_ENABLED}" + # fixes: + # cannot find package runtime/cgo (using -importcfg) + # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: + # cannot open file : open : no such file or directory + export GO_BUILD_FLAGS="-trimpath -a -pkgdir dontusecurrentpkgs" + export GO111MODULE=off + + cd ${S} + + oe_runmake binaries +} + +inherit systemd +SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" +SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','containerd.service','',d)}" + +do_install() { + mkdir -p ${D}/${bindir} + + cp ${S}/bin/containerd ${D}/${bindir}/containerd + cp ${S}/bin/containerd-shim-runc-v2 ${D}/${bindir}/containerd-shim-runc-v2 + cp ${S}/bin/ctr ${D}/${bindir}/containerd-ctr + + ln -sf containerd ${D}/${bindir}/docker-containerd + ln -sf containerd-ctr ${D}/${bindir}/docker-containerd-ctr + + ln -sf containerd-ctr ${D}/${bindir}/ctr + + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then + install -d ${D}${systemd_unitdir}/system + install -m 644 ${S}/containerd.service ${D}/${systemd_unitdir}/system + # adjust from /usr/local/bin to /usr/bin/ + sed -e "s:/usr/local/bin/containerd:${bindir}/containerd:g" -i ${D}/${systemd_unitdir}/system/containerd.service + fi +} + +FILES:${PN} += "${systemd_system_unitdir}/*" + +INSANE_SKIP:${PN} += "ldflags already-stripped" + +COMPATIBLE_HOST = "^(?!(qemu)?mips).*" + +RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}" + +CVE_PRODUCT = "containerd" diff --git a/recipes-containers/containerd/containerd.inc b/recipes-containers/containerd/containerd.inc deleted file mode 100644 index e226edf1..00000000 --- a/recipes-containers/containerd/containerd.inc +++ /dev/null @@ -1,100 +0,0 @@ -HOMEPAGE = "https://github.com/docker/containerd" -SUMMARY = "containerd is a daemon to control runC" -DESCRIPTION = "containerd is a daemon to control runC, built for performance and density. \ - containerd leverages runC's advanced features such as seccomp and user namespace \ - support as well as checkpoint and restore for cloning and live migration of containers." - -# Apache-2.0 for containerd -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/import/LICENSE.code;md5=aadc30f9c14d876ded7bedc0afd2d3d7" - -SRC_URI += "file://containerd.service" - -S = "${WORKDIR}/git" - -PV = "${CONTAINERD_VERSION}+git${SRCPV}" - -inherit go -inherit goarch - -GO_IMPORT = "import" - -CONTAINERD_PKG="github.com/containerd/containerd" - -INSANE_SKIP_${PN} += "ldflags" - -do_configure[noexec] = "1" - -do_compile() { - export GOARCH="${TARGET_GOARCH}" - - # link fixups for compilation - rm -f ${S}/src/import/vendor/src - ln -sf ./ ${S}/src/import/vendor/src - - mkdir -p ${S}/src/import/vendor/src/github.com/containerd/containerd/ - mkdir -p ${S}/src/import/vendor/src/github.com/containerd/containerd/pkg/ - mkdir -p ${S}/src/import/vendor/src/github.com/containerd/containerd/contrib/ - # without this, the stress test parts of the build fail - cp ${S}/src/import/*.go ${S}/src/import/vendor/src/github.com/containerd/containerd - - for c in content errdefs fs images mount snapshots linux api runtimes defaults progress \ - protobuf reference diff platforms runtime remotes version archive dialer gc metadata \ - metrics filters identifiers labels leases plugin server services \ - cmd cio containers namespaces oci events log reaper sys rootfs nvidia seed apparmor seccomp; do - if [ -d ${S}/src/import/${c} ]; then - ln -sfn ${S}/src/import/${c} ${S}/src/import/vendor/github.com/containerd/containerd/${c} - fi - if [ -d ${S}/src/import/pkg/${c} ]; then - ln -sfn ${S}/src/import/pkg/${c} ${S}/src/import/vendor/github.com/containerd/containerd/pkg/${c} - fi - if [ -d ${S}/src/import/contrib/${c} ]; then - ln -sfn ${S}/src/import/contrib/${c} ${S}/src/import/vendor/github.com/containerd/containerd/contrib/${c} - fi - done - - export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" - export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" - - # Pass the needed cflags/ldflags so that cgo - # can find the needed headers files and libraries - export CGO_ENABLED="1" - export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export BUILDTAGS="no_btrfs static_build netgo" - export CFLAGS="${CFLAGS}" - export LDFLAGS="${LDFLAGS}" - - cd ${S}/src/import - oe_runmake binaries -} - -# Note: disabled for now, since docker is launching containerd -# inherit systemd -# SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" -# SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','containerd.service','',d)}" - -do_install() { - mkdir -p ${D}/${bindir} - - cp ${S}/src/import/bin/containerd ${D}/${bindir}/containerd - cp ${S}/src/import/bin/containerd-shim ${D}/${bindir}/containerd-shim - cp ${S}/src/import/bin/ctr ${D}/${bindir}/containerd-ctr - - ln -sf containerd ${D}/${bindir}/docker-containerd - ln -sf containerd-shim ${D}/${bindir}/docker-containerd-shim - ln -sf containerd-ctr ${D}/${bindir}/docker-containerd-ctr - - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -d ${D}${systemd_unitdir}/system - install -m 644 ${WORKDIR}/containerd.service ${D}/${systemd_unitdir}/system - # adjust from /usr/local/bin to /usr/bin/ - sed -e "s:/usr/local/bin/containerd:${bindir}/docker-containerd:g" -i ${D}/${systemd_unitdir}/system/containerd.service - fi -} - -FILES_${PN} += "${systemd_system_unitdir}/*" - -INSANE_SKIP_${PN} += "ldflags already-stripped" - -COMPATIBLE_HOST = "^(?!(qemu)?mips).*" diff --git a/recipes-containers/containerd/files/0001-build-use-oe-provided-GO-and-flags.patch b/recipes-containers/containerd/files/0001-build-use-oe-provided-GO-and-flags.patch index d4d5973e..20647c01 100644 --- a/recipes-containers/containerd/files/0001-build-use-oe-provided-GO-and-flags.patch +++ b/recipes-containers/containerd/files/0001-build-use-oe-provided-GO-and-flags.patch @@ -7,36 +7,60 @@ We want to use the go compiler as defined in the oe-enviroment, not the generic call to 'go'. Without changing this, we'll get things like cgo errors and invalid flag combos. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> --- Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) -Index: git/src/import/Makefile +Index: git/Makefile =================================================================== ---- git.orig/src/import/Makefile -+++ git/src/import/Makefile -@@ -166,19 +166,19 @@ +--- git.orig/Makefile ++++ git/Makefile +@@ -121,7 +121,7 @@ + TESTFLAGS_PARALLEL ?= 8 + + # Use this to replace `go test` with, for instance, `gotestsum` +-GOTEST ?= go test ++GOTEST ?= $(GO) test + + OUTPUTDIR = $(join $(ROOTDIR), _output) + CRIDIR=$(OUTPUTDIR)/cri +@@ -169,7 +169,7 @@ + + build: ## build the go packages + @echo "$(WHALE) $@" +- @go build ${DEBUG_GO_GCFLAGS} ${GO_GCFLAGS} ${GO_BUILD_FLAGS} ${EXTRA_FLAGS} ${GO_LDFLAGS} ${PACKAGES} ++ @$(GO) build ${DEBUG_GO_GCFLAGS} ${GO_GCFLAGS} ${GO_BUILD_FLAGS} ${EXTRA_FLAGS} ${GO_LDFLAGS} ${PACKAGES} + + test: ## run tests, except integration tests and tests that require root + @echo "$(WHALE) $@" +@@ -201,7 +201,7 @@ + + define BUILD_BINARY + @echo "$(WHALE) $@" +-@go build ${DEBUG_GO_GCFLAGS} ${GO_GCFLAGS} ${GO_BUILD_FLAGS} -o $@ ${GO_LDFLAGS} ${GO_TAGS} ./$< ++@$(GO) build ${DEBUG_GO_GCFLAGS} ${GO_GCFLAGS} ${GO_BUILD_FLAGS} -o $@ ${GO_LDFLAGS} ${GO_TAGS} ./$< + endef + # Build a binary from a cmd. - bin/%: cmd/% FORCE - @echo "$(WHALE) $@${BINARY_SUFFIX}" -- @go build ${GO_GCFLAGS} ${GO_BUILD_FLAGS} -o $@${BINARY_SUFFIX} ${GO_LDFLAGS} ${GO_TAGS} ./$< -+ @$(GO) build ${GO_GCFLAGS} ${GO_BUILD_FLAGS} -o $@${BINARY_SUFFIX} ${GO_LDFLAGS} ${GO_TAGS} ./$< +@@ -210,15 +210,15 @@ bin/containerd-shim: cmd/containerd-shim FORCE # set !cgo and omit pie for a static shim build: https://github.com/golang/go/issues/17789#issuecomment-258542220 @echo "$(WHALE) bin/containerd-shim" -- @CGO_ENABLED=0 go build ${GO_BUILD_FLAGS} -o bin/containerd-shim ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim -+ @$(GO) build ${GO_BUILD_FLAGS} -o bin/containerd-shim ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim +- @CGO_ENABLED=${SHIM_CGO_ENABLED} go build ${GO_BUILD_FLAGS} -o bin/containerd-shim ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim ++ @CGO_ENABLED=${SHIM_CGO_ENABLED} $(GO) build -a -pkgdir dontusecurrentpkgs ${GO_BUILD_FLAGS} -o bin/containerd-shim ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim bin/containerd-shim-runc-v1: cmd/containerd-shim-runc-v1 FORCE # set !cgo and omit pie for a static shim build: https://github.com/golang/go/issues/17789#issuecomment-258542220 @echo "$(WHALE) bin/containerd-shim-runc-v1" -- @CGO_ENABLED=0 go build ${GO_BUILD_FLAGS} -o bin/containerd-shim-runc-v1 ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim-runc-v1 -+ @$(GO) build ${GO_BUILD_FLAGS} -o bin/containerd-shim-runc-v1 ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim-runc-v1 +- @CGO_ENABLED=${SHIM_CGO_ENABLED} go build ${GO_BUILD_FLAGS} -o bin/containerd-shim-runc-v1 ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim-runc-v1 ++ @CGO_ENABLED=${SHIM_CGO_ENABLED} $(GO) build -a -pkgdir dontusecurrentpkgs ${GO_BUILD_FLAGS} -o bin/containerd-shim-runc-v1 ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim-runc-v1 - bin/containerd-shim-runhcs-v1: cmd/containerd-shim-runhcs-v1 FORCE # set !cgo and omit pie for a static shim build: https://github.com/golang/go/issues/17789#issuecomment-258542220 - @echo "$(WHALE) bin/containerd-shim-runhcs-v1${BINARY_SUFFIX}" -- @CGO_ENABLED=0 go build ${GO_BUILD_FLAGS} -o bin/containerd-shim-runhcs-v1${BINARY_SUFFIX} ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim-runhcs-v1 -+ @$(GO) build ${GO_BUILD_FLAGS} -o bin/containerd-shim-runhcs-v1${BINARY_SUFFIX} ${SHIM_GO_LDFLAGS} $(GOBUILDFLAGS) ${GO_TAGS} ./cmd/containerd-shim-runhcs-v1 + bin/containerd-shim-runc-v2: cmd/containerd-shim-runc-v2 FORCE # set !cgo and omit pie for a static shim build: https://github.com/golang/go/issues/17789#issuecomment-258542220 + @echo "$(WHALE) bin/containerd-shim-runc-v2" +- @CGO_ENABLED=${SHIM_CGO_ENABLED} go build ${GO_BUILD_FLAGS} -o bin/containerd-shim-runc-v2 ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim-runc-v2 ++ @CGO_ENABLED=${SHIM_CGO_ENABLED} $(GO) build -a -pkgdir dontusecurrentpkgs ${GO_BUILD_FLAGS} -o bin/containerd-shim-runc-v2 ${SHIM_GO_LDFLAGS} ${GO_TAGS} ./cmd/containerd-shim-runc-v2 binaries: $(BINARIES) ## build binaries @echo "$(WHALE) $@" diff --git a/recipes-containers/containerd/files/containerd.service b/recipes-containers/containerd/files/containerd.service deleted file mode 100644 index 23633b02..00000000 --- a/recipes-containers/containerd/files/containerd.service +++ /dev/null @@ -1,11 +0,0 @@ -[Unit] -Description=containerd -Documentation=https://containerd.tools -After=network.target - -[Service] -ExecStart=/usr/local/bin/containerd -Delegate=yes - -[Install] -WantedBy=multi-user.target diff --git a/recipes-containers/cri-o/cri-o_git.bb b/recipes-containers/cri-o/cri-o_git.bb index 4fee3856..4e17a7cd 100644 --- a/recipes-containers/cri-o/cri-o_git.bb +++ b/recipes-containers/cri-o/cri-o_git.bb @@ -14,10 +14,9 @@ At a high level, we expect the scope of cri-o to be restricted to the following - Resource isolation as required by the CRI \ " -SRCREV_cri-o = "f61719a88b7de10a88c50e35640f4a7f1f53fbab" +SRCREV_cri-o = "5aff11c7c1afdc785adafd7da3c3f2a6ac51b88d" SRC_URI = "\ - git://github.com/kubernetes-sigs/cri-o.git;branch=release-1.15;name=cri-o \ - file://0001-Makefile-force-symlinks.patch \ + git://github.com/kubernetes-sigs/cri-o.git;branch=release-1.30;name=cri-o;protocol=https \ file://crio.conf \ " @@ -27,7 +26,10 @@ LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c2 GO_IMPORT = "import" -PV = "1.15.0+git${SRCREV_cri-o}" +PV = "1.30.0+git${SRCREV_cri-o}" + +inherit features_check +REQUIRED_DISTRO_FEATURES ?= "seccomp" DEPENDS = " \ glib-2.0 \ @@ -36,102 +38,40 @@ DEPENDS = " \ ostree \ libdevmapper \ libseccomp \ - libselinux \ " -RDEPENDS_${PN} = " \ +RDEPENDS:${PN} = " \ cni \ libdevmapper \ " -python __anonymous() { - msg = "" - # ERROR: Nothing PROVIDES 'libseccomp' (but /buildarea/layers/meta-virtualization/recipes-containers/cri-o/cri-o_git.bb DEPENDS on or otherwise requires it). - # ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. - # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'cri-o', 'libseccomp'] - if 'security' not in d.getVar('BBFILE_COLLECTIONS').split(): - msg += "Make sure meta-security should be present as it provides 'libseccomp'" - raise bb.parse.SkipRecipe(msg) - # ERROR: Nothing PROVIDES 'libselinux' (but /buildarea/layers/meta-virtualization/recipes-containers/cri-o/cri-o_git.bb DEPENDS on or otherwise requires it). - # ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. - # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'cri-o', 'libselinux'] - elif 'selinux' not in d.getVar('BBFILE_COLLECTIONS').split(): - msg += "Make sure meta-selinux should be present as it provides 'libselinux'" - raise bb.parse.SkipRecipe(msg) -} +PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}" +PACKAGECONFIG[selinux] = ",,libselinux" PACKAGES =+ "${PN}-config" -RDEPENDS_${PN} += " virtual/containerd virtual/runc" -RDEPENDS_${PN} += " e2fsprogs-mke2fs" +RDEPENDS:${PN} += " ${VIRTUAL-RUNTIME_container_runtime}" +RDEPENDS:${PN} += " e2fsprogs-mke2fs conmon util-linux iptables conntrack-tools" inherit systemd inherit go inherit goarch inherit pkgconfig +inherit container-host EXTRA_OEMAKE="BUILDTAGS=''" -CRIO_BUILD_CROSS ?= "1" do_compile() { set +e - export GOPATH="${S}/src/import:${S}/src/import/vendor" - - # link fixups for compilation - rm -f ${S}/src/import/vendor/src - ln -sf ./ ${S}/src/import/vendor/src - - mkdir -p ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o - ln -sf ../../../../cmd ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/cmd - ln -sf ../../../../test ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/test - ln -sf ../../../../oci ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/oci - ln -sf ../../../../server ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/server - ln -sf ../../../../pkg ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/pkg - ln -sf ../../../../libpod ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/libpod - ln -sf ../../../../libkpod ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/libkpod - ln -sf ../../../../utils ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/utils - ln -sf ../../../../types ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/types - ln -sf ../../../../version ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/version - ln -sf ../../../../lib ${S}/src/import/vendor/github.com/kubernetes-sigs/cri-o/lib - - - rm -f ${S}/src/import/src - ln -sf ./ ${S}/src/import/src - mkdir -p ${S}/src/import/src/github.com/cri-o/cri-o/cmd - ln -sf ../../../../cmd/crio-config ${S}/src/import/src/github.com/cri-o/cri-o/cmd - ln -sf ../../../lib ${S}/src/import/src/github.com/cri-o/cri-o/lib - ln -sf ../../../oci ${S}/src/import/src/github.com/cri-o/cri-o/oci - ln -sf ../../../pkg ${S}/src/import/src/github.com/cri-o/cri-o/pkg - ln -sf ../../../utils ${S}/src/import/src/github.com/cri-o/cri-o/utils - ln -sf ../../../version ${S}/src/import/src/github.com/cri-o/cri-o/version - ln -sf ../../../server ${S}/src/import/src/github.com/cri-o/cri-o/server - ln -sf ../../../types ${S}/src/import/src/github.com/cri-o/cri-o/types - - # fixes the bin/crio build of oe_runmake binaries below - ln -sf ../../../../cmd/crio ${S}/src/import/src/github.com/cri-o/cri-o/cmd/ - - # workaround `use of vendored package not allowed' failure - mv ${S}/src/import/vendor/golang.org ${S}/src/import/ cd ${S}/src/import - if [ "${CRIO_BUILD_CROSS}" = "1" ]; then - # New: using the -cross target. But this doesn't build conmon and pause. So - # keeping the old parts around if someone yells. - oe_runmake local-cross - else - # Build conmon/config.h, requires native versions of - # cmd/crio-config/config.go and oci/oci.go - (CGO_ENABLED=0 GO=go GOARCH=${BUILD_GOARCH} GOOS=${BUILD_GOOS} oe_runmake conmon/config.h) - rm -f bin/crio-config - rm -rf vendor/pkg - - oe_runmake binaries - fi + oe_runmake local-cross + oe_runmake binaries } SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" -SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','crio.service','',d)}" -SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','crio.service','',d)}" +SYSTEMD_AUTO_ENABLE:${PN} = "enable" do_install() { set +e @@ -141,6 +81,7 @@ do_install() { install -d ${D}/${libexecdir}/crio install -d ${D}/${sysconfdir}/crio install -d ${D}${systemd_unitdir}/system/ + install -d ${D}/usr/share/containers/oci/hooks.d install ${WORKDIR}/crio.conf ${D}/${sysconfdir}/crio/crio.conf @@ -149,21 +90,25 @@ do_install() { install -m 755 -D ${S}/src/import/test/testdata/* ${D}/${sysconfdir}/crio/config/ install ${S}/src/import/bin/crio.cross.linux* ${D}/${localbindir}/crio - - if [ "${CRIO_BUILD_CROSS}" = "1" ]; then - install ${S}/src/import/bin/conmon ${D}/${localbindir}/crio - install ${S}/src/import/bin/pause ${D}/${localbindir}/crio - fi + install ${S}/src/import/bin/crio-status ${D}/${localbindir}/ + install ${S}/src/import/bin/pinns ${D}/${localbindir}/ install -m 0644 ${S}/src/import/contrib/systemd/crio.service ${D}${systemd_unitdir}/system/ install -m 0644 ${S}/src/import/contrib/systemd/crio-shutdown.service ${D}${systemd_unitdir}/system/ + install -m 0644 ${S}/src/import/contrib/systemd/crio-wipe.service ${D}${systemd_unitdir}/system/ + + install -d ${D}${localstatedir}/lib/crio } -FILES_${PN}-config = "${sysconfdir}/crio/config/*" -FILES_${PN} += "${systemd_unitdir}/system/*" -FILES_${PN} += "/usr/local/bin/*" +FILES:${PN}-config = "${sysconfdir}/crio/config/*" +FILES:${PN} += "${systemd_unitdir}/system/*" +FILES:${PN} += "/usr/local/bin/*" +FILES:${PN} += "/usr/share/containers/oci/hooks.d" + +# don't clobber hooks.d +ALLOW_EMPTY:${PN} = "1" -INSANE_SKIP_${PN} += "ldflags already-stripped" +INSANE_SKIP:${PN} += "ldflags already-stripped textrel" deltask compile_ptest_base diff --git a/recipes-containers/cri-o/files/0001-Makefile-force-symlinks.patch b/recipes-containers/cri-o/files/0001-Makefile-force-symlinks.patch deleted file mode 100644 index 0b106e41..00000000 --- a/recipes-containers/cri-o/files/0001-Makefile-force-symlinks.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 53371afbf0f20a1651ee6f2406cd2be056a31066 Mon Sep 17 00:00:00 2001 -From: Bruce Ashfield <bruce.ashfield@windriver.com> -Date: Thu, 1 Nov 2018 11:17:05 -0400 -Subject: [PATCH] Makefile: force symlinks - -Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/import/Makefile b/src/import/Makefile -index cf37bec..68c8eeb 100644 ---- a/src/import/Makefile -+++ b/src/import/Makefile -@@ -66,7 +66,7 @@ help: - .gopathok: - ifeq ("$(wildcard $(GOPKGDIR))","") - mkdir -p "$(GOPKGBASEDIR)" -- ln -s "$(CURDIR)" "$(GOPKGDIR)" -+ ln -sf "$(CURDIR)" "$(GOPKGDIR)" - endif - touch "$(GOPATH)/.gopathok" - --- -2.7.4 - diff --git a/recipes-containers/cri-o/files/Makefile-skip-install-when-generating-the-config.h.patch b/recipes-containers/cri-o/files/Makefile-skip-install-when-generating-the-config.h.patch deleted file mode 100644 index 24c7e9d7..00000000 --- a/recipes-containers/cri-o/files/Makefile-skip-install-when-generating-the-config.h.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 3822e834d2dbd87a4dc8cdd36e7fe3b0e9020c4f Mon Sep 17 00:00:00 2001 -From: Mark Asselstine <mark.asselstine@windriver.com> -Date: Tue, 9 Apr 2019 13:52:59 -0400 -Subject: [PATCH] Makefile: skip install when generating the config.h - -When running 'go build' "The -i flag installs the packages that are -dependencies of the target." The Makefile makes use of this since many -of the dependencies needed to complete this rule will be used to by -other rules in the Makefile, thus speeding the overall build time -(avoiding redoing work). - -In our case the crio-config tool and its dependencies are not being -cross-compiled as they have to run locally to produce the -conmon/config.h file and thus installing them is not useful. In this -case there are no savings and can actually result in errors during the -build or if the build ARCH and target ARCH are the same, a potential -for host contamination. - -So we drop the use of '-i'. - -Upstream-Status: Inappropriate [cross compile issue] - -Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> ---- - Makefile | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/import/Makefile b/src/import/Makefile -index b9fa97f..8336a5b 100644 ---- a/src/import/Makefile -+++ b/src/import/Makefile -@@ -109,7 +109,7 @@ release-note: - @$(GOPATH)/bin/release-tool -n $(release) - - conmon/config.h: cmd/crio-config/config.go oci/oci.go -- $(GO) build -i $(LDFLAGS) -o bin/crio-config $(PROJECT)/cmd/crio-config -+ $(GO) build $(LDFLAGS) -o bin/crio-config $(PROJECT)/cmd/crio-config - ( cd conmon && $(CURDIR)/bin/crio-config ) - - clean: --- -2.7.4 - diff --git a/recipes-containers/cri-o/files/crio.conf b/recipes-containers/cri-o/files/crio.conf index 9135df08..84472d88 100644 --- a/recipes-containers/cri-o/files/crio.conf +++ b/recipes-containers/cri-o/files/crio.conf @@ -1,147 +1,573 @@ # generated via: crio --config="" config --default -# The "crio" table contains all of the server options. +# The CRI-O configuration file specifies all of the available configuration +# options and command-line flags for the crio(8) OCI Kubernetes Container Runtime +# daemon, but in a TOML format that can be more easily modified and versioned. +# +# Please refer to crio.conf(5) for details of all configuration options. + +# CRI-O supports partial configuration reload during runtime, which can be +# done by sending SIGHUP to the running process. Currently supported options +# are explicitly mentioned with: 'This option supports live configuration +# reload'. + +# CRI-O reads its storage defaults from the containers-storage.conf(5) file +# located at /etc/containers/storage.conf. Modify this storage configuration if +# you want to change the system's defaults. If you want to modify storage just +# for CRI-O, you can change the storage configuration options here. [crio] -# root is a path to the "root directory". CRIO stores all of its data, -# including container images, in this directory. +# Path to the "root directory". CRI-O stores all of its data, including +# containers images, in this directory. root = "/var/lib/containers/storage" -# run is a path to the "run directory". CRIO stores all of its state -# in this directory. -runroot = "/var/run/containers/storage" +# Path to the "run directory". CRI-O stores all of its state in this directory. +runroot = "/run/containers/storage" -# storage_driver select which storage driver is used to manage storage -# of images and containers. +# Storage driver used to manage the storage of images and containers. Please +# refer to containers-storage.conf(5) to see all available storage drivers. storage_driver = "" -# storage_option is used to pass an option to the storage driver. +# List to pass options to the storage driver. Please refer to +# containers-storage.conf(5) to see all available storage options. storage_option = [ ] -# The "crio.api" table contains settings for the kubelet/gRPC -# interface (which is also used by crioctl). +# The default log directory where all logs will go unless directly specified by +# the kubelet. The log directory specified must be an absolute directory. +log_dir = "/var/log/crio/pods" + +# Location for CRI-O to lay down the temporary version file. +# It is used to check if crio wipe should wipe containers, which should +# always happen on a node reboot +version_file = "/var/run/crio/version" + +# Location for CRI-O to lay down the persistent version file. +# It is used to check if crio wipe should wipe images, which should +# only happen when CRI-O has been upgraded +version_file_persist = "" + +# InternalWipe is whether CRI-O should wipe containers and images after a reboot when the server starts. +# If set to false, one must use the external command 'crio wipe' to wipe the containers and images in these situations. +internal_wipe = true + +# Location for CRI-O to lay down the clean shutdown file. +# It is used to check whether crio had time to sync before shutting down. +# If not found, crio wipe will clear the storage directory. +clean_shutdown_file = "/var/lib/crio/clean.shutdown" + +# The crio.api table contains settings for the kubelet/gRPC interface. [crio.api] -# listen is the path to the AF_LOCAL socket on which crio will listen. -listen = "/var/run/crio.sock" +# Path to AF_LOCAL socket on which CRI-O will listen. +listen = "/var/run/crio/crio.sock" + +# IP address on which the stream server will listen. +stream_address = "127.0.0.1" + +# The port on which the stream server will listen. If the port is set to "0", then +# CRI-O will allocate a random free port number. +stream_port = "0" + +# Enable encrypted TLS transport of the stream server. +stream_enable_tls = false -# stream_address is the IP address on which the stream server will listen -stream_address = "" +# Length of time until open streams terminate due to lack of activity +stream_idle_timeout = "" -# stream_port is the port on which the stream server will listen -stream_port = "10010" +# Path to the x509 certificate file used to serve the encrypted stream. This +# file can change, and CRI-O will automatically pick up the changes within 5 +# minutes. +stream_tls_cert = "" -# file_locking is whether file-based locking will be used instead of -# in-memory locking -file_locking = true +# Path to the key file used to serve the encrypted stream. This file can +# change and CRI-O will automatically pick up the changes within 5 minutes. +stream_tls_key = "" -# The "crio.runtime" table contains settings pertaining to the OCI -# runtime used and options for how to set up and manage the OCI runtime. +# Path to the x509 CA(s) file used to verify and authenticate client +# communication with the encrypted stream. This file can change and CRI-O will +# automatically pick up the changes within 5 minutes. +stream_tls_ca = "" + +# Maximum grpc send message size in bytes. If not set or <=0, then CRI-O will default to 16 * 1024 * 1024. +grpc_max_send_msg_size = 83886080 + +# Maximum grpc receive message size. If not set or <= 0, then CRI-O will default to 16 * 1024 * 1024. +grpc_max_recv_msg_size = 83886080 + +# The crio.runtime table contains settings pertaining to the OCI runtime used +# and options for how to set up and manage the OCI runtime. [crio.runtime] -# runtime is the OCI compatible runtime used for trusted container workloads. -# This is a mandatory setting as this runtime will be the default one -# and will also be used for untrusted container workloads if -# runtime_untrusted_workload is not set. -runtime = "/usr/bin/runc" - -# runtime_untrusted_workload is the OCI compatible runtime used for untrusted -# container workloads. This is an optional setting, except if -# default_container_trust is set to "untrusted". -runtime_untrusted_workload = "" - -# default_workload_trust is the default level of trust crio puts in container -# workloads. It can either be "trusted" or "untrusted", and the default -# is "trusted". -# Containers can be run through different container runtimes, depending on -# the trust hints we receive from kubelet: -# - If kubelet tags a container workload as untrusted, crio will try first to -# run it through the untrusted container workload runtime. If it is not set, -# crio will use the trusted runtime. -# - If kubelet does not provide any information about the container workload trust -# level, the selected runtime will depend on the default_container_trust setting. -# If it is set to "untrusted", then all containers except for the host privileged -# ones, will be run by the runtime_untrusted_workload runtime. Host privileged -# containers are by definition trusted and will always use the trusted container -# runtime. If default_container_trust is set to "trusted", crio will use the trusted -# container runtime for all containers. -default_workload_trust = "trusted" - -# conmon is the path to conmon binary, used for managing the runtime. -conmon = "/usr/libexec/crio/conmon" - -# conmon_env is the environment variable list for conmon process, -# used for passing necessary environment variable to conmon or runtime. +# A list of ulimits to be set in containers by default, specified as +# "<ulimit name>=<soft limit>:<hard limit>", for example: +# "nofile=1024:2048" +# If nothing is set here, settings will be inherited from the CRI-O daemon +default_ulimits = [ +] + +# If true, the runtime will not use pivot_root, but instead use MS_MOVE. +no_pivot = false + +# decryption_keys_path is the path where the keys required for +# image decryption are stored. This option supports live configuration reload. +decryption_keys_path = "/etc/crio/keys/" + +# Path to the conmon binary, used for monitoring the OCI runtime. +# Will be searched for using $PATH if empty. +# This option is currently deprecated, and will be replaced with RuntimeHandler.MonitorEnv. +conmon = "" + +# Cgroup setting for conmon +# This option is currently deprecated, and will be replaced with RuntimeHandler.MonitorCgroup. +conmon_cgroup = "" + +# Environment variable list for the conmon process, used for passing necessary +# environment variables to conmon or the runtime. +# This option is currently deprecated, and will be replaced with RuntimeHandler.MonitorEnv. conmon_env = [ - "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", ] -# selinux indicates whether or not SELinux will be used for pod -# separation on the host. If you enable this flag, SELinux must be running -# on the host. -selinux = false +# Additional environment variables to set for all the +# containers. These are overridden if set in the +# container image spec or in the container runtime configuration. +default_env = [ +] -# seccomp_profile is the seccomp json profile path which is used as the -# default for the runtime. -seccomp_profile = "/etc/crio/seccomp.json" +# If true, SELinux will be used for pod separation on the host. +selinux = false -# apparmor_profile is the apparmor profile name which is used as the -# default for the runtime. +# Path to the seccomp.json profile which is used as the default seccomp profile +# for the runtime. If not specified, then the internal default seccomp profile +# will be used. This option supports live configuration reload. +seccomp_profile = "" + +# Changes the meaning of an empty seccomp profile. By default +# (and according to CRI spec), an empty profile means unconfined. +# This option tells CRI-O to treat an empty profile as the default profile, +# which might increase security. +seccomp_use_default_when_empty = true + +# Used to change the name of the default AppArmor profile of CRI-O. The default +# profile name is "crio-default". This profile only takes effect if the user +# does not specify a profile via the Kubernetes Pod's metadata annotation. If +# the profile is set to "unconfined", then this equals to disabling AppArmor. +# This option supports live configuration reload. apparmor_profile = "crio-default" -# cgroup_manager is the cgroup management implementation to be used -# for the runtime. -cgroup_manager = "cgroupfs" +# Path to the blockio class configuration file for configuring +# the cgroup blockio controller. +blockio_config_file = "" + +# Used to change irqbalance service config file path which is used for configuring +# irqbalance daemon. +irqbalance_config_file = "/etc/sysconfig/irqbalance" + +# Path to the RDT configuration file for configuring the resctrl pseudo-filesystem. +# This option supports live configuration reload. +rdt_config_file = "" + +# Cgroup management implementation used for the runtime. +cgroup_manager = "systemd" + +# Specify whether the image pull must be performed in a separate cgroup. +separate_pull_cgroup = "" + +# List of default capabilities for containers. If it is empty or commented out, +# only the capabilities defined in the containers json file by the user/kube +# will be added. +default_capabilities = [ + "CHOWN", + "DAC_OVERRIDE", + "FSETID", + "FOWNER", + "SETGID", + "SETUID", + "SETPCAP", + "NET_BIND_SERVICE", + "KILL", +] + +# List of default sysctls. If it is empty or commented out, only the sysctls +# defined in the container json file by the user/kube will be added. +default_sysctls = [ +] + +# List of devices on the host that a +# user can specify with the "io.kubernetes.cri-o.Devices" allowed annotation. +allowed_devices = [ + "/dev/fuse", +] + +# List of additional devices. specified as +# "<device-on-host>:<device-on-container>:<permissions>", for example: "--device=/dev/sdc:/dev/xvdc:rwm". +# If it is empty or commented out, only the devices +# defined in the container json file by the user/kube will be added. +additional_devices = [ +] + +# List of directories to scan for CDI Spec files. +cdi_spec_dirs = [ + "/etc/cdi", + "/var/run/cdi", +] + +# Change the default behavior of setting container devices uid/gid from CRI's +# SecurityContext (RunAsUser/RunAsGroup) instead of taking host's uid/gid. +# Defaults to false. +device_ownership_from_security_context = false + +# Path to OCI hooks directories for automatically executed hooks. If one of the +# directories does not exist, then CRI-O will automatically skip them. +hooks_dir = [ + "/usr/share/containers/oci/hooks.d", +] + +# Path to the file specifying the defaults mounts for each container. The +# format of the config is /SRC:/DST, one mount per line. Notice that CRI-O reads +# its default mounts from the following two files: +# +# 1) /etc/containers/mounts.conf (i.e., default_mounts_file): This is the +# override file, where users can either add in their own default mounts, or +# override the default mounts shipped with the package. +# +# 2) /usr/share/containers/mounts.conf: This is the default file read for +# mounts. If you want CRI-O to read from a different, specific mounts file, +# you can change the default_mounts_file. Note, if this is done, CRI-O will +# only add mounts it finds in this file. +# +default_mounts_file = "" + +# Maximum number of processes allowed in a container. +# This option is deprecated. The Kubelet flag '--pod-pids-limit' should be used instead. +pids_limit = 0 + +# Maximum sized allowed for the container log file. Negative numbers indicate +# that no size limit is imposed. If it is positive, it must be >= 8192 to +# match/exceed conmon's read buffer. The file is truncated and re-opened so the +# limit is never exceeded. This option is deprecated. The Kubelet flag '--container-log-max-size' should be used instead. +log_size_max = -1 + +# Whether container output should be logged to journald in addition to the kuberentes log file +log_to_journald = false + +# Path to directory in which container exit files are written to by conmon. +container_exits_dir = "/var/run/crio/exits" + +# Path to directory for container attach sockets. +container_attach_socket_dir = "/var/run/crio" + +# The prefix to use for the source of the bind mounts. +bind_mount_prefix = "" + +# If set to true, all containers will run in read-only mode. +read_only = false + +# Changes the verbosity of the logs based on the level it is set to. Options +# are fatal, panic, error, warn, info, debug and trace. This option supports +# live configuration reload. +log_level = "info" + +# Filter the log messages by the provided regular expression. +# This option supports live configuration reload. +log_filter = "" + +# The UID mappings for the user namespace of each container. A range is +# specified in the form containerUID:HostUID:Size. Multiple ranges must be +# separated by comma. +uid_mappings = "" + +# The GID mappings for the user namespace of each container. A range is +# specified in the form containerGID:HostGID:Size. Multiple ranges must be +# separated by comma. +gid_mappings = "" + +# If set, CRI-O will reject any attempt to map host UIDs below this value +# into user namespaces. A negative value indicates that no minimum is set, +# so specifying mappings will only be allowed for pods that run as UID 0. +minimum_mappable_uid = -1 + +# If set, CRI-O will reject any attempt to map host GIDs below this value +# into user namespaces. A negative value indicates that no minimum is set, +# so specifying mappings will only be allowed for pods that run as UID 0. +minimum_mappable_gid = -1 + +# The minimal amount of time in seconds to wait before issuing a timeout +# regarding the proper termination of the container. The lowest possible +# value is 30s, whereas lower values are not considered by CRI-O. +ctr_stop_timeout = 30 + +# drop_infra_ctr determines whether CRI-O drops the infra container +# when a pod does not have a private PID namespace, and does not use +# a kernel separating runtime (like kata). +# It requires manage_ns_lifecycle to be true. +drop_infra_ctr = true + +# infra_ctr_cpuset determines what CPUs will be used to run infra containers. +# You can use linux CPU list format to specify desired CPUs. +# To get better isolation for guaranteed pods, set this parameter to be equal to kubelet reserved-cpus. +infra_ctr_cpuset = "" + +# The directory where the state of the managed namespaces gets tracked. +# Only used when manage_ns_lifecycle is true. +namespaces_dir = "/var/run" + +# pinns_path is the path to find the pinns binary, which is needed to manage namespace lifecycle +pinns_path = "" + +# default_runtime is the _name_ of the OCI runtime to be used as the default. +# The name is matched against the runtimes map below. If this value is changed, +# the corresponding existing entry from the runtimes map below will be ignored. +default_runtime = "runc" + +# A list of paths that, when absent from the host, +# will cause a container creation to fail (as opposed to the current behavior being created as a directory). +# This option is to protect from source locations whose existence as a directory could jepordize the health of the node, and whose +# creation as a file is not desired either. +# An example is /etc/hostname, which will cause failures on reboot if it's created as a directory, but often doesn't exist because +# the hostname is being managed dynamically. +absent_mount_sources_to_reject = [ +] -# hooks_dir_path is the oci hooks directory for automatically executed hooks -hooks_dir_path = "/usr/share/containers/oci/hooks.d" +# The "crio.runtime.runtimes" table defines a list of OCI compatible runtimes. +# The runtime to use is picked based on the runtime handler provided by the CRI. +# If no runtime handler is provided, the runtime will be picked based on the level +# of trust of the workload. Each entry in the table should follow the format: +# +#[crio.runtime.runtimes.runtime-handler] +# runtime_path = "/path/to/the/executable" +# runtime_type = "oci" +# runtime_root = "/path/to/the/root" +# privileged_without_host_devices = false +# allowed_annotations = [] +# Where: +# - runtime-handler: name used to identify the runtime +# - runtime_path (optional, string): absolute path to the runtime executable in +# the host filesystem. If omitted, the runtime-handler identifier should match +# the runtime executable name, and the runtime executable should be placed +# in $PATH. +# - runtime_type (optional, string): type of runtime, one of: "oci", "vm". If +# omitted, an "oci" runtime is assumed. +# - runtime_root (optional, string): root directory for storage of containers +# state. +# - runtime_config_path (optional, string): the path for the runtime configuration +# file. This can only be used with when using the VM runtime_type. +# - privileged_without_host_devices (optional, bool): an option for restricting +# host devices from being passed to privileged containers. +# - allowed_annotations (optional, array of strings): an option for specifying +# a list of experimental annotations that this runtime handler is allowed to process. +# The currently recognized values are: +# "io.kubernetes.cri-o.userns-mode" for configuring a user namespace for the pod. +# "io.kubernetes.cri-o.cgroup2-mount-hierarchy-rw" for mounting cgroups writably when set to "true". +# "io.kubernetes.cri-o.Devices" for configuring devices for the pod. +# "io.kubernetes.cri-o.ShmSize" for configuring the size of /dev/shm. +# "io.kubernetes.cri-o.UnifiedCgroup.$CTR_NAME" for configuring the cgroup v2 unified block for a container. +# "io.containers.trace-syscall" for tracing syscalls via the OCI seccomp BPF hook. +# "io.kubernetes.cri.rdt-class" for setting the RDT class of a container +# - monitor_exec_cgroup (optional, string): if set to "container", indicates exec probes +# should be moved to the container's cgroup + + +[crio.runtime.runtimes.runc] +runtime_path = "" +runtime_type = "oci" +runtime_root = "/run/runc" +runtime_config_path = "" + + +allowed_annotations = [ + "io.containers.trace-syscall", +] -# pids_limit is the number of processes allowed in a container -pids_limit = 1024 +monitor_path = "" -# The "crio.image" table contains settings pertaining to the -# management of OCI images. +monitor_env = [ + "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin", +] + +monitor_cgroup = "system.slice" +monitor_exec_cgroup = "" + + +# crun is a fast and lightweight fully featured OCI runtime and C library for +# running containers +#[crio.runtime.runtimes.crun] + +# Kata Containers is an OCI runtime, where containers are run inside lightweight +# VMs. Kata provides additional isolation towards the host, minimizing the host attack +# surface and mitigating the consequences of containers breakout. + +# Kata Containers with the default configured VMM +#[crio.runtime.runtimes.kata-runtime] + +# Kata Containers with the QEMU VMM +#[crio.runtime.runtimes.kata-qemu] + +# Kata Containers with the Firecracker VMM +#[crio.runtime.runtimes.kata-fc] + +# The workloads table defines ways to customize containers with different resources +# that work based on annotations, rather than the CRI. +# Note, the behavior of this table is EXPERIMENTAL and may change at any time. +# Each workload, has a name, activation_annotation, annotation_prefix and set of resources it supports mutating. +# The currently supported resources are "cpu" (to configure the cpu shares) and "cpuset" to configure the cpuset. +# Each resource can have a default value specified, or be empty. +# For a container to opt-into this workload, the pod should be configured with the annotation $activation_annotation (key only, value is ignored). +# To customize per-container, an annotation of the form $annotation_prefix.$resource/$ctrName = "value" can be specified +# signifying for that resource type to override the default value. +# If the annotation_prefix is not present, every container in the pod will be given the default values. +# Example: +# [crio.runtime.workloads.workload-type] +# activation_annotation = "io.crio/workload" +# annotation_prefix = "io.crio.workload-type" +# [crio.runtime.workloads.workload-type.resources] +# cpuset = 0 +# cpushares = "0-1" +# Where: +# The workload name is workload-type. +# To specify, the pod must have the "io.crio.workload" annotation (this is a precise string match). +# This workload supports setting cpuset and cpu resources. +# annotation_prefix is used to customize the different resources. +# To configure the cpu shares a container gets in the example above, the pod would have to have the following annotation: +# "io.crio.workload-type/$container_name = {"cpushares": "value"}" + + +# The crio.image table contains settings pertaining to the management of OCI images. +# +# CRI-O reads its configured registries defaults from the system wide +# containers-registries.conf(5) located in /etc/containers/registries.conf. If +# you want to modify just CRI-O, you can change the registries configuration in +# this file. Otherwise, leave insecure_registries and registries commented out to +# use the system's defaults from /etc/containers/registries.conf. [crio.image] -# default_transport is the prefix we try prepending to an image name if the -# image name as we receive it can't be parsed as a valid source reference +# Default transport for pulling images from a remote container storage. default_transport = "docker://" -# pause_image is the image which we use to instantiate infra containers. -pause_image = "kubernetes/pause" +# The path to a file containing credentials necessary for pulling images from +# secure registries. The file is similar to that of /var/lib/kubelet/config.json +global_auth_file = "" + +# The image used to instantiate infra containers. +# This option supports live configuration reload. +pause_image = "registry.k8s.io/pause:3.6" -# pause_command is the command to run in a pause_image to have a container just -# sit there. If the image contains the necessary information, this value need -# not be specified. +# The path to a file containing credentials specific for pulling the pause_image from +# above. The file is similar to that of /var/lib/kubelet/config.json +# This option supports live configuration reload. +pause_image_auth_file = "" + +# The command to run to have a container stay in the paused state. +# When explicitly set to "", it will fallback to the entrypoint and command +# specified in the pause image. When commented out, it will fallback to the +# default: "/pause". This option supports live configuration reload. pause_command = "/pause" -# signature_policy is the name of the file which decides what sort of policy we -# use when deciding whether or not to trust an image that we've pulled. -# Outside of testing situations, it is strongly advised that this be left -# unspecified so that the default system-wide policy will be used. +# Path to the file which decides what sort of policy we use when deciding +# whether or not to trust an image that we've pulled. It is not recommended that +# this option be used, as the default behavior of using the system-wide default +# policy (i.e., /etc/containers/policy.json) is most often preferred. Please +# refer to containers-policy.json(5) for more details. signature_policy = "" -# image_volumes controls how image volumes are handled. -# The valid values are mkdir and ignore. -image_volumes = "mkdir" - -# insecure_registries is used to skip TLS verification when pulling images. +# List of registries to skip TLS verification for pulling images. Please +# consider configuring the registries via /etc/containers/registries.conf before +# changing them here. insecure_registries = [ ] -# registries is used to specify a comma separated list of registries to be used -# when pulling an unqualified image (e.g. fedora:rawhide). -registries = [ -] +# Controls how image volumes are handled. The valid values are mkdir, bind and +# ignore; the latter will ignore volumes entirely. +image_volumes = "mkdir" -# The "crio.network" table contains settings pertaining to the -# management of CNI plugins. +# Temporary directory to use for storing big files +big_files_temporary_dir = "" + +# The crio.network table containers settings pertaining to the management of +# CNI plugins. [crio.network] -# network_dir is is where CNI network configuration -# files are stored. +# The default CNI network name to be selected. If not set or "", then +# CRI-O will pick-up the first one found in network_dir. +# cni_default_network = "" + +# Path to the directory where CNI configuration files are located. network_dir = "/etc/cni/net.d/" -# plugin_dir is is where CNI plugin binaries are stored. -plugin_dir = "/opt/cni/bin" +# Paths to directories where CNI plugin binaries are located. +plugin_dirs = [ + "/opt/cni/bin/", +] + +# A necessary configuration for Prometheus based metrics retrieval +[crio.metrics] + +# Globally enable or disable metrics support. +enable_metrics = false + +# Specify enabled metrics collectors. +# Per default all metrics are enabled. +# It is possible, to prefix the metrics with "container_runtime_" and "crio_". +# For example, the metrics collector "operations" would be treated in the same +# way as "crio_operations" and "container_runtime_crio_operations". +metrics_collectors = [ + "operations", + "operations_latency_microseconds_total", + "operations_latency_microseconds", + "operations_errors", + "image_pulls_by_digest", + "image_pulls_by_name", + "image_pulls_by_name_skipped", + "image_pulls_failures", + "image_pulls_successes", + "image_pulls_layer_size", + "image_layer_reuse", + "containers_oom_total", + "containers_oom", + "processes_defunct", + "operations_total", + "operations_latency_seconds", + "operations_latency_seconds_total", + "operations_errors_total", + "image_pulls_bytes_total", + "image_pulls_skipped_bytes_total", + "image_pulls_failure_total", + "image_pulls_success_total", + "image_layer_reuse_total", + "containers_oom_count_total", +] +# The port on which the metrics server will listen. +metrics_port = 9090 + +# Local socket path to bind the metrics server to +metrics_socket = "" + +# The certificate for the secure metrics server. +# If the certificate is not available on disk, then CRI-O will generate a +# self-signed one. CRI-O also watches for changes of this path and reloads the +# certificate on any modification event. +metrics_cert = "" + +# The certificate key for the secure metrics server. +# Behaves in the same way as the metrics_cert. +metrics_key = "" + +# A necessary configuration for OpenTelemetry trace data exporting +[crio.tracing] + +# Globally enable or disable exporting OpenTelemetry traces. +enable_tracing = false + +# Address on which the gRPC trace collector listens on. +tracing_endpoint = "0.0.0.0:4317" + +# Number of samples to collect per million spans. +tracing_sampling_rate_per_million = 0 + +# Necessary information pertaining to container and pod stats reporting. +[crio.stats] + +# The number of seconds between collecting pod and container stats. +# If set to 0, the stats are collected on-demand instead. +stats_collection_period = 0 + diff --git a/recipes-containers/cri-tools/cri-tools/0001-build-allow-environmental-CGO-settings-and-pass-dont.patch b/recipes-containers/cri-tools/cri-tools/0001-build-allow-environmental-CGO-settings-and-pass-dont.patch new file mode 100644 index 00000000..29e0367b --- /dev/null +++ b/recipes-containers/cri-tools/cri-tools/0001-build-allow-environmental-CGO-settings-and-pass-dont.patch @@ -0,0 +1,51 @@ +From 567b618f2ab9bb722826688d84f328773e4f37ce Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Wed, 17 Aug 2022 11:03:09 -0400 +Subject: [PATCH] build: allow environmental CGO settings and pass + dontusecurrentpkgs + +The build system already knows whether or not we want to use CGO, +so we remove the hardcoded variant so our exported environment +variable will control the enablement. + +Since our oe-core go infrastructure insists on both -pie and static +builds (for the most part), and that is not recommended by many +packages, we end up with errors like: + + 1.20.0+gitec9e336fd8c21c4bab89a6aed2c4a138c8cfae75/src/import/_output/crictl \ + -ldflags '-X github.com/kubernetes-sigs/cri-tools/pkg/version.Version=1.20.0' \ + -tags '' \ + github.com/kubernetes-sigs/cri-tools/cmd/crictl + # github.com/kubernetes-sigs/cri-tools/cmd/crictl + cannot find package runtime/cgo (using -importcfg) + /work/cortexa72-poky-linux/cri-tools/1.20.0+gitec9e336fd8c21c4bab89a6aed2c4a138c8cfae75-r0/recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: + cannot open file : open : no such file or directory + +In a similar manner to: + +https://www.yoctoproject.org/pipermail/meta-virtualization/2019-March/004084.html + +We introduce '-a -pkgdir dontusecurrentpkgs' to mask/fix the problem, +and continue to work towards non-static builds. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + src/import/Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: cri-tools-1.27.0+gite73a7139ed4986d6a0db784ae7a036841a02b351/src/import/Makefile +=================================================================== +--- cri-tools-1.27.0+gite73a7139ed4986d6a0db784ae7a036841a02b351.orig/src/import/Makefile ++++ cri-tools-1.27.0+gite73a7139ed4986d6a0db784ae7a036841a02b351/src/import/Makefile +@@ -74,7 +74,8 @@ + @$(MAKE) -B $(CRICTL) + + $(CRICTL): +- CGO_ENABLED=$(CGO_ENABLED) $(GO_BUILD) -o $@ \ ++ $(GO_BUILD) -o $@ \ ++ -a -pkgdir dontusecurrentpkgs \ + -ldflags '$(GO_LDFLAGS)' \ + $(GOFLAGS) \ + $(PROJECT)/cmd/crictl diff --git a/recipes-containers/cri-tools/cri-tools_git.bb b/recipes-containers/cri-tools/cri-tools_git.bb new file mode 100644 index 00000000..e0caf740 --- /dev/null +++ b/recipes-containers/cri-tools/cri-tools_git.bb @@ -0,0 +1,81 @@ +HOMEPAGE = "https://github.com/kubernetes-sigs/cri-tools" +SUMMARY = "CLI and validation tools for Kubelet Container Runtime Interface (CRI)" +DESCRIPTION = "What is the scope of this project? \ +\ +cri-tools aims to provide a series of debugging and validation tools for \ +Kubelet CRI, which includes: \ +\ + * crictl: CLI for kubelet CRI. \ + * critest: validation test suites for kubelet CRI. \ +\ +What is not in scope for this project? \ +\ + * Building a new kubelet container runtime based on CRI. \ + * Managing pods/containers for CRI-compatible runtimes by end-users, e.g. \ + pods created by crictl may be removed automatically by kubelet because of \ + non-exist on the kube-apiserver. \ + " + +SRCREV_cri-tools = "17b4dd65d660fec94d7a5a070e3e89ef640f1087" +SRC_URI = "\ + git://github.com/kubernetes-sigs/cri-tools.git;branch=master;name=cri-tools;protocol=https \ + file://0001-build-allow-environmental-CGO-settings-and-pass-dont.patch \ + " + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +GO_IMPORT = "import" + +PV = "1.29.0+git${SRCREV_cri-tools}" + +RPROVIDES:${PN} += "crictl" +PACKAGES =+ "${PN}-critest" + +inherit go +inherit goarch +inherit pkgconfig + +EXTRA_OEMAKE="BUILDTAGS=''" + +do_compile() { + # link fixups for compilation + rm -f ${S}/src/import/vendor/src + ln -sf ./ ${S}/src/import/vendor/src + + export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" + cd ${S}/src/import + + # Build the target binaries + export GOARCH="${TARGET_GOARCH}" + # Pass the needed cflags/ldflags so that cgo can find the needed headers files and libraries + export CGO_ENABLED="1" + export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CFLAGS="" + export LDFLAGS="" + export CC="${CC}" + export LD="${LD}" + export GOBIN="" + + oe_runmake crictl +} + +do_install() { + install -d ${D}${bindir} + for f in $(find ${S}/src/import/build/bin/ -type f); do + echo "installing $f to ${D}/${bindir}" + install -m 755 -D $f ${D}/${bindir} + done +} + +FILES:${PN}-critest = "${bindir}/critest" + +# don't clobber hooks.d +ALLOW_EMPTY:${PN} = "1" + +INSANE_SKIP:${PN} += "ldflags already-stripped textrel" + +deltask compile_ptest_base + +COMPATIBLE_HOST = "^(?!(qemu)?mips).*" diff --git a/recipes-containers/criu/criu_git.bb b/recipes-containers/criu/criu_git.bb index 704a0f9e..09503624 100644 --- a/recipes-containers/criu/criu_git.bb +++ b/recipes-containers/criu/criu_git.bb @@ -7,26 +7,27 @@ it was frozen at. The distinctive feature of the CRIU project is that it is \ mainly implemented in user space" HOMEPAGE = "http://criu.org" SECTION = "console/tools" -LICENSE = "GPLv2" +LICENSE = "GPL-2.0-only" EXCLUDE_FROM_WORLD = "1" LIC_FILES_CHKSUM = "file://COPYING;md5=412de458544c1cb6a2b512cd399286e2" -SRCREV = "c703e3fd8404e506cc6156719b953ea0580d59a4" -PV = "3.13+git${SRCPV}" +SRCREV = "f8b14286b092853a4485813e1efd564109df9123" +PV = "3.19.0+git" -SRC_URI = "git://github.com/checkpoint-restore/criu.git \ - file://0001-criu-Fix-toolchain-hardcode.patch \ - file://0002-criu-Skip-documentation-install.patch \ - file://0001-criu-Change-libraries-install-directory.patch \ - file://lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch \ - " +SRC_URI = "git://github.com/checkpoint-restore/criu.git;branch=master;protocol=https \ + file://0001-criu-Skip-documentation-install.patch \ + file://0002-criu-Change-libraries-install-directory.patch \ + file://0003-crit-pycriu-build-and-install-wheels.patch \ + file://0004-pycriu-attr-pycriu.version.__version__.patch \ + file://0005-pycriu-skip-dependency-check-during-build.patch \ + " COMPATIBLE_HOST = "(x86_64|arm|aarch64).*-linux" -DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet" -RDEPENDS_${PN} = "bash" +DEPENDS += "libnl libcap protobuf-c-native protobuf-c util-linux-native libbsd libnet python3-protobuf-native" +RDEPENDS:${PN} = "bash cgroup-lite python3-ctypes python3-fcntl python3-protobuf" S = "${WORKDIR}/git" @@ -35,17 +36,17 @@ S = "${WORKDIR}/git" # if the ARCH is ARMv7 or ARMv6. # ARM BSPs need set CRIU_BUILD_ARCH variable for building CRIU. # -EXTRA_OEMAKE_arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0" -EXTRA_OEMAKE_x86-64 += "ARCH=x86 WERROR=0" -EXTRA_OEMAKE_aarch64 += "ARCH=aarch64 WERROR=0" +EXTRA_OEMAKE:arm += "ARCH=arm UNAME-M=${CRIU_BUILD_ARCH} WERROR=0" +EXTRA_OEMAKE:x86-64 += "ARCH=x86 WERROR=0" +EXTRA_OEMAKE:aarch64 += "ARCH=aarch64 WERROR=0" -EXTRA_OEMAKE_append += "SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no" -EXTRA_OEMAKE_append += "LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}" +EXTRA_OEMAKE:append = " SBINDIR=${sbindir} LIBDIR=${libdir} INCLUDEDIR=${includedir} PIEGEN=no" +EXTRA_OEMAKE:append = " LOGROTATEDIR=${sysconfdir} SYSTEMDUNITDIR=${systemd_unitdir}" -CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " +CFLAGS += "-D__USE_GNU -D_GNU_SOURCE " CFLAGS += " -I${STAGING_INCDIR} -I${STAGING_INCDIR}/libnl3" -CFLAGS_arm += "-D__WORDSIZE" +CFLAGS:arm += "-D__WORDSIZE" # overide LDFLAGS to allow criu to build without: "x86_64-poky-linux-ld: unrecognized option '-Wl,-O1'" export LDFLAGS="" @@ -55,7 +56,8 @@ export BUILD_SYS export HOST_SYS export HOSTCFLAGS = "${BUILD_CFLAGS}" -inherit setuptools3 +inherit python_setuptools_build_meta +inherit pkgconfig B = "${S}" @@ -64,33 +66,47 @@ PACKAGECONFIG[selinux] = ",,libselinux" CLEANBROKEN = "1" -do_compile_prepend() { +# WARNING: criu-3.17.1 do_package_qa: QA Issue: criu: ELF binary /usr/sbin/criu has relocations in .text [textrel] +INSANE_SKIP:${PN} += "textrel" + +do_compile:prepend() { rm -rf ${S}/images/google/protobuf/descriptor.proto ln -s ${PKG_CONFIG_SYSROOT_DIR}/usr/include/google/protobuf/descriptor.proto ${S}/images/google/protobuf/descriptor.proto } do_compile () { - oe_runmake FULL_PYTHON=${PYTHON} PYTHON=python3 + oe_runmake FULL_PYTHON=${PYTHON} PYTHON=nativepython3 } do_install () { export INSTALL_LIB="${libdir}/${PYTHON_DIR}/site-packages" - oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" FULL_PYTHON=${PYTHON} PYTHON=python3 install + export PEP517_WHEEL_PATH="${PEP517_WHEEL_PATH}" + export USRBINPATH="${USRBINPATH}" + export PEP517_INSTALL_PYTHON="${PEP517_INSTALL_PYTHON}" + oe_runmake PREFIX=${exec_prefix} LIBDIR=${libdir} DESTDIR="${D}" PLUGINDIR="${localstatedir}/lib" FULL_PYTHON=${PYTHON} PYTHON=nativepython3 install # python3's distutils has a feature of rewriting the interpeter on setup installed # scripts. 'crit' is one of those scripts. The "executable" or "e" option to the # setup call should fix it, but it is being ignored. So to avoid getting our native # intepreter replaced in the script, we'll do an explicit update ourselves. - sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%g' ${D}/usr/bin/crit + # + # we're building wheels now, so EGG-INFO need not apply + #sed -i 's%^\#\!.*%\#\!/usr/bin/env python3%' ${D}/usr/bin/crit ${D}${libdir}/python3*/site-packages/crit-*-py3*.egg/EGG-INFO/scripts/crit + + # all the __pycache__ contains references to TMPDIR and these will be built the first time + # it runs on the target anyway + for pycachedir in $(find ${D} -name __pycache__); do + rm -rf $pycachedir + done } -FILES_${PN} += "${systemd_unitdir}/ \ - ${libdir}/python3*/site-packages/ \ - ${libdir}/pycriu/ \ - ${libdir}/crit-0.0.1-py3*.egg-info \ +FILES:${PN} += "${systemd_unitdir}/ \ + #${libdir}/python3*/site-packages/ \ + #${libdir}/pycriu/ \ + #${libdir}/crit-0.0.1-py3*.egg-info \ " -FILES_${PN}-staticdev += " \ +FILES:${PN}-staticdev += " \ ${libexecdir}/compel/std.lib.a \ ${libexecdir}/compel/fds.lib.a \ " diff --git a/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch b/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch deleted file mode 100644 index bd7a6c57..00000000 --- a/recipes-containers/criu/files/0001-criu-Fix-toolchain-hardcode.patch +++ /dev/null @@ -1,102 +0,0 @@ -From c005b7a4874f55df687ff22bc425551775581421 Mon Sep 17 00:00:00 2001 -From: Mark Asselstine <mark.asselstine@windriver.com> -Date: Fri, 8 Sep 2017 15:02:14 -0400 -Subject: [PATCH] criu: Fix toolchain hardcode - -Replace ":=" to "?=" so that the toolchain used by bitbake build system will -be taken. - -Signed-off-by: Yang Shi <yang.shi@windriver.com> -Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> -Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> - ---- - Makefile | 2 +- - scripts/nmk/scripts/include.mk | 2 +- - scripts/nmk/scripts/tools.mk | 40 ++++++++++++++++++++-------------------- - 3 files changed, 22 insertions(+), 22 deletions(-) - -diff --git a/Makefile b/Makefile -index f2583a2..d7f51e5 100644 ---- a/Makefile -+++ b/Makefile -@@ -17,7 +17,7 @@ ifeq ($(origin HOSTCFLAGS), undefined) - HOSTCFLAGS := $(CFLAGS) $(USERCFLAGS) - endif - --UNAME-M := $(shell uname -m) -+UNAME-M ?= $(shell uname -m) - - # - # Supported Architectures -diff --git a/scripts/nmk/scripts/include.mk b/scripts/nmk/scripts/include.mk -index 04ccb3a..0d63bc7 100644 ---- a/scripts/nmk/scripts/include.mk -+++ b/scripts/nmk/scripts/include.mk -@@ -22,7 +22,7 @@ SUBARCH := $(shell uname -m | sed \ - -e s/aarch64.*/aarch64/) - - ARCH ?= $(SUBARCH) --SRCARCH := $(ARCH) -+SRCARCH ?= $(ARCH) - - export SUBARCH ARCH SRCARCH - -diff --git a/scripts/nmk/scripts/tools.mk b/scripts/nmk/scripts/tools.mk -index 56dba84..1698821 100644 ---- a/scripts/nmk/scripts/tools.mk -+++ b/scripts/nmk/scripts/tools.mk -@@ -2,35 +2,35 @@ ifndef ____nmk_defined__tools - - # - # System tools shorthands --RM := rm -f -+RM ?= rm -f - HOSTLD ?= ld - ifeq ($(origin LD), default) - LD := $(CROSS_COMPILE)$(HOSTLD) - endif - HOSTCC ?= gcc - ifeq ($(origin CC), default) - CC := $(CROSS_COMPILE)$(HOSTCC) - endif --CPP := $(CC) -E --AS := $(CROSS_COMPILE)as --AR := $(CROSS_COMPILE)ar --STRIP := $(CROSS_COMPILE)strip --OBJCOPY := $(CROSS_COMPILE)objcopy --OBJDUMP := $(CROSS_COMPILE)objdump --NM := $(CROSS_COMPILE)nm --MAKE := make --MKDIR := mkdir -p --AWK := awk --PERL := perl --FULL_PYTHON := $(shell which python2 2>/dev/null || which python3 2>/dev/null) -+CPP ?= $(CC) -E -+AS ?= $(CROSS_COMPILE)as -+AR ?= $(CROSS_COMPILE)ar -+STRIP ?= $(CROSS_COMPILE)strip -+OBJCOPY ?= $(CROSS_COMPILE)objcopy -+OBJDUMP ?= $(CROSS_COMPILE)objdump -+NM ?= $(CROSS_COMPILE)nm -+MAKE ?= make -+MKDIR ?= mkdir -p -+AWK ?= awk -+PERL ?= perl -+FULL_PYTHON ?= $(shell which python2 2>/dev/null || which python3 2>/dev/null) - PYTHON ?= $(shell basename $(FULL_PYTHON)) --FIND := find --SH := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ -+FIND ?= find -+SH ?= $(shell if [ -x "$$BASH" ]; then echo $$BASH; \ - else if [ -x /bin/bash ]; then echo /bin/bash; \ - else echo sh; fi ; fi) --CSCOPE := cscope --ETAGS := etags --CTAGS := ctags -+CSCOPE ?= cscope -+ETAGS ?= etags -+CTAGS ?= ctags - - export RM HOSTLD LD HOSTCC CC CPP AS AR STRIP OBJCOPY OBJDUMP - export NM SH MAKE MKDIR AWK PERL PYTHON SH CSCOPE diff --git a/recipes-containers/criu/files/0002-criu-Skip-documentation-install.patch b/recipes-containers/criu/files/0001-criu-Skip-documentation-install.patch index af45db73..dd33b1bd 100644 --- a/recipes-containers/criu/files/0002-criu-Skip-documentation-install.patch +++ b/recipes-containers/criu/files/0001-criu-Skip-documentation-install.patch @@ -1,22 +1,23 @@ -From 45d74ae8a314c481398ba91a3697ffbd074cd98b Mon Sep 17 00:00:00 2001 +From 485e957a4c3289d105dd6203af31c0e4e1438ac6 Mon Sep 17 00:00:00 2001 From: Jianchuan Wang <jianchuan.wang@windriver.com> Date: Tue, 16 Aug 2016 09:42:24 +0800 -Subject: [PATCH] criu: Skip documentation install +Subject: [PATCH 1/3] criu: Skip documentation install asciidoc is needed to generate CRIU documentation, so skip it in install. -Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> +Upstream-Status: Inappropriate [embedded specific] +Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> --- Makefile.install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.install b/Makefile.install -index 3987bcc..1def3cf 100644 +index aafb95469..1b02b70af 100644 --- a/Makefile.install +++ b/Makefile.install -@@ -29,7 +29,7 @@ export PREFIX BINDIR SBINDIR MANDIR RUNDIR - export LIBDIR INCLUDEDIR LIBEXECDIR +@@ -30,7 +30,7 @@ export PREFIX BINDIR SBINDIR MANDIR RUNDIR + export LIBDIR INCLUDEDIR LIBEXECDIR PLUGINDIR install-man: - $(Q) $(MAKE) -C Documentation install @@ -24,3 +25,6 @@ index 3987bcc..1def3cf 100644 .PHONY: install-man install-lib: lib +-- +2.25.1 + diff --git a/recipes-containers/criu/files/0001-criu-Change-libraries-install-directory.patch b/recipes-containers/criu/files/0002-criu-Change-libraries-install-directory.patch index afb1332d..1a1beafd 100644 --- a/recipes-containers/criu/files/0001-criu-Change-libraries-install-directory.patch +++ b/recipes-containers/criu/files/0002-criu-Change-libraries-install-directory.patch @@ -1,25 +1,31 @@ -From f64fbca70e6049dad3c404d871f2383d97725d2d Mon Sep 17 00:00:00 2001 +From dcbf7f8ad1b07ff718eac2ce79ed522ac1cee189 Mon Sep 17 00:00:00 2001 From: Mark Asselstine <mark.asselstine@windriver.com> Date: Fri, 8 Sep 2017 15:11:31 -0400 -Subject: [PATCH] criu: Change libraries install directory +Subject: [PATCH 2/3] criu: Change libraries install directory Install the libraries into /usr/lib(or /usr/lib64) +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Jianchuan Wang <jianchuan.wang@windriver.com> Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> +Rebase for criu 3.17.1. + +Signed-off-by: Kai Kang <kai.kang@windriver.com> --- Makefile.install | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/Makefile.install b/Makefile.install -index 1def3cf..d020eef 100644 +index 1b02b70af..2839ef5fe 100644 --- a/Makefile.install +++ b/Makefile.install @@ -9,19 +9,6 @@ LIBEXECDIR ?= $(PREFIX)/libexec RUNDIR ?= /run + PLUGINDIR ?= $(PREFIX)/lib/criu - # +-# -# For recent Debian/Ubuntu with multiarch support. -DEB_HOST_MULTIARCH := $(shell dpkg-architecture -qDEB_HOST_MULTIARCH 2>/dev/null) -ifneq "$(DEB_HOST_MULTIARCH)" "" @@ -32,7 +38,9 @@ index 1def3cf..d020eef 100644 - endif -endif - --# + # # LIBDIR falls back to the standard path. LIBDIR ?= $(PREFIX)/lib - +-- +2.25.1 + diff --git a/recipes-containers/criu/files/0003-crit-pycriu-build-and-install-wheels.patch b/recipes-containers/criu/files/0003-crit-pycriu-build-and-install-wheels.patch new file mode 100644 index 00000000..0796bb24 --- /dev/null +++ b/recipes-containers/criu/files/0003-crit-pycriu-build-and-install-wheels.patch @@ -0,0 +1,77 @@ +From 40d2f0735d668dca893a5f0e787f1f11af74cf25 Mon Sep 17 00:00:00 2001 +From: Tim Orling <tim.orling@konsulko.com> +Date: Fri, 1 Mar 2024 22:22:37 -0800 +Subject: [PATCH] crit/pycriu: build and install wheels + +Rather than using heavy handed pip (which requires network access to +fetch the index), mimic what we do in python_pep517.bbclass do_compile +and do_install for both crit/ and lib/pycriu + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Tim Orling <tim.orling@konsulko.com> +--- + crit/Makefile | 8 ++++++-- + lib/Makefile | 11 +++++++++-- + 2 files changed, 15 insertions(+), 4 deletions(-) + +diff --git a/crit/Makefile b/crit/Makefile +index 9a856db6d..9b36f4be1 100644 +--- a/crit/Makefile ++++ b/crit/Makefile +@@ -1,5 +1,7 @@ + PYTHON_EXTERNALLY_MANAGED := $(shell $(PYTHON) -c 'import os, sysconfig; print(int(os.path.isfile(os.path.join(sysconfig.get_path("stdlib"), "EXTERNALLY-MANAGED"))))') + PIP_BREAK_SYSTEM_PACKAGES := 0 ++PEP517_SOURCE_PATH := ./crit ++PEP517_BUILD_OPTS := + + VERSION_FILE := $(if $(obj),$(addprefix $(obj)/,crit/version.py),crit/version.py) + +@@ -16,11 +18,13 @@ ifeq ($(PIP_BREAK_SYSTEM_PACKAGES),0) + $(E) " Consider using PIP_BREAK_SYSTEM_PACKAGES=1 make install" + else + $(E) " INSTALL " crit +- $(Q) $(PYTHON) -m pip install --upgrade --ignore-installed --prefix=$(DESTDIR)$(PREFIX) ./crit ++ $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) + endif + else ++ $(E) " BUILD " crit ++ $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) + $(E) " INSTALL " crit +- $(Q) $(PYTHON) -m pip install --upgrade --ignore-installed --prefix=$(DESTDIR)$(PREFIX) ./crit ++ $(Q) $(PYTHON) -m installer $(INSTALL_WHEEL_COMPILE_BYTECODE) --interpreter "$(USRBINPATH)/env $(PEP517_INSTALL_PYTHON)" --destdir=$(DESTDIR) $(PEP517_WHEEL_PATH)/crit-*.whl + endif + .PHONY: install + +diff --git a/lib/Makefile b/lib/Makefile +index ae371e78e..b5f147482 100644 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -1,6 +1,9 @@ + CRIU_SO := libcriu.so + CRIU_A := libcriu.a + UAPI_HEADERS := lib/c/criu.h images/rpc.proto images/rpc.pb-c.h criu/include/version.h ++PEP517_SOURCE_PATH := ./lib ++PEP517_BUILD_OPTS := ++INSTALL_WHEEL_COMPILE_BYTECODE ?= "--compile-bytecode=0" + + all-y += lib-c lib-a lib-py + +@@ -63,11 +66,15 @@ ifeq ($(PIP_BREAK_SYSTEM_PACKAGES),0) + $(E) " Consider using PIP_BREAK_SYSTEM_PACKAGES=1 make install" + else + $(E) " INSTALL " pycriu +- $(Q) $(PYTHON) -m pip install --upgrade --ignore-installed --prefix=$(DESTDIR)$(PREFIX) ./lib ++ $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) + endif + else ++ $(E) " BUILD " pycriu ++ $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) + $(E) " INSTALL " pycriu +- $(Q) $(PYTHON) -m pip install --upgrade --ignore-installed --prefix=$(DESTDIR)$(PREFIX) ./lib ++ #nativepython3 -m installer ${INSTALL_WHEEL_COMPILE_BYTECODE} --interpreter "${USRBINPATH}/env ${PEP517_INSTALL_PYTHON}" --destdir=${D} ${PEP517_WHEEL_PATH}/*.whl ++ ++ $(Q) $(PYTHON) -m installer $(INSTALL_WHEEL_COMPILE_BYTECODE) --interpreter "$(USRBINPATH)/env $(PEP517_INSTALL_PYTHON)" --destdir=$(DESTDIR) $(PEP517_WHEEL_PATH)/pycriu-*.whl + endif + .PHONY: install + diff --git a/recipes-containers/criu/files/lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch b/recipes-containers/criu/files/0003-lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch index 70ccb287..0f87e366 100644 --- a/recipes-containers/criu/files/lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch +++ b/recipes-containers/criu/files/0003-lib-Makefile-overwrite-install-lib-to-allow-multiarc.patch @@ -1,23 +1,24 @@ -From 6caf90592d61c8c45b32cb7ff76709f9326030e2 Mon Sep 17 00:00:00 2001 +From 0a04c5bc80319485e17e9a86e799fe2c5bfa3d38 Mon Sep 17 00:00:00 2001 From: Mark Asselstine <mark.asselstine@windriver.com> Date: Fri, 8 Sep 2017 15:40:49 -0400 -Subject: [PATCH] lib/Makefile: overwrite install-lib, to allow multiarch +Subject: [PATCH 3/3] lib/Makefile: overwrite install-lib, to allow multiarch I am not sure why Yocto installs python modules in arch specific /usr/libXX directories but it does. Allow the recipe to pass this via INSTALL_LIB. -Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> +Upstream-Status: Inappropriate [embedded specific] +Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> --- lib/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Makefile b/lib/Makefile -index b1bb057..06f5c5d 100644 +index 575a7bad3..f503d430b 100644 --- a/lib/Makefile +++ b/lib/Makefile -@@ -53,7 +53,7 @@ install: lib-c lib-py crit/crit lib/c/criu.pc.in +@@ -59,7 +59,7 @@ install: lib-c lib-a lib-py crit/crit lib/c/criu.pc.in $(Q) sed -e 's,@version@,$(CRIU_VERSION),' -e 's,@libdir@,$(LIBDIR),' -e 's,@includedir@,$(dir $(INCLUDEDIR)/criu/),' lib/c/criu.pc.in > lib/c/criu.pc $(Q) install -m 644 lib/c/criu.pc $(DESTDIR)$(LIBDIR)/pkgconfig $(E) " INSTALL " crit @@ -26,3 +27,6 @@ index b1bb057..06f5c5d 100644 .PHONY: install uninstall: +-- +2.25.1 + diff --git a/recipes-containers/criu/files/0004-criu-fix-conflicting-headers.patch b/recipes-containers/criu/files/0004-criu-fix-conflicting-headers.patch new file mode 100644 index 00000000..f03f51da --- /dev/null +++ b/recipes-containers/criu/files/0004-criu-fix-conflicting-headers.patch @@ -0,0 +1,290 @@ +Backport patch to fix criu compile error with glibc 2.36. Update context +for Makefile.config. + +Upstream-Status: Backport [https://github.com/checkpoint-restore/criu/commit/4c86d6a7] + +Signed-off-by: Kai Kang <kai.kang@windriver.com> + +From 4c86d6a7d54abb64fc5a15131f3351224e8c071b Mon Sep 17 00:00:00 2001 +From: Radostin Stoyanov <rstoyanov@fedoraproject.org> +Date: Sun, 31 Jul 2022 16:07:30 +0000 +Subject: [PATCH] criu: fix conflicting headers + +There are several changes in glibc 2.36 that make sys/mount.h header +incompatible with kernel headers: + +https://sourceware.org/glibc/wiki/Release/2.36#Usage_of_.3Clinux.2Fmount.h.3E_and_.3Csys.2Fmount.h.3E + +This patch removes conflicting includes for `<linux/mount.h>` and +updates the content of `criu/include/linux/mount.h` to match +`/usr/include/sys/mount.h`. In addition, inline definitions sys_*() +functions have been moved from "linux/mount.h" to "syscall.h" to +avoid conflicts with `uapi/compel/plugins/std/syscall.h` and +`<unistd.h>`. The include for `<linux/aio_abi.h>` has been replaced +with local include to avoid conflicts with `<sys/mount.h>`. + +Fixes: #1949 + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org> +--- + Makefile.config | 2 +- + criu/cgroup.c | 1 + + criu/cr-check.c | 2 +- + criu/cr-restore.c | 3 ++- + criu/include/aio.h | 2 +- + criu/include/linux/aio_abi.h | 14 +++++++++++ + criu/include/linux/mount.h | 48 +++++++++++++++++++----------------- + criu/include/syscall.h | 17 +++++++++++++ + criu/pie/parasite.c | 2 +- + criu/util.c | 1 + + scripts/feature-tests.mak | 13 ---------- + 11 files changed, 64 insertions(+), 41 deletions(-) + create mode 100644 criu/include/linux/aio_abi.h + create mode 100644 criu/include/syscall.h + +diff --git a/Makefile.config b/Makefile.config +index d113e2246..270ec61c0 100644 +--- a/Makefile.config ++++ b/Makefile.config +@@ -78,7 +78,7 @@ export DEFINES += $(FEATURE_DEFINES) + export CFLAGS += $(FEATURE_DEFINES) + + FEATURES_LIST := TCP_REPAIR STRLCPY STRLCAT PTRACE_PEEKSIGINFO \ +- SETPROCTITLE_INIT MEMFD TCP_REPAIR_WINDOW FSCONFIG MEMFD_CREATE OPENAT2 ++ SETPROCTITLE_INIT MEMFD TCP_REPAIR_WINDOW MEMFD_CREATE OPENAT2 + + # $1 - config name + define gen-feature-test +diff --git a/criu/cgroup.c b/criu/cgroup.c +index e05b0832e..325df6a1d 100644 +--- a/criu/cgroup.c ++++ b/criu/cgroup.c +@@ -27,6 +27,7 @@ + #include "images/cgroup.pb-c.h" + #include "kerndat.h" + #include "linux/mount.h" ++#include "syscall.h" + + /* + * This structure describes set of controller groups +diff --git a/criu/cr-check.c b/criu/cr-check.c +index f589a91da..0ca80192c 100644 +--- a/criu/cr-check.c ++++ b/criu/cr-check.c +@@ -21,7 +21,6 @@ + #include <sys/prctl.h> + #include <sched.h> + #include <sys/mount.h> +-#include <linux/aio_abi.h> + + #include "../soccr/soccr.h" + +@@ -52,6 +51,7 @@ + #include "net.h" + #include "restorer.h" + #include "uffd.h" ++#include "linux/aio_abi.h" + + #include "images/inventory.pb-c.h" + +diff --git a/criu/cr-restore.c b/criu/cr-restore.c +index 279246c19..d11d28173 100644 +--- a/criu/cr-restore.c ++++ b/criu/cr-restore.c +@@ -22,7 +22,6 @@ + #include <compel/ptrace.h> + #include "common/compiler.h" + +-#include "linux/mount.h" + #include "linux/rseq.h" + + #include "clone-noasan.h" +@@ -86,6 +85,8 @@ + #include <compel/plugins/std/syscall-codes.h> + #include "compel/include/asm/syscall.h" + ++#include "linux/mount.h" ++ + #include "protobuf.h" + #include "images/sa.pb-c.h" + #include "images/timer.pb-c.h" +diff --git a/criu/include/aio.h b/criu/include/aio.h +index d1655739d..38e704020 100644 +--- a/criu/include/aio.h ++++ b/criu/include/aio.h +@@ -1,7 +1,7 @@ + #ifndef __CR_AIO_H__ + #define __CR_AIO_H__ + +-#include <linux/aio_abi.h> ++#include "linux/aio_abi.h" + #include "images/mm.pb-c.h" + unsigned int aio_estimate_nr_reqs(unsigned int size); + int dump_aio_ring(MmEntry *mme, struct vma_area *vma); +diff --git a/criu/include/linux/aio_abi.h b/criu/include/linux/aio_abi.h +new file mode 100644 +index 000000000..d9ce78720 +--- /dev/null ++++ b/criu/include/linux/aio_abi.h +@@ -0,0 +1,14 @@ ++#ifndef __LINUX__AIO_ABI_H ++#define __LINUX__AIO_ABI_H ++ ++typedef __kernel_ulong_t aio_context_t; ++ ++/* read() from /dev/aio returns these structures. */ ++struct io_event { ++ __u64 data; /* the data field from the iocb */ ++ __u64 obj; /* what iocb this event came from */ ++ __s64 res; /* result code for this event */ ++ __s64 res2; /* secondary result */ ++}; ++ ++#endif /* __LINUX__AIO_ABI_H */ +diff --git a/criu/include/linux/mount.h b/criu/include/linux/mount.h +index 9a3a28b10..0d55a588c 100644 +--- a/criu/include/linux/mount.h ++++ b/criu/include/linux/mount.h +@@ -4,32 +4,34 @@ + #include "common/config.h" + #include "compel/plugins/std/syscall-codes.h" + +-#ifdef CONFIG_HAS_FSCONFIG +-#include <linux/mount.h> +-#else ++/* Copied from /usr/include/sys/mount.h */ ++ ++#ifndef FSCONFIG_CMD_CREATE ++/* The type of fsconfig call made. */ + enum fsconfig_command { +- FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ +- FSCONFIG_SET_STRING = 1, /* Set parameter, supplying a string value */ +- FSCONFIG_SET_BINARY = 2, /* Set parameter, supplying a binary blob value */ +- FSCONFIG_SET_PATH = 3, /* Set parameter, supplying an object by path */ +- FSCONFIG_SET_PATH_EMPTY = 4, /* Set parameter, supplying an object by (empty) path */ +- FSCONFIG_SET_FD = 5, /* Set parameter, supplying an object by fd */ +- FSCONFIG_CMD_CREATE = 6, /* Invoke superblock creation */ ++ FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ ++#define FSCONFIG_SET_FLAG FSCONFIG_SET_FLAG ++ FSCONFIG_SET_STRING = 1, /* Set parameter, supplying a string value */ ++#define FSCONFIG_SET_STRING FSCONFIG_SET_STRING ++ FSCONFIG_SET_BINARY = 2, /* Set parameter, supplying a binary blob value */ ++#define FSCONFIG_SET_BINARY FSCONFIG_SET_BINARY ++ FSCONFIG_SET_PATH = 3, /* Set parameter, supplying an object by path */ ++#define FSCONFIG_SET_PATH FSCONFIG_SET_PATH ++ FSCONFIG_SET_PATH_EMPTY = 4, /* Set parameter, supplying an object by (empty) path */ ++#define FSCONFIG_SET_PATH_EMPTY FSCONFIG_SET_PATH_EMPTY ++ FSCONFIG_SET_FD = 5, /* Set parameter, supplying an object by fd */ ++#define FSCONFIG_SET_FD FSCONFIG_SET_FD ++ FSCONFIG_CMD_CREATE = 6, /* Invoke superblock creation */ ++#define FSCONFIG_CMD_CREATE FSCONFIG_CMD_CREATE + FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */ ++#define FSCONFIG_CMD_RECONFIGURE FSCONFIG_CMD_RECONFIGURE + }; +-#endif ++#endif // FSCONFIG_CMD_CREATE + +-static inline int sys_fsopen(const char *fsname, unsigned int flags) +-{ +- return syscall(__NR_fsopen, fsname, flags); +-} +-static inline int sys_fsconfig(int fd, unsigned int cmd, const char *key, const char *value, int aux) +-{ +- return syscall(__NR_fsconfig, fd, cmd, key, value, aux); +-} +-static inline int sys_fsmount(int fd, unsigned int flags, unsigned int attr_flags) +-{ +- return syscall(__NR_fsmount, fd, flags, attr_flags); +-} ++#ifndef MS_MGC_VAL ++/* Magic mount flag number. Has to be or-ed to the flag values. */ ++#define MS_MGC_VAL 0xc0ed0000 /* Magic flag number to indicate "new" flags */ ++#define MS_MGC_MSK 0xffff0000 /* Magic flag number mask */ ++#endif + + #endif +diff --git a/criu/include/syscall.h b/criu/include/syscall.h +new file mode 100644 +index 000000000..c38d6d971 +--- /dev/null ++++ b/criu/include/syscall.h +@@ -0,0 +1,17 @@ ++#ifndef __CR_SYSCALL_H__ ++#define __CR_SYSCALL_H__ ++ ++static inline int sys_fsopen(const char *fsname, unsigned int flags) ++{ ++ return syscall(__NR_fsopen, fsname, flags); ++} ++static inline int sys_fsconfig(int fd, unsigned int cmd, const char *key, const char *value, int aux) ++{ ++ return syscall(__NR_fsconfig, fd, cmd, key, value, aux); ++} ++static inline int sys_fsmount(int fd, unsigned int flags, unsigned int attr_flags) ++{ ++ return syscall(__NR_fsmount, fd, flags, attr_flags); ++} ++ ++#endif /* __CR_SYSCALL_H__ */ +\ No newline at end of file +diff --git a/criu/pie/parasite.c b/criu/pie/parasite.c +index e7eb1fcb6..f75fe13bb 100644 +--- a/criu/pie/parasite.c ++++ b/criu/pie/parasite.c +@@ -3,7 +3,6 @@ + #include <signal.h> + #include <linux/limits.h> + #include <linux/capability.h> +-#include <sys/mount.h> + #include <stdarg.h> + #include <sys/ioctl.h> + #include <sys/uio.h> +@@ -14,6 +13,7 @@ + #include "int.h" + #include "types.h" + #include <compel/plugins/std/syscall.h> ++#include "linux/mount.h" + #include "parasite.h" + #include "fcntl.h" + #include "prctl.h" +diff --git a/criu/util.c b/criu/util.c +index 5f69465b4..060ca3bd4 100644 +--- a/criu/util.c ++++ b/criu/util.c +@@ -40,6 +40,7 @@ + #include "mem.h" + #include "namespaces.h" + #include "criu-log.h" ++#include "syscall.h" + + #include "clone-noasan.h" + #include "cr_options.h" +diff --git a/scripts/feature-tests.mak b/scripts/feature-tests.mak +index 014e893a8..fb5d2ef7a 100644 +--- a/scripts/feature-tests.mak ++++ b/scripts/feature-tests.mak +@@ -137,19 +137,6 @@ ENTRY(main) + END(main) + endef + +-define FEATURE_TEST_FSCONFIG +- +-#include <linux/mount.h> +- +-int main(void) +-{ +- if (FSCONFIG_CMD_CREATE > 0) +- return 0; +- return 0; +-} +- +-endef +- + define FEATURE_TEST_NFTABLES_LIB_API_0 + + #include <string.h> +-- +2.34.1 + diff --git a/recipes-containers/criu/files/0004-pycriu-attr-pycriu.version.__version__.patch b/recipes-containers/criu/files/0004-pycriu-attr-pycriu.version.__version__.patch new file mode 100644 index 00000000..a1334b7b --- /dev/null +++ b/recipes-containers/criu/files/0004-pycriu-attr-pycriu.version.__version__.patch @@ -0,0 +1,22 @@ +From a2b17e7b082786e2d7b7585b33815572c9c521f0 Mon Sep 17 00:00:00 2001 +From: Tim Orling <tim.orling@konsulko.com> +Date: Sat, 2 Mar 2024 13:47:46 -0800 +Subject: [PATCH] pycriu: attr pycriu.version.__version__ + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Tim Orling <tim.orling@konsulko.com> +--- + lib/pyproject.toml | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/lib/pyproject.toml b/lib/pyproject.toml +index 8eb4b7084..5a92f8540 100644 +--- a/lib/pyproject.toml ++++ b/lib/pyproject.toml +@@ -16,4 +16,4 @@ requires-python = ">=3.6" + packages = ["pycriu", "pycriu.images"] + + [tool.setuptools.dynamic] +-version = {attr = "pycriu.__version__"} ++version = {attr = "pycriu.version.__version__"} diff --git a/recipes-containers/criu/files/0005-mount-add-definition-for-FSOPEN_CLOEXEC.patch b/recipes-containers/criu/files/0005-mount-add-definition-for-FSOPEN_CLOEXEC.patch new file mode 100644 index 00000000..76b8a22e --- /dev/null +++ b/recipes-containers/criu/files/0005-mount-add-definition-for-FSOPEN_CLOEXEC.patch @@ -0,0 +1,114 @@ +build: integrate build fix + +[ + From 517c0947050e63aac72f63a3bf373d76264723b9 Mon Sep 17 00:00:00 2001 + From: Radostin Stoyanov <rstoyanov@fedoraproject.org> + Date: Wed, 24 Aug 2022 21:20:30 +0200 + Subject: [PATCH 2/2] mount: add definition for FSOPEN_CLOEXEC + + A recent change in glibc introduced `enum fsconfig_command` [1] and as a + result the compilation of criu fails with the following errors + + In file included from criu/pie/util.c:3: + /usr/include/sys/mount.h:240:6: error: redeclaration of 'enum fsconfig_command' + 240 | enum fsconfig_command + | ^~~~~~~~~~~~~~~~ + In file included from /usr/include/sys/mount.h:32: + criu/include/linux/mount.h:11:6: note: originally defined here + 11 | enum fsconfig_command { + | ^~~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:242:3: error: redeclaration of enumerator 'FSCONFIG_SET_FLAG' + 242 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ + | ^~~~~~~~~~~~~~~~~ + criu/include/linux/mount.h:12:9: note: previous definition of 'FSCONFIG_SET_FLAG' with type 'enum fsconfig_command' + 12 | FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ + | ^~~~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:244:3: error: redeclaration of enumerator 'FSCONFIG_SET_STRING' + 244 | FSCONFIG_SET_STRING = 1, /* Set parameter, supplying a string value */ + | ^~~~~~~~~~~~~~~~~~~ + criu/include/linux/mount.h:14:9: note: previous definition of 'FSCONFIG_SET_STRING' with type 'enum fsconfig_command' + 14 | FSCONFIG_SET_STRING = 1, /* Set parameter, supplying a string value */ + | ^~~~~~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:246:3: error: redeclaration of enumerator 'FSCONFIG_SET_BINARY' + 246 | FSCONFIG_SET_BINARY = 2, /* Set parameter, supplying a binary blob value */ + | ^~~~~~~~~~~~~~~~~~~ + criu/include/linux/mount.h:16:9: note: previous definition of 'FSCONFIG_SET_BINARY' with type 'enum fsconfig_command' + 16 | FSCONFIG_SET_BINARY = 2, /* Set parameter, supplying a binary blob value */ + | ^~~~~~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:248:3: error: redeclaration of enumerator 'FSCONFIG_SET_PATH' + 248 | FSCONFIG_SET_PATH = 3, /* Set parameter, supplying an object by path */ + | ^~~~~~~~~~~~~~~~~ + criu/include/linux/mount.h:18:9: note: previous definition of 'FSCONFIG_SET_PATH' with type 'enum fsconfig_command' + 18 | FSCONFIG_SET_PATH = 3, /* Set parameter, supplying an object by path */ + | ^~~~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:250:3: error: redeclaration of enumerator 'FSCONFIG_SET_PATH_EMPTY' + 250 | FSCONFIG_SET_PATH_EMPTY = 4, /* Set parameter, supplying an object by (empty) path */ + | ^~~~~~~~~~~~~~~~~~~~~~~ + criu/include/linux/mount.h:20:9: note: previous definition of 'FSCONFIG_SET_PATH_EMPTY' with type 'enum fsconfig_command' + 20 | FSCONFIG_SET_PATH_EMPTY = 4, /* Set parameter, supplying an object by (empty) path */ + | ^~~~~~~~~~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:252:3: error: redeclaration of enumerator 'FSCONFIG_SET_FD' + 252 | FSCONFIG_SET_FD = 5, /* Set parameter, supplying an object by fd */ + | ^~~~~~~~~~~~~~~ + criu/include/linux/mount.h:22:9: note: previous definition of 'FSCONFIG_SET_FD' with type 'enum fsconfig_command' + 22 | FSCONFIG_SET_FD = 5, /* Set parameter, supplying an object by fd */ + | ^~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:254:3: error: redeclaration of enumerator 'FSCONFIG_CMD_CREATE' + 254 | FSCONFIG_CMD_CREATE = 6, /* Invoke superblock creation */ + | ^~~~~~~~~~~~~~~~~~~ + criu/include/linux/mount.h:24:9: note: previous definition of 'FSCONFIG_CMD_CREATE' with type 'enum fsconfig_command' + 24 | FSCONFIG_CMD_CREATE = 6, /* Invoke superblock creation */ + | ^~~~~~~~~~~~~~~~~~~ + /usr/include/sys/mount.h:256:3: error: redeclaration of enumerator 'FSCONFIG_CMD_RECONFIGURE' + 256 | FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */ + | ^~~~~~~~~~~~~~~~~~~~~~~~ + criu/include/linux/mount.h:26:9: note: previous definition of 'FSCONFIG_CMD_RECONFIGURE' with type 'enum fsconfig_command' + 26 | FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */ + + This patch adds definition for FSOPEN_CLOEXEC to solve this problem. In particular, + sys/mount.h includes ifndef check for FSOPEN_CLOEXEC surrounding `enum fsconfig_command`. + + [1] https://sourceware.org/git/?p=glibc.git;a=commitdiff;h=7eae6a91e9b1670330c9f15730082c91c0b1d570 + + Reported-by: Younes Manton (@ymanton) + Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org> +] + +Upstream-Status: Backport [https://github.com/checkpoint-restore/criu/commit/517c0947] + +Signed-off-by: Kai Kang <kai.kang@windriver.com> +--- + criu/include/linux/mount.h | 10 ++++++++-- + 1 file changed, 8 insertions(+), 2 deletions(-) + +diff --git a/criu/include/linux/mount.h b/criu/include/linux/mount.h +index 0d55a588c..fefafa89e 100644 +--- a/criu/include/linux/mount.h ++++ b/criu/include/linux/mount.h +@@ -6,7 +6,7 @@ + + /* Copied from /usr/include/sys/mount.h */ + +-#ifndef FSCONFIG_CMD_CREATE ++#ifndef FSOPEN_CLOEXEC + /* The type of fsconfig call made. */ + enum fsconfig_command { + FSCONFIG_SET_FLAG = 0, /* Set parameter, supplying no value */ +@@ -26,7 +26,13 @@ enum fsconfig_command { + FSCONFIG_CMD_RECONFIGURE = 7, /* Invoke superblock reconfiguration */ + #define FSCONFIG_CMD_RECONFIGURE FSCONFIG_CMD_RECONFIGURE + }; +-#endif // FSCONFIG_CMD_CREATE ++ ++#endif // FSOPEN_CLOEXEC ++ ++/* fsopen flags. With the redundant definition, we check if the kernel, ++ * glibc value and our value still match. ++ */ ++#define FSOPEN_CLOEXEC 0x00000001 + + #ifndef MS_MGC_VAL + /* Magic mount flag number. Has to be or-ed to the flag values. */ +-- +2.34.1 + diff --git a/recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch b/recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch new file mode 100644 index 00000000..88872911 --- /dev/null +++ b/recipes-containers/criu/files/0005-pycriu-skip-dependency-check-during-build.patch @@ -0,0 +1,32 @@ +From 2ec745ac11357e3243ef1f23f817c276518ce7cb Mon Sep 17 00:00:00 2001 +From: Tim Orling <tim.orling@konsulko.com> +Date: Sat, 2 Mar 2024 13:48:54 -0800 +Subject: [PATCH] pycriu: --skip-dependency-check during build + +It complains about needing protobuf<4, python3-protobuf is 4.25 in meta-python + +Upstream-Status: Inappropriate [oe specific] + +Signed-off-by: Tim Orling <tim.orling@konsulko.com> +--- + lib/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/lib/Makefile b/lib/Makefile +index b5f147482..e3faa7a06 100644 +--- a/lib/Makefile ++++ b/lib/Makefile +@@ -66,11 +66,11 @@ ifeq ($(PIP_BREAK_SYSTEM_PACKAGES),0) + $(E) " Consider using PIP_BREAK_SYSTEM_PACKAGES=1 make install" + else + $(E) " INSTALL " pycriu +- $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) ++ $(Q) $(PYTHON) -m build --no-isolation --wheel --skip-dependency-check --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) + endif + else + $(E) " BUILD " pycriu +- $(Q) $(PYTHON) -m build --no-isolation --wheel --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) ++ $(Q) $(PYTHON) -m build --no-isolation --wheel --skip-dependency-check --outdir $(PEP517_WHEEL_PATH) $(PEP517_SOURCE_PATH) $(PEP517_BUILD_OPTS) + $(E) " INSTALL " pycriu + #nativepython3 -m installer ${INSTALL_WHEEL_COMPILE_BYTECODE} --interpreter "${USRBINPATH}/env ${PEP517_INSTALL_PYTHON}" --destdir=${D} ${PEP517_WHEEL_PATH}/*.whl + diff --git a/recipes-containers/criu/files/fix-building-on-newest-glibc-and-kernel.patch b/recipes-containers/criu/files/fix-building-on-newest-glibc-and-kernel.patch deleted file mode 100644 index 9361adc2..00000000 --- a/recipes-containers/criu/files/fix-building-on-newest-glibc-and-kernel.patch +++ /dev/null @@ -1,45 +0,0 @@ -From b59947007362b53e9f41f1e5a33071dedf1c59ac Mon Sep 17 00:00:00 2001 -From: Adrian Reber <areber@redhat.com> -Date: Thu, 28 Sep 2017 09:13:33 +0000 -Subject: [PATCH] fix building on newest glibc and kernel - -On Fedora rawhide with kernel-headers-4.14.0-0.rc2.git0.1.fc28.x86_64 -glibc-devel-2.26.90-15.fc28.x86_64 criu does not build any more: - -In file included from /usr/include/linux/aio_abi.h:31:0, - from criu/cr-check.c:24: -/usr/include/sys/mount.h:35:3: error: expected identifier before numeric constant - MS_RDONLY = 1, /* Mount read-only. */ - ^ -make[2]: *** [/builddir/build/BUILD/criu-3.5/scripts/nmk/scripts/build.mk:111: criu/cr-check.o] Error 1 -make[1]: *** [criu/Makefile:73: criu/built-in.o] Error 2 -make: *** [Makefile:233: criu] Error 2 - -This simple re-ordering of includes fixes it for me. - -Signed-off-by: Adrian Reber <areber@redhat.com> -Signed-off-by: Andrei Vagin <avagin@virtuozzo.com> - -Upstream-Status: Backport -[https://github.com/checkpoint-restore/criu/commit/f41e386d4d40e3e26b0cfdc85a812b7edb337f1d#diff-cc847b1cc975358c6582595be92d48db] - -Signed-off-by: Yi Zhao <yi.zhao@windriver.com> - ---- - criu/cr-check.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/criu/cr-check.c b/criu/cr-check.c -index 1dd887a..93df2ab 100644 ---- a/criu/cr-check.c -+++ b/criu/cr-check.c -@@ -21,8 +21,8 @@ - #include <netinet/in.h> - #include <sys/prctl.h> - #include <sched.h> --#include <linux/aio_abi.h> - #include <sys/mount.h> -+#include <linux/aio_abi.h> - - #include "../soccr/soccr.h" - diff --git a/recipes-containers/crun/crun_git.bb b/recipes-containers/crun/crun_git.bb index 7781e110..89ba21b4 100644 --- a/recipes-containers/crun/crun_git.bb +++ b/recipes-containers/crun/crun_git.bb @@ -1,31 +1,43 @@ DESCRIPTION = "A fast and low-memory footprint OCI Container Runtime fully written in C." -LICENSE = "GPLv3" -LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" PRIORITY = "optional" -SRCREV_crun = "a43f72196f7aaf713dc997eaddd0f08612f60ac0" -SRCREV_libocispec = "01c8f977ff5ed1e8010f40c2572343be1a70a51b" -SRCREV_ispec = "775207bd45b6cb8153ce218cc59351799217451f" -SRCREV_rspec = "19e92ca817772b4466f2ed2b8d808dfb7a8ab4be" +SRCREV_crun = "89d44467e3b410b73f2065756a12789be45b855b" +SRCREV_libocispec = "19c05670c37a42c217caa7b141bcaada7867cc15" +SRCREV_ispec = "9615142d016838b5dfe7453f80af0be74feb5c7c" +SRCREV_rspec = "720792f25ae6e9ee6b1332db698f37659e69ce8d" +SRCREV_yajl = "f344d21280c3e4094919fd318bc5ce75da91fc06" SRCREV_FORMAT = "crun_rspec" -SRC_URI = "git://github.com/containers/crun.git;branch=master;name=crun \ - git://github.com/containers/libocispec.git;branch=master;name=libocispec;destsuffix=git/libocispec \ - git://github.com/opencontainers/runtime-spec.git;branch=master;name=rspec;destsuffix=git/libocispec/runtime-spec \ - git://github.com/opencontainers/image-spec.git;branch=master;name=ispec;destsuffix=git/libocispec/image-spec \ +SRC_URI = "git://github.com/containers/crun.git;branch=main;name=crun;protocol=https \ + git://github.com/containers/libocispec.git;branch=main;name=libocispec;destsuffix=git/libocispec;protocol=https \ + git://github.com/opencontainers/runtime-spec.git;branch=main;name=rspec;destsuffix=git/libocispec/runtime-spec;protocol=https \ + git://github.com/opencontainers/image-spec.git;branch=main;name=ispec;destsuffix=git/libocispec/image-spec;protocol=https \ + git://github.com/containers/yajl.git;branch=main;name=yajl;destsuffix=git/libocispec/yajl;protocol=https \ " -PV = "0.10.2+git${SRCREV_crun}" +PV = "v1.14.3+git${SRCREV_crun}" S = "${WORKDIR}/git" -inherit autotools-brokensep pkgconfig +REQUIRED_DISTRO_FEATURES ?= "systemd seccomp" + +inherit autotools-brokensep pkgconfig features_check PACKAGECONFIG ??= "" -DEPENDS = "yajl libcap go-md2man-native" +DEPENDS = "yajl libcap go-md2man-native m4-native" # TODO: is there a packageconfig to turn this off ? DEPENDS += "libseccomp" -DEPENDS += "oci-image-spec oci-runtime-spec" +DEPENDS += "systemd" +DEPENDS:append:libc-musl = " argp-standalone" + +do_configure:prepend () { + # extracted from autogen.sh in crun source. This avoids + # git submodule fetching. + mkdir -p m4 + autoreconf -fi +} do_install() { oe_runmake 'DESTDIR=${D}' install diff --git a/recipes-containers/docker-compose/docker-compose_git.bb b/recipes-containers/docker-compose/docker-compose_git.bb new file mode 100644 index 00000000..07650126 --- /dev/null +++ b/recipes-containers/docker-compose/docker-compose_git.bb @@ -0,0 +1,80 @@ +HOMEPAGE = "https://github.com/docker/compose" +SUMMARY = "Multi-container orchestration for Docker" +DESCRIPTION = "Docker compose v2" + +DEPENDS = " \ + go-md2man \ + rsync-native \ +" + +# Specify the first two important SRCREVs as the format +SRCREV_FORMAT="compose_survey" +SRCREV_compose = "3371227794f5f3645f4f19829c60a741635ed329" + +SRC_URI = "git://github.com/docker/compose;name=compose;branch=main;protocol=https" + +include src_uri.inc + +# patches and config +SRC_URI += "file://modules.txt" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=175792518e4ac015ab6696d16c4f607e" + +GO_IMPORT = "import" + +PV = "v2.26.0" + +COMPOSE_PKG = "github.com/docker/compose/v2" + +inherit go goarch +inherit pkgconfig + +COMPATIBLE_HOST = "^(?!mips).*" + +do_configure[noexec] = "1" + +PACKAGECONFIG ?= "docker-plugin" +PACKAGECONFIG[docker-plugin] = ",,,docker" + +include relocation.inc + +GOBUILDFLAGS:append = " -mod=vendor" +do_compile() { + cd ${S}/src/import + + export GOPATH="$GOPATH:${S}/src/import/.gopath" + + # Pass the needed cflags/ldflags so that cgo + # can find the needed headers files and libraries + export GOARCH=${TARGET_GOARCH} + export CGO_ENABLED="1" + export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + + # our copied .go files are to be used for the build + ln -sf vendor.copy vendor + # inform go that we know what we are doing + cp ${WORKDIR}/modules.txt vendor/ + + GO_LDFLAGS="-s -w -X internal.Version=${PV} -X ${COMPOSE_PKG}/internal.Version=${PV}" + GO_BUILDTAGS="" + mkdir -p ./bin + ${GO} build ${GOBUILDFLAGS} -tags "$GO_BUILDTAGS" -ldflags "$GO_LDFLAGS" -o ./bin/docker-compose ./cmd +} + +do_install() { + if ${@bb.utils.contains('PACKAGECONFIG', 'docker-plugin', 'true', 'false', d)}; then + install -d ${D}${nonarch_libdir}/docker/cli-plugins + install -m 755 ${S}/src/import/bin/docker-compose ${D}${nonarch_libdir}/docker/cli-plugins + else + install -d ${D}${bindir} + install -m 755 ${S}/src/import/bin/docker-compose ${D}${bindir} + fi +} + + +FILES:${PN} += " ${nonarch_libdir}/docker/cli-plugins/" + +INHIBIT_PACKAGE_STRIP = "1" +INSANE_SKIP:${PN} += "ldflags already-stripped" diff --git a/recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch b/recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch deleted file mode 100644 index df613e84..00000000 --- a/recipes-containers/docker-compose/files/0001-setup.py-import-fastentrypoints.patch +++ /dev/null @@ -1,28 +0,0 @@ -From f3a22f0f14a4b3313e6405dfb6c97df949493a34 Mon Sep 17 00:00:00 2001 -From: Ming Liu <liu.ming50@gmail.com> -Date: Thu, 30 Jan 2020 17:22:19 +0100 -Subject: [PATCH] setup.py: import fastentrypoints - -Upstream-Status: Inappropriate [OE specific configuration] - -Signed-off-by: Ming Liu <liu.ming50@gmail.com> ---- - setup.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setup.py b/setup.py -index ad57969..3cccffc 100644 ---- a/setup.py -+++ b/setup.py -@@ -12,7 +12,7 @@ import sys - import pkg_resources - from setuptools import find_packages - from setuptools import setup -- -+import fastentrypoints - - def read(*parts): - path = os.path.join(os.path.dirname(__file__), *parts) --- -2.7.4 - diff --git a/recipes-containers/docker-compose/files/0001-setup.py-remove-maximum-version-requirements.patch b/recipes-containers/docker-compose/files/0001-setup.py-remove-maximum-version-requirements.patch deleted file mode 100644 index 6e5ca3d6..00000000 --- a/recipes-containers/docker-compose/files/0001-setup.py-remove-maximum-version-requirements.patch +++ /dev/null @@ -1,59 +0,0 @@ -From 1d358acd46c9ca71d848fca8c2d677414257f247 Mon Sep 17 00:00:00 2001 -From: Chen Qi <Qi.Chen@windriver.com> -Date: Fri, 22 Nov 2019 09:24:58 +0800 -Subject: [PATCH] setup.py: remove maximum version requirements - -Remove maximum version requirements so that docker-compose will not -require old version recipes. - -Upstream-Status: Inappropriate [OE Specific] - -Signed-off-by: Chen Qi <Qi.Chen@windriver.com> -Signed-off-by: Ming Liu <liu.ming50@gmail.com> ---- - setup.py | 22 +++++++++++----------- - 1 file changed, 11 insertions(+), 11 deletions(-) - -diff --git a/setup.py b/setup.py -index 110441dc..eef28254 100644 ---- a/setup.py -+++ b/setup.py -@@ -30,16 +30,16 @@ def find_version(*file_paths): - - - install_requires = [ -- 'cached-property >= 1.2.0, < 2', -- 'docopt >= 0.6.1, < 1', -- 'PyYAML >= 3.10, < 6', -- 'requests >= 2.20.0, < 3', -- 'texttable >= 0.9.0, < 2', -- 'websocket-client >= 0.32.0, < 1', -- 'docker[ssh] >= 3.7.0, < 5', -- 'dockerpty >= 0.4.1, < 1', -- 'six >= 1.3.0, < 2', -- 'jsonschema >= 2.5.1, < 4', -+ 'cached-property >= 1.2.0', -+ 'docopt >= 0.6.1', -+ 'PyYAML >= 3.10', -+ 'requests >= 2.20.0', -+ 'texttable >= 0.9.0', -+ 'websocket-client >= 0.32.0', -+ 'docker[ssh] >= 3.7.0', -+ 'dockerpty >= 0.4.1', -+ 'six >= 1.3.0', -+ 'jsonschema >= 2.5.1', - ] - - -@@ -58,7 +58,7 @@ extras_require = { - ':python_version < "3.3"': ['backports.shutil_get_terminal_size == 1.0.0', - 'ipaddress >= 1.0.16, < 2'], - ':sys_platform == "win32"': ['colorama >= 0.4, < 1'], -- 'socks': ['PySocks >= 1.5.6, != 1.5.7, < 2'], -+ 'socks': ['PySocks >= 1.5.6, != 1.5.7'], - } - - --- -2.25.0 - diff --git a/recipes-containers/docker-compose/files/modules.txt b/recipes-containers/docker-compose/files/modules.txt new file mode 100644 index 00000000..88bd7801 --- /dev/null +++ b/recipes-containers/docker-compose/files/modules.txt @@ -0,0 +1,372 @@ +# github.com/AlecAivazis/survey/v2 v2.3.7 +## explicit +# github.com/Microsoft/go-winio v0.6.1 +## explicit +# github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d +## explicit +# github.com/buger/goterm v1.0.4 +## explicit +# github.com/compose-spec/compose-go/v2 v2.0.2 +## explicit +# github.com/containerd/console v1.0.4 +## explicit +# github.com/containerd/containerd v1.7.13 +## explicit +# github.com/davecgh/go-spew v1.1.1 +## explicit +# github.com/distribution/reference v0.5.0 +## explicit +# github.com/docker/buildx v0.13.1 +## explicit +# github.com/docker/cli v26.0.0+incompatible +## explicit +# github.com/docker/cli-docs-tool v0.7.0 +## explicit +# github.com/docker/docker v26.0.0+incompatible +## explicit +# github.com/docker/go-connections v0.5.0 +## explicit +# github.com/docker/go-units v0.5.0 +## explicit +# github.com/fsnotify/fsevents v0.1.1 +## explicit +# github.com/google/go-cmp v0.6.0 +## explicit +# github.com/hashicorp/go-multierror v1.1.1 +## explicit +# github.com/hashicorp/go-version v1.6.0 +## explicit +# github.com/jonboulle/clockwork v0.4.0 +## explicit +# github.com/mattn/go-shellwords v1.0.12 +## explicit +# github.com/mitchellh/go-ps v1.0.0 +## explicit +# github.com/mitchellh/mapstructure v1.5.0 +## explicit +# github.com/moby/buildkit v0.13.1 +## explicit +# github.com/moby/patternmatcher v0.6.0 +## explicit +# github.com/moby/term v0.5.0 +## explicit +# github.com/morikuni/aec v1.0.0 +## explicit +# github.com/opencontainers/go-digest v1.0.0 +## explicit +# github.com/opencontainers/image-spec v1.1.0-rc6 +## explicit +# github.com/otiai10/copy v1.14.0 +## explicit +# github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc +## explicit +# github.com/sirupsen/logrus v1.9.3 +## explicit +# github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 +## explicit +# github.com/spf13/cobra v1.8.0 +## explicit +# github.com/spf13/pflag v1.0.5 +## explicit +# github.com/stretchr/testify v1.8.4 +## explicit +# github.com/theupdateframework/notary v0.7.0 +## explicit +# github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375 +## explicit +# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 +## explicit +# go.opentelemetry.io/otel v1.21.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 +## explicit +# go.opentelemetry.io/otel/sdk v1.21.0 +## explicit +# go.opentelemetry.io/otel/trace v1.21.0 +## explicit +# go.uber.org/goleak v1.3.0 +## explicit +# go.uber.org/mock v0.4.0 +## explicit +# golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 +## explicit +# golang.org/x/sync v0.6.0 +## explicit +# golang.org/x/sys v0.16.0 +## explicit +# google.golang.org/grpc v1.59.0 +## explicit +# gopkg.in/yaml.v3 v3.0.1 +## explicit +# gotest.tools/v3 v3.5.1 +## explicit +# dario.cat/mergo v1.0.0 +## explicit +# github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 +## explicit +# github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 +## explicit +# github.com/Masterminds/semver/v3 v3.2.1 +## explicit +# github.com/Microsoft/hcsshim v0.11.4 +## explicit +# github.com/aws/aws-sdk-go-v2 v1.24.1 +## explicit +# github.com/aws/aws-sdk-go-v2/config v1.26.6 +## explicit +# github.com/aws/aws-sdk-go-v2/credentials v1.16.16 +## explicit +# github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 +## explicit +# github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 +## explicit +# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 +## explicit +# github.com/aws/aws-sdk-go-v2/internal/ini v1.7.3 +## explicit +# github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 +## explicit +# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 +## explicit +# github.com/aws/aws-sdk-go-v2/service/sso v1.18.7 +## explicit +# github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.7 +## explicit +# github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 +## explicit +# github.com/aws/smithy-go v1.19.0 +## explicit +# github.com/beorn7/perks v1.0.1 +## explicit +# github.com/cenkalti/backoff/v4 v4.2.1 +## explicit +# github.com/cespare/xxhash/v2 v2.2.0 +## explicit +# github.com/containerd/continuity v0.4.3 +## explicit +# github.com/containerd/log v0.1.0 +## explicit +# github.com/containerd/ttrpc v1.2.2 +## explicit +# github.com/containerd/typeurl/v2 v2.1.1 +## explicit +# github.com/docker/distribution v2.8.3+incompatible +## explicit +# github.com/docker/docker-credential-helpers v0.8.0 +## explicit +# github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c +## explicit +# github.com/docker/go-metrics v0.0.1 +## explicit +# github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203 +## explicit +# github.com/emicklei/go-restful/v3 v3.11.0 +## explicit +# github.com/felixge/httpsnoop v1.0.4 +## explicit +# github.com/fvbommel/sortorder v1.0.2 +## explicit +# github.com/go-logr/logr v1.3.0 +## explicit +# github.com/go-logr/stdr v1.2.2 +## explicit +# github.com/go-openapi/jsonpointer v0.19.6 +## explicit +# github.com/go-openapi/jsonreference v0.20.2 +## explicit +# github.com/go-openapi/swag v0.22.3 +## explicit +# github.com/gofrs/flock v0.8.1 +## explicit +# github.com/gogo/googleapis v1.4.1 +## explicit +# github.com/gogo/protobuf v1.3.2 +## explicit +# github.com/golang/protobuf v1.5.3 +## explicit +# github.com/google/gnostic-models v0.6.8 +## explicit +# github.com/google/gofuzz v1.2.0 +## explicit +# github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 +## explicit +# github.com/google/uuid v1.6.0 +## explicit +# github.com/gorilla/mux v1.8.1 +## explicit +# github.com/gorilla/websocket v1.5.0 +## explicit +# github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 +## explicit +# github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 +## explicit +# github.com/hashicorp/errwrap v1.1.0 +## explicit +# github.com/hashicorp/go-cleanhttp v0.5.2 +## explicit +# github.com/imdario/mergo v0.3.16 +## explicit +# github.com/in-toto/in-toto-golang v0.5.0 +## explicit +# github.com/inconshreveable/mousetrap v1.1.0 +## explicit +# github.com/josharian/intern v1.0.0 +## explicit +# github.com/json-iterator/go v1.1.12 +## explicit +# github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 +## explicit +# github.com/klauspost/compress v1.17.4 +## explicit +# github.com/mailru/easyjson v0.7.7 +## explicit +# github.com/mattn/go-colorable v0.1.13 +## explicit +# github.com/mattn/go-isatty v0.0.17 +## explicit +# github.com/mattn/go-runewidth v0.0.15 +## explicit +# github.com/matttproud/golang_protobuf_extensions v1.0.4 +## explicit +# github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b +## explicit +# github.com/miekg/pkcs11 v1.1.1 +## explicit +# github.com/mitchellh/copystructure v1.2.0 +## explicit +# github.com/mitchellh/reflectwalk v1.0.2 +## explicit +# github.com/moby/docker-image-spec v1.3.1 +## explicit +# github.com/moby/locker v1.0.1 +## explicit +# github.com/moby/spdystream v0.2.0 +## explicit +# github.com/moby/sys/mountinfo v0.7.1 +## explicit +# github.com/moby/sys/sequential v0.5.0 +## explicit +# github.com/moby/sys/signal v0.7.0 +## explicit +# github.com/moby/sys/symlink v0.2.0 +## explicit +# github.com/moby/sys/user v0.1.0 +## explicit +# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd +## explicit +# github.com/modern-go/reflect2 v1.0.2 +## explicit +# github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 +## explicit +# github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f +## explicit +# github.com/pelletier/go-toml v1.9.5 +## explicit +# github.com/pkg/errors v0.9.1 +## explicit +# github.com/pmezard/go-difflib v1.0.0 +## explicit +# github.com/prometheus/client_golang v1.17.0 +## explicit +# github.com/prometheus/client_model v0.5.0 +## explicit +# github.com/prometheus/common v0.44.0 +## explicit +# github.com/prometheus/procfs v0.12.0 +## explicit +# github.com/rivo/uniseg v0.2.0 +## explicit +# github.com/secure-systems-lab/go-securesystemslib v0.4.0 +## explicit +# github.com/serialx/hashring v0.0.0-20200727003509-22c0c7ab6b1b +## explicit +# github.com/shibumi/go-pathspec v1.3.0 +## explicit +# github.com/tonistiigi/fsutil v0.0.0-20240301111122-7525a1af2bb5 +## explicit +# github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea +## explicit +# github.com/tonistiigi/vt100 v0.0.0-20230623042737-f9a4f7ef6531 +## explicit +# github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb +## explicit +# github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 +## explicit +# github.com/xeipuuv/gojsonschema v1.2.0 +## explicit +# go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 +## explicit +# go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.46.1 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.42.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v0.42.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.21.0 +## explicit +# go.opentelemetry.io/otel/exporters/prometheus v0.42.0 +## explicit +# go.opentelemetry.io/otel/metric v1.21.0 +## explicit +# go.opentelemetry.io/otel/sdk/metric v1.21.0 +## explicit +# go.opentelemetry.io/proto/otlp v1.0.0 +## explicit +# golang.org/x/crypto v0.18.0 +## explicit +# golang.org/x/mod v0.14.0 +## explicit +# golang.org/x/net v0.20.0 +## explicit +# golang.org/x/oauth2 v0.11.0 +## explicit +# golang.org/x/term v0.16.0 +## explicit +# golang.org/x/text v0.14.0 +## explicit +# golang.org/x/time v0.3.0 +## explicit +# golang.org/x/tools v0.17.0 +## explicit +# google.golang.org/appengine v1.6.7 +## explicit +# google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b +## explicit +# google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b +## explicit +# google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b +## explicit +# google.golang.org/protobuf v1.31.0 +## explicit +# gopkg.in/cenkalti/backoff.v1 v1.1.0 +## explicit +# gopkg.in/inf.v0 v0.9.1 +## explicit +# gopkg.in/yaml.v2 v2.4.0 +## explicit +# k8s.io/api v0.29.2 +## explicit +# k8s.io/apimachinery v0.29.2 +## explicit +# k8s.io/apiserver v0.29.2 +## explicit +# k8s.io/client-go v0.29.2 +## explicit +# k8s.io/klog/v2 v2.110.1 +## explicit +# k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 +## explicit +# k8s.io/utils v0.0.0-20230726121419-3b25d923346b +## explicit +# sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd +## explicit +# sigs.k8s.io/structured-merge-diff/v4 v4.4.1 +## explicit +# sigs.k8s.io/yaml v1.3.0 +## explicit +# tags.cncf.io/container-device-interface v0.6.2 +## explicit diff --git a/recipes-containers/docker-compose/python3-docker-compose_1.25.4.bb b/recipes-containers/docker-compose/python3-docker-compose_1.25.4.bb deleted file mode 100644 index 2dcad1e3..00000000 --- a/recipes-containers/docker-compose/python3-docker-compose_1.25.4.bb +++ /dev/null @@ -1,38 +0,0 @@ -SUMMARY = "Multi-container orchestration for Docker" -HOMEPAGE = "https://www.docker.com/" -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8" - -inherit pypi setuptools3 - -SRC_URI[md5sum] = "893fbb804a9057d6c470b5312407e0d1" -SRC_URI[sha256sum] = "fabae2bee4abfa7bdd09125b6bbdcdda81f946c7b16e3ccc6bb2d821ef6488f3" - -SRC_URI += "file://0001-setup.py-remove-maximum-version-requirements.patch \ - file://0001-setup.py-import-fastentrypoints.patch \ - " - -DEPENDS += "${PYTHON_PN}-fastentrypoints-native" - -RDEPENDS_${PN} = "\ - ${PYTHON_PN}-cached-property \ - ${PYTHON_PN}-certifi \ - ${PYTHON_PN}-chardet \ - ${PYTHON_PN}-colorama \ - ${PYTHON_PN}-docker \ - ${PYTHON_PN}-docker-pycreds \ - ${PYTHON_PN}-dockerpty \ - ${PYTHON_PN}-docopt \ - ${PYTHON_PN}-fcntl \ - ${PYTHON_PN}-idna \ - ${PYTHON_PN}-jsonschema \ - ${PYTHON_PN}-misc \ - ${PYTHON_PN}-paramiko \ - ${PYTHON_PN}-pyyaml \ - ${PYTHON_PN}-requests \ - ${PYTHON_PN}-six \ - ${PYTHON_PN}-terminal \ - ${PYTHON_PN}-texttable \ - ${PYTHON_PN}-urllib3 \ - ${PYTHON_PN}-websocket-client \ -" diff --git a/recipes-containers/docker-compose/relocation.inc b/recipes-containers/docker-compose/relocation.inc new file mode 100644 index 00000000..ac21ca05 --- /dev/null +++ b/recipes-containers/docker-compose/relocation.inc @@ -0,0 +1,203 @@ +export sites="k8s.io/api:k8s.io/api:force \ + k8s.io/utils:k8s.io/utils:force \ + k8s.io/klog/v2:k8s.io/klog/v2:force \ + gotest.tools/v3:gotest.tools/v3:force \ + dario.cat/mergo:dario.cat/mergo:force \ + gopkg.in/inf.v0:gopkg.in/inf.v0:force \ + go.uber.org/mock:go.uber.org/mock:force \ + golang.org/x/exp:golang.org/x/exp:force \ + golang.org/x/sys:golang.org/x/sys:force \ + gopkg.in/yaml.v3:gopkg.in/yaml.v3:force \ + golang.org/x/mod:golang.org/x/mod:force \ + golang.org/x/net:golang.org/x/net:force \ + gopkg.in/yaml.v2:gopkg.in/yaml.v2:force \ + k8s.io/apiserver:k8s.io/apiserver:force \ + k8s.io/client-go:k8s.io/client-go:force \ + sigs.k8s.io/json:sigs.k8s.io/json:force \ + sigs.k8s.io/yaml:sigs.k8s.io/yaml:force \ + golang.org/x/sync:golang.org/x/sync:force \ + golang.org/x/term:golang.org/x/term:force \ + golang.org/x/text:golang.org/x/text:force \ + golang.org/x/time:golang.org/x/time:force \ + go.uber.org/goleak:go.uber.org/goleak:force \ + golang.org/x/tools:golang.org/x/tools:force \ + golang.org/x/crypto:golang.org/x/crypto:force \ + golang.org/x/oauth2:golang.org/x/oauth2:force \ + k8s.io/apimachinery:k8s.io/apimachinery:force \ + k8s.io/kube-openapi:k8s.io/kube-openapi:force \ + github.com/moby/term:github.com/moby/term:force \ + github.com/docker/go:github.com/docker/go:force \ + github.com/docker/cli:github.com/docker/cli:force \ + github.com/r3labs/sse:github.com/r3labs/sse:force \ + github.com/mgutz/ansi:github.com/mgutz/ansi:force \ + github.com/pkg/errors:github.com/pkg/errors:force \ + github.com/spf13/cobra:github.com/spf13/cobra:force \ + github.com/spf13/pflag:github.com/spf13/pflag:force \ + google.golang.org/grpc:google.golang.org/grpc:force \ + github.com/gofrs/flock:github.com/gofrs/flock:force \ + github.com/google/uuid:github.com/google/uuid:force \ + github.com/gorilla/mux:github.com/gorilla/mux:force \ + github.com/moby/locker:github.com/moby/locker:force \ + github.com/rivo/uniseg:github.com/rivo/uniseg:force \ + github.com/buger/goterm:github.com/buger/goterm:force \ + github.com/morikuni/aec:github.com/morikuni/aec:force \ + github.com/otiai10/copy:github.com/otiai10/copy:force \ + github.com/beorn7/perks:github.com/beorn7/perks:force \ + github.com/go-logr/logr:github.com/go-logr/logr:force \ + github.com/go-logr/stdr:github.com/go-logr/stdr:force \ + github.com/google/shlex:github.com/google/shlex:force \ + github.com/miekg/pkcs11:github.com/miekg/pkcs11:force \ + github.com/docker/buildx:github.com/docker/buildx:force \ + github.com/docker/docker:github.com/docker/docker:force \ + github.com/google/go-cmp:github.com/google/go-cmp:force \ + github.com/moby/buildkit:github.com/moby/buildkit:force \ + go.opentelemetry.io/otel:go.opentelemetry.io/otel:force \ + github.com/aws/smithy-go:github.com/aws/smithy-go:force \ + github.com/gogo/protobuf:github.com/gogo/protobuf:force \ + github.com/google/gofuzz:github.com/google/gofuzz:force \ + github.com/imdario/mergo:github.com/imdario/mergo:force \ + github.com/containerd/log:github.com/containerd/log:force \ + github.com/davecgh/go-spew:github.com/davecgh/go-spew:force \ + github.com/docker/go-units:github.com/docker/go-units:force \ + github.com/mitchellh/go-ps:github.com/mitchellh/go-ps:force \ + github.com/sirupsen/logrus:github.com/sirupsen/logrus:force \ + github.com/go-openapi/swag:github.com/go-openapi/swag:force \ + github.com/gogo/googleapis:github.com/gogo/googleapis:force \ + github.com/golang/protobuf:github.com/golang/protobuf:force \ + github.com/mailru/easyjson:github.com/mailru/easyjson:force \ + github.com/mattn/go-isatty:github.com/mattn/go-isatty:force \ + github.com/moby/spdystream:github.com/moby/spdystream:force \ + github.com/mxk/go-flowrate:github.com/mxk/go-flowrate:force \ + google.golang.org/genproto:google.golang.org/genproto:force \ + google.golang.org/protobuf:google.golang.org/protobuf:force \ + github.com/moby/sys/user:github.com/moby/sys/user/user:force \ + github.com/stretchr/testify:github.com/stretchr/testify:force \ + github.com/containerd/ttrpc:github.com/containerd/ttrpc:force \ + github.com/josharian/intern:github.com/josharian/intern:force \ + github.com/json-iterator/go:github.com/json-iterator/go:force \ + github.com/serialx/hashring:github.com/serialx/hashring:force \ + github.com/tonistiigi/units:github.com/tonistiigi/units:force \ + github.com/tonistiigi/vt100:github.com/tonistiigi/vt100:force \ + google.golang.org/appengine:google.golang.org/appengine:force \ + github.com/fsnotify/fsevents:github.com/fsnotify/fsevents:force \ + github.com/tilt-dev/fsnotify:github.com/tilt-dev/fsnotify:force \ + github.com/Azure/go-ansiterm:github.com/Azure/go-ansiterm:force \ + github.com/Microsoft/hcsshim:github.com/Microsoft/hcsshim:force \ + github.com/aws/aws-sdk-go-v2:github.com/aws/aws-sdk-go-v2:force \ + github.com/cespare/xxhash/v2:github.com/cespare/xxhash/v2:force \ + github.com/docker/go-metrics:github.com/docker/go-metrics:force \ + github.com/eiannone/keyboard:github.com/eiannone/keyboard:force \ + github.com/felixge/httpsnoop:github.com/felixge/httpsnoop:force \ + github.com/gorilla/websocket:github.com/gorilla/websocket:force \ + github.com/hashicorp/errwrap:github.com/hashicorp/errwrap:force \ + github.com/munnerz/goautoneg:github.com/munnerz/goautoneg:force \ + github.com/pelletier/go-toml:github.com/pelletier/go-toml:force \ + github.com/prometheus/common:github.com/prometheus/common:force \ + github.com/prometheus/procfs:github.com/prometheus/procfs:force \ + github.com/tonistiigi/fsutil:github.com/tonistiigi/fsutil:force \ + gopkg.in/cenkalti/backoff.v1:gopkg.in/cenkalti/backoff.v1:force \ + github.com/Microsoft/go-winio:github.com/Microsoft/go-winio:force \ + github.com/acarl005/stripansi:github.com/acarl005/stripansi:force \ + github.com/containerd/console:github.com/containerd/console:force \ + github.com/fvbommel/sortorder:github.com/fvbommel/sortorder:force \ + github.com/klauspost/compress:github.com/klauspost/compress:force \ + github.com/mattn/go-colorable:github.com/mattn/go-colorable:force \ + github.com/mattn/go-runewidth:github.com/mattn/go-runewidth:force \ + github.com/modern-go/reflect2:github.com/modern-go/reflect2:force \ + github.com/pmezard/go-difflib:github.com/pmezard/go-difflib:force \ + github.com/moby/sys/signal:github.com/moby/sys/signal/signal:force \ + github.com/jonboulle/clockwork:github.com/jonboulle/clockwork:force \ + github.com/mattn/go-shellwords:github.com/mattn/go-shellwords:force \ + github.com/moby/patternmatcher:github.com/moby/patternmatcher:force \ + go.opentelemetry.io/otel/sdk:go.opentelemetry.io/otel/sdk/sdk:force \ + github.com/cenkalti/backoff/v4:github.com/cenkalti/backoff/v4:force \ + github.com/docker/distribution:github.com/docker/distribution:force \ + github.com/shibumi/go-pathspec:github.com/shibumi/go-pathspec:force \ + github.com/docker/cli-docs-tool:github.com/docker/cli-docs-tool:force \ + github.com/hashicorp/go-version:github.com/hashicorp/go-version:force \ + github.com/moby/sys/symlink:github.com/moby/sys/symlink/symlink:force \ + github.com/modern-go/concurrent:github.com/modern-go/concurrent:force \ + github.com/xeipuuv/gojsonschema:github.com/xeipuuv/gojsonschema:force \ + github.com/AlecAivazis/survey/v2:github.com/AlecAivazis/survey/v2:force \ + github.com/containerd/containerd:github.com/containerd/containerd:force \ + github.com/docker/go-connections:github.com/docker/go-connections:force \ + github.com/Masterminds/semver/v3:github.com/Masterminds/semver/v3:force \ + github.com/containerd/continuity:github.com/containerd/continuity:force \ + github.com/containerd/typeurl/v2:github.com/containerd/typeurl/v2:force \ + github.com/google/gnostic-models:github.com/google/gnostic-models:force \ + github.com/mitchellh/reflectwalk:github.com/mitchellh/reflectwalk:force \ + github.com/xeipuuv/gojsonpointer:github.com/xeipuuv/gojsonpointer:force \ + go.opentelemetry.io/proto/otlp:go.opentelemetry.io/proto/otlp/otlp:force \ + github.com/distribution/reference:github.com/distribution/reference:force \ + github.com/mitchellh/mapstructure:github.com/mitchellh/mapstructure:force \ + github.com/skratchdot/open-golang:github.com/skratchdot/open-golang:force \ + go.opentelemetry.io/otel/trace:go.opentelemetry.io/otel/trace/trace:force \ + github.com/emicklei/go-restful/v3:github.com/emicklei/go-restful/v3:force \ + github.com/go-openapi/jsonpointer:github.com/go-openapi/jsonpointer:force \ + github.com/hashicorp/go-cleanhttp:github.com/hashicorp/go-cleanhttp:force \ + github.com/in-toto/in-toto-golang:github.com/in-toto/in-toto-golang:force \ + github.com/kballard/go-shellquote:github.com/kballard/go-shellquote:force \ + github.com/moby/docker-image-spec:github.com/moby/docker-image-spec:force \ + github.com/hashicorp/go-multierror:github.com/hashicorp/go-multierror:force \ + github.com/mitchellh/copystructure:github.com/mitchellh/copystructure:force \ + github.com/moby/sys/mountinfo:github.com/moby/sys/mountinfo/mountinfo:force \ + github.com/prometheus/client_model:github.com/prometheus/client_model:force \ + github.com/xeipuuv/gojsonreference:github.com/xeipuuv/gojsonreference:force \ + go.opentelemetry.io/otel/metric:go.opentelemetry.io/otel/metric/metric:force \ + github.com/opencontainers/go-digest:github.com/opencontainers/go-digest:force \ + github.com/go-openapi/jsonreference:github.com/go-openapi/jsonreference:force \ + github.com/prometheus/client_golang:github.com/prometheus/client_golang:force \ + github.com/moby/sys/sequential:github.com/moby/sys/sequential/sequential:force \ + github.com/opencontainers/image-spec:github.com/opencontainers/image-spec:force \ + github.com/theupdateframework/notary:github.com/theupdateframework/notary:force \ + github.com/AdaLogics/go-fuzz-headers:github.com/AdaLogics/go-fuzz-headers:force \ + github.com/inconshreveable/mousetrap:github.com/inconshreveable/mousetrap:force \ + sigs.k8s.io/structured-merge-diff/v4:sigs.k8s.io/structured-merge-diff/v4:force \ + github.com/compose-spec/compose-go/v2:github.com/compose-spec/compose-go/v2:force \ + github.com/aws/aws-sdk-go-v2/config:github.com/aws/aws-sdk-go-v2/config/config:force \ + tags.cncf.io/container-device-interface:tags.cncf.io/container-device-interface:force \ + go.opentelemetry.io/otel/sdk/metric:go.opentelemetry.io/otel/sdk/metric/sdk/metric:force \ + github.com/grpc-ecosystem/grpc-gateway/v2:github.com/grpc-ecosystem/grpc-gateway/v2:force \ + github.com/docker/docker-credential-helpers:github.com/docker/docker-credential-helpers:force \ + github.com/grpc-ecosystem/go-grpc-middleware:github.com/grpc-ecosystem/go-grpc-middleware:force \ + github.com/aws/aws-sdk-go-v2/credentials:github.com/aws/aws-sdk-go-v2/credentials/credentials:force \ + github.com/aws/aws-sdk-go-v2/service/sso:github.com/aws/aws-sdk-go-v2/service/sso/service/sso:force \ + github.com/aws/aws-sdk-go-v2/service/sts:github.com/aws/aws-sdk-go-v2/service/sts/service/sts:force \ + github.com/aws/aws-sdk-go-v2/internal/ini:github.com/aws/aws-sdk-go-v2/internal/ini/internal/ini:force \ + github.com/matttproud/golang_protobuf_extensions:github.com/matttproud/golang_protobuf_extensions:force \ + google.golang.org/genproto/googleapis/api:google.golang.org/genproto/googleapis/api/googleapis/api:force \ + google.golang.org/genproto/googleapis/rpc:google.golang.org/genproto/googleapis/rpc/googleapis/rpc:force \ + github.com/secure-systems-lab/go-securesystemslib:github.com/secure-systems-lab/go-securesystemslib:force \ + github.com/aws/aws-sdk-go-v2/service/ssooidc:github.com/aws/aws-sdk-go-v2/service/ssooidc/service/ssooidc:force \ + github.com/aws/aws-sdk-go-v2/feature/ec2/imds:github.com/aws/aws-sdk-go-v2/feature/ec2/imds/feature/ec2/imds:force \ + go.opentelemetry.io/otel/exporters/prometheus:go.opentelemetry.io/otel/exporters/prometheus/exporters/prometheus:force \ + github.com/aws/aws-sdk-go-v2/internal/endpoints/v2:github.com/aws/aws-sdk-go-v2/internal/endpoints/v2/internal/endpoints/v2:force \ + go.opentelemetry.io/otel/exporters/otlp/otlptrace:go.opentelemetry.io/otel/exporters/otlp/otlptrace/exporters/otlp/otlptrace:force \ + github.com/aws/aws-sdk-go-v2/internal/configsources:github.com/aws/aws-sdk-go-v2/internal/configsources/internal/configsources:force \ + go.opentelemetry.io/otel/exporters/otlp/otlpmetric:go.opentelemetry.io/otel/exporters/otlp/otlpmetric/exporters/otlp/otlpmetric:force \ + github.com/aws/aws-sdk-go-v2/service/internal/presigned-url:github.com/aws/aws-sdk-go-v2/service/internal/presigned-url/service/internal/presigned-url:force \ + github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding:github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding/service/internal/accept-encoding:force \ + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp:go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/instrumentation/net/http/otelhttp:force \ + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc:go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/exporters/otlp/otlptrace/otlptracegrpc:force \ + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp:go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp/exporters/otlp/otlptrace/otlptracehttp:force \ + go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc:go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc/exporters/otlp/otlpmetric/otlpmetricgrpc:force \ + go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp:go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp/exporters/otlp/otlpmetric/otlpmetrichttp:force \ + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc:go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/instrumentation/google.golang.org/grpc/otelgrpc:force \ + go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace:go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace/instrumentation/net/http/httptrace/otelhttptrace:force" + +do_compile:prepend() { + cd ${S}/src/import + for s in $sites; do + site_dest=$(echo $s | cut -d: -f1) + site_source=$(echo $s | cut -d: -f2) + force_flag=$(echo $s | cut -d: -f3) + mkdir -p vendor.copy/$site_dest + if [ -n "$force_flag" ]; then + echo "[INFO] $site_dest: force copying .go files" + rm -rf vendor.copy/$site_dest + rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest + else + [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ] && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go files" ; rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest ; } + fi + done +} diff --git a/recipes-containers/docker-compose/src_uri.inc b/recipes-containers/docker-compose/src_uri.inc new file mode 100644 index 00000000..1978abc7 --- /dev/null +++ b/recipes-containers/docker-compose/src_uri.inc @@ -0,0 +1,930 @@ +# k8s.io/api v0.29.2 +# [1] git ls-remote https://github.com/kubernetes/api d47313059888ec984bf8432ed155fae5be935c31 +SRCREV_k8s.io-api="d47313059888ec984bf8432ed155fae5be935c31" +SRC_URI += "git://github.com/kubernetes/api;name=k8s.io-api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/api" + +# k8s.io/utils v0.0.0-20230726121419-3b25d923346b +# [1] git ls-remote https://github.com/kubernetes/utils 3b25d923346b3814e0898684c97390092f31a61e +SRCREV_utils="3b25d923346b3814e0898684c97390092f31a61e" +SRC_URI += "git://github.com/kubernetes/utils;name=utils;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/utils" + +# k8s.io/klog/v2 v2.110.1 +# [1] git ls-remote https://github.com/kubernetes/klog e3f75b8af2707d64b5dd4c440ae8384ed2f2c386 +SRCREV_klog-v2="e3f75b8af2707d64b5dd4c440ae8384ed2f2c386" +SRC_URI += "git://github.com/kubernetes/klog;name=klog-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/klog/v2" + +# gotest.tools/v3 v3.5.1 +# [1] git ls-remote https://github.com/gotestyourself/gotest.tools 81cea1abc596b025bf2573c7fdf97740512e4c6c +SRCREV_v3="81cea1abc596b025bf2573c7fdf97740512e4c6c" +SRC_URI += "git://github.com/gotestyourself/gotest.tools;name=v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gotest.tools/v3" + +# dario.cat/mergo v1.0.0 +# [1] git ls-remote https://github.com/imdario/mergo 131de815afc35a77c41ae99da6c8f4288b6cb513 +SRCREV_mergo="131de815afc35a77c41ae99da6c8f4288b6cb513" +SRC_URI += "git://github.com/imdario/mergo;name=mergo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/dario.cat/mergo" + +# gopkg.in/inf.v0 v0.9.1 +# [1] git ls-remote https://github.com/go-inf/inf d2d2541c53f18d2a059457998ce2876cc8e67cbf +SRCREV_inf.v0="d2d2541c53f18d2a059457998ce2876cc8e67cbf" +SRC_URI += "git://github.com/go-inf/inf;name=inf.v0;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/inf.v0" + +# go.uber.org/mock v0.4.0 +# [1] git ls-remote https://github.com/uber/mock 74a29c6e6c2cbb8ccee94db061c1604ff33fd188 +SRCREV_mock="74a29c6e6c2cbb8ccee94db061c1604ff33fd188" +SRC_URI += "git://github.com/uber/mock;name=mock;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/mock" + +# golang.org/x/exp v0.0.0-20240112132812-db7319d0e0e3 +# [1] git ls-remote https://go.googlesource.com/exp db7319d0e0e361ccef5c449b760df8e5f2d5087c +SRCREV_exp="db7319d0e0e361ccef5c449b760df8e5f2d5087c" +SRC_URI += "git://go.googlesource.com/exp;name=exp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/exp" + +# golang.org/x/sys v0.16.0 +# [1] git ls-remote https://go.googlesource.com/sys 0829ab15b6946f47c40012db2e0c04772730317d +SRCREV_sys="0829ab15b6946f47c40012db2e0c04772730317d" +SRC_URI += "git://go.googlesource.com/sys;name=sys;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sys" + +# gopkg.in/yaml.v3 v3.0.1 +# [1] git ls-remote https://github.com/go-yaml/yaml f6f7691b1fdeb513f56608cd2c32c51f8194bf51 +SRCREV_yaml.v3="f6f7691b1fdeb513f56608cd2c32c51f8194bf51" +SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v3" + +# golang.org/x/mod v0.14.0 +# [1] git ls-remote https://go.googlesource.com/mod 6e58e47c7bd6672665dc35cce7b1f325d2addd67 +SRCREV_mod="6e58e47c7bd6672665dc35cce7b1f325d2addd67" +SRC_URI += "git://go.googlesource.com/mod;name=mod;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/mod" + +# golang.org/x/net v0.20.0 +# [1] git ls-remote https://go.googlesource.com/net cb5b10f0bbc51089bf49030ce3bd43bbfee08c23 +SRCREV_net="cb5b10f0bbc51089bf49030ce3bd43bbfee08c23" +SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/net" + +# gopkg.in/yaml.v2 v2.4.0 +# [1] git ls-remote https://github.com/go-yaml/yaml 7649d4548cb53a614db133b2a8ac1f31859dda8c +SRCREV_yaml.v2="7649d4548cb53a614db133b2a8ac1f31859dda8c" +SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v2" + +# k8s.io/apiserver v0.29.2 +# [1] git ls-remote https://github.com/kubernetes/apiserver 4c39f36a732cfb11f3fc75110c7301336b6b64e3 +SRCREV_apiserver="4c39f36a732cfb11f3fc75110c7301336b6b64e3" +SRC_URI += "git://github.com/kubernetes/apiserver;name=apiserver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/apiserver" + +# k8s.io/client-go v0.29.2 +# [1] git ls-remote https://github.com/kubernetes/client-go 62c5e9e7b4bd09d2b43dcad1464376322398e994 +SRCREV_client-go="62c5e9e7b4bd09d2b43dcad1464376322398e994" +SRC_URI += "git://github.com/kubernetes/client-go;name=client-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/client-go" + +# sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd +# [1] git ls-remote https://github.com/kubernetes-sigs/json bc3834ca7abd3a90f03ef00a27ad80cb892f9c21 +SRCREV_json="bc3834ca7abd3a90f03ef00a27ad80cb892f9c21" +SRC_URI += "git://github.com/kubernetes-sigs/json;name=json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/json" + +# sigs.k8s.io/yaml v1.3.0 +# [1] git ls-remote https://github.com/kubernetes-sigs/yaml 9535b3b1e2893fe44efb37c5c9f5665e245d786a +SRCREV_yaml="9535b3b1e2893fe44efb37c5c9f5665e245d786a" +SRC_URI += "git://github.com/kubernetes-sigs/yaml;name=yaml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/yaml" + +# golang.org/x/sync v0.6.0 +# [1] git ls-remote https://go.googlesource.com/sync 59c1ca1e4661ed4452be4069ceea3c233f4deec1 +SRCREV_sync="59c1ca1e4661ed4452be4069ceea3c233f4deec1" +SRC_URI += "git://go.googlesource.com/sync;name=sync;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sync" + +# golang.org/x/term v0.16.0 +# [1] git ls-remote https://go.googlesource.com/term ae941452f58ff9bf62f7e9dca3ea6ae3d214a68b +SRCREV_x-term="ae941452f58ff9bf62f7e9dca3ea6ae3d214a68b" +SRC_URI += "git://go.googlesource.com/term;name=x-term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/term" + +# golang.org/x/text v0.14.0 +# [1] git ls-remote https://go.googlesource.com/text 6c97a165dd661335ff7bce6104a008558123c353 +SRCREV_text="6c97a165dd661335ff7bce6104a008558123c353" +SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/text" + +# golang.org/x/time v0.3.0 +# [1] git ls-remote https://go.googlesource.com/time 2c09566ef13fb5556401ddff3c53c3dbc2a42dac +SRCREV_time="2c09566ef13fb5556401ddff3c53c3dbc2a42dac" +SRC_URI += "git://go.googlesource.com/time;name=time;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/time" + +# go.uber.org/goleak v1.3.0 +# [1] git ls-remote https://github.com/uber-go/goleak 31095c657c34bba405a8d480db27989aa5f60b9c +SRCREV_goleak="31095c657c34bba405a8d480db27989aa5f60b9c" +SRC_URI += "git://github.com/uber-go/goleak;name=goleak;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/goleak" + +# golang.org/x/tools v0.17.0 +# [1] git ls-remote https://go.googlesource.com/tools 0b1f1d4bc227cc2e610854f23e14696becb9e46c +SRCREV_tools="0b1f1d4bc227cc2e610854f23e14696becb9e46c" +SRC_URI += "git://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/tools" + +# golang.org/x/crypto v0.18.0 +# [1] git ls-remote https://go.googlesource.com/crypto dbb6ec16ecef7a66638d8514be54b13660551b0a +SRCREV_crypto="dbb6ec16ecef7a66638d8514be54b13660551b0a" +SRC_URI += "git://go.googlesource.com/crypto;name=crypto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/crypto" + +# golang.org/x/oauth2 v0.11.0 +# [1] git ls-remote https://go.googlesource.com/oauth2 2e4a4e2bfb69ca7609cb423438c55caa131431c1 +SRCREV_oauth2="2e4a4e2bfb69ca7609cb423438c55caa131431c1" +SRC_URI += "git://go.googlesource.com/oauth2;name=oauth2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/oauth2" + +# k8s.io/apimachinery v0.29.2 +# [1] git ls-remote https://github.com/kubernetes/apimachinery dc7e034c86479d49be4b0eefad307621e10caa0e +SRCREV_apimachinery="dc7e034c86479d49be4b0eefad307621e10caa0e" +SRC_URI += "git://github.com/kubernetes/apimachinery;name=apimachinery;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/apimachinery" + +# k8s.io/kube-openapi v0.0.0-20231010175941-2dd684a91f00 +# [1] git ls-remote https://github.com/kubernetes/kube-openapi 2dd684a91f00351087fe2f4ed5408d4d2f3775ab +SRCREV_kube-openapi="2dd684a91f00351087fe2f4ed5408d4d2f3775ab" +SRC_URI += "git://github.com/kubernetes/kube-openapi;name=kube-openapi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/kube-openapi" + +# github.com/moby/term v0.5.0 +# [1] git ls-remote https://github.com/moby/term 9c3c875fad924eb6c9dd32a361b5fc0a49a4feb9 +SRCREV_term="9c3c875fad924eb6c9dd32a361b5fc0a49a4feb9" +SRC_URI += "git://github.com/moby/term;name=term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/term" + +# github.com/docker/go v1.5.1-1.0.20160303222718-d30aec9fd63c +# [1] git ls-remote https://github.com/docker/go d30aec9fd63c35133f8f79c3412ad91a3b08be06 +SRCREV_go="d30aec9fd63c35133f8f79c3412ad91a3b08be06" +SRC_URI += "git://github.com/docker/go;name=go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go" + +# github.com/docker/cli v26.0.0+incompatible +# [1] git ls-remote https://github.com/docker/cli 2ae903e86cab51f694c819721cdfdf5eec693720 +SRCREV_cli="2ae903e86cab51f694c819721cdfdf5eec693720" +SRC_URI += "git://github.com/docker/cli;name=cli;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/cli" + +# github.com/r3labs/sse v0.0.0-20210224172625-26fe804710bc +# [1] git ls-remote https://github.com/r3labs/sse 26fe804710bc39ea7ea6636d36f27c438bd2c06f +SRCREV_sse="26fe804710bc39ea7ea6636d36f27c438bd2c06f" +SRC_URI += "git://github.com/r3labs/sse;name=sse;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/r3labs/sse" + +# github.com/mgutz/ansi v0.0.0-20170206155736-9520e82c474b +# [1] git ls-remote https://github.com/mgutz/ansi 9520e82c474b0a04dd04f8a40959027271bab992 +SRCREV_ansi="9520e82c474b0a04dd04f8a40959027271bab992" +SRC_URI += "git://github.com/mgutz/ansi;name=ansi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mgutz/ansi" + +# github.com/pkg/errors v0.9.1 +# [1] git ls-remote https://github.com/pkg/errors 614d223910a179a466c1767a985424175c39b465 +SRCREV_errors="614d223910a179a466c1767a985424175c39b465" +SRC_URI += "git://github.com/pkg/errors;name=errors;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/errors" + +# github.com/spf13/cobra v1.8.0 +# [1] git ls-remote https://github.com/spf13/cobra a0a6ae020bb3899ff0276067863e50523f897370 +SRCREV_cobra="a0a6ae020bb3899ff0276067863e50523f897370" +SRC_URI += "git://github.com/spf13/cobra;name=cobra;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/cobra" + +# github.com/spf13/pflag v1.0.5 +# [1] git ls-remote https://github.com/spf13/pflag 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab +SRCREV_pflag="2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab" +SRC_URI += "git://github.com/spf13/pflag;name=pflag;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/pflag" + +# google.golang.org/grpc v1.59.0 +# [1] git ls-remote https://github.com/grpc/grpc-go 7765221f4bf6104973db7946d56936cf838cad46 +SRCREV_grpc="7765221f4bf6104973db7946d56936cf838cad46" +SRC_URI += "git://github.com/grpc/grpc-go;name=grpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/grpc" + +# github.com/gofrs/flock v0.8.1 +# [1] git ls-remote https://github.com/gofrs/flock 6f010d1acea74a32f2f2066bfe324c08bbee30e3 +SRCREV_flock="6f010d1acea74a32f2f2066bfe324c08bbee30e3" +SRC_URI += "git://github.com/gofrs/flock;name=flock;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gofrs/flock" + +# github.com/google/uuid v1.6.0 +# [1] git ls-remote https://github.com/google/uuid 0f11ee6918f41a04c201eceeadf612a377bc7fbc +SRCREV_uuid="0f11ee6918f41a04c201eceeadf612a377bc7fbc" +SRC_URI += "git://github.com/google/uuid;name=uuid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/uuid" + +# github.com/gorilla/mux v1.8.1 +# [1] git ls-remote https://github.com/gorilla/mux b4617d0b9670ad14039b2739167fd35a60f557c5 +SRCREV_mux="b4617d0b9670ad14039b2739167fd35a60f557c5" +SRC_URI += "git://github.com/gorilla/mux;name=mux;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gorilla/mux" + +# github.com/moby/locker v1.0.1 +# [1] git ls-remote https://github.com/moby/locker 281af2d563954745bea9d1487c965f24d30742fe +SRCREV_locker="281af2d563954745bea9d1487c965f24d30742fe" +SRC_URI += "git://github.com/moby/locker;name=locker;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/locker" + +# github.com/rivo/uniseg v0.2.0 +# [1] git ls-remote https://github.com/rivo/uniseg 75711fccf6a3e85bc74c241e2dddd06a9bc9e53d +SRCREV_uniseg="75711fccf6a3e85bc74c241e2dddd06a9bc9e53d" +SRC_URI += "git://github.com/rivo/uniseg;name=uniseg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rivo/uniseg" + +# github.com/buger/goterm v1.0.4 +# [1] git ls-remote https://github.com/buger/goterm a73545aae7d693f786ce4cc687460efca4845f31 +SRCREV_goterm="a73545aae7d693f786ce4cc687460efca4845f31" +SRC_URI += "git://github.com/buger/goterm;name=goterm;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/buger/goterm" + +# github.com/morikuni/aec v1.0.0 +# [1] git ls-remote https://github.com/morikuni/aec 39771216ff4c63d11f5e604076f9c45e8be1067b +SRCREV_aec="39771216ff4c63d11f5e604076f9c45e8be1067b" +SRC_URI += "git://github.com/morikuni/aec;name=aec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/morikuni/aec" + +# github.com/otiai10/copy v1.14.0 +# [1] git ls-remote https://github.com/otiai10/copy fba066acb0eb6e25d510073787741c0a8b31bf1e +SRCREV_copy="fba066acb0eb6e25d510073787741c0a8b31bf1e" +SRC_URI += "git://github.com/otiai10/copy;name=copy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/otiai10/copy" + +# github.com/beorn7/perks v1.0.1 +# [1] git ls-remote https://github.com/beorn7/perks 37c8de3658fcb183f997c4e13e8337516ab753e6 +SRCREV_perks="37c8de3658fcb183f997c4e13e8337516ab753e6" +SRC_URI += "git://github.com/beorn7/perks;name=perks;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/beorn7/perks" + +# github.com/go-logr/logr v1.3.0 +# [1] git ls-remote https://github.com/go-logr/logr 8adefbede0fe82bdee4fb8c9c9bdc7bc5d91388f +SRCREV_logr="8adefbede0fe82bdee4fb8c9c9bdc7bc5d91388f" +SRC_URI += "git://github.com/go-logr/logr;name=logr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-logr/logr" + +# github.com/go-logr/stdr v1.2.2 +# [1] git ls-remote https://github.com/go-logr/stdr 521af2addfa7c81c8a65d0e85ed34bb6bb6dc262 +SRCREV_stdr="521af2addfa7c81c8a65d0e85ed34bb6bb6dc262" +SRC_URI += "git://github.com/go-logr/stdr;name=stdr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-logr/stdr" + +# github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 +# [1] git ls-remote https://github.com/google/shlex e7afc7fbc51079733e9468cdfd1efcd7d196cd1d +SRCREV_shlex="e7afc7fbc51079733e9468cdfd1efcd7d196cd1d" +SRC_URI += "git://github.com/google/shlex;name=shlex;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/shlex" + +# github.com/miekg/pkcs11 v1.1.1 +# [1] git ls-remote https://github.com/miekg/pkcs11 f3481918a208bd212aa995a41f92d786eb418a7d +SRCREV_pkcs11="f3481918a208bd212aa995a41f92d786eb418a7d" +SRC_URI += "git://github.com/miekg/pkcs11;name=pkcs11;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/miekg/pkcs11" + +# github.com/docker/buildx v0.13.1 +# [1] git ls-remote https://github.com/docker/buildx 788433953af10f2a698f5c07611dddce2e08c7a0 +SRCREV_buildx="788433953af10f2a698f5c07611dddce2e08c7a0" +SRC_URI += "git://github.com/docker/buildx;name=buildx;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/buildx" + +# github.com/docker/docker v26.0.0+incompatible +# [1] git ls-remote https://github.com/moby/moby 8b79278316b532d396048bc8c2fa015a85d53a53 +SRCREV_docker="8b79278316b532d396048bc8c2fa015a85d53a53" +SRC_URI += "git://github.com/moby/moby;name=docker;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/docker" + +# github.com/google/go-cmp v0.6.0 +# [1] git ls-remote https://github.com/google/go-cmp c3ad8435e7bef96af35732bc0789e5a2278c6d5f +SRCREV_go-cmp="c3ad8435e7bef96af35732bc0789e5a2278c6d5f" +SRC_URI += "git://github.com/google/go-cmp;name=go-cmp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/go-cmp" + +# github.com/moby/buildkit v0.13.1 +# [1] git ls-remote https://github.com/moby/buildkit 2ae42e0c0c793d7d66b7a23424af6fd6c2f9c8f3 +SRCREV_buildkit="2ae42e0c0c793d7d66b7a23424af6fd6c2f9c8f3" +SRC_URI += "git://github.com/moby/buildkit;name=buildkit;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/buildkit" + +# go.opentelemetry.io/otel v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_otel="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otel;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel" + +# github.com/aws/smithy-go v1.19.0 +# [1] git ls-remote https://github.com/aws/smithy-go f982aed889669e4bc6f1cd03f56697f1b27964a4 +SRCREV_smithy-go="f982aed889669e4bc6f1cd03f56697f1b27964a4" +SRC_URI += "git://github.com/aws/smithy-go;name=smithy-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/smithy-go" + +# github.com/gogo/protobuf v1.3.2 +# [1] git ls-remote https://github.com/gogo/protobuf b03c65ea87cdc3521ede29f62fe3ce239267c1bc +SRCREV_protobuf="b03c65ea87cdc3521ede29f62fe3ce239267c1bc" +SRC_URI += "git://github.com/gogo/protobuf;name=protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gogo/protobuf" + +# github.com/google/gofuzz v1.2.0 +# [1] git ls-remote https://github.com/google/gofuzz 379e164120fbc98885a8f494b5aa41ba94f64c56 +SRCREV_gofuzz="379e164120fbc98885a8f494b5aa41ba94f64c56" +SRC_URI += "git://github.com/google/gofuzz;name=gofuzz;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/gofuzz" + +# github.com/imdario/mergo v0.3.16 +# [1] git ls-remote https://github.com/darccio/mergo 14fe2b165b83359196f820886a2b24f2771729e9 +SRCREV_imdario-mergo="14fe2b165b83359196f820886a2b24f2771729e9" +SRC_URI += "git://github.com/darccio/mergo;name=imdario-mergo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/imdario/mergo" + +# github.com/moby/sys/user v0.1.0 +# [1] git ls-remote https://github.com/moby/sys c0711cde08c8fa33857a2c28721659267f49b5e2 +SRCREV_user="c0711cde08c8fa33857a2c28721659267f49b5e2" +SRC_URI += "git://github.com/moby/sys;name=user;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/user" + +# github.com/containerd/log v0.1.0 +# [1] git ls-remote https://github.com/containerd/log 0fc1e28871fdf2786e2cc51bbe4133db6547a199 +SRCREV_log="0fc1e28871fdf2786e2cc51bbe4133db6547a199" +SRC_URI += "git://github.com/containerd/log;name=log;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/log" + +# github.com/davecgh/go-spew v1.1.1 +# [1] git ls-remote https://github.com/davecgh/go-spew 8991bc29aa16c548c550c7ff78260e27b9ab7c73 +SRCREV_go-spew="8991bc29aa16c548c550c7ff78260e27b9ab7c73" +SRC_URI += "git://github.com/davecgh/go-spew;name=go-spew;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/davecgh/go-spew" + +# github.com/docker/go-units v0.5.0 +# [1] git ls-remote https://github.com/docker/go-units e682442797b36348f8e1f98defdbf32bac0b6c6f +SRCREV_go-units="e682442797b36348f8e1f98defdbf32bac0b6c6f" +SRC_URI += "git://github.com/docker/go-units;name=go-units;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-units" + +# github.com/mitchellh/go-ps v1.0.0 +# [1] git ls-remote https://github.com/mitchellh/go-ps 147ff83818ae939913b2e20b91ae3cd6c391771c +SRCREV_go-ps="147ff83818ae939913b2e20b91ae3cd6c391771c" +SRC_URI += "git://github.com/mitchellh/go-ps;name=go-ps;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/go-ps" + +# github.com/sirupsen/logrus v1.9.3 +# [1] git ls-remote https://github.com/sirupsen/logrus d40e25cd45ed9c6b2b66e6b97573a0413e4c23bd +SRCREV_logrus="d40e25cd45ed9c6b2b66e6b97573a0413e4c23bd" +SRC_URI += "git://github.com/sirupsen/logrus;name=logrus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/sirupsen/logrus" + +# github.com/go-openapi/swag v0.22.3 +# [1] git ls-remote https://github.com/go-openapi/swag 0579829e66fde26b27d401921afb73704c4d463d +SRCREV_swag="0579829e66fde26b27d401921afb73704c4d463d" +SRC_URI += "git://github.com/go-openapi/swag;name=swag;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-openapi/swag" + +# github.com/gogo/googleapis v1.4.1 +# [1] git ls-remote https://github.com/gogo/googleapis 1f0e43f50bc0606e385ffae1bc80b5b231dcd042 +SRCREV_googleapis="1f0e43f50bc0606e385ffae1bc80b5b231dcd042" +SRC_URI += "git://github.com/gogo/googleapis;name=googleapis;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gogo/googleapis" + +# github.com/golang/protobuf v1.5.3 +# [1] git ls-remote https://github.com/golang/protobuf 5d5e8c018a13017f9d5b8bf4fad64aaa42a87308 +SRCREV_golang-protobuf="5d5e8c018a13017f9d5b8bf4fad64aaa42a87308" +SRC_URI += "git://github.com/golang/protobuf;name=golang-protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/protobuf" + +# github.com/mailru/easyjson v0.7.7 +# [1] git ls-remote https://github.com/mailru/easyjson c120ca7ced6051261161ce15e8f1542a4b2567fc +SRCREV_easyjson="c120ca7ced6051261161ce15e8f1542a4b2567fc" +SRC_URI += "git://github.com/mailru/easyjson;name=easyjson;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mailru/easyjson" + +# github.com/mattn/go-isatty v0.0.17 +# [1] git ls-remote https://github.com/mattn/go-isatty ed75e619dc0f0489fd4062163a7d061eaa249b9c +SRCREV_go-isatty="ed75e619dc0f0489fd4062163a7d061eaa249b9c" +SRC_URI += "git://github.com/mattn/go-isatty;name=go-isatty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-isatty" + +# github.com/moby/spdystream v0.2.0 +# [1] git ls-remote https://github.com/moby/spdystream dbc715126c0e3fa07721879c6d265b2b82c71e5b +SRCREV_spdystream="dbc715126c0e3fa07721879c6d265b2b82c71e5b" +SRC_URI += "git://github.com/moby/spdystream;name=spdystream;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/spdystream" + +# github.com/moby/sys/signal v0.7.0 +# [1] git ls-remote https://github.com/moby/sys b8d8fabf1fa5cf0de7c1a1729145eee854ea31f5 +SRCREV_signal="b8d8fabf1fa5cf0de7c1a1729145eee854ea31f5" +SRC_URI += "git://github.com/moby/sys;name=signal;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/signal" + +# github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f +# [1] git ls-remote https://github.com/mxk/go-flowrate cca7078d478f8520f85629ad7c68962d31ed7682 +SRCREV_go-flowrate="cca7078d478f8520f85629ad7c68962d31ed7682" +SRC_URI += "git://github.com/mxk/go-flowrate;name=go-flowrate;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mxk/go-flowrate" + +# google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b +# [1] git ls-remote https://github.com/googleapis/go-genproto 49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846 +SRCREV_genproto="49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846" +SRC_URI += "git://github.com/googleapis/go-genproto;name=genproto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto" + +# google.golang.org/protobuf v1.31.0 +# [1] git ls-remote https://github.com/protocolbuffers/protobuf-go 68463f0e96c93bc19ef36ccd3adfe690bfdb568c +SRCREV_google.golang.org-protobuf="68463f0e96c93bc19ef36ccd3adfe690bfdb568c" +SRC_URI += "git://github.com/protocolbuffers/protobuf-go;name=google.golang.org-protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/protobuf" + +# github.com/stretchr/testify v1.8.4 +# [1] git ls-remote https://github.com/stretchr/testify f97607b89807936ac4ff96748d766cf4b9711f78 +SRCREV_testify="f97607b89807936ac4ff96748d766cf4b9711f78" +SRC_URI += "git://github.com/stretchr/testify;name=testify;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/stretchr/testify" + +# github.com/containerd/ttrpc v1.2.2 +# [1] git ls-remote https://github.com/containerd/ttrpc ac26f8cbea1c440d451dd19a4a1b847fd073f3c3 +SRCREV_ttrpc="ac26f8cbea1c440d451dd19a4a1b847fd073f3c3" +SRC_URI += "git://github.com/containerd/ttrpc;name=ttrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/ttrpc" + +# github.com/josharian/intern v1.0.0 +# [1] git ls-remote https://github.com/josharian/intern 8e6ff32b3e7c0b018c43953085fe2ac330fe9acd +SRCREV_intern="8e6ff32b3e7c0b018c43953085fe2ac330fe9acd" +SRC_URI += "git://github.com/josharian/intern;name=intern;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/josharian/intern" + +# github.com/json-iterator/go v1.1.12 +# [1] git ls-remote https://github.com/json-iterator/go 024077e996b048517130b21ea6bf12aa23055d3d +SRCREV_json-iterator-go="024077e996b048517130b21ea6bf12aa23055d3d" +SRC_URI += "git://github.com/json-iterator/go;name=json-iterator-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/json-iterator/go" + +# github.com/moby/sys/symlink v0.2.0 +# [1] git ls-remote https://github.com/moby/sys 03b9f8d59a07f5206a2264105f4903a222aea964 +SRCREV_symlink="03b9f8d59a07f5206a2264105f4903a222aea964" +SRC_URI += "git://github.com/moby/sys;name=symlink;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/symlink" + +# github.com/serialx/hashring v0.0.0-20200727003509-22c0c7ab6b1b +# [1] git ls-remote https://github.com/serialx/hashring 22c0c7ab6b1be4be7b950bae8b117767da7b18b6 +SRCREV_hashring="22c0c7ab6b1be4be7b950bae8b117767da7b18b6" +SRC_URI += "git://github.com/serialx/hashring;name=hashring;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/serialx/hashring" + +# github.com/tonistiigi/units v0.0.0-20180711220420-6950e57a87ea +# [1] git ls-remote https://github.com/tonistiigi/units 6950e57a87eaf136bbe44ef2ec8e75b9e3569de2 +SRCREV_units="6950e57a87eaf136bbe44ef2ec8e75b9e3569de2" +SRC_URI += "git://github.com/tonistiigi/units;name=units;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tonistiigi/units" + +# github.com/tonistiigi/vt100 v0.0.0-20230623042737-f9a4f7ef6531 +# [1] git ls-remote https://github.com/tonistiigi/vt100 f9a4f7ef65311848d4d4791c649a178c8e97386b +SRCREV_vt100="f9a4f7ef65311848d4d4791c649a178c8e97386b" +SRC_URI += "git://github.com/tonistiigi/vt100;name=vt100;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tonistiigi/vt100" + +# google.golang.org/appengine v1.6.7 +# [1] git ls-remote https://github.com/golang/appengine 5d1c1d03f8703c2e81478d9a30e9afa2d3e4bd8a +SRCREV_appengine="5d1c1d03f8703c2e81478d9a30e9afa2d3e4bd8a" +SRC_URI += "git://github.com/golang/appengine;name=appengine;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/appengine" + +# github.com/fsnotify/fsevents v0.1.1 +# [1] git ls-remote https://github.com/fsnotify/fsevents f721bd2b045774a566e8f7f5fa2a9985e04c875d +SRCREV_fsevents="f721bd2b045774a566e8f7f5fa2a9985e04c875d" +SRC_URI += "git://github.com/fsnotify/fsevents;name=fsevents;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fsnotify/fsevents" + +# github.com/tilt-dev/fsnotify v1.4.8-0.20220602155310-fff9c274a375 +# [1] git ls-remote https://github.com/tilt-dev/fsnotify fff9c274a375301ae46812f257aa68393790c45b +SRCREV_fsnotify="fff9c274a375301ae46812f257aa68393790c45b" +SRC_URI += "git://github.com/tilt-dev/fsnotify;name=fsnotify;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tilt-dev/fsnotify" + +# go.opentelemetry.io/otel/sdk v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_sdk="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=sdk;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/sdk" + +# github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 +# [1] git ls-remote https://github.com/Azure/go-ansiterm d185dfc1b5a126116ea5a19e148e29d16b4574c9 +SRCREV_go-ansiterm="d185dfc1b5a126116ea5a19e148e29d16b4574c9" +SRC_URI += "git://github.com/Azure/go-ansiterm;name=go-ansiterm;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-ansiterm" + +# github.com/Microsoft/hcsshim v0.11.4 +# [1] git ls-remote https://github.com/microsoft/hcsshim b16edf62c1723deb948632261b445d0228d973e0 +SRCREV_hcsshim="b16edf62c1723deb948632261b445d0228d973e0" +SRC_URI += "git://github.com/microsoft/hcsshim;name=hcsshim;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Microsoft/hcsshim" + +# github.com/aws/aws-sdk-go-v2 v1.24.1 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39 +SRCREV_aws-sdk-go-v2="47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=aws-sdk-go-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2" + +# github.com/cespare/xxhash/v2 v2.2.0 +# [1] git ls-remote https://github.com/cespare/xxhash a76eb16a93c1e30527c073ca831d9048b4b935f6 +SRCREV_xxhash-v2="a76eb16a93c1e30527c073ca831d9048b4b935f6" +SRC_URI += "git://github.com/cespare/xxhash;name=xxhash-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cespare/xxhash/v2" + +# github.com/docker/go-metrics v0.0.1 +# [1] git ls-remote https://github.com/docker/go-metrics b619b3592b65de4f087d9f16863a7e6ff905973c +SRCREV_go-metrics="b619b3592b65de4f087d9f16863a7e6ff905973c" +SRC_URI += "git://github.com/docker/go-metrics;name=go-metrics;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-metrics" + +# github.com/eiannone/keyboard v0.0.0-20220611211555-0d226195f203 +# [1] git ls-remote https://github.com/eiannone/keyboard 0d226195f2038e282bb90d2e24f7f29aa7c5b210 +SRCREV_keyboard="0d226195f2038e282bb90d2e24f7f29aa7c5b210" +SRC_URI += "git://github.com/eiannone/keyboard;name=keyboard;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/eiannone/keyboard" + +# github.com/felixge/httpsnoop v1.0.4 +# [1] git ls-remote https://github.com/felixge/httpsnoop c5817c27ec125409c069052fdd171023c353501c +SRCREV_httpsnoop="c5817c27ec125409c069052fdd171023c353501c" +SRC_URI += "git://github.com/felixge/httpsnoop;name=httpsnoop;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/felixge/httpsnoop" + +# github.com/gorilla/websocket v1.5.0 +# [1] git ls-remote https://github.com/gorilla/websocket 9111bb834a68b893cebbbaed5060bdbc1d9ab7d2 +SRCREV_websocket="9111bb834a68b893cebbbaed5060bdbc1d9ab7d2" +SRC_URI += "git://github.com/gorilla/websocket;name=websocket;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gorilla/websocket" + +# github.com/hashicorp/errwrap v1.1.0 +# [1] git ls-remote https://github.com/hashicorp/errwrap 7b00e5db719c64d14dd0caaacbd13e76254d02c0 +SRCREV_errwrap="7b00e5db719c64d14dd0caaacbd13e76254d02c0" +SRC_URI += "git://github.com/hashicorp/errwrap;name=errwrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/errwrap" + +# github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 +# [1] git ls-remote https://github.com/munnerz/goautoneg a7dc8b61c822528f973a5e4e7b272055c6fdb43e +SRCREV_goautoneg="a7dc8b61c822528f973a5e4e7b272055c6fdb43e" +SRC_URI += "git://github.com/munnerz/goautoneg;name=goautoneg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/munnerz/goautoneg" + +# github.com/pelletier/go-toml v1.9.5 +# [1] git ls-remote https://github.com/pelletier/go-toml fed1464066413075eac02cd4dc368b5221845541 +SRCREV_go-toml="fed1464066413075eac02cd4dc368b5221845541" +SRC_URI += "git://github.com/pelletier/go-toml;name=go-toml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pelletier/go-toml" + +# github.com/prometheus/common v0.44.0 +# [1] git ls-remote https://github.com/prometheus/common 94bf9828e56d9670579b28a9f78237d3cd8d0395 +SRCREV_common="94bf9828e56d9670579b28a9f78237d3cd8d0395" +SRC_URI += "git://github.com/prometheus/common;name=common;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/common" + +# github.com/prometheus/procfs v0.12.0 +# [1] git ls-remote https://github.com/prometheus/procfs ff0ad85f7e8bcd5c677d99143f14a2a3aab533aa +SRCREV_procfs="ff0ad85f7e8bcd5c677d99143f14a2a3aab533aa" +SRC_URI += "git://github.com/prometheus/procfs;name=procfs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/procfs" + +# github.com/tonistiigi/fsutil v0.0.0-20240301111122-7525a1af2bb5 +# [1] git ls-remote https://github.com/tonistiigi/fsutil 7525a1af2bb545e89dc9bced785bff7a3b7f08c2 +SRCREV_fsutil="7525a1af2bb545e89dc9bced785bff7a3b7f08c2" +SRC_URI += "git://github.com/tonistiigi/fsutil;name=fsutil;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tonistiigi/fsutil" + +# gopkg.in/cenkalti/backoff.v1 v1.1.0 +# [1] git ls-remote https://github.com/cenkalti/backoff 61153c768f31ee5f130071d08fc82b85208528de +SRCREV_backoff.v1="61153c768f31ee5f130071d08fc82b85208528de" +SRC_URI += "git://github.com/cenkalti/backoff;name=backoff.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/cenkalti/backoff.v1" + +# github.com/Microsoft/go-winio v0.6.1 +# [1] git ls-remote https://github.com/microsoft/go-winio 070c828abb873da9e71c7247740253b50f7cf049 +SRCREV_go-winio="070c828abb873da9e71c7247740253b50f7cf049" +SRC_URI += "git://github.com/microsoft/go-winio;name=go-winio;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Microsoft/go-winio" + +# github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d +# [1] git ls-remote https://github.com/acarl005/stripansi 5a71ef0e047df0427e87a79f27009029921f1f9b +SRCREV_stripansi="5a71ef0e047df0427e87a79f27009029921f1f9b" +SRC_URI += "git://github.com/acarl005/stripansi;name=stripansi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/acarl005/stripansi" + +# github.com/containerd/console v1.0.4 +# [1] git ls-remote https://github.com/containerd/console 8f6c4e4faef5a326d2cd907097d04c0239ee5e2f +SRCREV_console="8f6c4e4faef5a326d2cd907097d04c0239ee5e2f" +SRC_URI += "git://github.com/containerd/console;name=console;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/console" + +# github.com/fvbommel/sortorder v1.0.2 +# [1] git ls-remote https://github.com/fvbommel/sortorder 26fad50c6b32a3064c09ed089865c16f2f3615f6 +SRCREV_sortorder="26fad50c6b32a3064c09ed089865c16f2f3615f6" +SRC_URI += "git://github.com/fvbommel/sortorder;name=sortorder;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fvbommel/sortorder" + +# github.com/klauspost/compress v1.17.4 +# [1] git ls-remote https://github.com/klauspost/compress 98ff542abe3108aa760c1558f80d393be0136539 +SRCREV_compress="98ff542abe3108aa760c1558f80d393be0136539" +SRC_URI += "git://github.com/klauspost/compress;name=compress;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/compress" + +# github.com/mattn/go-colorable v0.1.13 +# [1] git ls-remote https://github.com/mattn/go-colorable 11a925cff3d38c293ddc8c05a16b504e3e2c63be +SRCREV_go-colorable="11a925cff3d38c293ddc8c05a16b504e3e2c63be" +SRC_URI += "git://github.com/mattn/go-colorable;name=go-colorable;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-colorable" + +# github.com/mattn/go-runewidth v0.0.15 +# [1] git ls-remote https://github.com/mattn/go-runewidth 44b7c5b4d67df8ca22917b6800c158a6d3be3560 +SRCREV_go-runewidth="44b7c5b4d67df8ca22917b6800c158a6d3be3560" +SRC_URI += "git://github.com/mattn/go-runewidth;name=go-runewidth;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-runewidth" + +# github.com/moby/sys/mountinfo v0.7.1 +# [1] git ls-remote https://github.com/moby/sys 4950d7687cf6c9b138dc0e18c2c7351e1f6ed497 +SRCREV_mountinfo="4950d7687cf6c9b138dc0e18c2c7351e1f6ed497" +SRC_URI += "git://github.com/moby/sys;name=mountinfo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/mountinfo" + +# github.com/modern-go/reflect2 v1.0.2 +# [1] git ls-remote https://github.com/modern-go/reflect2 2b33151c9bbc5231aea69b8861c540102b087070 +SRCREV_reflect2="2b33151c9bbc5231aea69b8861c540102b087070" +SRC_URI += "git://github.com/modern-go/reflect2;name=reflect2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/reflect2" + +# github.com/pmezard/go-difflib v1.0.0 +# [1] git ls-remote https://github.com/pmezard/go-difflib 792786c7400a136282c1664665ae0a8db921c6c2 +SRCREV_go-difflib="792786c7400a136282c1664665ae0a8db921c6c2" +SRC_URI += "git://github.com/pmezard/go-difflib;name=go-difflib;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pmezard/go-difflib" + +# github.com/jonboulle/clockwork v0.4.0 +# [1] git ls-remote https://github.com/jonboulle/clockwork 606c48b92358fcca153952b56fb0d14d6845f84a +SRCREV_clockwork="606c48b92358fcca153952b56fb0d14d6845f84a" +SRC_URI += "git://github.com/jonboulle/clockwork;name=clockwork;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jonboulle/clockwork" + +# github.com/mattn/go-shellwords v1.0.12 +# [1] git ls-remote https://github.com/mattn/go-shellwords 973b9d5391598d4ee601db46fa32f6e186a356ac +SRCREV_go-shellwords="973b9d5391598d4ee601db46fa32f6e186a356ac" +SRC_URI += "git://github.com/mattn/go-shellwords;name=go-shellwords;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-shellwords" + +# github.com/moby/patternmatcher v0.6.0 +# [1] git ls-remote https://github.com/moby/patternmatcher 347bb8d8d557f90d1b75cd8bca3c0177f380a979 +SRCREV_patternmatcher="347bb8d8d557f90d1b75cd8bca3c0177f380a979" +SRC_URI += "git://github.com/moby/patternmatcher;name=patternmatcher;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/patternmatcher" + +# go.opentelemetry.io/otel/trace v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_trace="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=trace;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/trace" + +# github.com/cenkalti/backoff/v4 v4.2.1 +# [1] git ls-remote https://github.com/cenkalti/backoff a04a6fe64ffb0e3fd0816460529d300be5f252df +SRCREV_v4="a04a6fe64ffb0e3fd0816460529d300be5f252df" +SRC_URI += "git://github.com/cenkalti/backoff;name=v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cenkalti/backoff/v4" + +# github.com/docker/distribution v2.8.3+incompatible +# [1] git ls-remote https://github.com/distribution/distribution 4772604ae973031ab32dd9805a4bccf61d94909f +SRCREV_distribution="4772604ae973031ab32dd9805a4bccf61d94909f" +SRC_URI += "git://github.com/distribution/distribution;name=distribution;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/distribution" + +# github.com/moby/sys/sequential v0.5.0 +# [1] git ls-remote https://github.com/moby/sys b22ba8a69b306f0b4adbbe2a529457e6283ed9f7 +SRCREV_sequential="b22ba8a69b306f0b4adbbe2a529457e6283ed9f7" +SRC_URI += "git://github.com/moby/sys;name=sequential;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/sequential" + +# github.com/shibumi/go-pathspec v1.3.0 +# [1] git ls-remote https://github.com/shibumi/go-pathspec 30eddf187f62305a5b34f662049d077211abaacd +SRCREV_go-pathspec="30eddf187f62305a5b34f662049d077211abaacd" +SRC_URI += "git://github.com/shibumi/go-pathspec;name=go-pathspec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/shibumi/go-pathspec" + +# go.opentelemetry.io/proto/otlp v1.0.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-proto-go 97744b2e4a0fa6787b96b9c3c740daefca754333 +SRCREV_otlp="97744b2e4a0fa6787b96b9c3c740daefca754333" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-proto-go;name=otlp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/proto/otlp" + +# github.com/docker/cli-docs-tool v0.7.0 +# [1] git ls-remote https://github.com/docker/cli-docs-tool 3149c912295595f6fc3bd7d3ee9283d97a4aedf6 +SRCREV_cli-docs-tool="3149c912295595f6fc3bd7d3ee9283d97a4aedf6" +SRC_URI += "git://github.com/docker/cli-docs-tool;name=cli-docs-tool;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/cli-docs-tool" + +# github.com/hashicorp/go-version v1.6.0 +# [1] git ls-remote https://github.com/hashicorp/go-version 78d058c5618891f74d604bd15356fca690b64d8a +SRCREV_go-version="78d058c5618891f74d604bd15356fca690b64d8a" +SRC_URI += "git://github.com/hashicorp/go-version;name=go-version;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-version" + +# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd +# [1] git ls-remote https://github.com/modern-go/concurrent bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94 +SRCREV_concurrent="bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94" +SRC_URI += "git://github.com/modern-go/concurrent;name=concurrent;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/concurrent" + +# github.com/xeipuuv/gojsonschema v1.2.0 +# [1] git ls-remote https://github.com/xeipuuv/gojsonschema 82fcdeb203eb6ab2a67d0a623d9c19e5e5a64927 +SRCREV_gojsonschema="82fcdeb203eb6ab2a67d0a623d9c19e5e5a64927" +SRC_URI += "git://github.com/xeipuuv/gojsonschema;name=gojsonschema;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xeipuuv/gojsonschema" + +# go.opentelemetry.io/otel/metric v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_metric="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=metric;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/metric" + +# github.com/AlecAivazis/survey/v2 v2.3.7 +# [1] git ls-remote https://github.com/AlecAivazis/survey fa37277e6394c29db7bcc94062cb30cd7785a126 +SRCREV_v2="fa37277e6394c29db7bcc94062cb30cd7785a126" +SRC_URI += "git://github.com/AlecAivazis/survey;name=v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/AlecAivazis/survey/v2" + +# github.com/containerd/containerd v1.7.13 +# [1] git ls-remote https://github.com/containerd/containerd 7c3aca7a610df76212171d200ca3811ff6096eb8 +SRCREV_containerd="7c3aca7a610df76212171d200ca3811ff6096eb8" +SRC_URI += "git://github.com/containerd/containerd;name=containerd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/containerd" + +# github.com/docker/go-connections v0.5.0 +# [1] git ls-remote https://github.com/docker/go-connections fa09c952e3eadbffaf8afc5b8a1667158ba38ace +SRCREV_go-connections="fa09c952e3eadbffaf8afc5b8a1667158ba38ace" +SRC_URI += "git://github.com/docker/go-connections;name=go-connections;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-connections" + +# github.com/Masterminds/semver/v3 v3.2.1 +# [1] git ls-remote https://github.com/Masterminds/semver e06051f8fcc4c8b4a4990c337b9862a2448722e5 +SRCREV_semver-v3="e06051f8fcc4c8b4a4990c337b9862a2448722e5" +SRC_URI += "git://github.com/Masterminds/semver;name=semver-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Masterminds/semver/v3" + +# github.com/containerd/continuity v0.4.3 +# [1] git ls-remote https://github.com/containerd/continuity 1743d9104d944131cdedaba33a59d2f9bd80a6f2 +SRCREV_continuity="1743d9104d944131cdedaba33a59d2f9bd80a6f2" +SRC_URI += "git://github.com/containerd/continuity;name=continuity;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/continuity" + +# github.com/containerd/typeurl/v2 v2.1.1 +# [1] git ls-remote https://github.com/containerd/typeurl 7ef6316b771f959cbb208b229e3423a466947df3 +SRCREV_typeurl-v2="7ef6316b771f959cbb208b229e3423a466947df3" +SRC_URI += "git://github.com/containerd/typeurl;name=typeurl-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/typeurl/v2" + +# github.com/google/gnostic-models v0.6.8 +# [1] git ls-remote https://github.com/google/gnostic-models 577692584cdf09674595bba0c182d0e8a44655d3 +SRCREV_gnostic-models="577692584cdf09674595bba0c182d0e8a44655d3" +SRC_URI += "git://github.com/google/gnostic-models;name=gnostic-models;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/gnostic-models" + +# github.com/mitchellh/reflectwalk v1.0.2 +# [1] git ls-remote https://github.com/mitchellh/reflectwalk e0c24fdb021963cd2c4013097a0b993a7c4e344f +SRCREV_reflectwalk="e0c24fdb021963cd2c4013097a0b993a7c4e344f" +SRC_URI += "git://github.com/mitchellh/reflectwalk;name=reflectwalk;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/reflectwalk" + +# github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb +# [1] git ls-remote https://github.com/xeipuuv/gojsonpointer 02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb +SRCREV_gojsonpointer="02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb" +SRC_URI += "git://github.com/xeipuuv/gojsonpointer;name=gojsonpointer;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xeipuuv/gojsonpointer" + +# github.com/distribution/reference v0.5.0 +# [1] git ls-remote https://github.com/distribution/reference 49c28499d219290c3226822e9cfcd4ede6d75379 +SRCREV_reference="49c28499d219290c3226822e9cfcd4ede6d75379" +SRC_URI += "git://github.com/distribution/reference;name=reference;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/distribution/reference" + +# github.com/mitchellh/mapstructure v1.5.0 +# [1] git ls-remote https://github.com/mitchellh/mapstructure ab69d8d93410fce4361f4912bb1ff88110a81311 +SRCREV_mapstructure="ab69d8d93410fce4361f4912bb1ff88110a81311" +SRC_URI += "git://github.com/mitchellh/mapstructure;name=mapstructure;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/mapstructure" + +# github.com/skratchdot/open-golang v0.0.0-20200116055534-eef842397966 +# [1] git ls-remote https://github.com/skratchdot/open-golang eef8423979666925a58eb77f9db583e54320d5a4 +SRCREV_open-golang="eef8423979666925a58eb77f9db583e54320d5a4" +SRC_URI += "git://github.com/skratchdot/open-golang;name=open-golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/skratchdot/open-golang" + +# github.com/emicklei/go-restful/v3 v3.11.0 +# [1] git ls-remote https://github.com/emicklei/go-restful 30bec7807481e62e1e1e59ad57e7f22054806966 +SRCREV_go-restful-v3="30bec7807481e62e1e1e59ad57e7f22054806966" +SRC_URI += "git://github.com/emicklei/go-restful;name=go-restful-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/emicklei/go-restful/v3" + +# github.com/go-openapi/jsonpointer v0.19.6 +# [1] git ls-remote https://github.com/go-openapi/jsonpointer 5df0d69a6be189afff354877d332f9ede32afe12 +SRCREV_jsonpointer="5df0d69a6be189afff354877d332f9ede32afe12" +SRC_URI += "git://github.com/go-openapi/jsonpointer;name=jsonpointer;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-openapi/jsonpointer" + +# github.com/hashicorp/go-cleanhttp v0.5.2 +# [1] git ls-remote https://github.com/hashicorp/go-cleanhttp 6d9e2ac5d828e5f8594b97f88c4bde14a67bb6d2 +SRCREV_go-cleanhttp="6d9e2ac5d828e5f8594b97f88c4bde14a67bb6d2" +SRC_URI += "git://github.com/hashicorp/go-cleanhttp;name=go-cleanhttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-cleanhttp" + +# github.com/in-toto/in-toto-golang v0.5.0 +# [1] git ls-remote https://github.com/in-toto/in-toto-golang ec599036d27ebaca3e8c03559d3f8fd5fe429dfe +SRCREV_in-toto-golang="ec599036d27ebaca3e8c03559d3f8fd5fe429dfe" +SRC_URI += "git://github.com/in-toto/in-toto-golang;name=in-toto-golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/in-toto/in-toto-golang" + +# github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 +# [1] git ls-remote https://github.com/kballard/go-shellquote 95032a82bc518f77982ea72343cc1ade730072f0 +SRCREV_go-shellquote="95032a82bc518f77982ea72343cc1ade730072f0" +SRC_URI += "git://github.com/kballard/go-shellquote;name=go-shellquote;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/kballard/go-shellquote" + +# github.com/moby/docker-image-spec v1.3.1 +# [1] git ls-remote https://github.com/moby/docker-image-spec f1d00ebd2d6d6805170d5543dbca4b850f35f9af +SRCREV_docker-image-spec="f1d00ebd2d6d6805170d5543dbca4b850f35f9af" +SRC_URI += "git://github.com/moby/docker-image-spec;name=docker-image-spec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/docker-image-spec" + +# github.com/hashicorp/go-multierror v1.1.1 +# [1] git ls-remote https://github.com/hashicorp/go-multierror 9974e9ec57696378079ecc3accd3d6f29401b3a0 +SRCREV_go-multierror="9974e9ec57696378079ecc3accd3d6f29401b3a0" +SRC_URI += "git://github.com/hashicorp/go-multierror;name=go-multierror;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-multierror" + +# github.com/mitchellh/copystructure v1.2.0 +# [1] git ls-remote https://github.com/mitchellh/copystructure d4ce1f938f7a7ea2a40bff4544b56be9c00b5e84 +SRCREV_copystructure="d4ce1f938f7a7ea2a40bff4544b56be9c00b5e84" +SRC_URI += "git://github.com/mitchellh/copystructure;name=copystructure;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/copystructure" + +# github.com/prometheus/client_model v0.5.0 +# [1] git ls-remote https://github.com/prometheus/client_model 1c92cadf7d8fa1726bae12e6025cca9b86d2ba5f +SRCREV_client_model="1c92cadf7d8fa1726bae12e6025cca9b86d2ba5f" +SRC_URI += "git://github.com/prometheus/client_model;name=client_model;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_model" + +# github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 +# [1] git ls-remote https://github.com/xeipuuv/gojsonreference bd5ef7bd5415a7ac448318e64f11a24cd21e594b +SRCREV_gojsonreference="bd5ef7bd5415a7ac448318e64f11a24cd21e594b" +SRC_URI += "git://github.com/xeipuuv/gojsonreference;name=gojsonreference;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xeipuuv/gojsonreference" + +# github.com/opencontainers/go-digest v1.0.0 +# [1] git ls-remote https://github.com/opencontainers/go-digest ea51bea511f75cfa3ef6098cc253c5c3609b037a +SRCREV_go-digest="ea51bea511f75cfa3ef6098cc253c5c3609b037a" +SRC_URI += "git://github.com/opencontainers/go-digest;name=go-digest;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/go-digest" + +# github.com/aws/aws-sdk-go-v2/config v1.26.6 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 857d5277b41f290ab7ba0e0f6f96f940045f69b7 +SRCREV_config="857d5277b41f290ab7ba0e0f6f96f940045f69b7" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=config;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/config" + +# github.com/go-openapi/jsonreference v0.20.2 +# [1] git ls-remote https://github.com/go-openapi/jsonreference 1f158e563669961b8e54817e3ea57978d439ffff +SRCREV_jsonreference="1f158e563669961b8e54817e3ea57978d439ffff" +SRC_URI += "git://github.com/go-openapi/jsonreference;name=jsonreference;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-openapi/jsonreference" + +# github.com/prometheus/client_golang v1.17.0 +# [1] git ls-remote https://github.com/prometheus/client_golang fa1408ee351f6aba15c6d0207f7a0021eb3af406 +SRCREV_client_golang="fa1408ee351f6aba15c6d0207f7a0021eb3af406" +SRC_URI += "git://github.com/prometheus/client_golang;name=client_golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_golang" + +# go.opentelemetry.io/otel/sdk/metric v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_sdk-metric="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=sdk-metric;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/sdk/metric" + +# github.com/opencontainers/image-spec v1.1.0-rc6 +# [1] git ls-remote https://github.com/opencontainers/image-spec 6c2b5fafa0731a97aad0c2a68bac238d6c98c690 +SRCREV_image-spec="6c2b5fafa0731a97aad0c2a68bac238d6c98c690" +SRC_URI += "git://github.com/opencontainers/image-spec;name=image-spec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/image-spec" + +# github.com/theupdateframework/notary v0.7.0 +# [1] git ls-remote https://github.com/notaryproject/notary b0b6bfdd4933081e8d5ae026b24e8337311dd598 +SRCREV_notary="b0b6bfdd4933081e8d5ae026b24e8337311dd598" +SRC_URI += "git://github.com/notaryproject/notary;name=notary;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/theupdateframework/notary" + +# github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 +# [1] git ls-remote https://github.com/AdaLogics/go-fuzz-headers ced1acdcaa24dc39c01b039fc37576c395f506cf +SRCREV_go-fuzz-headers="ced1acdcaa24dc39c01b039fc37576c395f506cf" +SRC_URI += "git://github.com/AdaLogics/go-fuzz-headers;name=go-fuzz-headers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/AdaLogics/go-fuzz-headers" + +# github.com/inconshreveable/mousetrap v1.1.0 +# [1] git ls-remote https://github.com/inconshreveable/mousetrap 4e8053ee7ef85a6bd26368364a6d27f1641c1d21 +SRCREV_mousetrap="4e8053ee7ef85a6bd26368364a6d27f1641c1d21" +SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/inconshreveable/mousetrap" + +# sigs.k8s.io/structured-merge-diff/v4 v4.4.1 +# [1] git ls-remote https://github.com/kubernetes-sigs/structured-merge-diff cf09e71f4508bfc416135048e392a8a4990bf4e3 +SRCREV_structured-merge-diff-v4="cf09e71f4508bfc416135048e392a8a4990bf4e3" +SRC_URI += "git://github.com/kubernetes-sigs/structured-merge-diff;name=structured-merge-diff-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/structured-merge-diff/v4" + +# github.com/compose-spec/compose-go/v2 v2.0.2 +# [1] git ls-remote https://github.com/compose-spec/compose-go d0722c0e5564b4970f6634592638c0577ef8e028 +SRCREV_compose-go-v2="d0722c0e5564b4970f6634592638c0577ef8e028" +SRC_URI += "git://github.com/compose-spec/compose-go;name=compose-go-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/compose-spec/compose-go/v2" + +# tags.cncf.io/container-device-interface v0.6.2 +# [1] git ls-remote https://github.com/cncf-tags/container-device-interface fb50bf8fc8b2c3c8fda6d23ab7e044774dcca678 +SRCREV_container-device-interface="fb50bf8fc8b2c3c8fda6d23ab7e044774dcca678" +SRC_URI += "git://github.com/cncf-tags/container-device-interface;name=container-device-interface;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/tags.cncf.io/container-device-interface" + +# github.com/aws/aws-sdk-go-v2/credentials v1.16.16 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 a75d7694eb2709212655ee25e811d72a1188a68b +SRCREV_credentials="a75d7694eb2709212655ee25e811d72a1188a68b" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=credentials;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/credentials" + +# github.com/aws/aws-sdk-go-v2/service/sso v1.18.7 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 a75d7694eb2709212655ee25e811d72a1188a68b +SRCREV_sso="a75d7694eb2709212655ee25e811d72a1188a68b" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=sso;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/service/sso" + +# github.com/aws/aws-sdk-go-v2/service/sts v1.26.7 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39 +SRCREV_sts="47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=sts;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/service/sts" + +# github.com/aws/aws-sdk-go-v2/internal/ini v1.7.3 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 857d5277b41f290ab7ba0e0f6f96f940045f69b7 +SRCREV_ini="857d5277b41f290ab7ba0e0f6f96f940045f69b7" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=ini;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/internal/ini" + +# github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 +# [1] git ls-remote https://github.com/grpc-ecosystem/grpc-gateway 09e3965a330155f7db8482269d7d91b9bceb7641 +SRCREV_grpc-gateway-v2="09e3965a330155f7db8482269d7d91b9bceb7641" +SRC_URI += "git://github.com/grpc-ecosystem/grpc-gateway;name=grpc-gateway-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/grpc-ecosystem/grpc-gateway/v2" + +# google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b +# [1] git ls-remote https://github.com/googleapis/go-genproto 49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846 +SRCREV_api="49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846" +SRC_URI += "git://github.com/googleapis/go-genproto;name=api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto/googleapis/api" + +# google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b +# [1] git ls-remote https://github.com/googleapis/go-genproto 49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846 +SRCREV_rpc="49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846" +SRC_URI += "git://github.com/googleapis/go-genproto;name=rpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto/googleapis/rpc" + +# github.com/docker/docker-credential-helpers v0.8.0 +# [1] git ls-remote https://github.com/docker/docker-credential-helpers 8396edb35f8d7229e75482e9d82c7729fa7001b7 +SRCREV_docker-credential-helpers="8396edb35f8d7229e75482e9d82c7729fa7001b7" +SRC_URI += "git://github.com/docker/docker-credential-helpers;name=docker-credential-helpers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/docker-credential-helpers" + +# github.com/aws/aws-sdk-go-v2/service/ssooidc v1.21.7 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 f53c9bcd7ccef6fd9f13f77512e78e3a7aa3cc01 +SRCREV_ssooidc="f53c9bcd7ccef6fd9f13f77512e78e3a7aa3cc01" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=ssooidc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/service/ssooidc" + +# github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 +# [1] git ls-remote https://github.com/grpc-ecosystem/go-grpc-middleware df0f91b29bbbdfc3a686a7a8edbe2b9de2072fdd +SRCREV_go-grpc-middleware="df0f91b29bbbdfc3a686a7a8edbe2b9de2072fdd" +SRC_URI += "git://github.com/grpc-ecosystem/go-grpc-middleware;name=go-grpc-middleware;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/grpc-ecosystem/go-grpc-middleware" + +# github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.14.11 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39 +SRCREV_imds="47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=imds;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/feature/ec2/imds" + +# go.opentelemetry.io/otel/exporters/prometheus v0.42.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 60666c554065ac4da502fe28943eea4b938ab479 +SRCREV_prometheus="60666c554065ac4da502fe28943eea4b938ab479" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=prometheus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/prometheus" + +# github.com/matttproud/golang_protobuf_extensions v1.0.4 +# [1] git ls-remote https://github.com/matttproud/golang_protobuf_extensions c182affec369e30f25d3eb8cd8a478dee585ae7d +SRCREV_golang_protobuf_extensions="c182affec369e30f25d3eb8cd8a478dee585ae7d" +SRC_URI += "git://github.com/matttproud/golang_protobuf_extensions;name=golang_protobuf_extensions;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/matttproud/golang_protobuf_extensions" + +# go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_otlptrace="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlptrace;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlptrace" + +# github.com/secure-systems-lab/go-securesystemslib v0.4.0 +# [1] git ls-remote https://github.com/secure-systems-lab/go-securesystemslib abcd7c95c952df38eb237fab3764ef1b8d2b15c9 +SRCREV_go-securesystemslib="abcd7c95c952df38eb237fab3764ef1b8d2b15c9" +SRC_URI += "git://github.com/secure-systems-lab/go-securesystemslib;name=go-securesystemslib;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/secure-systems-lab/go-securesystemslib" + +# github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.5.10 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39 +SRCREV_endpoints-v2="47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=endpoints-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/internal/endpoints/v2" + +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 60666c554065ac4da502fe28943eea4b938ab479 +SRCREV_otlpmetric="60666c554065ac4da502fe28943eea4b938ab479" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlpmetric;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlpmetric" + +# github.com/aws/aws-sdk-go-v2/internal/configsources v1.2.10 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39 +SRCREV_configsources="47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=configsources;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/internal/configsources" + +# github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.10.10 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39 +SRCREV_presigned-url="47dd1b1bcbde244357a82ef00fa6a61a9bfb9b39" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=presigned-url;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/service/internal/presigned-url" + +# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go-contrib ba19074a6785b2b65c86a52c0649cf040319fa96 +SRCREV_otelhttp="ba19074a6785b2b65c86a52c0649cf040319fa96" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go-contrib;name=otelhttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" + +# github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.10.4 +# [1] git ls-remote https://github.com/aws/aws-sdk-go-v2 0d643a8f0a8ad09075f41a60acba6a208cb36c58 +SRCREV_accept-encoding="0d643a8f0a8ad09075f41a60acba6a208cb36c58" +SRC_URI += "git://github.com/aws/aws-sdk-go-v2;name=accept-encoding;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding" + +# go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_otlptracegrpc="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlptracegrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc" + +# go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.21.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 98b32a6c3a87fbee5d34c063b9096f416b250897 +SRCREV_otlptracehttp="98b32a6c3a87fbee5d34c063b9096f416b250897" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlptracehttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp" + +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.42.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 60666c554065ac4da502fe28943eea4b938ab479 +SRCREV_otlpmetricgrpc="60666c554065ac4da502fe28943eea4b938ab479" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlpmetricgrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc" + +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v0.42.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 60666c554065ac4da502fe28943eea4b938ab479 +SRCREV_otlpmetrichttp="60666c554065ac4da502fe28943eea4b938ab479" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlpmetrichttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp" + +# go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go-contrib ba19074a6785b2b65c86a52c0649cf040319fa96 +SRCREV_otelgrpc="ba19074a6785b2b65c86a52c0649cf040319fa96" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go-contrib;name=otelgrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" + +# go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace v0.46.1 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go-contrib ba19074a6785b2b65c86a52c0649cf040319fa96 +SRCREV_otelhttptrace="ba19074a6785b2b65c86a52c0649cf040319fa96" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go-contrib;name=otelhttptrace;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/contrib/instrumentation/net/http/httptrace/otelhttptrace" + diff --git a/recipes-containers/docker-distribution/docker-distribution_git.bb b/recipes-containers/docker-distribution/docker-distribution_git.bb index 4bf3c6e5..dbca0d55 100644 --- a/recipes-containers/docker-distribution/docker-distribution_git.bb +++ b/recipes-containers/docker-distribution/docker-distribution_git.bb @@ -3,20 +3,20 @@ SUMMARY = "The Docker toolset to pack, ship, store, and deliver content" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d2794c0df5b907fdace235a619d80314" -SRCREV_distribution="2461543d988979529609e8cb6fca9ca190dc48da" -SRC_URI = "git://github.com/docker/distribution.git;branch=release/2.7;name=distribution;destsuffix=git/src/github.com/docker/distribution \ +SRCREV_distribution= "d607c6ccb9372e05556624f973119a23d3a42987" +SRC_URI = "git://github.com/docker/distribution.git;branch=release/2.8;name=distribution;destsuffix=git/src/github.com/docker/distribution;protocol=https \ file://docker-registry.service \ + file://0001-build-use-to-use-cross-go-compiler.patch \ " PACKAGES =+ "docker-registry" -PV = "v2.7.1" +PV = "v2.8.3+git" S = "${WORKDIR}/git/src/github.com/docker/distribution" GO_IMPORT = "import" -inherit goarch -inherit go +inherit goarch go systemd # This disables seccomp and apparmor, which are on by default in the # go package. @@ -25,15 +25,17 @@ EXTRA_OEMAKE="BUILDTAGS=''" do_compile() { export GOARCH="${TARGET_GOARCH}" export GOPATH="${WORKDIR}/git/" - export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" + export GOROOT="${STAGING_LIBDIR}/go" # Pass the needed cflags/ldflags so that cgo # can find the needed headers files and libraries export CGO_ENABLED="1" export CFLAGS="" export LDFLAGS="" - export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CGO_CFLAGS="${TARGET_CFLAGS}" export GO_GCFLAGS="" - export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CGO_LDFLAGS="${TARGET_LDFLAGS}" + export GO111MODULE=off + export GO_BUILD_FLAGS="-trimpath" cd ${S} @@ -56,15 +58,20 @@ do_install() { install -d ${D}/${localstatedir}/lib/registry/ } -INSANE_SKIP_${PN} += "ldflags already-stripped" -INSANE_SKIP_${MLPREFIX}docker-registry += "ldflags already-stripped textrel" +INSANE_SKIP:${PN} += "ldflags already-stripped" +INSANE_SKIP:${MLPREFIX}docker-registry += "ldflags already-stripped textrel" -FILES_docker-registry = "${sbindir}/*" -FILES_docker-registry += "${systemd_unitdir}/system/docker-registry.service" -FILES_docker-registry += "${sysconfdir}/docker-distribution/*" -FILES_docker-registry += "${localstatedir}/lib/registry/" +FILES:docker-registry = "${sbindir}/*" +FILES:docker-registry += "${systemd_unitdir}/system/docker-registry.service" +FILES:docker-registry += "${sysconfdir}/docker-distribution/*" +FILES:docker-registry += "${localstatedir}/lib/registry/" -SYSTEMD_SERVICE_docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}" -SYSTEMD_AUTO_ENABLE_docker-registry = "enable" +SYSTEMD_PACKAGES = "docker-registry" +SYSTEMD_SERVICE:docker-registry = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker-registry.service','',d)}" +SYSTEMD_AUTO_ENABLE:docker-registry = "enable" -RDEPENDS_${PN}-ptest_remove = "${PN}" +RDEPENDS:${PN}-ptest:remove = "${PN}" + +CVE_PRODUCT = "docker_registry" + +COMPATIBLE_HOST:riscv64 = "null" diff --git a/recipes-containers/docker-distribution/files/0001-build-use-to-use-cross-go-compiler.patch b/recipes-containers/docker-distribution/files/0001-build-use-to-use-cross-go-compiler.patch new file mode 100644 index 00000000..f97a60ca --- /dev/null +++ b/recipes-containers/docker-distribution/files/0001-build-use-to-use-cross-go-compiler.patch @@ -0,0 +1,31 @@ +From 9c27a12dc0bc62b95d7ecf003e7d241b36c3f2e6 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 30 Jun 2020 23:35:05 -0400 +Subject: [PATCH] build: use to use cross go compiler + +We shouldn't be invoking 'go' as the compiler, but instead use +${GO} which tracks our cross build go compiler for the architecture. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/Makefile b/Makefile +index 4635c6ec..a95e860e 100644 +--- a/Makefile ++++ b/Makefile +@@ -88,7 +88,7 @@ FORCE: + # Build a binary from a cmd. + bin/%: cmd/% FORCE + @echo "$(WHALE) $@${BINARY_SUFFIX}" +- @go build ${GO_GCFLAGS} ${GO_BUILD_FLAGS} -o $@${BINARY_SUFFIX} ${GO_LDFLAGS} ${GO_TAGS} ./$< ++ @${GO} build ${GO_GCFLAGS} ${GO_BUILD_FLAGS} -o $@${BINARY_SUFFIX} ${GO_LDFLAGS} ${GO_TAGS} ./$< + + binaries: $(BINARIES) ## build binaries + @echo "$(WHALE) $@" +-- +2.19.1 + diff --git a/recipes-containers/docker/README b/recipes-containers/docker/README new file mode 100644 index 00000000..565e3501 --- /dev/null +++ b/recipes-containers/docker/README @@ -0,0 +1,7 @@ +if containerd is starting docker, and it is interfering with standalone +docker operation, you may need to kill the running daemon and restart +it: + + % ps axf | grep docker | grep -v grep | awk '{print "kill -9 " $1}' | sh + % systemctl stop docker + % systemctl start docker diff --git a/recipes-containers/docker/docker-ce_git.bb b/recipes-containers/docker/docker-ce_git.bb deleted file mode 100644 index 3c8a339f..00000000 --- a/recipes-containers/docker/docker-ce_git.bb +++ /dev/null @@ -1,131 +0,0 @@ -HOMEPAGE = "http://www.docker.com" -SUMMARY = "Linux container runtime" -DESCRIPTION = "Linux container runtime \ - Docker complements kernel namespacing with a high-level API which \ - operates at the process level. It runs unix processes with strong \ - guarantees of isolation and repeatability across servers. \ - . \ - Docker is a great building block for automating distributed systems: \ - large-scale web deployments, database clusters, continuous deployment \ - systems, private PaaS, service-oriented architectures, etc. \ - . \ - This package contains the daemon and client, which are \ - officially supported on x86_64 and arm hosts. \ - Other architectures are considered experimental. \ - . \ - Also, note that kernel version 3.10 or above is required for proper \ - operation of the daemon process, and that any lower versions may have \ - subtle and/or glaring issues. \ - " - -SRCREV_docker = "633a0ea838f10e000b7c6d6eed1623e6e988b5bb" -SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381" -SRC_URI = "\ - git://github.com/docker/docker-ce.git;branch=19.03;name=docker \ - git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork \ - file://0001-libnetwork-use-GO-instead-of-go.patch \ - file://docker.init \ - file://0001-imporve-hardcoded-CC-on-cross-compile-docker-ce.patch \ - " - -require docker.inc - -# Apache-2.0 for docker -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/import/components/engine/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" - -GO_IMPORT = "import" - -S = "${WORKDIR}/git" - -DOCKER_VERSION = "19.03.5-ce" -PV = "${DOCKER_VERSION}+git${SRCREV_docker}" - -PACKAGES =+ "${PN}-contrib" - -DOCKER_PKG="github.com/docker/docker" -# in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056 -BUILD_TAGS = "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" - -inherit go -inherit goarch -inherit pkgconfig - -do_configure[noexec] = "1" - -do_compile() { - # Set GOPATH. See 'PACKAGERS.md'. Don't rely on - # docker to download its dependencies but rather - # use dependencies packaged independently. - cd ${S}/src/import - rm -rf .gopath - mkdir -p .gopath/src/"$(dirname "${DOCKER_PKG}")" - ln -sf ../../../../components/engine/ .gopath/src/"${DOCKER_PKG}" - - ln -sf ${S}/src/import/components/cli .gopath/src/github.com/docker/cli - - export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" - export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" - - # Pass the needed cflags/ldflags so that cgo - # can find the needed headers files and libraries - export GOARCH=${TARGET_GOARCH} - export CGO_ENABLED="1" - export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export DOCKER_BUILDTAGS='${BUILD_TAGS} ${PACKAGECONFIG_CONFARGS}' - - export DISABLE_WARN_OUTSIDE_CONTAINER=1 - - cd ${S}/src/import/components/engine - - # this is the unsupported build structure that doesn't rely on an - # existing docker to build this: - VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary - - # build the proxy - cd ${S}/src/import - ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork - cd ${S}/src/import/.gopath/src/github.com/docker/libnetwork - oe_runmake cross-local - - # build the cli - cd ${S}/src/import/components/cli - export CFLAGS="" - export LDFLAGS="" - export DOCKER_VERSION=${DOCKER_VERSION} - VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${SRCREV_docker}" make dynbinary -} - -do_install() { - mkdir -p ${D}/${bindir} - cp ${S}/src/import/components/cli/build/docker ${D}/${bindir}/docker - cp ${S}/src/import/components/engine/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd - cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy - - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -d ${D}${systemd_unitdir}/system - install -m 644 ${S}/src/import/components/engine/contrib/init/systemd/docker.* ${D}/${systemd_unitdir}/system - # replaces one copied from above with one that uses the local registry for a mirror - install -m 644 ${S}/src/import/components/engine/contrib/init/systemd/docker.service ${D}/${systemd_unitdir}/system - rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm - else - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init - fi - # TLS key that docker creates at run-time if not found is what resides here - if ${@bb.utils.contains('PACKAGECONFIG','transient-config','true','false',d)}; then - install -d ${D}${sysconfdir} - ln -s ..${localstatedir}/run/docker ${D}${sysconfdir}/docker - else - install -d ${D}${sysconfdir}/docker - fi - - mkdir -p ${D}${datadir}/docker/ - install -m 0755 ${S}/src/import/components/engine/contrib/check-config.sh ${D}${datadir}/docker/ -} - -FILES_${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker" - -FILES_${PN}-contrib += "${datadir}/docker/check-config.sh" -RDEPENDS_${PN}-contrib += "bash" diff --git a/recipes-containers/docker/docker-moby.bb b/recipes-containers/docker/docker-moby.bb deleted file mode 100644 index 0e1f4e2c..00000000 --- a/recipes-containers/docker/docker-moby.bb +++ /dev/null @@ -1,149 +0,0 @@ -HOMEPAGE = "http://www.docker.com" -SUMMARY = "Linux container runtime" -DESCRIPTION = "Linux container runtime \ - Docker complements kernel namespacing with a high-level API which \ - operates at the process level. It runs unix processes with strong \ - guarantees of isolation and repeatability across servers. \ - . \ - Docker is a great building block for automating distributed systems: \ - large-scale web deployments, database clusters, continuous deployment \ - systems, private PaaS, service-oriented architectures, etc. \ - . \ - This package contains the daemon and client, which are \ - officially supported on x86_64 and arm hosts. \ - Other architectures are considered experimental. \ - . \ - Also, note that kernel version 3.10 or above is required for proper \ - operation of the daemon process, and that any lower versions may have \ - subtle and/or glaring issues. \ - " - -# Notes: -# - This docker variant uses moby and the other individually maintained -# upstream variants for SRCREVs -# - It is a true community / upstream tracking build, and is not a -# docker curated set of commits or additions -# - The version number on this package tracks the versions assigned to -# the curated docker-ce repository. This allows compatibility and -# functional equivalence, while allowing new features to be more -# easily added. -# - This could be called "docker-moby" or just "moby" in the future, but -# that would require the creation of a virtual/docker dependency, which -# is possible, but overkill at the moment (while we wait for the upstream -# to stop changing). -# - The common components of this recipe and docker-ce do need to be moved -# to a docker.inc recipe - -# moby commit matches the docker-engine bump on the 19.03 branch' -SRCREV_moby = "08bc39c8f9e1ccdc5ff18f6e751105722cecc4a9" -SRCREV_libnetwork = "5ac07abef4eee176423fdc1b870d435258e2d381" -SRCREV_cli = "2f1931f9eb2d6bac2efd48d94739f2e9919d4d7d" -SRC_URI = "\ - git://github.com/moby/moby.git;nobranch=1;name=moby \ - git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork \ - git://github.com/docker/cli;branch=19.03;name=cli;destsuffix=git/cli \ - file://docker.init \ - file://0001-libnetwork-use-GO-instead-of-go.patch \ - " - -require docker.inc - -# Apache-2.0 for docker -LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" - -GO_IMPORT = "import" - -S = "${WORKDIR}/git" - -DOCKER_VERSION = "19.03.2" -PV = "${DOCKER_VERSION}+git${SRCREV_moby}" - -PACKAGES =+ "${PN}-contrib" - -DOCKER_PKG="github.com/docker/docker" -# in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056 -BUILD_TAGS = "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" - -inherit go -inherit goarch - -do_configure[noexec] = "1" - -do_compile() { - # Set GOPATH. See 'PACKAGERS.md'. Don't rely on - # docker to download its dependencies but rather - # use dependencies packaged independently. - cd ${S}/src/import - rm -rf .gopath - mkdir -p .gopath/src/"$(dirname "${DOCKER_PKG}")" - ln -sf ../../../.. .gopath/src/"${DOCKER_PKG}" - - mkdir -p .gopath/src/github.com/docker - ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork - ln -sf ${WORKDIR}/git/cli .gopath/src/github.com/docker/cli - - export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" - export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" - - # Pass the needed cflags/ldflags so that cgo - # can find the needed headers files and libraries - export GOARCH=${TARGET_GOARCH} - export CGO_ENABLED="1" - export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export DOCKER_BUILDTAGS='${BUILD_TAGS} ${PACKAGECONFIG_CONFARGS}' - - export DISABLE_WARN_OUTSIDE_CONTAINER=1 - - cd ${S}/src/import/ - - # this is the unsupported built structure - # that doesn't rely on an existing docker - # to build this: - VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary - - # build the cli - cd ${S}/src/import/.gopath/src/github.com/docker/cli - export CFLAGS="" - export LDFLAGS="" - export DOCKER_VERSION=${DOCKER_VERSION} - VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${SRCREV_docker}" make dynbinary - - # build the proxy - cd ${S}/src/import/.gopath/src/github.com/docker/libnetwork - oe_runmake cross-local -} - -do_install() { - mkdir -p ${D}/${bindir} - cp ${WORKDIR}/git/cli/build/docker ${D}/${bindir}/docker - cp ${S}/src/import/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd - cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy - - if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then - install -d ${D}${systemd_unitdir}/system - install -m 644 ${S}/src/import/contrib/init/systemd/docker.* ${D}/${systemd_unitdir}/system - # replaces one copied from above with one that uses the local registry for a mirror - install -m 644 ${S}/src/import/contrib/init/systemd/docker.service ${D}/${systemd_unitdir}/system - rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm - else - install -d ${D}${sysconfdir}/init.d - install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init - fi - # TLS key that docker creates at run-time if not found is what resides here - if ${@bb.utils.contains('PACKAGECONFIG','transient-config','true','false',d)}; then - install -d ${D}${sysconfdir} - ln -s ..${localstatedir}/run/docker ${D}${sysconfdir}/docker - else - install -d ${D}${sysconfdir}/docker - fi - - mkdir -p ${D}${datadir}/docker/ - install -m 0755 ${S}/src/import/contrib/check-config.sh ${D}${datadir}/docker/ -} - -FILES_${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker" - -FILES_${PN}-contrib += "${datadir}/docker/check-config.sh" -RDEPENDS_${PN}-contrib += "bash" diff --git a/recipes-containers/docker/docker-moby_git.bb b/recipes-containers/docker/docker-moby_git.bb new file mode 100644 index 00000000..0abb0b3f --- /dev/null +++ b/recipes-containers/docker/docker-moby_git.bb @@ -0,0 +1,72 @@ +HOMEPAGE = "http://www.docker.com" +SUMMARY = "Linux container runtime" +DESCRIPTION = "Linux container runtime \ + Docker complements kernel namespacing with a high-level API which \ + operates at the process level. It runs unix processes with strong \ + guarantees of isolation and repeatability across servers. \ + . \ + Docker is a great building block for automating distributed systems: \ + large-scale web deployments, database clusters, continuous deployment \ + systems, private PaaS, service-oriented architectures, etc. \ + . \ + This package contains the daemon and client, which are \ + officially supported on x86_64 and arm hosts. \ + Other architectures are considered experimental. \ + . \ + Also, note that kernel version 3.10 or above is required for proper \ + operation of the daemon process, and that any lower versions may have \ + subtle and/or glaring issues. \ + " + +# Notes: +# - This docker variant uses moby and the other individually maintained +# upstream variants for SRCREVs +# - It is a true community / upstream tracking build, and is not a +# docker curated set of commits or additions +# - The version number on this package tracks the versions assigned to +# the curated docker-ce repository. This allows compatibility and +# functional equivalence, while allowing new features to be more +# easily added. +# - The common components of this recipe and docker-ce do need to be moved +# to a docker.inc recipe +# +# Packaging details: +# +# https://github.com/docker/docker-ce-packaging.git +# common.mk: +# DOCKER_CLI_REPO ?= https://github.com/docker/cli.git +# DOCKER_ENGINE_REPO ?= https://github.com/docker/docker.git +# REF ?= HEAD +# DOCKER_CLI_REF ?= $(REF) +# DOCKER_ENGINE_REF ?= $(REF) +# +# These follow the tags for our releases in the listed repositories +# so we get that tag, and make it our SRCREVS: +# + +SRCREV_moby = "f417435e5f6216828dec57958c490c4f8bae4f98" +SRCREV_libnetwork = "67e0588f1ddfaf2faf4c8cae8b7ea2876434d91c" +SRCREV_cli = "01f933261885c0126edb3f47fd56d048ae31265a" +SRCREV_FORMAT = "moby_libnetwork" +SRC_URI = "\ + git://github.com/moby/moby.git;branch=25.0;name=moby;protocol=https \ + git://github.com/docker/libnetwork.git;branch=master;name=libnetwork;destsuffix=git/libnetwork;protocol=https \ + git://github.com/docker/cli;branch=25.0;name=cli;destsuffix=git/cli;protocol=https \ + file://docker.init \ + file://0001-libnetwork-use-GO-instead-of-go.patch \ + file://0001-cli-use-external-GO111MODULE-and-cross-compiler.patch \ + file://0001-dynbinary-use-go-cross-compiler.patch;patchdir=src/import \ + " + +DOCKER_COMMIT = "${SRCREV_moby}" + +require docker.inc + +# Apache-2.0 for docker +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=4859e97a9c7780e77972d989f0823f28" + +DOCKER_VERSION = "25.0.3" +PV = "${DOCKER_VERSION}+git${SRCREV_moby}" + +CVE_PRODUCT = "docker mobyproject:moby" diff --git a/recipes-containers/docker/docker.inc b/recipes-containers/docker/docker.inc index 32d4a2e4..48f7d3ec 100644 --- a/recipes-containers/docker/docker.inc +++ b/recipes-containers/docker/docker.inc @@ -1,65 +1,168 @@ DEPENDS = " \ - go-cli \ - go-pty \ - go-context \ - go-mux \ - go-patricia \ - go-logrus \ - go-fsnotify \ - go-dbus \ - go-capability \ - go-systemd \ btrfs-tools \ sqlite3 \ - go-distribution \ - compose-file \ - go-connections \ - notary \ - grpc-go \ libtool-native \ libtool \ " -DEPENDS_append_class-target = " lvm2" -RDEPENDS_${PN} = "util-linux util-linux-unshare iptables \ +DEPENDS:append:class-target = " lvm2" +RDEPENDS:${PN} = "util-linux util-linux-unshare iptables \ ${@bb.utils.contains('DISTRO_FEATURES', 'aufs', 'aufs-util', '', d)} \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'cgroup-lite', d)} \ bridge-utils \ ca-certificates \ " -RDEPENDS_${PN} += "virtual/containerd virtual/runc" +RDEPENDS:${PN} += "virtual-containerd ${VIRTUAL-RUNTIME_container_runtime}" -RRECOMMENDS_${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-xt-addrtype" +RRECOMMENDS:${PN} = "kernel-module-dm-thin-pool kernel-module-nf-nat kernel-module-nf-conntrack-netlink kernel-module-xt-addrtype kernel-module-xt-masquerade" PROVIDES += "virtual/docker" # we want all the docker variant recpes to be installable via "docker" PACKAGE_NAME = "docker" -RPROVIDES_${PN} += "docker" -RPROVIDES_${PN}-dbg += "docker-dbg" -RPROVIDES_${PN}-dev += "docker-dev" -RPROVIDES_${PN}-contrip += "docker-dev" +RPROVIDES:${PN} += "docker" +RPROVIDES:${PN}-dbg += "docker-dbg" +RPROVIDES:${PN}-dev += "docker-dev" +RPROVIDES:${PN}-contrip += "docker-dev" inherit pkgconfig -PACKAGECONFIG ??= "docker-init" +PACKAGECONFIG ??= "docker-init seccomp" PACKAGECONFIG[seccomp] = "seccomp,,libseccomp" PACKAGECONFIG[docker-init] = ",,,docker-init" PACKAGECONFIG[transient-config] = "transient-config" + +GO_IMPORT = "import" +S = "${WORKDIR}/git" + + inherit systemd update-rc.d +inherit go +inherit goarch +inherit pkgconfig + +do_configure[noexec] = "1" + +# Export for possible use in Makefiles, default value comes from go.bbclass +export GO_LINKSHARED + +DOCKER_PKG="github.com/docker/docker" +# in order to exclude devicemapper and btrfs - https://github.com/docker/docker/issues/14056 +BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" + +do_compile() { + # Set GOPATH. See 'PACKAGERS.md'. Don't rely on + # docker to download its dependencies but rather + # use dependencies packaged independently. + cd ${S}/src/import + rm -rf .gopath + mkdir -p .gopath/src/"$(dirname "${DOCKER_PKG}")" + ln -sf ../../../.. .gopath/src/"${DOCKER_PKG}" + + mkdir -p .gopath/src/github.com/docker + ln -sf ${WORKDIR}/git/libnetwork .gopath/src/github.com/docker/libnetwork + ln -sf ${WORKDIR}/git/cli .gopath/src/github.com/docker/cli + + export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor" + export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" + + # Pass the needed cflags/ldflags so that cgo + # can find the needed headers files and libraries + export GOARCH=${TARGET_GOARCH} + export CGO_ENABLED="1" + export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export DOCKER_BUILDTAGS='${BUILD_TAGS} ${PACKAGECONFIG_CONFARGS}' + export GO111MODULE=off + + export DISABLE_WARN_OUTSIDE_CONTAINER=1 + + cd ${S}/src/import/ + + # this is the unsupported built structure + # that doesn't rely on an existing docker + # to build this: + VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${DOCKER_COMMIT}" ./hack/make.sh dynbinary + + # build the cli + cd ${S}/src/import/.gopath/src/github.com/docker/cli + export CFLAGS="" + export LDFLAGS="" + export DOCKER_VERSION=${DOCKER_VERSION} + VERSION="${DOCKER_VERSION}" DOCKER_GITCOMMIT="${DOCKER_COMMIT}" make dynbinary + + # build the proxy + cd ${S}/src/import/.gopath/src/github.com/docker/libnetwork + oe_runmake cross-local +} + +do_install() { + mkdir -p ${D}/${bindir} + cp ${WORKDIR}/git/cli/build/docker ${D}/${bindir}/docker + cp ${S}/src/import/bundles/dynbinary-daemon/dockerd ${D}/${bindir}/dockerd + cp ${WORKDIR}/git/libnetwork/bin/docker-proxy* ${D}/${bindir}/docker-proxy + + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then + install -d ${D}${systemd_unitdir}/system + install -m 644 ${S}/src/import/contrib/init/systemd/docker.* ${D}/${systemd_unitdir}/system + # replaces one copied from above with one that uses the local registry for a mirror + install -m 644 ${S}/src/import/contrib/init/systemd/docker.service ${D}/${systemd_unitdir}/system + rm -f ${D}/${systemd_unitdir}/system/docker.service.rpm + else + install -d ${D}${sysconfdir}/init.d + install -m 0755 ${WORKDIR}/docker.init ${D}${sysconfdir}/init.d/docker.init + fi + # TLS key that docker creates at run-time if not found is what resides here + if ${@bb.utils.contains('PACKAGECONFIG','transient-config','true','false',d)}; then + install -d ${D}${sysconfdir} + ln -s ..${localstatedir}/run/docker ${D}${sysconfdir}/docker + else + install -d ${D}${sysconfdir}/docker + fi + + mkdir -p ${D}${datadir}/docker/ + install -m 0755 ${S}/src/import/contrib/check-config.sh ${D}${datadir}/docker/ +} + SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}','',d)}" -SYSTEMD_SERVICE_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.service','',d)}" -SYSTEMD_AUTO_ENABLE_${PN} = "enable" +SYSTEMD_SERVICE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','docker.socket','',d)}" +SYSTEMD_AUTO_ENABLE:${PN} = "enable" -INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','${PN}','',d)}" -INITSCRIPT_NAME_${PN} = "${@bb.utils.contains('DISTRO_FEATURES','sysvinit','docker.init','',d)}" -INITSCRIPT_PARAMS_${PN} = "defaults" +# inverted logic warning. We ony want the sysvinit init to be installed if systemd +# is NOT in the distro features +INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES','systemd','', '${PN}',d)}" +INITSCRIPT_NAME:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','', 'docker.init',d)}" +INITSCRIPT_PARAMS:${PN} = "defaults" inherit useradd USERADD_PACKAGES = "${PN}" -GROUPADD_PARAM_${PN} = "-r docker" +GROUPADD_PARAM:${PN} = "-r docker" COMPATIBLE_HOST = "^(?!(qemu)?mips).*" -INSANE_SKIP_${PN} += "ldflags textrel" +INSANE_SKIP:${PN} += "ldflags textrel" + +FILES:${PN} += "${systemd_unitdir}/system/* ${sysconfdir}/docker" + +PACKAGES =+ "${PN}-contrib" +FILES:${PN}-contrib += "${datadir}/docker/check-config.sh" +RDEPENDS:${PN}-contrib += "bash" + +# By the docker-packaging repository and https://docs.docker.com/engine/install/centos/#installation-methods +# docker is packaged by most distros with a split between the engine and the CLI. +# +# We do the same here, by introducing the -cli package +# +# But to keep existing use cases working, we also create a RDEPENDS between the main +# docker package (the engine) and the cli, so existing "docker" package installs will +# continue to work the same way. To have separate and non-redepending packages created +# set the DOCKER_UNIFIED_PACKAGE variable to False +# +PACKAGES =+ "${PN}-cli" +FILES:${PN}-cli += "${bindir}/docker" + +# set to "False" if packages should be generated for the cli and engine, and +# NOT rdepend to get a classic one-package install +DOCKER_UNIFIED_PACKAGE ?= "True" +RDEPENDS:${PN} += "${@bb.utils.contains("DOCKER_UNIFIED_PACKAGE", "True", "${PN}-cli", "", d)}" diff --git a/recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch b/recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch new file mode 100644 index 00000000..26f5aad4 --- /dev/null +++ b/recipes-containers/docker/files/0001-cli-use-external-GO111MODULE-and-cross-compiler.patch @@ -0,0 +1,33 @@ +From 650c882d3c53db118b01dd5e15fa1bc0ddaa36f1 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Thu, 15 Apr 2021 11:28:05 -0400 +Subject: [PATCH] cli: use external GO111MODULE and cross compiler + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + git/cli/scripts/build/binary | 3 +-- + 1 file changed, 1 insertion(+), 2 deletions(-) + +Index: git/cli/scripts/build/binary +=================================================================== +--- git.orig/cli/scripts/build/binary ++++ git/cli/scripts/build/binary +@@ -13,8 +13,6 @@ + + echo "Building $GO_LINKMODE $(basename "${TARGET}")" + +-export GO111MODULE=auto +- + if [ "$(go env GOOS)" = "windows" ]; then + if [ ! -x "$(command -v goversioninfo)" ]; then + >&2 echo "goversioninfo not found, skipping manifesting binary" +@@ -24,6 +22,6 @@ + fi + fi + +-(set -x ; go build -o "${TARGET}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" ${GO_BUILDMODE} "${SOURCE}") ++(set -x ; ${GO} build -trimpath -o "${TARGET}" -tags "${GO_BUILDTAGS}" -ldflags "${GO_LDFLAGS}" ${GO_BUILDMODE} "${SOURCE}") + + ln -sf "$(basename "${TARGET}")" "$(dirname "${TARGET}")/docker" diff --git a/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch new file mode 100644 index 00000000..160a3bca --- /dev/null +++ b/recipes-containers/docker/files/0001-dynbinary-use-go-cross-compiler.patch @@ -0,0 +1,111 @@ +From 3ce6089417b8c6c4e8279e6ef60213436ebf8793 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 30 Jun 2020 22:23:33 -0400 +Subject: [PATCH] dynbinary: use go cross compiler + +MJ: use ${GO} also in "go env" calls, because native go: + $ go env GOARM + 5 +while go cross compiler for my target: + $ ${GO} env GOARM + 7 +this can lead to: + error: switch '-mcpu=cortex-a9' conflicts with switch '-march=armv5t' [-Werror] + +but even after fixing it to use "better" -march it still doesn't match with -mcpu +set in our GOBUILDFLAGS, causing e.g.: + error: switch '-mcpu=cortex-a9' conflicts with switch '-march=armv7-a+simd' [-Werror] + +so drop CGO_CFLAGS/CGO_CXXFLAGS as in OE builds we don't need them +as long as ${GO} and GOBUILDFLAGS are respected + +it was added in: +https://github.com/moby/moby/commit/12558c8d6ea9f388b54eb94ba6b9eb4a9fc5c9f2 + +and it wasn't an issue before: +https://github.com/moby/moby/commit/8c12a6648b368cc2acaea0339d6c57c920ed265c + +because it was using 'case "${GOARM}" in' and ${GOARM} was empty in our builds + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + hack/make/.binary | 37 ++++++++----------------------------- + 1 file changed, 8 insertions(+), 29 deletions(-) + +Index: import/hack/make/.binary +=================================================================== +--- import.orig/hack/make/.binary ++++ import/hack/make/.binary +@@ -3,7 +3,7 @@ + + # a helper to provide ".exe" when it's appropriate + binary_extension() { +- if [ "$(go env GOOS)" = 'windows' ]; then ++ if [ "$(${GO} env GOOS)" = 'windows' ]; then + echo -n '.exe' + fi + } +@@ -16,33 +16,12 @@ + ( + export GOGC=${DOCKER_BUILD_GOGC:-1000} + +- if [ "$(go env GOOS)/$(go env GOARCH)" != "$(go env GOHOSTOS)/$(go env GOHOSTARCH)" ]; then +- # must be cross-compiling! +- if [ "$(go env GOOS)/$(go env GOARCH)" = "linux/arm" ]; then +- # specify name of the target ARM architecture +- case "$(go env GOARM)" in +- 5) +- export CGO_CFLAGS="-march=armv5t" +- export CGO_CXXFLAGS="-march=armv5t" +- ;; +- 6) +- export CGO_CFLAGS="-march=armv6" +- export CGO_CXXFLAGS="-march=armv6" +- ;; +- 7) +- export CGO_CFLAGS="-march=armv7-a" +- export CGO_CXXFLAGS="-march=armv7-a" +- ;; +- esac +- fi +- fi +- + # -buildmode=pie is not supported on Windows arm64 and Linux mips*, ppc64be + # https://github.com/golang/go/blob/go1.19.4/src/cmd/internal/sys/supported.go#L125-L132 + if ! [ "$DOCKER_STATIC" = "1" ]; then + # -buildmode=pie not supported when -race is enabled + if [[ " $BUILDFLAGS " != *" -race "* ]]; then +- case "$(go env GOOS)/$(go env GOARCH)" in ++ case "$(${GO} env GOOS)/$(${GO} env GOARCH)" in + windows/arm64 | linux/mips* | linux/ppc64) ;; + *) + BUILDFLAGS+=("-buildmode=pie") +@@ -66,11 +45,11 @@ + # only necessary for non-sandboxed invocation where TARGETPLATFORM is empty + PLATFORM_NAME=$TARGETPLATFORM + if [ -z "$PLATFORM_NAME" ]; then +- PLATFORM_NAME="$(go env GOOS)/$(go env GOARCH)" +- if [ -n "$(go env GOARM)" ]; then +- PLATFORM_NAME+="/v$(go env GOARM)" +- elif [ -n "$(go env GOAMD64)" ] && [ "$(go env GOAMD64)" != "v1" ]; then +- PLATFORM_NAME+="/$(go env GOAMD64)" ++ PLATFORM_NAME="$(${GO} env GOOS)/$(${GO} env GOARCH)" ++ if [ -n "$(${GO} env GOARM)" ]; then ++ PLATFORM_NAME+="/v$(${GO} env GOARM)" ++ elif [ -n "$(${GO} env GOAMD64)" ] && [ "$(${GO} env GOAMD64)" != "v1" ]; then ++ PLATFORM_NAME+="/$(${GO} env GOAMD64)" + fi + fi + +@@ -82,7 +61,7 @@ + if [ -n "$DOCKER_DEBUG" ]; then + set -x + fi +- ./hack/with-go-mod.sh go build -mod=vendor -modfile=vendor.mod -o "$DEST/$BINARY_FULLNAME" "${BUILDFLAGS[@]}" -ldflags "$LDFLAGS $LDFLAGS_STATIC $DOCKER_LDFLAGS" -gcflags="${GCFLAGS}" "$GO_PACKAGE" ++ ./hack/with-go-mod.sh ${GO} build -trimpath -mod=vendor -modfile=vendor.mod -o "$DEST/$BINARY_FULLNAME" "${BUILDFLAGS[@]}" -ldflags "$LDFLAGS $LDFLAGS_STATIC $DOCKER_LDFLAGS" -gcflags="${GCFLAGS}" "$GO_PACKAGE" + ) + + echo "Created binary: $DEST/$BINARY_FULLNAME" diff --git a/recipes-containers/docker/files/0001-imporve-hardcoded-CC-on-cross-compile-docker-ce.patch b/recipes-containers/docker/files/0001-imporve-hardcoded-CC-on-cross-compile-docker-ce.patch deleted file mode 100644 index 70fdaf83..00000000 --- a/recipes-containers/docker/files/0001-imporve-hardcoded-CC-on-cross-compile-docker-ce.patch +++ /dev/null @@ -1,61 +0,0 @@ -From 1263fdb50a540e9db742694b7cee08284ad986d0 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <hongxu.jia@windriver.com> -Date: Wed, 17 Jul 2019 17:34:04 +0800 -Subject: [PATCH] imporve hardcoded CC on cross compile - -Since commit applied in moby [61a3285 Support cross-compile for arm] -it hardcoded var-CC to support cross-compile for arm - -Correct it with "${parameter:-word}" format, it is helpful for user -define toolchains - -(Use Default Values. If parameter is unset or null, the expansion of -word is substituted. Otherwise, the value of parameter is substituted.) - -Upstream-Status: Submitted [https://github.com/moby/moby/pull/39546] - -Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> ---- - components/engine/hack/make/.binary | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/import/components/engine/hack/make/.binary b/src/import/components/engine/hack/make/.binary -index 53de6749e5..66f4ca05f3 100644 ---- a/src/import/components/engine/hack/make/.binary -+++ b/src/import/components/engine/hack/make/.binary -@@ -44,27 +44,27 @@ if [ "$(go env GOOS)/$(go env GOARCH)" != "$(go env GOHOSTOS)/$(go env GOHOSTARC - # must be cross-compiling! - case "$(go env GOOS)/$(go env GOARCH)" in - windows/amd64) -- export CC=x86_64-w64-mingw32-gcc -+ export CC="${CC:-x86_64-w64-mingw32-gcc}" - export CGO_ENABLED=1 - ;; - linux/arm) - case "${GOARM}" in - 5|"") -- export CC=arm-linux-gnueabi-gcc -+ export CC="${CC:-arm-linux-gnueabi-gcc}" - export CGO_ENABLED=1 - ;; - 7) -- export CC=arm-linux-gnueabihf-gcc -+ export CC="${CC:-arm-linux-gnueabihf-gcc}" - export CGO_ENABLED=1 - ;; - esac - ;; - linux/arm64) -- export CC=aarch64-linux-gnu-gcc -+ export CC="${CC:-aarch64-linux-gnu-gcc}" - export CGO_ENABLED=1 - ;; - linux/amd64) -- export CC=x86_64-linux-gnu-gcc -+ export CC="${CC:-x86_64-linux-gnu-gcc}" - export CGO_ENABLED=1 - ;; - esac --- -2.23.0 - diff --git a/recipes-containers/docker/files/0001-libnetwork-use-GO-instead-of-go.patch b/recipes-containers/docker/files/0001-libnetwork-use-GO-instead-of-go.patch index c623b260..f94f73e4 100644 --- a/recipes-containers/docker/files/0001-libnetwork-use-GO-instead-of-go.patch +++ b/recipes-containers/docker/files/0001-libnetwork-use-GO-instead-of-go.patch @@ -6,6 +6,8 @@ Subject: [PATCH] libnetwork: use $(GO) instead of go Ensure that the libnetwork makefile uses the go cross flags and utilities. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> --- Makefile | 14 +++++++------- @@ -15,27 +17,29 @@ Index: git/libnetwork/Makefile =================================================================== --- git.orig/libnetwork/Makefile +++ git/libnetwork/Makefile -@@ -45,9 +45,9 @@ +@@ -45,10 +45,10 @@ build-local: @echo "🐳 $@" @mkdir -p "bin" -- go build -tags experimental -o "bin/dnet" ./cmd/dnet -- go build -o "bin/docker-proxy" ./cmd/proxy +- GO111MODULE=off go build -tags experimental -o "bin/dnet" ./cmd/dnet +- GO111MODULE=off go build -o "bin/docker-proxy" ./cmd/proxy - CGO_ENABLED=0 go build -o "bin/diagnosticClient" ./cmd/diagnostic -+ $(GO) build -tags experimental -o "bin/dnet" ./cmd/dnet -+ $(GO) build -o "bin/proxy" ./cmd/proxy -+ CGO_ENABLED=0 $(GO) build -o "bin/diagnosticClient" ./cmd/diagnostic - CGO_ENABLED=0 go build -o "bin/testMain" ./cmd/networkdb-test/testMain.go +- CGO_ENABLED=0 go build -o "bin/testMain" ./cmd/networkdb-test/testMain.go ++ GO111MODULE=off $(GO) build -trimpath -tags experimental -o "bin/dnet" ./cmd/dnet ++ GO111MODULE=off $(GO) build -trimpath -o "bin/docker-proxy" ./cmd/proxy ++ CGO_ENABLED=0 $(GO) build -trimpath -o "bin/diagnosticClient" ./cmd/diagnostic ++ CGO_ENABLED=0 $(GO) build -trimpath -o "bin/testMain" ./cmd/networkdb-test/testMain.go build-images: + @echo "🐳 $@" @@ -82,8 +82,8 @@ cross-local: @echo "🐳 $@" -- go build -o "bin/dnet-$$GOOS-$$GOARCH" ./cmd/dnet -- go build -o "bin/docker-proxy-$$GOOS-$$GOARCH" ./cmd/proxy -+ @$(GO) build -linkshared $(GOBUILDFLAGS) -o "bin/docker-proxy-$$GOOS-$$GOARCH" ./cmd/proxy -+ @$(GO) build -linkshared $(GOBUILDFLAGS) -o "bin/dnet-$$GOOS-$$GOARCH" ./cmd/dnet +- GO111MODULE=off go build -o "bin/dnet-$$GOOS-$$GOARCH" ./cmd/dnet +- GO111MODULE=off go build -o "bin/docker-proxy-$$GOOS-$$GOARCH" ./cmd/proxy ++ GO111MODULE=off $(GO) build -trimpath $(GO_LINKSHARED) $(GOBUILDFLAGS) -o "bin/dnet-$$GOOS-$$GOARCH" ./cmd/dnet ++ GO111MODULE=off $(GO) build -trimpath $(GO_LINKSHARED) $(GOBUILDFLAGS) -o "bin/docker-proxy-$$GOOS-$$GOARCH" ./cmd/proxy # Rebuild protocol buffers. # These may need to be rebuilt after vendoring updates, so .proto files are declared .PHONY so they are always rebuilt. diff --git a/recipes-containers/docker/files/docker-registry.service b/recipes-containers/docker/files/docker-registry.service deleted file mode 100644 index 7b4bc468..00000000 --- a/recipes-containers/docker/files/docker-registry.service +++ /dev/null @@ -1,19 +0,0 @@ -[Unit] -Description=docker private registry service -After=docker.service - -[Service] -ExecStartPre=-/usr/bin/docker kill registry -ExecStartPre=-/usr/bin/docker rm registry -ExecStart=/usr/bin/docker run --name registry -v /mirror/registry:/tmp/ -p 5000:5000 \ - -e "STANDALONE=true" \ - -e "MIRROR_SOURCE=https://registry-1.docker.io" \ - -e "MIRROR_SOURCE_INDEX=https://index.docker.io" \ - -e "SETTINGS_FLAVOR=local" \ - registry -ExecStop=-/usr/bin/docker stop registry -Restart=always -RestartSec=10s - -[Install] -WantedBy=multi-user.target diff --git a/recipes-containers/docker/files/docker.init b/recipes-containers/docker/files/docker.init index b37ddc95..24f8fea6 100644 --- a/recipes-containers/docker/files/docker.init +++ b/recipes-containers/docker/files/docker.init @@ -40,7 +40,7 @@ start() { if ! [ -f $pidfile ]; then printf "Starting $prog:\t" echo -e "\n$(date)\n" >> $logfile - "$unshare" -m -- $exec $other_args &>> $logfile & + "$unshare" -m -- $exec $other_args >> $logfile 2>&1 & pid=$! touch $lockfile # wait up to 10 seconds for the pidfile to exist. see diff --git a/recipes-containers/go-digest/go-digest_git.bb b/recipes-containers/go-digest/go-digest_git.bb index a2f8cd69..a1be705d 100644 --- a/recipes-containers/go-digest/go-digest_git.bb +++ b/recipes-containers/go-digest/go-digest_git.bb @@ -2,15 +2,15 @@ DESCRIPTION = "Common digest package used across the container ecosystem." HOMEPAGE = "https://github.com/opencontainers/go-digest.git" SECTION = "devel/go" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE.code;md5=9cd86830b557232ce55e2a6b47387471" +LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=2d6fc0e85c3f118af64c85a78d56d3cf" SRCNAME = "go-digest" PKG_NAME = "github.com/opencontainers/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" +SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" -SRCREV = "b6234c321f263c503268e3b205f3d9755f9d14ed" -PV = "v1.0.0-rc0+git${SRCPV}" +SRCREV = "65fac7b55eb714642e9359458656939349dcb766" +PV = "v1.0.0-rc0+git" S = "${WORKDIR}/git" @@ -18,6 +18,8 @@ S = "${WORKDIR}/git" do_compile() { } +inherit meta-virt-depreciated-warning + do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go"); do @@ -26,7 +28,7 @@ do_install() { fi cp $j ${D}${prefix}/local/go/$j done - cp -r ${S}/src/${PKG_NAME}/LICENSE.code ${D}${prefix}/local/go/src/${PKG_NAME}/ + cp -r ${S}/src/${PKG_NAME}/LICENSE ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "go_digest_file_sysroot_preprocess" @@ -36,6 +38,6 @@ go_digest_file_sysroot_preprocess () { cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } -FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" +FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" -CLEANBROKEN = "1"
\ No newline at end of file +CLEANBROKEN = "1" diff --git a/recipes-containers/go-errors/go-errors_git.bb b/recipes-containers/go-errors/go-errors_git.bb index 3bb74a7c..1236bb7b 100644 --- a/recipes-containers/go-errors/go-errors_git.bb +++ b/recipes-containers/go-errors/go-errors_git.bb @@ -1,16 +1,16 @@ DESCRIPTION = "Simple error handling primitives" HOMEPAGE = "https://github.com/pkg/errors" SECTION = "devel/go" -LICENSE = "BSD" +LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=6fe682a02df52c6653f33bd0f7126b5a" SRCNAME = "errors" PKG_NAME = "github.com/pkg/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" +SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" -SRCREV = "248dadf4e9068a0b3e79f02ed0a610d935de5302" -PV = "v0.8.0+git${SRCPV}" +SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e" +PV = "v0.8.1+git" S = "${WORKDIR}/git" @@ -18,6 +18,8 @@ S = "${WORKDIR}/git" do_compile() { } +inherit meta-virt-depreciated-warning + do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do @@ -36,6 +38,6 @@ go_errors_file_sysroot_preprocess () { cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } -FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" +FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" -CLEANBROKEN = "1"
\ No newline at end of file +CLEANBROKEN = "1" diff --git a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb index e942e4e3..8dfb0692 100644 --- a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb +++ b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb @@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE.txt;md5=920d76114a32b0fb75b3f SRCNAME = "cobra" PKG_NAME = "github.com/spf13/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" +SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" -SRCREV = "b5d8e8f46a2f829f755b6e33b454e25c61c935e1" -PV = "v0.0.1+git${SRCPV}" +SRCREV = "4dd4b25de38418174a6e859e8a32eaccca32dccc" +PV = "v1.6.0+git" S = "${WORKDIR}/git" @@ -18,6 +18,8 @@ S = "${WORKDIR}/git" do_compile() { } +inherit meta-virt-depreciated-warning + do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do @@ -36,6 +38,6 @@ cobra_file_sysroot_preprocess () { cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } -FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" +FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" -CLEANBROKEN = "1"
\ No newline at end of file +CLEANBROKEN = "1" diff --git a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb index 2fbcb439..b3e41545 100644 --- a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb +++ b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb @@ -1,16 +1,16 @@ DESCRIPTION = "Drop-in replacement for Go's flag package, implementing POSIX/GNU-style --flags." HOMEPAGE = "https://github.com/spf13/pflag" SECTION = "devel/go" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=1e8b7dc8b906737639131047a590f21d" SRCNAME = "pflag" PKG_NAME = "github.com/spf13/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" +SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" -SRCREV = "9ff6c6923cfffbcd502984b8e0c80539a94968b7" -PV = "v1.0.0-rc4+git${SRCPV}" +SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1" +PV = "v1.0.5+git" S = "${WORKDIR}/git" @@ -18,6 +18,8 @@ S = "${WORKDIR}/git" do_compile() { } +inherit meta-virt-depreciated-warning + do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} for j in $(cd ${S} && find src/${PKG_NAME} -name "*.go" -not -path "*/.tool/*"); do @@ -36,6 +38,6 @@ pflag_file_sysroot_preprocess () { cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } -FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" +FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" -CLEANBROKEN = "1"
\ No newline at end of file +CLEANBROKEN = "1" diff --git a/recipes-containers/k3s/README.md b/recipes-containers/k3s/README.md new file mode 100644 index 00000000..d167bcdb --- /dev/null +++ b/recipes-containers/k3s/README.md @@ -0,0 +1,268 @@ +# k3s: Lightweight Kubernetes + +Rancher's [k3s](https://k3s.io/), available under +[Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0), provides +lightweight Kubernetes suitable for small/edge devices. There are use cases +where the +[installation procedures provided by Rancher](https://rancher.com/docs/k3s/latest/en/installation/) +are not ideal but a bitbake-built version is what is needed. And only a few +mods to the [k3s source code](https://github.com/rancher/k3s) is needed to +accomplish that. + +## CNI + +By default, K3s will run with flannel as the CNI, using VXLAN as the default +backend. It is both possible to change the flannel backend and to change from +flannel to another CNI. + +Please see <https://rancher.com/docs/k3s/latest/en/installation/network-options/> +for further k3s networking details. + +## Configure and run a k3s agent + +The convenience script `k3s-agent` can be used to set up a k3s agent (service): + +```shell +k3s-agent -t <token> -s https://<master>:6443 +``` +(Here `<token>` is found in `/var/lib/rancher/k3s/server/node-token` at the +k3s master.) + +Example: +```shell +k3s-agent -t /var/lib/rancher/k3s/server/node-token -s https://localhost:6443 +``` + +If you are running an all in one node (both the server and agent) for testing +purposes, do not run the above script. It will perform cleanup and break flannel +networking on your host. + +Instead, run the following (note the space between 'k3s' and 'agent'): + +```shell +k3s agent -t /var/lib/rancher/k3s/server/token --server http://localhost:6443/ +``` + +## Notes: + +Memory: + + if running under qemu, the default of 256M of memory is not enough, k3s will + OOM and exit. + + Boot with qemuparams="-m 2048" to boot with 2G of memory (or choose the + appropriate amount for your configuration) + +Disk: + + if using qemu and core-image* you'll need to add extra space in your disks + to ensure containers can start. The following in your image recipe, or + local.conf would add 2G of extra space to the rootfs: + +```shell +IMAGE_ROOTFS_EXTRA_SPACE = "2097152" +``` + +## Example qemux86-64 boot line: + +```shell +runqemu qemux86-64 nographic kvm slirp qemuparams="-m 2048" +``` + +k3s logs can be seen via: + + +```shell +% journalctl -u k3s +``` + +or + +```shell +% journalctl -xe +``` + +## Example output from qemux86-64 running k3s server: + +```shell +root@qemux86-64:~# kubectl get nodes +NAME STATUS ROLES AGE VERSION +qemux86-64 Ready master 46s v1.18.9-k3s1 + +root@qemux86-64:~# kubectl get pods -n kube-system +NAME READY STATUS RESTARTS AGE +local-path-provisioner-6d59f47c7-h7lxk 1/1 Running 0 2m32s +metrics-server-7566d596c8-mwntr 1/1 Running 0 2m32s +helm-install-traefik-229v7 0/1 Completed 0 2m32s +coredns-7944c66d8d-9rfj7 1/1 Running 0 2m32s +svclb-traefik-pb5j4 2/2 Running 0 89s +traefik-758cd5fc85-lxpr8 1/1 Running 0 89s + +root@qemux86-64:~# kubectl describe pods -n kube-system + +root@qemux86-64:~# ip a s +1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 + link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 + inet 127.0.0.1/8 scope host lo + valid_lft forever preferred_lft forever + inet6 ::1/128 scope host + valid_lft forever preferred_lft forever +2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 + link/ether 52:54:00:12:35:02 brd ff:ff:ff:ff:ff:ff + inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0 + valid_lft forever preferred_lft forever + inet6 fec0::5054:ff:fe12:3502/64 scope site dynamic mngtmpaddr + valid_lft 86239sec preferred_lft 14239sec + inet6 fe80::5054:ff:fe12:3502/64 scope link + valid_lft forever preferred_lft forever +3: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000 + link/sit 0.0.0.0 brd 0.0.0.0 +4: flannel.1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UNKNOWN group default + link/ether e2:aa:04:89:e6:0a brd ff:ff:ff:ff:ff:ff + inet 10.42.0.0/32 brd 10.42.0.0 scope global flannel.1 + valid_lft forever preferred_lft forever + inet6 fe80::e0aa:4ff:fe89:e60a/64 scope link + valid_lft forever preferred_lft forever +5: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default + link/ether 02:42:be:3e:25:e7 brd ff:ff:ff:ff:ff:ff + inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0 + valid_lft forever preferred_lft forever +6: cni0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000 + link/ether 82:8e:b4:f8:06:e7 brd ff:ff:ff:ff:ff:ff + inet 10.42.0.1/24 brd 10.42.0.255 scope global cni0 + valid_lft forever preferred_lft forever + inet6 fe80::808e:b4ff:fef8:6e7/64 scope link + valid_lft forever preferred_lft forever +7: veth82ac482e@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master cni0 state UP group default + link/ether ea:9d:14:c1:00:70 brd ff:ff:ff:ff:ff:ff link-netns cni-c52e6e09-f6e0-a47b-aea3-d6c47d3e2d01 + inet6 fe80::e89d:14ff:fec1:70/64 scope link + valid_lft forever preferred_lft forever +8: vethb94745ed@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master cni0 state UP group default + link/ether 1e:7f:7e:d3:ca:e8 brd ff:ff:ff:ff:ff:ff link-netns cni-86958efe-2462-016f-292d-81dbccc16a83 + inet6 fe80::8046:3cff:fe23:ced1/64 scope link + valid_lft forever preferred_lft forever +9: veth81ffb276@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master cni0 state UP group default + link/ether 2a:1d:48:54:76:50 brd ff:ff:ff:ff:ff:ff link-netns cni-5d77238e-6452-4fa3-40d2-91d48386080b + inet6 fe80::acf4:7fff:fe11:b6f2/64 scope link + valid_lft forever preferred_lft forever +10: vethce261f6a@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master cni0 state UP group default + link/ether 72:a3:90:4a:c5:12 brd ff:ff:ff:ff:ff:ff link-netns cni-55675948-77f2-a952-31ce-615f2bdb0093 + inet6 fe80::4d5:1bff:fe5d:db3a/64 scope link + valid_lft forever preferred_lft forever +11: vethee199cf4@if4: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue master cni0 state UP group default + link/ether e6:90:a4:a3:bc:a1 brd ff:ff:ff:ff:ff:ff link-netns cni-4aeccd16-2976-8a78-b2c4-e028da3bb1ea + inet6 fe80::c85a:8bff:fe0b:aea0/64 scope link + valid_lft forever preferred_lft forever + + +root@qemux86-64:~# kubectl describe nodes + +Name: qemux86-64 +Roles: master +Labels: beta.kubernetes.io/arch=amd64 + beta.kubernetes.io/instance-type=k3s + beta.kubernetes.io/os=linux + k3s.io/hostname=qemux86-64 + k3s.io/internal-ip=10.0.2.15 + kubernetes.io/arch=amd64 + kubernetes.io/hostname=qemux86-64 + kubernetes.io/os=linux + node-role.kubernetes.io/master=true + node.kubernetes.io/instance-type=k3s +Annotations: flannel.alpha.coreos.com/backend-data: {"VtepMAC":"2e:52:6a:1b:76:d4"} + flannel.alpha.coreos.com/backend-type: vxlan + flannel.alpha.coreos.com/kube-subnet-manager: true + flannel.alpha.coreos.com/public-ip: 10.0.2.15 + k3s.io/node-args: ["server"] + k3s.io/node-config-hash: MLFMUCBMRVINLJJKSG32TOUFWB4CN55GMSNY25AZPESQXZCYRN2A==== + k3s.io/node-env: {} + node.alpha.kubernetes.io/ttl: 0 + volumes.kubernetes.io/controller-managed-attach-detach: true +CreationTimestamp: Tue, 10 Nov 2020 14:01:28 +0000 +Taints: <none> +Unschedulable: false +Lease: + HolderIdentity: qemux86-64 + AcquireTime: <unset> + RenewTime: Tue, 10 Nov 2020 14:56:27 +0000 +Conditions: + Type Status LastHeartbeatTime LastTransitionTime Reason Message + ---- ------ ----------------- ------------------ ------ ------- + NetworkUnavailable False Tue, 10 Nov 2020 14:43:46 +0000 Tue, 10 Nov 2020 14:43:46 +0000 FlannelIsUp Flannel is running on this node + MemoryPressure False Tue, 10 Nov 2020 14:51:48 +0000 Tue, 10 Nov 2020 14:45:46 +0000 KubeletHasSufficientMemory kubelet has sufficient memory available + DiskPressure False Tue, 10 Nov 2020 14:51:48 +0000 Tue, 10 Nov 2020 14:45:46 +0000 KubeletHasNoDiskPressure kubelet has no disk pressure + PIDPressure False Tue, 10 Nov 2020 14:51:48 +0000 Tue, 10 Nov 2020 14:45:46 +0000 KubeletHasSufficientPID kubelet has sufficient PID available + Ready True Tue, 10 Nov 2020 14:51:48 +0000 Tue, 10 Nov 2020 14:45:46 +0000 KubeletReady kubelet is posting ready status +Addresses: + InternalIP: 10.0.2.15 + Hostname: qemux86-64 +Capacity: + cpu: 1 + ephemeral-storage: 39748144Ki + memory: 2040164Ki + pods: 110 +Allocatable: + cpu: 1 + ephemeral-storage: 38666994453 + memory: 2040164Ki + pods: 110 +System Info: + Machine ID: 6a4abfacbf83457e9a0cbb5777457c5d + System UUID: 6a4abfacbf83457e9a0cbb5777457c5d + Boot ID: f5ddf6c8-1abf-4aef-9e29-106488e3c337 + Kernel Version: 5.8.13-yocto-standard + OS Image: Poky (Yocto Project Reference Distro) 3.2+snapshot-20201105 (master) + Operating System: linux + Architecture: amd64 + Container Runtime Version: containerd://1.4.1-4-ge44e8ebea.m + Kubelet Version: v1.18.9-k3s1 + Kube-Proxy Version: v1.18.9-k3s1 +PodCIDR: 10.42.0.0/24 +PodCIDRs: 10.42.0.0/24 +ProviderID: k3s://qemux86-64 +Non-terminated Pods: (5 in total) + Namespace Name CPU Requests CPU Limits Memory Requests Memory Limits AGE + --------- ---- ------------ ---------- --------------- ------------- --- + kube-system svclb-traefik-jpmnd 0 (0%) 0 (0%) 0 (0%) 0 (0%) 54m + kube-system metrics-server-7566d596c8-wh29d 0 (0%) 0 (0%) 0 (0%) 0 (0%) 56m + kube-system local-path-provisioner-6d59f47c7-npn4d 0 (0%) 0 (0%) 0 (0%) 0 (0%) 56m + kube-system coredns-7944c66d8d-md8hr 100m (10%) 0 (0%) 70Mi (3%) 170Mi (8%) 56m + kube-system traefik-758cd5fc85-phjr2 0 (0%) 0 (0%) 0 (0%) 0 (0%) 54m +Allocated resources: + (Total limits may be over 100 percent, i.e., overcommitted.) + Resource Requests Limits + -------- -------- ------ + cpu 100m (10%) 0 (0%) + memory 70Mi (3%) 170Mi (8%) + ephemeral-storage 0 (0%) 0 (0%) +Events: + Type Reason Age From Message + ---- ------ ---- ---- ------- + Normal Starting 56m kube-proxy Starting kube-proxy. + Normal Starting 55m kubelet Starting kubelet. + Warning InvalidDiskCapacity 55m kubelet invalid capacity 0 on image filesystem + Normal NodeHasSufficientPID 55m (x2 over 55m) kubelet Node qemux86-64 status is now: NodeHasSufficientPID + Normal NodeHasSufficientMemory 55m (x2 over 55m) kubelet Node qemux86-64 status is now: NodeHasSufficientMemory + Normal NodeHasNoDiskPressure 55m (x2 over 55m) kubelet Node qemux86-64 status is now: NodeHasNoDiskPressure + Normal NodeAllocatableEnforced 55m kubelet Updated Node Allocatable limit across pods + Normal NodeReady 54m kubelet Node qemux86-64 status is now: NodeReady + Normal Starting 52m kube-proxy Starting kube-proxy. + Normal NodeReady 50m kubelet Node qemux86-64 status is now: NodeReady + Normal NodeAllocatableEnforced 50m kubelet Updated Node Allocatable limit across pods + Warning Rebooted 50m kubelet Node qemux86-64 has been rebooted, boot id: a4e4d2d8-ddb4-49b8-b0a9-e81d12707113 + Normal NodeHasSufficientMemory 50m (x2 over 50m) kubelet Node qemux86-64 status is now: NodeHasSufficientMemory + Normal Starting 50m kubelet Starting kubelet. + Normal NodeHasSufficientPID 50m (x2 over 50m) kubelet Node qemux86-64 status is now: NodeHasSufficientPID + Normal NodeHasNoDiskPressure 50m (x2 over 50m) kubelet Node qemux86-64 status is now: NodeHasNoDiskPressure + Normal NodeNotReady 17m kubelet Node qemux86-64 status is now: NodeNotReady + Warning InvalidDiskCapacity 15m (x2 over 50m) kubelet invalid capacity 0 on image filesystem + Normal Starting 12m kube-proxy Starting kube-proxy. + Normal Starting 10m kubelet Starting kubelet. + Warning InvalidDiskCapacity 10m kubelet invalid capacity 0 on image filesystem + Normal NodeAllocatableEnforced 10m kubelet Updated Node Allocatable limit across pods + Warning Rebooted 10m kubelet Node qemux86-64 has been rebooted, boot id: f5ddf6c8-1abf-4aef-9e29-106488e3c337 + Normal NodeHasSufficientMemory 10m (x2 over 10m) kubelet Node qemux86-64 status is now: NodeHasSufficientMemory + Normal NodeHasNoDiskPressure 10m (x2 over 10m) kubelet Node qemux86-64 status is now: NodeHasNoDiskPressure + Normal NodeHasSufficientPID 10m (x2 over 10m) kubelet Node qemux86-64 status is now: NodeHasSufficientPID + Normal NodeReady 10m kubelet Node qemux86-64 status is now: NodeReady +``` diff --git a/recipes-containers/k3s/k3s/0001-Finding-host-local-in-usr-libexec.patch b/recipes-containers/k3s/k3s/0001-Finding-host-local-in-usr-libexec.patch new file mode 100644 index 00000000..3e8e5512 --- /dev/null +++ b/recipes-containers/k3s/k3s/0001-Finding-host-local-in-usr-libexec.patch @@ -0,0 +1,24 @@ +From 4faf68d68c97cfd10947e1152f711acc59f39647 Mon Sep 17 00:00:00 2001 +From: Erik Jansson <erikja@axis.com> +Date: Wed, 16 Oct 2019 15:07:48 +0200 +Subject: [PATCH] Finding host-local in /usr/libexec + +Upstream-Status: Inappropriate [embedded specific] +Signed-off-by: <erikja@axis.com> +--- + pkg/agent/config/config.go | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: import/pkg/agent/config/config.go +=================================================================== +--- import.orig/pkg/agent/config/config.go ++++ import/pkg/agent/config/config.go +@@ -577,7 +577,7 @@ func get(ctx context.Context, envInfo *c + + nodeConfig.NoFlannel = nodeConfig.FlannelBackend == config.FlannelBackendNone + if !nodeConfig.NoFlannel { +- hostLocal, err := exec.LookPath("host-local") ++ hostLocal, err := exec.LookPath("/usr/libexec/cni/host-local") + if err != nil { + return nil, errors.Wrapf(err, "failed to find host-local") + } diff --git a/recipes-containers/k3s/k3s/cni-containerd-net.conf b/recipes-containers/k3s/k3s/cni-containerd-net.conf new file mode 100644 index 00000000..ca434d6f --- /dev/null +++ b/recipes-containers/k3s/k3s/cni-containerd-net.conf @@ -0,0 +1,24 @@ +{ + "cniVersion": "0.4.0", + "name": "containerd-net", + "plugins": [ + { + "type": "bridge", + "bridge": "cni0", + "isGateway": true, + "ipMasq": true, + "promiscMode": true, + "ipam": { + "type": "host-local", + "subnet": "10.88.0.0/16", + "routes": [ + { "dst": "0.0.0.0/0" } + ] + } + }, + { + "type": "portmap", + "capabilities": {"portMappings": true} + } + ] +} diff --git a/recipes-containers/k3s/k3s/k3s-agent b/recipes-containers/k3s/k3s/k3s-agent new file mode 100755 index 00000000..b6c6cb62 --- /dev/null +++ b/recipes-containers/k3s/k3s/k3s-agent @@ -0,0 +1,103 @@ +#!/bin/sh -eu +# +# Copyright (C) 2020 Axis Communications AB +# +# SPDX-License-Identifier: Apache-2.0 + +ENV_CONF=/etc/systemd/system/k3s-agent.service.d/10-env.conf + +usage() { + echo " +USAGE: + ${0##*/} [OPTIONS] +OPTIONS: + --token value, -t value Token to use for authentication [\$K3S_TOKEN] + --token-file value Token file to use for authentication [\$K3S_TOKEN_FILE] + --server value, -s value Server to connect to [\$K3S_URL] + --node-name value Node name [\$K3S_NODE_NAME] + --resolv-conf value Kubelet resolv.conf file [\$K3S_RESOLV_CONF] + --cluster-secret value Shared secret used to bootstrap a cluster [\$K3S_CLUSTER_SECRET] + -h print this +" +} + +[ $# -gt 0 ] || { + usage + exit +} + +case $1 in + -*) + ;; + *) + usage + exit 1 + ;; +esac + +rm -f $ENV_CONF +mkdir -p ${ENV_CONF%/*} +echo [Service] > $ENV_CONF + +while getopts "t:s:-:h" opt; do + case $opt in + h) + usage + exit + ;; + t) + VAR_NAME=K3S_TOKEN + ;; + s) + VAR_NAME=K3S_URL + ;; + -) + [ $# -ge $OPTIND ] || { + usage + exit 1 + } + opt=$OPTARG + eval OPTARG='$'$OPTIND + OPTIND=$(($OPTIND + 1)) + case $opt in + token) + VAR_NAME=K3S_TOKEN + ;; + token-file) + VAR_NAME=K3S_TOKEN_FILE + ;; + server) + VAR_NAME=K3S_URL + ;; + node-name) + VAR_NAME=K3S_NODE_NAME + ;; + resolv-conf) + VAR_NAME=K3S_RESOLV_CONF + ;; + cluster-secret) + VAR_NAME=K3S_CLUSTER_SECRET + ;; + help) + usage + exit + ;; + *) + usage + exit 1 + ;; + esac + ;; + *) + usage + exit 1 + ;; + esac + echo Environment=$VAR_NAME=$OPTARG >> $ENV_CONF +done + +chmod 0644 $ENV_CONF +rm -rf /var/lib/rancher/k3s/agent +systemctl daemon-reload +systemctl restart k3s-agent +systemctl enable k3s-agent.service diff --git a/recipes-containers/k3s/k3s/k3s-agent.service b/recipes-containers/k3s/k3s/k3s-agent.service new file mode 100644 index 00000000..9f9016da --- /dev/null +++ b/recipes-containers/k3s/k3s/k3s-agent.service @@ -0,0 +1,26 @@ +# Derived from the k3s install.sh's create_systemd_service_file() function +[Unit] +Description=Lightweight Kubernetes Agent +Documentation=https://k3s.io +Requires=containerd.service +After=containerd.service + +[Install] +WantedBy=multi-user.target + +[Service] +Type=notify +KillMode=control-group +Delegate=yes +LimitNOFILE=infinity +LimitNPROC=infinity +LimitCORE=infinity +TasksMax=infinity +TimeoutStartSec=0 +Restart=always +RestartSec=5s +ExecStartPre=-/sbin/modprobe br_netfilter +ExecStartPre=-/sbin/modprobe overlay +ExecStart=/usr/local/bin/k3s agent +ExecStopPost=/usr/local/bin/k3s-clean + diff --git a/recipes-containers/k3s/k3s/k3s-clean b/recipes-containers/k3s/k3s/k3s-clean new file mode 100755 index 00000000..8eca918c --- /dev/null +++ b/recipes-containers/k3s/k3s/k3s-clean @@ -0,0 +1,30 @@ +#!/bin/sh -eu +# +# Copyright (C) 2020 Axis Communications AB +# +# SPDX-License-Identifier: Apache-2.0 + +do_unmount() { + [ $# -eq 2 ] || return + local mounts= + while read ignore mount ignore; do + case $mount in + $1/*|$2/*) + mounts="$mount $mounts" + ;; + esac + done </proc/self/mounts + [ -z "$mounts" ] || umount $mounts +} + +do_unmount /run/k3s /var/lib/rancher/k3s + +# The lines below come from install.sh's create_killall() function: +ip link show 2>/dev/null | grep 'master cni0' | while read ignore iface ignore; do + iface=${iface%%@*} + [ -z "$iface" ] || ip link delete $iface +done + +ip link delete cni0 +ip link delete flannel.1 +rm -rf /var/lib/cni/ diff --git a/recipes-containers/k3s/k3s/k3s-killall.sh b/recipes-containers/k3s/k3s/k3s-killall.sh new file mode 100644 index 00000000..9e726153 --- /dev/null +++ b/recipes-containers/k3s/k3s/k3s-killall.sh @@ -0,0 +1,82 @@ +#!/bin/sh + +# Based on: k3s-killall.sh installed when running Rancher Lab's K3S install.sh +# In open-source project: https://github.com/k3s-io/k3s +# +# Original file: Copyright (c) 2021 Rancher Labs and Contributors. +# Modifications: Copyright (c) 2021 Arm Limited and Contributors. All rights reserved. +# +# Modifications: +# - Change systemd service directory location +# - Fix PID parsing to run on core image +# - Remove service stopping code (as this is intended to run as part of service +# stop) +# - Changes to resolve warnings from the ShellCheck static analysis tool +# +# SPDX-License-Identifier: Apache License 2.0 + +[ "$(id -u)" -eq 0 ] || exec sudo "$0" "$@" + +for bin in /var/lib/rancher/k3s/data/**/bin/; do + [ -d "$bin" ] && export PATH=$PATH:$bin:$bin/aux +done + +set -x + +pschildren() { + ps -e -o ppid= -o pid= | sed -e 's/^\s*//g; s/\s\s*/\t/g;' | grep -w "^$1" | cut -f2 +} + +pstree() { + for pid in "$@"; do + echo "$pid" + for child in $(pschildren "$pid"); do + pstree "$child" + done + done +} + +killtree() { + while read -r pid; do + if [ -n "${pid}" ]; then + kill -9 "${pid}" 2>/dev/null + fi + done <<EOF +$({ set +x; } 2>/dev/null; pstree "$@"; set -x;) +EOF +} + +getshims() { + ps -e -o pid= -o args= | sed -e 's/^ *//; s/\s\s*/\t/;' | grep -w '[^/]*/bin/containerd-shim' | cut -f1 +} + +killtree "$({ set +x; } 2>/dev/null; getshims; set -x)" + +# shellcheck disable=SC2016 +do_unmount_and_remove() { + set +x + while read -r _ path _; do + case "$path" in $1*) echo "$path" ;; esac + done < /proc/self/mounts | sort -r | xargs -r -t -n 1 sh -c 'umount "$0" && rm -rf "$0"' + set -x +} + +do_unmount_and_remove '/run/k3s' +do_unmount_and_remove '/var/lib/rancher/k3s' +do_unmount_and_remove '/var/lib/kubelet/pods' +do_unmount_and_remove '/var/lib/kubelet/plugins' +do_unmount_and_remove '/run/netns/cni-' + +# Remove CNI namespaces +ip netns show 2>/dev/null | grep cni- | xargs -r -t -n 1 ip netns delete + +# Delete network interface(s) that match 'master cni0' +ip link show 2>/dev/null | grep 'master cni0' | while read -r _ iface _; do + iface=${iface%%@*} + [ -z "$iface" ] || ip link delete "$iface" +done +ip link delete cni0 +ip link delete flannel.1 +ip link delete flannel-v6.1 +rm -rf /var/lib/cni/ +iptables-save | grep -v KUBE- | grep -v CNI- | iptables-restore diff --git a/recipes-containers/k3s/k3s/k3s.service b/recipes-containers/k3s/k3s/k3s.service new file mode 100644 index 00000000..33d3ee74 --- /dev/null +++ b/recipes-containers/k3s/k3s/k3s.service @@ -0,0 +1,37 @@ +# Derived from the k3s install.sh's create_systemd_service_file() function +[Unit] +Description=Lightweight Kubernetes +Documentation=https://k3s.io +Requires=containerd.service +After=containerd.service +After=network-online.target +Wants=network-online.target + +[Install] +WantedBy=multi-user.target + +[Service] +Type=notify +EnvironmentFile=-/etc/default/%N +EnvironmentFile=-/etc/sysconfig/%N +EnvironmentFile=-/etc/systemd/system/k3s.service.env +KillMode=process +Delegate=yes +# Having non-zero Limit*s causes performance problems due to accounting overhead +# in the kernel. We recommend using cgroups to do container-local accounting. +LimitNOFILE=1048576 +LimitNPROC=infinity +LimitCORE=infinity +TasksMax=infinity +TimeoutStartSec=0 +Restart=always +RestartSec=5s +ExecStartPre=/bin/sh -xc '! systemctl is-enabled --quiet nm-cloud-setup.service' +ExecStartPre=-/sbin/modprobe br_netfilter +ExecStartPre=-/sbin/modprobe overlay +ExecStart=/usr/local/bin/k3s server +# Avoid any delay due to this service when the system is rebooting or shutting +# down by using the k3s-killall.sh script to kill all of the running k3s +# services and containers +ExecStopPost=/bin/sh -c "if systemctl is-system-running | grep -i \ + 'stopping'; then /usr/local/bin/k3s-killall.sh; fi" diff --git a/recipes-containers/k3s/k3s/modules.txt b/recipes-containers/k3s/k3s/modules.txt new file mode 100644 index 00000000..04a8523c --- /dev/null +++ b/recipes-containers/k3s/k3s/modules.txt @@ -0,0 +1,946 @@ +# github.com/Microsoft/hcsshim v0.11.4 +## explicit +# github.com/Mirantis/cri-dockerd v0.0.0-00010101000000-000000000000 +## explicit +# github.com/blang/semver/v4 v4.0.0 +## explicit +# github.com/cloudnativelabs/kube-router/v2 v2.0.0-00010101000000-000000000000 +## explicit +# github.com/containerd/aufs v1.0.0 +## explicit +# github.com/containerd/cgroups/v3 v3.0.2 +## explicit +# github.com/containerd/containerd v1.7.11 +## explicit +# github.com/containerd/fuse-overlayfs-snapshotter v1.0.5 +## explicit +# github.com/containerd/stargz-snapshotter v0.14.4-0.20230913082252-7275d45b185c +## explicit +# github.com/containerd/zfs v1.1.0 +## explicit +# github.com/coreos/go-iptables v0.7.0 +## explicit +# github.com/coreos/go-systemd v0.0.0-20191104093116-d3cd4ed1dbcf +## explicit +# github.com/docker/docker v24.0.7+incompatible +## explicit +# github.com/erikdubbelboer/gspt v0.0.0-20190125194910-e68493906b83 +## explicit +# github.com/flannel-io/flannel v0.24.2 +## explicit +# github.com/go-bindata/go-bindata v3.1.2+incompatible +## explicit +# github.com/go-logr/logr v1.4.1 +## explicit +# github.com/go-logr/stdr v1.2.3-0.20220714215716-96bad1d688c5 +## explicit +# github.com/go-sql-driver/mysql v1.7.1 +## explicit +# github.com/go-test/deep v1.0.7 +## explicit +# github.com/golang/mock v1.6.0 +## explicit +# github.com/google/cadvisor v0.47.3 +## explicit +# github.com/google/uuid v1.4.0 +## explicit +# github.com/gorilla/mux v1.8.1 +## explicit +# github.com/gorilla/websocket v1.5.0 +## explicit +# github.com/ipfs/go-ds-leveldb v0.5.0 +## explicit +# github.com/ipfs/go-log/v2 v2.5.1 +## explicit +# github.com/json-iterator/go v1.1.12 +## explicit +# github.com/k3s-io/helm-controller v0.15.8 +## explicit +# github.com/k3s-io/kine v0.11.4 +## explicit +# github.com/klauspost/compress v1.17.2 +## explicit +# github.com/kubernetes-sigs/cri-tools v0.0.0-00010101000000-000000000000 +## explicit +# github.com/lib/pq v1.10.2 +## explicit +# github.com/libp2p/go-libp2p v0.30.0 +## explicit +# github.com/mattn/go-sqlite3 v1.14.19 +## explicit +# github.com/minio/minio-go/v7 v7.0.33 +## explicit +# github.com/mwitkow/go-http-dialer v0.0.0-20161116154839-378f744fb2b8 +## explicit +# github.com/natefinch/lumberjack v2.0.0+incompatible +## explicit +# github.com/onsi/ginkgo/v2 v2.11.0 +## explicit +# github.com/onsi/gomega v1.27.10 +## explicit +# github.com/opencontainers/runc v1.1.12 +## explicit +# github.com/opencontainers/selinux v1.11.0 +## explicit +# github.com/otiai10/copy v1.7.0 +## explicit +# github.com/pkg/errors v0.9.1 +## explicit +# github.com/rancher/dynamiclistener v0.3.6 +## explicit +# github.com/rancher/lasso v0.0.0-20230830164424-d684fdeb6f29 +## explicit +# github.com/rancher/remotedialer v0.3.0 +## explicit +# github.com/rancher/wharfie v0.6.4 +## explicit +# github.com/rancher/wrangler v1.1.1 +## explicit +# github.com/robfig/cron/v3 v3.0.1 +## explicit +# github.com/rootless-containers/rootlesskit v1.0.1 +## explicit +# github.com/sirupsen/logrus v1.9.3 +## explicit +# github.com/spf13/pflag v1.0.5 +## explicit +# github.com/stretchr/testify v1.8.4 +## explicit +# github.com/urfave/cli v1.22.14 +## explicit +# github.com/vishvananda/netlink v1.2.1-beta.2 +## explicit +# github.com/xenitab/spegel v0.0.16 +## explicit +# github.com/yl2chen/cidranger v1.0.2 +## explicit +# go.etcd.io/etcd/api/v3 v3.5.10 +## explicit +# go.etcd.io/etcd/client/pkg/v3 v3.5.10 +## explicit +# go.etcd.io/etcd/client/v3 v3.5.10 +## explicit +# go.etcd.io/etcd/etcdutl/v3 v3.5.9 +## explicit +# go.etcd.io/etcd/server/v3 v3.5.10 +## explicit +# go.uber.org/zap v1.26.0 +## explicit +# golang.org/x/crypto v0.17.0 +## explicit +# golang.org/x/net v0.19.0 +## explicit +# golang.org/x/sync v0.6.0 +## explicit +# golang.org/x/sys v0.16.0 +## explicit +# google.golang.org/grpc v1.60.1 +## explicit +# gopkg.in/yaml.v2 v2.4.0 +## explicit +# inet.af/tcpproxy v0.0.0-20200125044825-b6bb9b5b8252 +## explicit +# k8s.io/api v0.28.7 +## explicit +# k8s.io/apimachinery v0.28.7 +## explicit +# k8s.io/apiserver v0.28.7 +## explicit +# k8s.io/client-go v11.0.1-0.20190409021438-1a26190bd76a+incompatible +## explicit +# k8s.io/cloud-provider v0.28.7 +## explicit +# k8s.io/cluster-bootstrap v0.0.0 +## explicit +# k8s.io/component-base v0.28.7 +## explicit +# k8s.io/component-helpers v0.28.7 +## explicit +# k8s.io/cri-api v0.29.0-alpha.0 +## explicit +# k8s.io/klog/v2 v2.100.1 +## explicit +# k8s.io/kube-proxy v0.0.0 +## explicit +# k8s.io/kubectl v0.25.0 +## explicit +# k8s.io/kubernetes v1.28.7 +## explicit +# k8s.io/utils v0.0.0-20230726121419-3b25d923346b +## explicit +# sigs.k8s.io/yaml v1.4.0 +## explicit +# github.com/benbjohnson/clock v1.3.5 +## explicit +# github.com/bytedance/sonic v1.9.1 +## explicit +# github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 +## explicit +# github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c +## explicit +# github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 +## explicit +# github.com/elastic/gosigar v0.14.2 +## explicit +# github.com/flynn/noise v1.0.0 +## explicit +# github.com/francoispqt/gojay v1.2.13 +## explicit +# github.com/gabriel-vasile/mimetype v1.4.2 +## explicit +# github.com/gin-contrib/sse v0.1.0 +## explicit +# github.com/gin-gonic/gin v1.9.1 +## explicit +# github.com/go-playground/locales v0.14.1 +## explicit +# github.com/go-playground/universal-translator v0.18.1 +## explicit +# github.com/go-playground/validator/v10 v10.14.0 +## explicit +# github.com/goccy/go-json v0.10.2 +## explicit +# github.com/golang/snappy v0.0.4 +## explicit +# github.com/google/gopacket v1.1.19 +## explicit +# github.com/hashicorp/golang-lru v0.5.4 +## explicit +# github.com/hashicorp/golang-lru/arc/v2 v2.0.5 +## explicit +# github.com/hashicorp/golang-lru/v2 v2.0.5 +## explicit +# github.com/huin/goupnp v1.2.0 +## explicit +# github.com/ipfs/boxo v0.10.0 +## explicit +# github.com/ipfs/go-cid v0.4.1 +## explicit +# github.com/ipfs/go-datastore v0.6.0 +## explicit +# github.com/ipfs/go-log v1.0.5 +## explicit +# github.com/ipld/go-ipld-prime v0.20.0 +## explicit +# github.com/jackpal/go-nat-pmp v1.0.2 +## explicit +# github.com/jbenet/go-temp-err-catcher v0.1.0 +## explicit +# github.com/jbenet/goprocess v0.1.4 +## explicit +# github.com/koron/go-ssdp v0.0.4 +## explicit +# github.com/leodido/go-urn v1.2.4 +## explicit +# github.com/libp2p/go-buffer-pool v0.1.0 +## explicit +# github.com/libp2p/go-cidranger v1.1.0 +## explicit +# github.com/libp2p/go-flow-metrics v0.1.0 +## explicit +# github.com/libp2p/go-libp2p-asn-util v0.3.0 +## explicit +# github.com/libp2p/go-libp2p-kad-dht v0.25.2 +## explicit +# github.com/libp2p/go-libp2p-kbucket v0.6.3 +## explicit +# github.com/libp2p/go-libp2p-record v0.2.0 +## explicit +# github.com/libp2p/go-libp2p-routing-helpers v0.7.2 +## explicit +# github.com/libp2p/go-msgio v0.3.0 +## explicit +# github.com/libp2p/go-nat v0.2.0 +## explicit +# github.com/libp2p/go-netroute v0.2.1 +## explicit +# github.com/libp2p/go-reuseport v0.4.0 +## explicit +# github.com/libp2p/go-yamux/v4 v4.0.1 +## explicit +# github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd +## explicit +# github.com/mattn/go-isatty v0.0.19 +## explicit +# github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 +## explicit +# github.com/miekg/dns v1.1.55 +## explicit +# github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b +## explicit +# github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc +## explicit +# github.com/mr-tron/base58 v1.2.0 +## explicit +# github.com/multiformats/go-base32 v0.1.0 +## explicit +# github.com/multiformats/go-base36 v0.2.0 +## explicit +# github.com/multiformats/go-multiaddr v0.12.0 +## explicit +# github.com/multiformats/go-multiaddr-dns v0.3.1 +## explicit +# github.com/multiformats/go-multiaddr-fmt v0.1.0 +## explicit +# github.com/multiformats/go-multibase v0.2.0 +## explicit +# github.com/multiformats/go-multicodec v0.9.0 +## explicit +# github.com/multiformats/go-multihash v0.2.3 +## explicit +# github.com/multiformats/go-multistream v0.4.1 +## explicit +# github.com/multiformats/go-varint v0.0.7 +## explicit +# github.com/opentracing/opentracing-go v1.2.0 +## explicit +# github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 +## explicit +# github.com/pelletier/go-toml/v2 v2.1.1 +## explicit +# github.com/polydawn/refmt v0.89.0 +## explicit +# github.com/quic-go/qpack v0.4.0 +## explicit +# github.com/quic-go/qtls-go1-20 v0.3.3 +## explicit +# github.com/quic-go/quic-go v0.38.0 +## explicit +# github.com/quic-go/webtransport-go v0.5.3 +## explicit +# github.com/raulk/go-watchdog v1.3.0 +## explicit +# github.com/slok/go-http-metrics v0.10.0 +## explicit +# github.com/spaolacci/murmur3 v1.1.0 +## explicit +# github.com/spf13/afero v1.11.0 +## explicit +# github.com/syndtr/goleveldb v1.0.0 +## explicit +# github.com/twitchyliquid64/golang-asm v0.15.1 +## explicit +# github.com/ugorji/go/codec v1.2.11 +## explicit +# github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 +## explicit +# github.com/xenitab/pkg/channels v0.0.2 +## explicit +# github.com/xenitab/pkg/gin v0.0.9 +## explicit +# go.uber.org/dig v1.17.0 +## explicit +# go.uber.org/fx v1.20.0 +## explicit +# golang.org/x/arch v0.3.0 +## explicit +# gonum.org/v1/gonum v0.13.0 +## explicit +# lukechampine.com/blake3 v1.2.1 +## explicit +# cloud.google.com/go/compute v1.23.3 +## explicit +# cloud.google.com/go/compute/metadata v0.2.3 +## explicit +# github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 +## explicit +# github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 +## explicit +# github.com/Azure/azure-sdk-for-go v68.0.0+incompatible +## explicit +# github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 +## explicit +# github.com/Azure/go-autorest v14.2.0+incompatible +## explicit +# github.com/Azure/go-autorest/autorest v0.11.29 +## explicit +# github.com/Azure/go-autorest/autorest/adal v0.9.23 +## explicit +# github.com/Azure/go-autorest/autorest/date v0.3.0 +## explicit +# github.com/Azure/go-autorest/autorest/mocks v0.4.2 +## explicit +# github.com/Azure/go-autorest/autorest/to v0.4.0 +## explicit +# github.com/Azure/go-autorest/autorest/validation v0.3.1 +## explicit +# github.com/Azure/go-autorest/logger v0.2.1 +## explicit +# github.com/Azure/go-autorest/tracing v0.6.0 +## explicit +# github.com/GoogleCloudPlatform/k8s-cloud-provider v1.18.1-0.20220218231025-f11817397a1b +## explicit +# github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab +## explicit +# github.com/MakeNowJust/heredoc v1.0.0 +## explicit +# github.com/Microsoft/go-winio v0.6.1 +## explicit +# github.com/NYTimes/gziphandler v1.1.1 +## explicit +# github.com/Rican7/retry v0.1.0 +## explicit +# github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df +## explicit +# github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e +## explicit +# github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a +## explicit +# github.com/avast/retry-go/v4 v4.3.2 +## explicit +# github.com/beorn7/perks v1.0.1 +## explicit +# github.com/blang/semver v3.5.1+incompatible +## explicit +# github.com/bronze1man/goStrongswanVici v0.0.0-20221114103242-3f6dc524986c +## explicit +# github.com/canonical/go-dqlite v1.5.1 +## explicit +# github.com/cenkalti/backoff/v4 v4.2.1 +## explicit +# github.com/cespare/xxhash/v2 v2.2.0 +## explicit +# github.com/chai2010/gettext-go v1.0.2 +## explicit +# github.com/checkpoint-restore/go-criu/v5 v5.3.0 +## explicit +# github.com/cilium/ebpf v0.9.1 +## explicit +# github.com/container-orchestrated-devices/container-device-interface v0.5.4 +## explicit +# github.com/container-storage-interface/spec v1.8.0 +## explicit +# github.com/containerd/btrfs/v2 v2.0.0 +## explicit +# github.com/containerd/cgroups v1.1.0 +## explicit +# github.com/containerd/console v1.0.3 +## explicit +# github.com/containerd/continuity v0.4.2 +## explicit +# github.com/containerd/fifo v1.1.0 +## explicit +# github.com/containerd/go-cni v1.1.9 +## explicit +# github.com/containerd/go-runc v1.0.0 +## explicit +# github.com/containerd/imgcrypt v1.1.7 +## explicit +# github.com/containerd/log v0.1.0 +## explicit +# github.com/containerd/nri v0.4.0 +## explicit +# github.com/containerd/stargz-snapshotter/estargz v0.14.3 +## explicit +# github.com/containerd/ttrpc v1.2.2 +## explicit +# github.com/containerd/typeurl v1.0.2 +## explicit +# github.com/containerd/typeurl/v2 v2.1.1 +## explicit +# github.com/containernetworking/cni v1.1.2 +## explicit +# github.com/containernetworking/plugins v1.3.0 +## explicit +# github.com/containers/ocicrypt v1.1.6 +## explicit +# github.com/coreos/go-oidc v2.2.1+incompatible +## explicit +# github.com/coreos/go-semver v0.3.1 +## explicit +# github.com/coreos/go-systemd/v22 v22.5.0 +## explicit +# github.com/cpuguy83/go-md2man/v2 v2.0.3 +## explicit +# github.com/cyphar/filepath-securejoin v0.2.4 +## explicit +# github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc +## explicit +# github.com/daviddengcn/go-colortext v1.0.0 +## explicit +# github.com/docker/cli v24.0.5+incompatible +## explicit +# github.com/docker/distribution v2.8.3+incompatible +## explicit +# github.com/docker/docker-credential-helpers v0.7.0 +## explicit +# github.com/docker/go-connections v0.5.0 +## explicit +# github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c +## explicit +# github.com/docker/go-metrics v0.0.1 +## explicit +# github.com/docker/go-units v0.5.0 +## explicit +# github.com/dustin/go-humanize v1.0.1 +## explicit +# github.com/emicklei/go-restful v2.16.0+incompatible +## explicit +# github.com/emicklei/go-restful/v3 v3.11.0 +## explicit +# github.com/euank/go-kmsg-parser v2.0.0+incompatible +## explicit +# github.com/evanphx/json-patch v5.6.0+incompatible +## explicit +# github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d +## explicit +# github.com/fatih/camelcase v1.0.0 +## explicit +# github.com/felixge/httpsnoop v1.0.4 +## explicit +# github.com/fsnotify/fsnotify v1.7.0 +## explicit +# github.com/fvbommel/sortorder v1.1.0 +## explicit +# github.com/ghodss/yaml v1.0.0 +## explicit +# github.com/go-errors/errors v1.4.2 +## explicit +# github.com/go-openapi/jsonpointer v0.20.0 +## explicit +# github.com/go-openapi/jsonreference v0.20.2 +## explicit +# github.com/go-openapi/swag v0.22.4 +## explicit +# github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 +## explicit +# github.com/godbus/dbus/v5 v5.1.0 +## explicit +# github.com/gofrs/flock v0.8.1 +## explicit +# github.com/gofrs/uuid v4.4.0+incompatible +## explicit +# github.com/gogo/protobuf v1.3.2 +## explicit +# github.com/golang-jwt/jwt/v4 v4.5.0 +## explicit +# github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da +## explicit +# github.com/golang/protobuf v1.5.3 +## explicit +# github.com/google/btree v1.1.2 +## explicit +# github.com/google/cel-go v0.16.1 +## explicit +# github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 +## explicit +# github.com/google/go-cmp v0.6.0 +## explicit +# github.com/google/go-containerregistry v0.14.0 +## explicit +# github.com/google/gofuzz v1.2.0 +## explicit +# github.com/google/pprof v0.0.0-20230821062121-407c9e7a662f +## explicit +# github.com/google/s2a-go v0.1.7 +## explicit +# github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 +## explicit +# github.com/googleapis/enterprise-certificate-proxy v0.3.2 +## explicit +# github.com/googleapis/gax-go/v2 v2.12.0 +## explicit +# github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 +## explicit +# github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 +## explicit +# github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 +## explicit +# github.com/grpc-ecosystem/grpc-gateway v1.16.0 +## explicit +# github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 +## explicit +# github.com/hanwen/go-fuse/v2 v2.3.0 +## explicit +# github.com/hashicorp/errwrap v1.1.0 +## explicit +# github.com/hashicorp/go-cleanhttp v0.5.2 +## explicit +# github.com/hashicorp/go-multierror v1.1.1 +## explicit +# github.com/hashicorp/go-retryablehttp v0.7.4 +## explicit +# github.com/hashicorp/go-version v1.6.0 +## explicit +# github.com/imdario/mergo v0.3.16 +## explicit +# github.com/inconshreveable/mousetrap v1.1.0 +## explicit +# github.com/intel/goresctrl v0.3.0 +## explicit +# github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa +## explicit +# github.com/jackc/pgpassfile v1.0.0 +## explicit +# github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a +## explicit +# github.com/jackc/pgx/v5 v5.4.2 +## explicit +# github.com/jonboulle/clockwork v0.4.0 +## explicit +# github.com/josharian/intern v1.0.0 +## explicit +# github.com/josharian/native v1.1.0 +## explicit +# github.com/karrick/godirwalk v1.17.0 +## explicit +# github.com/klauspost/cpuid/v2 v2.2.5 +## explicit +# github.com/kylelemons/godebug v1.1.0 +## explicit +# github.com/libopenstorage/openstorage v1.0.0 +## explicit +# github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de +## explicit +# github.com/lithammer/dedent v1.1.0 +## explicit +# github.com/mailru/easyjson v0.7.7 +## explicit +# github.com/mdlayher/genetlink v1.3.2 +## explicit +# github.com/mdlayher/netlink v1.7.2 +## explicit +# github.com/mdlayher/socket v0.4.1 +## explicit +# github.com/miekg/pkcs11 v1.1.1 +## explicit +# github.com/minio/highwayhash v1.0.2 +## explicit +# github.com/minio/md5-simd v1.1.2 +## explicit +# github.com/minio/sha256-simd v1.0.1 +## explicit +# github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible +## explicit +# github.com/mistifyio/go-zfs/v3 v3.0.1 +## explicit +# github.com/mitchellh/go-homedir v1.1.0 +## explicit +# github.com/mitchellh/go-wordwrap v1.0.1 +## explicit +# github.com/moby/ipvs v1.1.0 +## explicit +# github.com/moby/locker v1.0.1 +## explicit +# github.com/moby/spdystream v0.2.0 +## explicit +# github.com/moby/sys/mountinfo v0.6.2 +## explicit +# github.com/moby/sys/sequential v0.5.0 +## explicit +# github.com/moby/sys/signal v0.7.0 +## explicit +# github.com/moby/sys/symlink v0.2.0 +## explicit +# github.com/moby/term v0.0.0-20221205130635-1aeaba878587 +## explicit +# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd +## explicit +# github.com/modern-go/reflect2 v1.0.2 +## explicit +# github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 +## explicit +# github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 +## explicit +# github.com/morikuni/aec v1.0.0 +## explicit +# github.com/mrunalp/fileutils v0.5.1 +## explicit +# github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 +## explicit +# github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f +## explicit +# github.com/nats-io/jsm.go v0.0.31-0.20220317133147-fe318f464eee +## explicit +# github.com/nats-io/jwt/v2 v2.5.3 +## explicit +# github.com/nats-io/nats-server/v2 v2.10.5 +## explicit +# github.com/nats-io/nats.go v1.31.0 +## explicit +# github.com/nats-io/nkeys v0.4.6 +## explicit +# github.com/nats-io/nuid v1.0.1 +## explicit +# github.com/opencontainers/go-digest v1.0.0 +## explicit +# github.com/opencontainers/image-spec v1.1.0-rc5 +## explicit +# github.com/opencontainers/runtime-spec v1.1.0 +## explicit +# github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626 +## explicit +# github.com/pelletier/go-toml v1.9.5 +## explicit +# github.com/peterbourgon/diskv v2.0.1+incompatible +## explicit +# github.com/pierrec/lz4 v2.6.0+incompatible +## explicit +# github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 +## explicit +# github.com/pquerna/cachecontrol v0.1.0 +## explicit +# github.com/prometheus/client_golang v1.18.0 +## explicit +# github.com/prometheus/client_model v0.5.0 +## explicit +# github.com/prometheus/common v0.45.0 +## explicit +# github.com/prometheus/procfs v0.12.0 +## explicit +# github.com/rs/xid v1.5.0 +## explicit +# github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021 +## explicit +# github.com/russross/blackfriday/v2 v2.1.0 +## explicit +# github.com/seccomp/libseccomp-golang v0.10.0 +## explicit +# github.com/shengdoushi/base58 v1.0.0 +## explicit +# github.com/soheilhy/cmux v0.1.5 +## explicit +# github.com/spf13/cobra v1.8.0 +## explicit +# github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980 +## explicit +# github.com/stoewer/go-strcase v1.2.0 +## explicit +# github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 +## explicit +# github.com/tchap/go-patricia/v2 v2.3.1 +## explicit +# github.com/tidwall/btree v1.6.0 +## explicit +# github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 +## explicit +# github.com/urfave/cli/v2 v2.23.5 +## explicit +# github.com/vbatts/tar-split v0.11.5 +## explicit +# github.com/vishvananda/netns v0.0.4 +## explicit +# github.com/vmware/govmomi v0.30.6 +## explicit +# github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 +## explicit +# github.com/xlab/treeprint v1.2.0 +## explicit +# github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 +## explicit +# go.etcd.io/bbolt v1.3.8 +## explicit +# go.etcd.io/etcd/client/v2 v2.305.10 +## explicit +# go.etcd.io/etcd/pkg/v3 v3.5.10 +## explicit +# go.etcd.io/etcd/raft/v3 v3.5.10 +## explicit +# go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1 +## explicit +# go.opencensus.io v0.24.0 +## explicit +# go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.42.0 +## explicit +# go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.46.1 +## explicit +# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.46.1 +## explicit +# go.opentelemetry.io/otel v1.21.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.14.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.21.0 +## explicit +# go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.21.0 +## explicit +# go.opentelemetry.io/otel/metric v1.21.0 +## explicit +# go.opentelemetry.io/otel/sdk v1.21.0 +## explicit +# go.opentelemetry.io/otel/trace v1.21.0 +## explicit +# go.opentelemetry.io/proto/otlp v1.0.0 +## explicit +# go.starlark.net v0.0.0-20230525235612-a134d8f9ddca +## explicit +# go.uber.org/multierr v1.11.0 +## explicit +# golang.org/x/exp v0.0.0-20231006140011-7918f672742d +## explicit +# golang.org/x/mod v0.14.0 +## explicit +# golang.org/x/oauth2 v0.15.0 +## explicit +# golang.org/x/term v0.15.0 +## explicit +# golang.org/x/text v0.14.0 +## explicit +# golang.org/x/time v0.5.0 +## explicit +# golang.org/x/tools v0.16.1 +## explicit +# golang.zx2c4.com/wireguard v0.0.0-20230325221338-052af4a8072b +## explicit +# golang.zx2c4.com/wireguard/wgctrl v0.0.0-20230429144221-925a1e7659e6 +## explicit +# google.golang.org/api v0.152.0 +## explicit +# google.golang.org/appengine v1.6.8 +## explicit +# google.golang.org/genproto v0.0.0-20231106174013-bbf56f31fb17 +## explicit +# google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 +## explicit +# google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f +## explicit +# google.golang.org/protobuf v1.31.0 +## explicit +# gopkg.in/gcfg.v1 v1.2.3 +## explicit +# gopkg.in/inf.v0 v0.9.1 +## explicit +# gopkg.in/ini.v1 v1.67.0 +## explicit +# gopkg.in/natefinch/lumberjack.v2 v2.2.1 +## explicit +# gopkg.in/square/go-jose.v2 v2.6.0 +## explicit +# gopkg.in/warnings.v0 v0.1.2 +## explicit +# gopkg.in/yaml.v3 v3.0.1 +## explicit +# k8s.io/apiextensions-apiserver v0.28.7 +## explicit +# k8s.io/cli-runtime v0.22.2 +## explicit +# k8s.io/code-generator v0.28.7 +## explicit +# k8s.io/controller-manager v0.25.4 +## explicit +# k8s.io/csi-translation-lib v0.0.0 +## explicit +# k8s.io/dynamic-resource-allocation v0.0.0 +## explicit +# k8s.io/endpointslice v0.0.0 +## explicit +# k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 +## explicit +# k8s.io/kms v0.0.0 +## explicit +# k8s.io/kube-aggregator v0.28.7 +## explicit +# k8s.io/kube-controller-manager v0.0.0 +## explicit +# k8s.io/kube-openapi v0.0.0-20230928205116-a78145627833 +## explicit +# k8s.io/kube-scheduler v0.0.0 +## explicit +# k8s.io/kubelet v0.28.7 +## explicit +# k8s.io/legacy-cloud-providers v0.0.0 +## explicit +# k8s.io/metrics v0.0.0 +## explicit +# k8s.io/mount-utils v0.28.7 +## explicit +# k8s.io/pod-security-admission v0.0.0 +## explicit +# sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2 +## explicit +# sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd +## explicit +# sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 +## explicit +# sigs.k8s.io/kustomize/kustomize/v5 v5.0.4-0.20230601165947-6ce0bf390ce3 +## explicit +# sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 +## explicit +# sigs.k8s.io/structured-merge-diff/v4 v4.3.0 +## explicit +# github.com/Microsoft/hcsshim => github.com/Microsoft/hcsshim v0.11.0 +# github.com/Mirantis/cri-dockerd => github.com/k3s-io/cri-dockerd v0.3.9-k3s2 +# github.com/cloudnativelabs/kube-router/v2 => github.com/k3s-io/kube-router/v2 v2.0.1 +# github.com/containerd/containerd => github.com/k3s-io/containerd v1.7.11-k3s2 +# github.com/coreos/go-systemd => github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e +# github.com/docker/distribution => github.com/docker/distribution v2.8.2+incompatible +# github.com/docker/docker => github.com/docker/docker v24.0.0-rc.2.0.20230801142700-69c9adb7d386+incompatible +# github.com/docker/libnetwork => github.com/docker/libnetwork v0.8.0-dev.2.0.20190624125649-f0e46a78ea34 +# github.com/emicklei/go-restful/v3 => github.com/emicklei/go-restful/v3 v3.9.0 +# github.com/golang/protobuf => github.com/golang/protobuf v1.5.3 +# github.com/googleapis/gax-go/v2 => github.com/googleapis/gax-go/v2 v2.12.0 +# github.com/juju/errors => github.com/k3s-io/nocode v0.0.0-20200630202308-cb097102c09f +# github.com/kubernetes-sigs/cri-tools => github.com/k3s-io/cri-tools v1.26.0-rc.0-k3s1 +# github.com/open-policy-agent/opa => github.com/open-policy-agent/opa v0.59.0 +# github.com/opencontainers/runc => github.com/k3s-io/runc v1.1.12-k3s1 +# github.com/opencontainers/runtime-spec => github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78 +# github.com/opencontainers/selinux => github.com/opencontainers/selinux v1.10.1 +# github.com/quic-go/qtls-go1-20 => github.com/quic-go/qtls-go1-20 v0.3.3 +# github.com/quic-go/quic-go => github.com/quic-go/quic-go v0.38.2 +# github.com/rancher/wrangler => github.com/rancher/wrangler v1.1.1-0.20230818201331-3604a6be798d +# github.com/ugorji/go => github.com/ugorji/go v1.2.11 +# github.com/xenitab/spegel => github.com/k3s-io/spegel v0.0.17-0.20240109004735-9466a5529330 +# go.etcd.io/etcd/api/v3 => github.com/k3s-io/etcd/api/v3 v3.5.9-k3s1 +# go.etcd.io/etcd/client/pkg/v3 => github.com/k3s-io/etcd/client/pkg/v3 v3.5.9-k3s1 +# go.etcd.io/etcd/client/v2 => github.com/k3s-io/etcd/client/v2 v2.305.9-k3s1 +# go.etcd.io/etcd/client/v3 => github.com/k3s-io/etcd/client/v3 v3.5.9-k3s1 +# go.etcd.io/etcd/etcdutl/v3 => github.com/k3s-io/etcd/etcdutl/v3 v3.5.9-k3s1 +# go.etcd.io/etcd/pkg/v3 => github.com/k3s-io/etcd/pkg/v3 v3.5.9-k3s1 +# go.etcd.io/etcd/raft/v3 => github.com/k3s-io/etcd/raft/v3 v3.5.9-k3s1 +# go.etcd.io/etcd/server/v3 => github.com/k3s-io/etcd/server/v3 v3.5.9-k3s1 +# go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful => go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.35.0 +# go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc => go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.35.0 +# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp => go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.35.1 +# go.opentelemetry.io/contrib/propagators/b3 => go.opentelemetry.io/contrib/propagators/b3 v1.13.0 +# go.opentelemetry.io/otel => go.opentelemetry.io/otel v1.13.0 +# go.opentelemetry.io/otel/exporters/otlp/internal/retry => go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.13.0 +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric => go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.32.1 +# go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc => go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.32.1 +# go.opentelemetry.io/otel/exporters/otlp/otlptrace => go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.13.0 +# go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc => go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.13.0 +# go.opentelemetry.io/otel/metric => go.opentelemetry.io/otel/metric v0.32.1 +# go.opentelemetry.io/otel/sdk => go.opentelemetry.io/otel/sdk v1.13.0 +# go.opentelemetry.io/otel/trace => go.opentelemetry.io/otel/trace v1.13.0 +# go.opentelemetry.io/proto/otlp => go.opentelemetry.io/proto/otlp v0.19.0 +# golang.org/x/crypto => golang.org/x/crypto v0.14.0 +# golang.org/x/net => golang.org/x/net v0.17.0 +# golang.org/x/sys => golang.org/x/sys v0.13.0 +# google.golang.org/genproto => google.golang.org/genproto v0.0.0-20230525234035-dd9d682886f9 +# google.golang.org/grpc => google.golang.org/grpc v1.58.3 +# gopkg.in/square/go-jose.v2 => gopkg.in/square/go-jose.v2 v2.6.0 +# k8s.io/api => github.com/k3s-io/kubernetes/staging/src/k8s.io/api v1.28.7-k3s1 +# k8s.io/apiextensions-apiserver => github.com/k3s-io/kubernetes/staging/src/k8s.io/apiextensions-apiserver v1.28.7-k3s1 +# k8s.io/apimachinery => github.com/k3s-io/kubernetes/staging/src/k8s.io/apimachinery v1.28.7-k3s1 +# k8s.io/apiserver => github.com/k3s-io/kubernetes/staging/src/k8s.io/apiserver v1.28.7-k3s1 +# k8s.io/cli-runtime => github.com/k3s-io/kubernetes/staging/src/k8s.io/cli-runtime v1.28.7-k3s1 +# k8s.io/client-go => github.com/k3s-io/kubernetes/staging/src/k8s.io/client-go v1.28.7-k3s1 +# k8s.io/cloud-provider => github.com/k3s-io/kubernetes/staging/src/k8s.io/cloud-provider v1.28.7-k3s1 +# k8s.io/cluster-bootstrap => github.com/k3s-io/kubernetes/staging/src/k8s.io/cluster-bootstrap v1.28.7-k3s1 +# k8s.io/code-generator => github.com/k3s-io/kubernetes/staging/src/k8s.io/code-generator v1.28.7-k3s1 +# k8s.io/component-base => github.com/k3s-io/kubernetes/staging/src/k8s.io/component-base v1.28.7-k3s1 +# k8s.io/component-helpers => github.com/k3s-io/kubernetes/staging/src/k8s.io/component-helpers v1.28.7-k3s1 +# k8s.io/controller-manager => github.com/k3s-io/kubernetes/staging/src/k8s.io/controller-manager v1.28.7-k3s1 +# k8s.io/cri-api => github.com/k3s-io/kubernetes/staging/src/k8s.io/cri-api v1.28.7-k3s1 +# k8s.io/csi-translation-lib => github.com/k3s-io/kubernetes/staging/src/k8s.io/csi-translation-lib v1.28.7-k3s1 +# k8s.io/dynamic-resource-allocation => github.com/k3s-io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation v1.28.7-k3s1 +# k8s.io/endpointslice => github.com/k3s-io/kubernetes/staging/src/k8s.io/endpointslice v1.28.7-k3s1 +# k8s.io/klog => github.com/k3s-io/klog v1.0.0-k3s2 +# k8s.io/klog/v2 => github.com/k3s-io/klog/v2 v2.100.1-k3s1 +# k8s.io/kms => github.com/k3s-io/kubernetes/staging/src/k8s.io/kms v1.28.7-k3s1 +# k8s.io/kube-aggregator => github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-aggregator v1.28.7-k3s1 +# k8s.io/kube-controller-manager => github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-controller-manager v1.28.7-k3s1 +# k8s.io/kube-openapi => k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 +# k8s.io/kube-proxy => github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-proxy v1.28.7-k3s1 +# k8s.io/kube-scheduler => github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-scheduler v1.28.7-k3s1 +# k8s.io/kubectl => github.com/k3s-io/kubernetes/staging/src/k8s.io/kubectl v1.28.7-k3s1 +# k8s.io/kubelet => github.com/k3s-io/kubernetes/staging/src/k8s.io/kubelet v1.28.7-k3s1 +# k8s.io/kubernetes => github.com/k3s-io/kubernetes v1.28.7-k3s1 +# k8s.io/legacy-cloud-providers => github.com/k3s-io/kubernetes/staging/src/k8s.io/legacy-cloud-providers v1.28.7-k3s1 +# k8s.io/metrics => github.com/k3s-io/kubernetes/staging/src/k8s.io/metrics v1.28.7-k3s1 +# k8s.io/mount-utils => github.com/k3s-io/kubernetes/staging/src/k8s.io/mount-utils v1.28.7-k3s1 +# k8s.io/node-api => github.com/k3s-io/kubernetes/staging/src/k8s.io/node-api v1.28.7-k3s1 +# k8s.io/pod-security-admission => github.com/k3s-io/kubernetes/staging/src/k8s.io/pod-security-admission v1.28.7-k3s1 +# k8s.io/sample-apiserver => github.com/k3s-io/kubernetes/staging/src/k8s.io/sample-apiserver v1.28.7-k3s1 +# k8s.io/sample-cli-plugin => github.com/k3s-io/kubernetes/staging/src/k8s.io/sample-cli-plugin v1.28.7-k3s1 +# k8s.io/sample-controller => github.com/k3s-io/kubernetes/staging/src/k8s.io/sample-controller v1.28.7-k3s1 +# mvdan.cc/unparam => mvdan.cc/unparam v0.0.0-20210104141923-aac4ce9116a7 diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb new file mode 100644 index 00000000..b88b8349 --- /dev/null +++ b/recipes-containers/k3s/k3s_git.bb @@ -0,0 +1,151 @@ +SUMMARY = "Production-Grade Container Scheduling and Management" +DESCRIPTION = "Lightweight Kubernetes, intended to be a fully compliant Kubernetes." +HOMEPAGE = "https://k3s.io/" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://${S}/src/import/LICENSE;md5=2ee41112a44fe7014dce33e26468ba93" + +SRC_URI = "git://github.com/rancher/k3s.git;branch=release-1.28;name=k3s;protocol=https \ + file://k3s.service \ + file://k3s-agent.service \ + file://k3s-agent \ + file://k3s-clean \ + file://cni-containerd-net.conf \ + file://0001-Finding-host-local-in-usr-libexec.patch;patchdir=src/import \ + file://k3s-killall.sh \ + file://modules.txt \ + " + +SRC_URI[k3s.md5sum] = "363d3a08dc0b72ba6e6577964f6e94a5" +SRCREV_k3s = "051b14b248655896fdfd7ba6c93db6182cde7431" + +SRCREV_FORMAT = "k3s_fuse" +PV = "v1.28.7+k3s1+git${SRCREV_k3s}" + +include src_uri.inc + +CNI_NETWORKING_FILES ?= "${WORKDIR}/cni-containerd-net.conf" + +inherit go +inherit goarch +inherit systemd +inherit cni_networking + +COMPATIBLE_HOST = "^(?!mips).*" + +PACKAGECONFIG = "" +PACKAGECONFIG[upx] = ",,upx-native" +GO_IMPORT = "import" +GO_BUILD_LDFLAGS = "-X github.com/k3s-io/k3s/pkg/version.Version=${PV} \ + -X github.com/k3s-io/k3s/pkg/version.GitCommit=${@d.getVar('SRCREV_k3s', d, 1)[:8]} \ + -w -s \ + " +BIN_PREFIX ?= "${exec_prefix}/local" + +inherit features_check +REQUIRED_DISTRO_FEATURES ?= "seccomp" + +DEPENDS += "rsync-native" + +include relocation.inc + +do_compile() { + export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" + export CGO_ENABLED="1" + export GOFLAGS="-mod=vendor" + + # TAGS="static_build ctrd no_btrfs netcgo osusergo providerless" + TAGS="static_build netcgo osusergo providerless" + + cd ${S}/src/import + + if ! [ -e vendor/.noclobber ]; then + ln -sf vendor.copy vendor + else + echo "[INFO]: no clobber on vendor" + fi + + # these are bad symlinks, go validates them and breaks the build if they are present + rm -f vendor/go.etcd.io/etcd/client/v*/example_* + rm -f vendor/go.etcd.io/etcd/client/v*/concurrency/example_*.go + + # Note: if no_brtfs is used in the tags, we'll violate build + # constraints, and the following files need to have them + # removed for the build to continue: + # + # vendor/github.com/containerd/containerd/snapshots/btrfs/plugin/*.go + + cp ${WORKDIR}/modules.txt vendor/ + + VERSION_GOLANG="$(go version | cut -d" " -f3)" + ${GO} build -trimpath -tags "$TAGS" -ldflags "-X github.com/k3s-io/k3s/pkg/version.UpstreamGolang=$VERSION_GOLANG ${GO_BUILD_LDFLAGS} -w -s" -o ./dist/artifacts/k3s ./cmd/server/main.go + + # Use UPX if it is enabled (and thus exists) to compress binary + if command -v upx > /dev/null 2>&1; then + upx -9 ./dist/artifacts/k3s + fi +} + +do_install() { + install -d "${D}${BIN_PREFIX}/bin" + install -m 755 "${S}/src/import/dist/artifacts/k3s" "${D}${BIN_PREFIX}/bin" + ln -sr "${D}/${BIN_PREFIX}/bin/k3s" "${D}${BIN_PREFIX}/bin/crictl" + # We want to use the containerd provided ctr + # ln -sr "${D}/${BIN_PREFIX}/bin/k3s" "${D}${BIN_PREFIX}/bin/ctr" + ln -sr "${D}/${BIN_PREFIX}/bin/k3s" "${D}${BIN_PREFIX}/bin/kubectl" + install -m 755 "${WORKDIR}/k3s-clean" "${D}${BIN_PREFIX}/bin" + install -m 755 "${WORKDIR}/k3s-killall.sh" "${D}${BIN_PREFIX}/bin" + + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then + install -D -m 0644 "${WORKDIR}/k3s.service" "${D}${systemd_system_unitdir}/k3s.service" + install -D -m 0644 "${WORKDIR}/k3s-agent.service" "${D}${systemd_system_unitdir}/k3s-agent.service" + sed -i "s#\(Exec\)\(.*\)=\(.*\)\(k3s\)#\1\2=${BIN_PREFIX}/bin/\4#g" "${D}${systemd_system_unitdir}/k3s.service" "${D}${systemd_system_unitdir}/k3s-agent.service" + install -m 755 "${WORKDIR}/k3s-agent" "${D}${BIN_PREFIX}/bin" + fi + + mkdir -p ${D}${datadir}/k3s/ + install -m 0755 ${S}/src/import/contrib/util/check-config.sh ${D}${datadir}/k3s/ +} + +PACKAGES =+ "${PN}-server ${PN}-agent" + +SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${PN}-server ${PN}-agent','',d)}" +SYSTEMD_SERVICE:${PN}-server = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s.service','',d)}" +SYSTEMD_SERVICE:${PN}-agent = "${@bb.utils.contains('DISTRO_FEATURES','systemd','k3s-agent.service','',d)}" +SYSTEMD_AUTO_ENABLE:${PN}-agent = "disable" + +FILES:${PN}-agent = "${BIN_PREFIX}/bin/k3s-agent" +FILES:${PN} += "${BIN_PREFIX}/bin/*" + +RDEPENDS:${PN} = "k3s-cni conntrack-tools coreutils findutils iptables iproute2 ipset virtual-containerd" +RDEPENDS:${PN}-server = "${PN}" +RDEPENDS:${PN}-agent = "${PN}" + +RRECOMMENDS:${PN} = "\ + kernel-module-xt-addrtype \ + kernel-module-xt-nat \ + kernel-module-xt-multiport \ + kernel-module-xt-conntrack \ + kernel-module-xt-comment \ + kernel-module-xt-mark \ + kernel-module-xt-connmark \ + kernel-module-vxlan \ + kernel-module-xt-masquerade \ + kernel-module-xt-statistic \ + kernel-module-xt-physdev \ + kernel-module-xt-nflog \ + kernel-module-xt-limit \ + kernel-module-nfnetlink-log \ + kernel-module-ip-vs \ + kernel-module-ip-vs-rr \ + kernel-module-ip-vs-sh \ + kernel-module-ip-vs-wrr \ + " + +RCONFLICTS:${PN} = "kubectl" + +PACKAGES =+ "${PN}-contrib" +FILES:${PN}-contrib += "${datadir}/k3s/check-config.sh" +RDEPENDS:${PN}-contrib += "bash" + +INHIBIT_PACKAGE_STRIP = "1" +INSANE_SKIP:${PN} += "ldflags already-stripped textrel" diff --git a/recipes-containers/k3s/relocation.inc b/recipes-containers/k3s/relocation.inc new file mode 100644 index 00000000..024f2605 --- /dev/null +++ b/recipes-containers/k3s/relocation.inc @@ -0,0 +1,447 @@ +export sites="k8s.io/utils:k8s.io/utils:force \ + k8s.io/gengo:k8s.io/gengo:force \ + go.uber.org/fx:go.uber.org/fx:force \ + go.uber.org/zap:go.uber.org/zap:force \ + go.uber.org/dig:go.uber.org/dig:force \ + go.starlark.net:go.starlark.net:force \ + gopkg.in/inf.v0:gopkg.in/inf.v0:force \ + gopkg.in/ini.v1:gopkg.in/ini.v1:force \ + golang.org/x/net:golang.org/x/net:force \ + golang.org/x/sys:golang.org/x/sys:force \ + gopkg.in/yaml.v2:gopkg.in/yaml.v2:force \ + inet.af/tcpproxy:inet.af/tcpproxy:force \ + sigs.k8s.io/yaml:sigs.k8s.io/yaml:force \ + go.etcd.io/bbolt:go.etcd.io/bbolt:force \ + go.opencensus.io:go.opencensus.io:force \ + golang.org/x/exp:golang.org/x/exp:force \ + golang.org/x/mod:golang.org/x/mod:force \ + gopkg.in/gcfg.v1:gopkg.in/gcfg.v1:force \ + gopkg.in/yaml.v3:gopkg.in/yaml.v3:force \ + sigs.k8s.io/json:sigs.k8s.io/json:force \ + github.com/lib/pq:github.com/lib/pq:force \ + golang.org/x/sync:golang.org/x/sync:force \ + golang.org/x/arch:golang.org/x/arch:force \ + github.com/rs/xid:github.com/rs/xid:force \ + golang.org/x/term:golang.org/x/term:force \ + golang.org/x/text:golang.org/x/text:force \ + golang.org/x/time:golang.org/x/time:force \ + gonum.org/v1/gonum:gonum.org/v1/gonum:force \ + golang.org/x/tools:golang.org/x/tools:force \ + golang.org/x/crypto:golang.org/x/crypto:force \ + golang.org/x/oauth2:golang.org/x/oauth2:force \ + k8s.io/kube-openapi:k8s.io/kube-openapi:force \ + k8s.io/klog/v2:github.com/k3s-io/klog/v2:force \ + github.com/ipfs/boxo:github.com/ipfs/boxo:force \ + github.com/miekg/dns:github.com/miekg/dns:force \ + github.com/moby/ipvs:github.com/moby/ipvs:force \ + github.com/moby/term:github.com/moby/term:force \ + go.mozilla.org/pkcs7:go.mozilla.org/pkcs7:force \ + go.uber.org/multierr:go.uber.org/multierr:force \ + gopkg.in/warnings.v0:gopkg.in/warnings.v0:force \ + github.com/pkg/errors:github.com/pkg/errors:force \ + github.com/urfave/cli:github.com/urfave/cli:force \ + github.com/docker/cli:github.com/docker/cli:force \ + github.com/gofrs/uuid:github.com/gofrs/uuid:force \ + google.golang.org/api:google.golang.org/api:force \ + github.com/golang/mock:github.com/golang/mock:force \ + github.com/google/uuid:github.com/google/uuid:force \ + github.com/gorilla/mux:github.com/gorilla/mux:force \ + github.com/k3s-io/kine:github.com/k3s-io/kine:force \ + github.com/onsi/gomega:github.com/onsi/gomega:force \ + github.com/spf13/pflag:github.com/spf13/pflag:force \ + google.golang.org/grpc:google.golang.org/grpc:force \ + github.com/flynn/noise:github.com/flynn/noise:force \ + github.com/huin/goupnp:github.com/huin/goupnp:force \ + github.com/ipfs/go-cid:github.com/ipfs/go-cid:force \ + github.com/ipfs/go-log:github.com/ipfs/go-log:force \ + github.com/spf13/afero:github.com/spf13/afero:force \ + github.com/cilium/ebpf:github.com/cilium/ebpf:force \ + github.com/ghodss/yaml:github.com/ghodss/yaml:force \ + github.com/gofrs/flock:github.com/gofrs/flock:force \ + github.com/moby/locker:github.com/moby/locker:force \ + github.com/pierrec/lz4:github.com/pierrec/lz4:force \ + github.com/spf13/cobra:github.com/spf13/cobra:force \ + k8s.io/kubernetes:github.com/k3s-io/kubernetes:force \ + github.com/go-logr/logr:github.com/go-logr/logr:force \ + github.com/go-logr/stdr:github.com/go-logr/stdr:force \ + github.com/go-test/deep:github.com/go-test/deep:force \ + github.com/otiai10/copy:github.com/otiai10/copy:force \ + lukechampine.com/blake3:lukechampine.com/blake3:force \ + github.com/Rican7/retry:github.com/Rican7/retry:force \ + github.com/beorn7/perks:github.com/beorn7/perks:force \ + github.com/blang/semver:github.com/blang/semver:force \ + github.com/google/btree:github.com/google/btree:force \ + github.com/google/pprof:github.com/google/pprof:force \ + github.com/google/shlex:github.com/google/shlex:force \ + github.com/jackc/pgx/v5:github.com/jackc/pgx/v5:force \ + github.com/miekg/pkcs11:github.com/miekg/pkcs11:force \ + github.com/morikuni/aec:github.com/morikuni/aec:force \ + github.com/nats-io/nuid:github.com/nats-io/nuid:force \ + github.com/docker/docker:github.com/docker/docker:force \ + github.com/rancher/lasso:github.com/rancher/lasso:force \ + github.com/gin-gonic/gin:github.com/gin-gonic/gin:force \ + github.com/goccy/go-json:github.com/goccy/go-json:force \ + github.com/golang/snappy:github.com/golang/snappy:force \ + github.com/koron/go-ssdp:github.com/koron/go-ssdp:force \ + github.com/libp2p/go-nat:github.com/libp2p/go-nat:force \ + github.com/mikioh/tcpopt:github.com/mikioh/tcpopt:force \ + github.com/pbnjay/memory:github.com/pbnjay/memory:force \ + github.com/quic-go/qpack:github.com/quic-go/qpack:force \ + github.com/armon/circbuf:github.com/armon/circbuf:force \ + github.com/gogo/protobuf:github.com/gogo/protobuf:force \ + github.com/google/cel-go:github.com/google/cel-go:force \ + github.com/google/go-cmp:github.com/google/go-cmp:force \ + github.com/google/gofuzz:github.com/google/gofuzz:force \ + github.com/google/s2a-go:github.com/google/s2a-go:force \ + github.com/imdario/mergo:github.com/imdario/mergo:force \ + github.com/nats-io/nkeys:github.com/nats-io/nkeys:force \ + github.com/soheilhy/cmux:github.com/soheilhy/cmux:force \ + github.com/tidwall/btree:github.com/tidwall/btree:force \ + github.com/urfave/cli/v2:github.com/urfave/cli/v2:force \ + go.opentelemetry.io/otel:go.opentelemetry.io/otel:force \ + github.com/xenitab/spegel:github.com/k3s-io/spegel:force \ + github.com/containerd/zfs:github.com/containerd/zfs:force \ + github.com/ipfs/go-log/v2:github.com/ipfs/go-log/v2:force \ + github.com/onsi/ginkgo/v2:github.com/onsi/ginkgo/v2:force \ + github.com/robfig/cron/v3:github.com/robfig/cron/v3:force \ + github.com/leodido/go-urn:github.com/leodido/go-urn:force \ + github.com/mikioh/tcpinfo:github.com/mikioh/tcpinfo:force \ + github.com/mr-tron/base58:github.com/mr-tron/base58:force \ + github.com/polydawn/refmt:github.com/polydawn/refmt:force \ + github.com/containerd/log:github.com/containerd/log:force \ + github.com/containerd/nri:github.com/containerd/nri:force \ + github.com/coreos/go-oidc:github.com/coreos/go-oidc:force \ + github.com/godbus/dbus/v5:github.com/godbus/dbus/v5:force \ + github.com/minio/md5-simd:github.com/minio/md5-simd:force \ + github.com/mohae/deepcopy:github.com/mohae/deepcopy:force \ + github.com/nats-io/jsm.go:github.com/nats-io/jsm.go:force \ + github.com/nats-io/jwt/v2:github.com/nats-io/jwt/v2:force \ + github.com/rubiojr/go-vhd:github.com/rubiojr/go-vhd:force \ + github.com/vmware/govmomi:github.com/vmware/govmomi:force \ + github.com/xlab/treeprint:github.com/xlab/treeprint:force \ + github.com/xrash/smetrics:github.com/xrash/smetrics:force \ + github.com/blang/semver/v4:github.com/blang/semver/v4:force \ + github.com/containerd/aufs:github.com/containerd/aufs:force \ + github.com/google/cadvisor:github.com/google/cadvisor:force \ + github.com/opencontainers/runc:github.com/k3s-io/runc:force \ + github.com/rancher/wharfie:github.com/rancher/wharfie:force \ + github.com/sirupsen/logrus:github.com/sirupsen/logrus:force \ + github.com/bytedance/sonic:github.com/bytedance/sonic:force \ + github.com/elastic/gosigar:github.com/elastic/gosigar:force \ + github.com/gin-contrib/sse:github.com/gin-contrib/sse:force \ + github.com/google/gopacket:github.com/google/gopacket:force \ + github.com/libp2p/go-msgio:github.com/libp2p/go-msgio:force \ + github.com/mattn/go-isatty:github.com/mattn/go-isatty:force \ + github.com/quic-go/quic-go:github.com/quic-go/quic-go:force \ + github.com/containerd/fifo:github.com/containerd/fifo:force \ + github.com/davecgh/go-spew:github.com/davecgh/go-spew:force \ + github.com/docker/go-units:github.com/docker/go-units:force \ + github.com/fatih/camelcase:github.com/fatih/camelcase:force \ + github.com/go-openapi/swag:github.com/go-openapi/swag:force \ + github.com/golang/protobuf:github.com/golang/protobuf:force \ + github.com/intel/goresctrl:github.com/intel/goresctrl:force \ + github.com/jackc/pgerrcode:github.com/jackc/pgerrcode:force \ + github.com/mailru/easyjson:github.com/mailru/easyjson:force \ + github.com/mdlayher/socket:github.com/mdlayher/socket:force \ + github.com/moby/spdystream:github.com/moby/spdystream:force \ + github.com/mxk/go-flowrate:github.com/mxk/go-flowrate:force \ + github.com/nats-io/nats.go:github.com/nats-io/nats.go:force \ + github.com/xiang90/probing:github.com/xiang90/probing:force \ + golang.zx2c4.com/wireguard:golang.zx2c4.com/wireguard:force \ + google.golang.org/genproto:google.golang.org/genproto:force \ + google.golang.org/protobuf:google.golang.org/protobuf:force \ + gopkg.in/square/go-jose.v2:gopkg.in/square/go-jose.v2:force \ + github.com/json-iterator/go:github.com/json-iterator/go:force \ + github.com/libp2p/go-libp2p:github.com/libp2p/go-libp2p:force \ + github.com/mattn/go-sqlite3:github.com/mattn/go-sqlite3:force \ + github.com/rancher/wrangler:github.com/rancher/wrangler:force \ + github.com/stretchr/testify:github.com/stretchr/testify:force \ + github.com/jbenet/goprocess:github.com/jbenet/goprocess:force \ + github.com/syndtr/goleveldb:github.com/syndtr/goleveldb:force \ + github.com/containerd/ttrpc:github.com/containerd/ttrpc:force \ + github.com/coreos/go-semver:github.com/coreos/go-semver:force \ + github.com/docker/go-events:github.com/docker/go-events:force \ + github.com/go-errors/errors:github.com/go-errors/errors:force \ + github.com/jackc/pgpassfile:github.com/jackc/pgpassfile:force \ + github.com/josharian/intern:github.com/josharian/intern:force \ + github.com/josharian/native:github.com/josharian/native:force \ + github.com/lithammer/dedent:github.com/lithammer/dedent:force \ + github.com/mdlayher/netlink:github.com/mdlayher/netlink:force \ + github.com/mistifyio/go-zfs:github.com/mistifyio/go-zfs:force \ + github.com/vbatts/tar-split:github.com/vbatts/tar-split:force \ + google.golang.org/appengine:google.golang.org/appengine:force \ + sigs.k8s.io/kustomize/api:sigs.k8s.io/kustomize/api/api:force \ + go.etcd.io/etcd/api/v3:github.com/k3s-io/etcd/api/v3/api:force \ + go.etcd.io/etcd/pkg/v3:github.com/k3s-io/etcd/pkg/v3/pkg:force \ + github.com/Microsoft/hcsshim:github.com/Microsoft/hcsshim:force \ + github.com/coreos/go-systemd:github.com/coreos/go-systemd:force \ + github.com/gorilla/websocket:github.com/gorilla/websocket:force \ + github.com/minio/minio-go/v7:github.com/minio/minio-go/v7:force \ + github.com/yl2chen/cidranger:github.com/yl2chen/cidranger:force \ + github.com/benbjohnson/clock:github.com/benbjohnson/clock:force \ + github.com/francoispqt/gojay:github.com/francoispqt/gojay:force \ + github.com/ipfs/go-datastore:github.com/ipfs/go-datastore:force \ + github.com/raulk/go-watchdog:github.com/raulk/go-watchdog:force \ + github.com/spaolacci/murmur3:github.com/spaolacci/murmur3:force \ + github.com/xenitab/pkg/gin:github.com/xenitab/pkg/gin/gin:force \ + github.com/Azure/go-ansiterm:github.com/Azure/go-ansiterm:force \ + github.com/Azure/go-autorest:github.com/Azure/go-autorest:force \ + github.com/avast/retry-go/v4:github.com/avast/retry-go/v4:force \ + github.com/cespare/xxhash/v2:github.com/cespare/xxhash/v2:force \ + github.com/containerd/go-cni:github.com/containerd/go-cni:force \ + github.com/docker/go-metrics:github.com/docker/go-metrics:force \ + github.com/felixge/httpsnoop:github.com/felixge/httpsnoop:force \ + github.com/fsnotify/fsnotify:github.com/fsnotify/fsnotify:force \ + github.com/golang-jwt/jwt/v4:github.com/golang-jwt/jwt/v4:force \ + github.com/golang/groupcache:github.com/golang/groupcache:force \ + github.com/hanwen/go-fuse/v2:github.com/hanwen/go-fuse/v2:force \ + github.com/hashicorp/errwrap:github.com/hashicorp/errwrap:force \ + github.com/karrick/godirwalk:github.com/karrick/godirwalk:force \ + github.com/liggitt/tabwriter:github.com/liggitt/tabwriter:force \ + github.com/minio/highwayhash:github.com/minio/highwayhash:force \ + github.com/minio/sha256-simd:github.com/minio/sha256-simd:force \ + github.com/mrunalp/fileutils:github.com/mrunalp/fileutils:force \ + github.com/munnerz/goautoneg:github.com/munnerz/goautoneg:force \ + github.com/pelletier/go-toml:github.com/pelletier/go-toml:force \ + github.com/prometheus/common:github.com/prometheus/common:force \ + github.com/prometheus/procfs:github.com/prometheus/procfs:force \ + github.com/vishvananda/netns:github.com/vishvananda/netns:force \ + github.com/coreos/go-iptables:github.com/coreos/go-iptables:force \ + github.com/flannel-io/flannel:github.com/flannel-io/flannel:force \ + github.com/ipfs/go-ds-leveldb:github.com/ipfs/go-ds-leveldb:force \ + github.com/klauspost/compress:github.com/klauspost/compress:force \ + github.com/chenzhuoyu/base64x:github.com/chenzhuoyu/base64x:force \ + github.com/ipld/go-ipld-prime:github.com/ipld/go-ipld-prime:force \ + github.com/jackpal/go-nat-pmp:github.com/jackpal/go-nat-pmp:force \ + github.com/libp2p/go-netroute:github.com/libp2p/go-netroute:force \ + github.com/libp2p/go-yamux/v4:github.com/libp2p/go-yamux/v4:force \ + github.com/marten-seemann/tcp:github.com/marten-seemann/tcp:force \ + github.com/ugorji/go/codec:github.com/ugorji/go/codec/codec:force \ + github.com/JeffAshton/win_pdh:github.com/JeffAshton/win_pdh:force \ + github.com/Microsoft/go-winio:github.com/Microsoft/go-winio:force \ + github.com/containerd/cgroups:github.com/containerd/cgroups:force \ + github.com/containerd/console:github.com/containerd/console:force \ + github.com/containerd/go-runc:github.com/containerd/go-runc:force \ + github.com/containerd/typeurl:github.com/containerd/typeurl:force \ + github.com/dustin/go-humanize:github.com/dustin/go-humanize:force \ + github.com/evanphx/json-patch:github.com/evanphx/json-patch:force \ + github.com/fvbommel/sortorder:github.com/fvbommel/sortorder:force \ + github.com/go-task/slim-sprig:github.com/go-task/slim-sprig:force \ + github.com/klauspost/cpuid/v2:github.com/klauspost/cpuid/v2:force \ + github.com/kylelemons/godebug:github.com/kylelemons/godebug:force \ + github.com/mdlayher/genetlink:github.com/mdlayher/genetlink:force \ + github.com/modern-go/reflect2:github.com/modern-go/reflect2:force \ + github.com/peterbourgon/diskv:github.com/peterbourgon/diskv:force \ + github.com/pmezard/go-difflib:github.com/pmezard/go-difflib:force \ + github.com/shengdoushi/base58:github.com/shengdoushi/base58:force \ + github.com/stoewer/go-strcase:github.com/stoewer/go-strcase:force \ + go.etcd.io/etcd/raft/v3:github.com/k3s-io/etcd/raft/v3/raft:force \ + github.com/moby/sys/signal:github.com/moby/sys/signal/signal:force \ + github.com/Mirantis/cri-dockerd:github.com/k3s-io/cri-dockerd:force \ + github.com/containerd/containerd:github.com/k3s-io/containerd:force \ + github.com/erikdubbelboer/gspt:github.com/erikdubbelboer/gspt:force \ + github.com/go-sql-driver/mysql:github.com/go-sql-driver/mysql:force \ + github.com/vishvananda/netlink:github.com/vishvananda/netlink:force \ + github.com/libp2p/go-cidranger:github.com/libp2p/go-cidranger:force \ + github.com/libp2p/go-reuseport:github.com/libp2p/go-reuseport:force \ + github.com/quic-go/qtls-go1-20:github.com/quic-go/qtls-go1-20:force \ + github.com/MakeNowJust/heredoc:github.com/MakeNowJust/heredoc:force \ + github.com/NYTimes/gziphandler:github.com/NYTimes/gziphandler:force \ + github.com/canonical/go-dqlite:github.com/canonical/go-dqlite:force \ + github.com/cenkalti/backoff/v4:github.com/cenkalti/backoff/v4:force \ + github.com/chai2010/gettext-go:github.com/chai2010/gettext-go:force \ + github.com/containerd/btrfs/v2:github.com/containerd/btrfs/v2:force \ + github.com/containerd/imgcrypt:github.com/containerd/imgcrypt:force \ + github.com/containers/ocicrypt:github.com/containers/ocicrypt:force \ + github.com/docker/distribution:github.com/docker/distribution:force \ + github.com/emicklei/go-restful:github.com/emicklei/go-restful:force \ + github.com/gregjones/httpcache:github.com/gregjones/httpcache:force \ + github.com/jackc/pgservicefile:github.com/jackc/pgservicefile:force \ + github.com/jonboulle/clockwork:github.com/jonboulle/clockwork:force \ + github.com/mistifyio/go-zfs/v3:github.com/mistifyio/go-zfs/v3:force \ + github.com/syndtr/gocapability:github.com/syndtr/gocapability:force \ + go.opentelemetry.io/otel/sdk:go.opentelemetry.io/otel/sdk/sdk:force \ + sigs.k8s.io/kustomize/kyaml:sigs.k8s.io/kustomize/kyaml/kyaml:force \ + github.com/natefinch/lumberjack:github.com/natefinch/lumberjack:force \ + github.com/rancher/remotedialer:github.com/rancher/remotedialer:force \ + github.com/davidlazar/go-crypto:github.com/davidlazar/go-crypto:force \ + github.com/hashicorp/golang-lru:github.com/hashicorp/golang-lru:force \ + github.com/pelletier/go-toml/v2:github.com/pelletier/go-toml/v2:force \ + github.com/slok/go-http-metrics:github.com/slok/go-http-metrics:force \ + cloud.google.com/go/compute:cloud.google.com/go/compute/compute:force \ + github.com/euank/go-kmsg-parser:github.com/euank/go-kmsg-parser:force \ + github.com/exponent-io/jsonpath:github.com/exponent-io/jsonpath:force \ + github.com/googleapis/gax-go/v2:github.com/googleapis/gax-go/v2:force \ + github.com/hashicorp/go-version:github.com/hashicorp/go-version:force \ + github.com/mitchellh/go-homedir:github.com/mitchellh/go-homedir:force \ + github.com/moby/sys/symlink:github.com/moby/sys/symlink/symlink:force \ + github.com/modern-go/concurrent:github.com/modern-go/concurrent:force \ + github.com/pquerna/cachecontrol:github.com/pquerna/cachecontrol:force \ + github.com/tchap/go-patricia/v2:github.com/tchap/go-patricia/v2:force \ + github.com/kubernetes-sigs/cri-tools:github.com/k3s-io/cri-tools:force \ + github.com/containerd/cgroups/v3:github.com/containerd/cgroups/v3:force \ + github.com/go-bindata/go-bindata:github.com/go-bindata/go-bindata:force \ + go.etcd.io/etcd/server/v3:github.com/k3s-io/etcd/server/v3/server:force \ + github.com/go-playground/locales:github.com/go-playground/locales:force \ + github.com/libp2p/go-buffer-pool:github.com/libp2p/go-buffer-pool:force \ + github.com/containerd/continuity:github.com/containerd/continuity:force \ + github.com/containerd/typeurl/v2:github.com/containerd/typeurl/v2:force \ + github.com/coreos/go-systemd/v22:github.com/coreos/go-systemd/v22:force \ + github.com/cpuguy83/go-md2man/v2:github.com/cpuguy83/go-md2man/v2:force \ + github.com/docker/go-connections:github.com/docker/go-connections:force \ + github.com/google/gnostic-models:github.com/google/gnostic-models:force \ + github.com/mitchellh/go-wordwrap:github.com/mitchellh/go-wordwrap:force \ + gopkg.in/natefinch/lumberjack.v2:gopkg.in/natefinch/lumberjack.v2:force \ + go.opentelemetry.io/proto/otlp:go.opentelemetry.io/proto/otlp/otlp:force \ + github.com/k3s-io/helm-controller:github.com/k3s-io/helm-controller:force \ + github.com/mwitkow/go-http-dialer:github.com/mwitkow/go-http-dialer:force \ + github.com/opencontainers/selinux:github.com/opencontainers/selinux:force \ + github.com/libp2p/go-flow-metrics:github.com/libp2p/go-flow-metrics:force \ + github.com/multiformats/go-base32:github.com/multiformats/go-base32:force \ + github.com/multiformats/go-base36:github.com/multiformats/go-base36:force \ + github.com/multiformats/go-varint:github.com/multiformats/go-varint:force \ + github.com/Azure/azure-sdk-for-go:github.com/Azure/azure-sdk-for-go:force \ + github.com/asaskevich/govalidator:github.com/asaskevich/govalidator:force \ + github.com/emicklei/go-restful/v3:github.com/emicklei/go-restful/v3:force \ + github.com/go-openapi/jsonpointer:github.com/go-openapi/jsonpointer:force \ + github.com/hashicorp/go-cleanhttp:github.com/hashicorp/go-cleanhttp:force \ + github.com/nats-io/nats-server/v2:github.com/nats-io/nats-server/v2:force \ + go.opentelemetry.io/otel/trace:go.opentelemetry.io/otel/trace/trace:force \ + golang.zx2c4.com/wireguard/wgctrl:golang.zx2c4.com/wireguard/wgctrl:force \ + go.etcd.io/etcd/client/v3:github.com/k3s-io/etcd/client/v3/client/v3:force \ + go.etcd.io/etcd/etcdutl/v3:github.com/k3s-io/etcd/etcdutl/v3/etcdutl:force \ + go.etcd.io/etcd/client/v2:github.com/k3s-io/etcd/client/v2/client/v2:force \ + github.com/rancher/dynamiclistener:github.com/rancher/dynamiclistener:force \ + github.com/gabriel-vasile/mimetype:github.com/gabriel-vasile/mimetype:force \ + github.com/hashicorp/golang-lru/v2:github.com/hashicorp/golang-lru/v2:force \ + github.com/libp2p/go-libp2p-record:github.com/libp2p/go-libp2p-record:force \ + github.com/quic-go/webtransport-go:github.com/quic-go/webtransport-go:force \ + github.com/containernetworking/cni:github.com/containernetworking/cni:force \ + github.com/hashicorp/go-multierror:github.com/hashicorp/go-multierror:force \ + github.com/moby/sys/mountinfo:github.com/moby/sys/mountinfo/mountinfo:force \ + github.com/prometheus/client_model:github.com/prometheus/client_model:force \ + github.com/russross/blackfriday/v2:github.com/russross/blackfriday/v2:force \ + sigs.k8s.io/kustomize/kustomize/v5:sigs.k8s.io/kustomize/kustomize/v5/kustomize:force \ + go.opentelemetry.io/otel/metric:go.opentelemetry.io/otel/metric/metric:force \ + github.com/libp2p/go-libp2p-kad-dht:github.com/libp2p/go-libp2p-kad-dht:force \ + github.com/libp2p/go-libp2p-kbucket:github.com/libp2p/go-libp2p-kbucket:force \ + github.com/daviddengcn/go-colortext:github.com/daviddengcn/go-colortext:force \ + github.com/go-openapi/jsonreference:github.com/go-openapi/jsonreference:force \ + github.com/opencontainers/go-digest:github.com/opencontainers/go-digest:force \ + github.com/prometheus/client_golang:github.com/prometheus/client_golang:force \ + github.com/tmc/grpc-websocket-proxy:github.com/tmc/grpc-websocket-proxy:force \ + github.com/xenitab/pkg/channels:github.com/xenitab/pkg/channels/channels:force \ + github.com/moby/sys/sequential:github.com/moby/sys/sequential/sequential:force \ + github.com/libp2p/go-libp2p-asn-util:github.com/libp2p/go-libp2p-asn-util:force \ + github.com/multiformats/go-multiaddr:github.com/multiformats/go-multiaddr:force \ + github.com/multiformats/go-multibase:github.com/multiformats/go-multibase:force \ + github.com/multiformats/go-multihash:github.com/multiformats/go-multihash:force \ + github.com/whyrusleeping/go-keyspace:github.com/whyrusleeping/go-keyspace:force \ + github.com/AdaLogics/go-fuzz-headers:github.com/AdaLogics/go-fuzz-headers:force \ + github.com/inconshreveable/mousetrap:github.com/inconshreveable/mousetrap:force \ + github.com/opencontainers/image-spec:github.com/opencontainers/image-spec:force \ + github.com/seccomp/libseccomp-golang:github.com/seccomp/libseccomp-golang:force \ + github.com/stefanberger/go-pkcs11uri:github.com/stefanberger/go-pkcs11uri:force \ + sigs.k8s.io/structured-merge-diff/v4:sigs.k8s.io/structured-merge-diff/v4:force \ + github.com/cloudnativelabs/kube-router/v2:github.com/k3s-io/kube-router/v2:force \ + github.com/jbenet/go-temp-err-catcher:github.com/jbenet/go-temp-err-catcher:force \ + github.com/multiformats/go-multicodec:github.com/multiformats/go-multicodec:force \ + github.com/opentracing/opentracing-go:github.com/opentracing/opentracing-go:force \ + github.com/twitchyliquid64/golang-asm:github.com/twitchyliquid64/golang-asm:force \ + github.com/cyphar/filepath-securejoin:github.com/cyphar/filepath-securejoin:force \ + github.com/hashicorp/go-retryablehttp:github.com/hashicorp/go-retryablehttp:force \ + github.com/libopenstorage/openstorage:github.com/libopenstorage/openstorage:force \ + go.etcd.io/etcd/client/pkg/v3:github.com/k3s-io/etcd/client/pkg/v3/client/pkg:force \ + github.com/go-playground/validator/v10:github.com/go-playground/validator/v10:force \ + github.com/multiformats/go-multistream:github.com/multiformats/go-multistream:force \ + github.com/AdamKorcz/go-118-fuzz-build:github.com/AdamKorcz/go-118-fuzz-build:force \ + github.com/bronze1man/goStrongswanVici:github.com/bronze1man/goStrongswanVici:force \ + github.com/containernetworking/plugins:github.com/containernetworking/plugins:force \ + github.com/google/go-containerregistry:github.com/google/go-containerregistry:force \ + github.com/grpc-ecosystem/grpc-gateway:github.com/grpc-ecosystem/grpc-gateway:force \ + github.com/monochromegane/go-gitignore:github.com/monochromegane/go-gitignore:force \ + github.com/opencontainers/runtime-spec:github.com/opencontainers/runtime-spec:force \ + github.com/Azure/go-autorest/logger:github.com/Azure/go-autorest/logger/logger:force \ + github.com/opencontainers/runtime-tools:github.com/opencontainers/runtime-tools:force \ + github.com/containerd/stargz-snapshotter:github.com/containerd/stargz-snapshotter:force \ + github.com/hashicorp/golang-lru/arc/v2:github.com/hashicorp/golang-lru/arc/v2/arc:force \ + github.com/multiformats/go-multiaddr-dns:github.com/multiformats/go-multiaddr-dns:force \ + github.com/multiformats/go-multiaddr-fmt:github.com/multiformats/go-multiaddr-fmt:force \ + github.com/Azure/go-autorest/tracing:github.com/Azure/go-autorest/tracing/tracing:force \ + github.com/checkpoint-restore/go-criu/v5:github.com/checkpoint-restore/go-criu/v5:force \ + github.com/grpc-ecosystem/grpc-gateway/v2:github.com/grpc-ecosystem/grpc-gateway/v2:force \ + github.com/Azure/go-autorest/autorest:github.com/Azure/go-autorest/autorest/autorest:force \ + github.com/rootless-containers/rootlesskit:github.com/rootless-containers/rootlesskit:force \ + k8s.io/api:github.com/k3s-io/kubernetes/staging/src/k8s.io/api/staging/src/k8s.io/api:force \ + k8s.io/kms:github.com/k3s-io/kubernetes/staging/src/k8s.io/kms/staging/src/k8s.io/kms:force \ + github.com/libp2p/go-libp2p-routing-helpers:github.com/libp2p/go-libp2p-routing-helpers:force \ + github.com/container-storage-interface/spec:github.com/container-storage-interface/spec:force \ + github.com/docker/docker-credential-helpers:github.com/docker/docker-credential-helpers:force \ + github.com/grpc-ecosystem/go-grpc-middleware:github.com/grpc-ecosystem/go-grpc-middleware:force \ + github.com/grpc-ecosystem/go-grpc-prometheus:github.com/grpc-ecosystem/go-grpc-prometheus:force \ + cloud.google.com/go/compute/metadata:cloud.google.com/go/compute/metadata/compute/metadata:force \ + github.com/go-playground/universal-translator:github.com/go-playground/universal-translator:force \ + github.com/Azure/go-autorest/autorest/to:github.com/Azure/go-autorest/autorest/to/autorest/to:force \ + github.com/containerd/fuse-overlayfs-snapshotter:github.com/containerd/fuse-overlayfs-snapshotter:force \ + k8s.io/cri-api:github.com/k3s-io/kubernetes/staging/src/k8s.io/cri-api/staging/src/k8s.io/cri-api:force \ + k8s.io/kubectl:github.com/k3s-io/kubernetes/staging/src/k8s.io/kubectl/staging/src/k8s.io/kubectl:force \ + k8s.io/kubelet:github.com/k3s-io/kubernetes/staging/src/k8s.io/kubelet/staging/src/k8s.io/kubelet:force \ + k8s.io/metrics:github.com/k3s-io/kubernetes/staging/src/k8s.io/metrics/staging/src/k8s.io/metrics:force \ + google.golang.org/genproto/googleapis/api:google.golang.org/genproto/googleapis/api/googleapis/api:force \ + google.golang.org/genproto/googleapis/rpc:google.golang.org/genproto/googleapis/rpc/googleapis/rpc:force \ + github.com/decred/dcrd/dcrec/secp256k1/v4:github.com/decred/dcrd/dcrec/secp256k1/v4/dcrec/secp256k1:force \ + github.com/Azure/go-autorest/autorest/adal:github.com/Azure/go-autorest/autorest/adal/autorest/adal:force \ + github.com/Azure/go-autorest/autorest/date:github.com/Azure/go-autorest/autorest/date/autorest/date:force \ + github.com/GoogleCloudPlatform/k8s-cloud-provider:github.com/GoogleCloudPlatform/k8s-cloud-provider:force \ + github.com/googleapis/enterprise-certificate-proxy:github.com/googleapis/enterprise-certificate-proxy:force \ + github.com/Azure/go-autorest/autorest/mocks:github.com/Azure/go-autorest/autorest/mocks/autorest/mocks:force \ + k8s.io/apiserver:github.com/k3s-io/kubernetes/staging/src/k8s.io/apiserver/staging/src/k8s.io/apiserver:force \ + k8s.io/client-go:github.com/k3s-io/kubernetes/staging/src/k8s.io/client-go/staging/src/k8s.io/client-go:force \ + github.com/matttproud/golang_protobuf_extensions/v2:github.com/matttproud/golang_protobuf_extensions/v2:force \ + github.com/containerd/stargz-snapshotter/estargz:github.com/containerd/stargz-snapshotter/estargz/estargz:force \ + k8s.io/kube-proxy:github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-proxy/staging/src/k8s.io/kube-proxy:force \ + github.com/antlr/antlr4/runtime/Go/antlr/v4:github.com/antlr/antlr4/runtime/Go/antlr/v4/runtime/Go/antlr/v4:force \ + k8s.io/cli-runtime:github.com/k3s-io/kubernetes/staging/src/k8s.io/cli-runtime/staging/src/k8s.io/cli-runtime:force \ + k8s.io/mount-utils:github.com/k3s-io/kubernetes/staging/src/k8s.io/mount-utils/staging/src/k8s.io/mount-utils:force \ + k8s.io/apimachinery:github.com/k3s-io/kubernetes/staging/src/k8s.io/apimachinery/staging/src/k8s.io/apimachinery:force \ + k8s.io/endpointslice:github.com/k3s-io/kubernetes/staging/src/k8s.io/endpointslice/staging/src/k8s.io/endpointslice:force \ + github.com/Azure/go-autorest/autorest/validation:github.com/Azure/go-autorest/autorest/validation/autorest/validation:force \ + k8s.io/cloud-provider:github.com/k3s-io/kubernetes/staging/src/k8s.io/cloud-provider/staging/src/k8s.io/cloud-provider:force \ + k8s.io/component-base:github.com/k3s-io/kubernetes/staging/src/k8s.io/component-base/staging/src/k8s.io/component-base:force \ + k8s.io/code-generator:github.com/k3s-io/kubernetes/staging/src/k8s.io/code-generator/staging/src/k8s.io/code-generator:force \ + k8s.io/kube-scheduler:github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-scheduler/staging/src/k8s.io/kube-scheduler:force \ + k8s.io/kube-aggregator:github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-aggregator/staging/src/k8s.io/kube-aggregator:force \ + go.opentelemetry.io/otel/exporters/otlp/otlptrace:go.opentelemetry.io/otel/exporters/otlp/otlptrace/exporters/otlp/otlptrace:force \ + k8s.io/cluster-bootstrap:github.com/k3s-io/kubernetes/staging/src/k8s.io/cluster-bootstrap/staging/src/k8s.io/cluster-bootstrap:force \ + k8s.io/component-helpers:github.com/k3s-io/kubernetes/staging/src/k8s.io/component-helpers/staging/src/k8s.io/component-helpers:force \ + k8s.io/controller-manager:github.com/k3s-io/kubernetes/staging/src/k8s.io/controller-manager/staging/src/k8s.io/controller-manager:force \ + sigs.k8s.io/apiserver-network-proxy/konnectivity-client:sigs.k8s.io/apiserver-network-proxy/konnectivity-client/konnectivity-client:force \ + k8s.io/csi-translation-lib:github.com/k3s-io/kubernetes/staging/src/k8s.io/csi-translation-lib/staging/src/k8s.io/csi-translation-lib:force \ + github.com/container-orchestrated-devices/container-device-interface:github.com/container-orchestrated-devices/container-device-interface:force \ + go.opentelemetry.io/otel/exporters/otlp/internal/retry:go.opentelemetry.io/otel/exporters/otlp/internal/retry/exporters/otlp/internal/retry:force \ + k8s.io/legacy-cloud-providers:github.com/k3s-io/kubernetes/staging/src/k8s.io/legacy-cloud-providers/staging/src/k8s.io/legacy-cloud-providers:force \ + k8s.io/pod-security-admission:github.com/k3s-io/kubernetes/staging/src/k8s.io/pod-security-admission/staging/src/k8s.io/pod-security-admission:force \ + k8s.io/apiextensions-apiserver:github.com/k3s-io/kubernetes/staging/src/k8s.io/apiextensions-apiserver/staging/src/k8s.io/apiextensions-apiserver:force \ + k8s.io/kube-controller-manager:github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-controller-manager/staging/src/k8s.io/kube-controller-manager:force \ + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp:go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/instrumentation/net/http/otelhttp:force \ + k8s.io/dynamic-resource-allocation:github.com/k3s-io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation/staging/src/k8s.io/dynamic-resource-allocation:force \ + go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc:go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc/exporters/otlp/otlptrace/otlptracegrpc:force \ + go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc:go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc/instrumentation/google.golang.org/grpc/otelgrpc:force \ + go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful:go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful/instrumentation/github.com/emicklei/go-restful/otelrestful:force" + +do_compile:prepend() { + cd ${S}/src/import + for s in $sites; do + site_dest=$(echo $s | cut -d: -f1) + site_source=$(echo $s | cut -d: -f2) + force_flag=$(echo $s | cut -d: -f3) + mkdir -p vendor.copy/$site_dest + if [ -n "$force_flag" ]; then + echo "[INFO] $site_dest: force copying .go files" + rm -rf vendor.copy/$site_dest + rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest + else + [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ] && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go files" ; rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest ; } + fi + done +} diff --git a/recipes-containers/k3s/src_uri.inc b/recipes-containers/k3s/src_uri.inc new file mode 100644 index 00000000..b90441e1 --- /dev/null +++ b/recipes-containers/k3s/src_uri.inc @@ -0,0 +1,2150 @@ +# k8s.io/utils v0.0.0-20230726121419-3b25d923346b +# [1] git ls-remote https://github.com/kubernetes/utils 3b25d923346b3814e0898684c97390092f31a61e +SRCREV_utils="3b25d923346b3814e0898684c97390092f31a61e" +SRC_URI += "git://github.com/kubernetes/utils;name=utils;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/utils" + +# k8s.io/gengo v0.0.0-20230829151522-9cce18d56c01 +# [1] git ls-remote https://github.com/kubernetes/gengo 9cce18d56c01fab1d8ed72411ad6ef7005fc33a4 +SRCREV_gengo="9cce18d56c01fab1d8ed72411ad6ef7005fc33a4" +SRC_URI += "git://github.com/kubernetes/gengo;name=gengo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/gengo" + +# go.uber.org/fx v1.20.0 +# [1] git ls-remote https://github.com/uber-go/fx 1320bc693745e5e7c08c29843de3d7915cac826c +SRCREV_fx="1320bc693745e5e7c08c29843de3d7915cac826c" +SRC_URI += "git://github.com/uber-go/fx;name=fx;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/fx" + +# go.uber.org/zap v1.26.0 +# [1] git ls-remote https://github.com/uber-go/zap 96038b71a7d96b8c14fedb3aeddcb3d0d7605b2d +SRCREV_zap="96038b71a7d96b8c14fedb3aeddcb3d0d7605b2d" +SRC_URI += "git://github.com/uber-go/zap;name=zap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/zap" + +# go.uber.org/dig v1.17.0 +# [1] git ls-remote https://github.com/uber-go/dig a8b6f0db4f27681ad7233eed1bda9d5c69881f5b +SRCREV_dig="a8b6f0db4f27681ad7233eed1bda9d5c69881f5b" +SRC_URI += "git://github.com/uber-go/dig;name=dig;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/dig" + +# go.starlark.net v0.0.0-20230525235612-a134d8f9ddca +# [1] git ls-remote https://github.com/google/starlark-go a134d8f9ddca7469c736775b67544671f0a135ad +SRCREV_go.starlark.net="a134d8f9ddca7469c736775b67544671f0a135ad" +SRC_URI += "git://github.com/google/starlark-go;name=go.starlark.net;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.starlark.net" + +# gopkg.in/inf.v0 v0.9.1 +# [1] git ls-remote https://github.com/go-inf/inf d2d2541c53f18d2a059457998ce2876cc8e67cbf +SRCREV_inf.v0="d2d2541c53f18d2a059457998ce2876cc8e67cbf" +SRC_URI += "git://github.com/go-inf/inf;name=inf.v0;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/inf.v0" + +# gopkg.in/ini.v1 v1.67.0 +# [1] git ls-remote https://github.com/go-ini/ini b2f570e5b5b844226bbefe6fb521d891f529a951 +SRCREV_ini.v1="b2f570e5b5b844226bbefe6fb521d891f529a951" +SRC_URI += "git://github.com/go-ini/ini;name=ini.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/ini.v1" + +# golang.org/x/net v0.17.0 +# [1] git ls-remote https://go.googlesource.com/net b225e7ca6dde1ef5a5ae5ce922861bda011cfabd +SRCREV_net="b225e7ca6dde1ef5a5ae5ce922861bda011cfabd" +SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/net" + +# golang.org/x/sys v0.13.0 +# [1] git ls-remote https://go.googlesource.com/sys 2964e1e4b1dbd55a8ac69a4c9e3004a8038515b6 +SRCREV_sys="2964e1e4b1dbd55a8ac69a4c9e3004a8038515b6" +SRC_URI += "git://go.googlesource.com/sys;name=sys;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sys" + +# gopkg.in/yaml.v2 v2.4.0 +# [1] git ls-remote https://github.com/go-yaml/yaml 7649d4548cb53a614db133b2a8ac1f31859dda8c +SRCREV_yaml.v2="7649d4548cb53a614db133b2a8ac1f31859dda8c" +SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v2" + +# inet.af/tcpproxy v0.0.0-20200125044825-b6bb9b5b8252 +# [1] git ls-remote https://github.com/inetaf/tcpproxy b6bb9b5b82524122bcf27291ede32d1517a14ab8 +SRCREV_tcpproxy="b6bb9b5b82524122bcf27291ede32d1517a14ab8" +SRC_URI += "git://github.com/inetaf/tcpproxy;name=tcpproxy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/inet.af/tcpproxy" + +# sigs.k8s.io/yaml v1.4.0 +# [1] git ls-remote https://github.com/kubernetes-sigs/yaml c3772b51db126345efe2dfe4ff8dac83b8141684 +SRCREV_yaml="c3772b51db126345efe2dfe4ff8dac83b8141684" +SRC_URI += "git://github.com/kubernetes-sigs/yaml;name=yaml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/yaml" + +# go.etcd.io/bbolt v1.3.8 +# [1] git ls-remote https://github.com/etcd-io/bbolt 42a914d8be1995a845e12dedbbbc77b7a450f9c7 +SRCREV_bbolt="42a914d8be1995a845e12dedbbbc77b7a450f9c7" +SRC_URI += "git://github.com/etcd-io/bbolt;name=bbolt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.etcd.io/bbolt" + +# go.opencensus.io v0.24.0 +# [1] git ls-remote https://github.com/census-instrumentation/opencensus-go b1a01ee95db0e690d91d7193d037447816fae4c5 +SRCREV_go.opencensus.io="b1a01ee95db0e690d91d7193d037447816fae4c5" +SRC_URI += "git://github.com/census-instrumentation/opencensus-go;name=go.opencensus.io;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opencensus.io" + +# golang.org/x/exp v0.0.0-20231006140011-7918f672742d +# [1] git ls-remote https://go.googlesource.com/exp 7918f672742dd40ff5cf8d3c316a9315410c2d3c +SRCREV_exp="7918f672742dd40ff5cf8d3c316a9315410c2d3c" +SRC_URI += "git://go.googlesource.com/exp;name=exp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/exp" + +# golang.org/x/mod v0.14.0 +# [1] git ls-remote https://go.googlesource.com/mod 6e58e47c7bd6672665dc35cce7b1f325d2addd67 +SRCREV_mod="6e58e47c7bd6672665dc35cce7b1f325d2addd67" +SRC_URI += "git://go.googlesource.com/mod;name=mod;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/mod" + +# gopkg.in/gcfg.v1 v1.2.3 +# [1] git ls-remote https://github.com/go-gcfg/gcfg 61b2c08bc8f6068f7c5ca684372f9a6cb1c45ebe +SRCREV_gcfg.v1="61b2c08bc8f6068f7c5ca684372f9a6cb1c45ebe" +SRC_URI += "git://github.com/go-gcfg/gcfg;name=gcfg.v1;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/gcfg.v1" + +# gopkg.in/yaml.v3 v3.0.1 +# [1] git ls-remote https://github.com/go-yaml/yaml f6f7691b1fdeb513f56608cd2c32c51f8194bf51 +SRCREV_yaml.v3="f6f7691b1fdeb513f56608cd2c32c51f8194bf51" +SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v3" + +# sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd +# [1] git ls-remote https://github.com/kubernetes-sigs/json bc3834ca7abd3a90f03ef00a27ad80cb892f9c21 +SRCREV_json="bc3834ca7abd3a90f03ef00a27ad80cb892f9c21" +SRC_URI += "git://github.com/kubernetes-sigs/json;name=json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/json" + +# github.com/lib/pq v1.10.2 +# [1] git ls-remote https://github.com/lib/pq 2da6713d67f03911a05b1b6559adc85927fe076e +SRCREV_pq="2da6713d67f03911a05b1b6559adc85927fe076e" +SRC_URI += "git://github.com/lib/pq;name=pq;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lib/pq" + +# golang.org/x/sync v0.6.0 +# [1] git ls-remote https://go.googlesource.com/sync 59c1ca1e4661ed4452be4069ceea3c233f4deec1 +SRCREV_sync="59c1ca1e4661ed4452be4069ceea3c233f4deec1" +SRC_URI += "git://go.googlesource.com/sync;name=sync;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sync" + +# golang.org/x/arch v0.3.0 +# [1] git ls-remote https://go.googlesource.com/arch 40c19ba4a7c5ffc92baaef5977ffc2b82dfb0e47 +SRCREV_arch="40c19ba4a7c5ffc92baaef5977ffc2b82dfb0e47" +SRC_URI += "git://go.googlesource.com/arch;name=arch;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/arch" + +# github.com/rs/xid v1.5.0 +# [1] git ls-remote https://github.com/rs/xid 47a0ac1e0b750ee1f43718be223bb07601c66a1f +SRCREV_xid="47a0ac1e0b750ee1f43718be223bb07601c66a1f" +SRC_URI += "git://github.com/rs/xid;name=xid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rs/xid" + +# golang.org/x/term v0.15.0 +# [1] git ls-remote https://go.googlesource.com/term ee66497fa39f03ba841b568a7b4f4ee4e4546f74 +SRCREV_x-term="ee66497fa39f03ba841b568a7b4f4ee4e4546f74" +SRC_URI += "git://go.googlesource.com/term;name=x-term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/term" + +# golang.org/x/text v0.14.0 +# [1] git ls-remote https://go.googlesource.com/text 6c97a165dd661335ff7bce6104a008558123c353 +SRCREV_text="6c97a165dd661335ff7bce6104a008558123c353" +SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/text" + +# golang.org/x/time v0.5.0 +# [1] git ls-remote https://go.googlesource.com/time 883aed519795b30de35e6bc28ec8f681494afa87 +SRCREV_time="883aed519795b30de35e6bc28ec8f681494afa87" +SRC_URI += "git://go.googlesource.com/time;name=time;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/time" + +# gonum.org/v1/gonum v0.13.0 +# [1] git ls-remote https://github.com/gonum/gonum 91a06ac64c4b32c929427846d4d1d3b8202ad7b1 +SRCREV_gonum="91a06ac64c4b32c929427846d4d1d3b8202ad7b1" +SRC_URI += "git://github.com/gonum/gonum;name=gonum;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gonum.org/v1/gonum" + +# golang.org/x/tools v0.16.1 +# [1] git ls-remote https://go.googlesource.com/tools 2acb2e697b49f179be93652febb89d384f0f09c9 +SRCREV_tools="2acb2e697b49f179be93652febb89d384f0f09c9" +SRC_URI += "git://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/tools" + +# golang.org/x/crypto v0.14.0 +# [1] git ls-remote https://go.googlesource.com/crypto e3cc52e598e302f8c613a645bb7231264d8ec995 +SRCREV_crypto="e3cc52e598e302f8c613a645bb7231264d8ec995" +SRC_URI += "git://go.googlesource.com/crypto;name=crypto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/crypto" + +# golang.org/x/oauth2 v0.15.0 +# [1] git ls-remote https://go.googlesource.com/oauth2 6e9ec9323da7adcd2cc6e62e4deb9fae4c309a1a +SRCREV_oauth2="6e9ec9323da7adcd2cc6e62e4deb9fae4c309a1a" +SRC_URI += "git://go.googlesource.com/oauth2;name=oauth2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/oauth2" + +# k8s.io/kube-openapi v0.0.0-20230717233707-2695361300d9 +# [1] git ls-remote https://github.com/kubernetes/kube-openapi 2695361300d9d6b66602baa8cf366b7212cc9836 +SRCREV_kube-openapi="2695361300d9d6b66602baa8cf366b7212cc9836" +SRC_URI += "git://github.com/kubernetes/kube-openapi;name=kube-openapi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/k8s.io/kube-openapi" + +# github.com/ipfs/boxo v0.10.0 +# [1] git ls-remote https://github.com/ipfs/boxo 6f82d77995476b0d85722539230a50a321706ead +SRCREV_boxo="6f82d77995476b0d85722539230a50a321706ead" +SRC_URI += "git://github.com/ipfs/boxo;name=boxo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipfs/boxo" + +# github.com/miekg/dns v1.1.55 +# [1] git ls-remote https://github.com/miekg/dns 48f38ebef989eedc6b57f1869ae849ccc8f5fe29 +SRCREV_dns="48f38ebef989eedc6b57f1869ae849ccc8f5fe29" +SRC_URI += "git://github.com/miekg/dns;name=dns;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/miekg/dns" + +# github.com/moby/ipvs v1.1.0 +# [1] git ls-remote https://github.com/moby/ipvs fe22ac585b3e22a969cbde61addd99ecd93ab22c +SRCREV_ipvs="fe22ac585b3e22a969cbde61addd99ecd93ab22c" +SRC_URI += "git://github.com/moby/ipvs;name=ipvs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/ipvs" + +# github.com/moby/term v0.0.0-20221205130635-1aeaba878587 +# [1] git ls-remote https://github.com/moby/term 1aeaba8785877a66f57739be9fccb6f5cfab429e +SRCREV_term="1aeaba8785877a66f57739be9fccb6f5cfab429e" +SRC_URI += "git://github.com/moby/term;name=term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/term" + +# go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1 +# [1] git ls-remote https://github.com/mozilla-services/pkcs7 432b2356ecb18209c1cec25680b8a23632794f21 +SRCREV_pkcs7="432b2356ecb18209c1cec25680b8a23632794f21" +SRC_URI += "git://github.com/mozilla-services/pkcs7;name=pkcs7;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.mozilla.org/pkcs7" + +# go.uber.org/multierr v1.11.0 +# [1] git ls-remote https://github.com/uber-go/multierr de75ae527b39a27afcb50a84427ec7b84021d5f4 +SRCREV_multierr="de75ae527b39a27afcb50a84427ec7b84021d5f4" +SRC_URI += "git://github.com/uber-go/multierr;name=multierr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/multierr" + +# gopkg.in/warnings.v0 v0.1.2 +# [1] git ls-remote https://github.com/go-warnings/warnings ec4a0fea49c7b46c2aeb0b51aac55779c607e52b +SRCREV_warnings.v0="ec4a0fea49c7b46c2aeb0b51aac55779c607e52b" +SRC_URI += "git://github.com/go-warnings/warnings;name=warnings.v0;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/warnings.v0" + +# github.com/pkg/errors v0.9.1 +# [1] git ls-remote https://github.com/pkg/errors 614d223910a179a466c1767a985424175c39b465 +SRCREV_errors="614d223910a179a466c1767a985424175c39b465" +SRC_URI += "git://github.com/pkg/errors;name=errors;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/errors" + +# github.com/urfave/cli v1.22.14 +# [1] git ls-remote https://github.com/urfave/cli f5ca62f301d773bdc9c800aa0e24aec82ad01a1d +SRCREV_cli="f5ca62f301d773bdc9c800aa0e24aec82ad01a1d" +SRC_URI += "git://github.com/urfave/cli;name=cli;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/urfave/cli" + +# github.com/docker/cli v24.0.5+incompatible +# [1] git ls-remote https://github.com/docker/cli ced099660009713e0e845eeb754e6050dbaa45d0 +SRCREV_docker-cli="ced099660009713e0e845eeb754e6050dbaa45d0" +SRC_URI += "git://github.com/docker/cli;name=docker-cli;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/cli" + +# github.com/gofrs/uuid v4.4.0+incompatible +# [1] git ls-remote https://github.com/gofrs/uuid 8345c9a6e83034ec02edb1887c08c6c7fbfdd9ee +SRCREV_gofrs-uuid="8345c9a6e83034ec02edb1887c08c6c7fbfdd9ee" +SRC_URI += "git://github.com/gofrs/uuid;name=gofrs-uuid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gofrs/uuid" + +# google.golang.org/api v0.152.0 +# [1] git ls-remote https://github.com/googleapis/google-api-go-client c18c15e47e02cc3fa5d9e68b88313952381d31ae +SRCREV_google.golang.org-api="c18c15e47e02cc3fa5d9e68b88313952381d31ae" +SRC_URI += "git://github.com/googleapis/google-api-go-client;name=google.golang.org-api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/api" + +# github.com/golang/mock v1.6.0 +# [1] git ls-remote https://github.com/golang/mock aba2ff9a6844d5e3289e8472d3217d5b3090f083 +SRCREV_mock="aba2ff9a6844d5e3289e8472d3217d5b3090f083" +SRC_URI += "git://github.com/golang/mock;name=mock;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/mock" + +# github.com/google/uuid v1.4.0 +# [1] git ls-remote https://github.com/google/uuid 8de8764e294f072b7a2f1a209e88fdcdb1ebc875 +SRCREV_uuid="8de8764e294f072b7a2f1a209e88fdcdb1ebc875" +SRC_URI += "git://github.com/google/uuid;name=uuid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/uuid" + +# github.com/gorilla/mux v1.8.1 +# [1] git ls-remote https://github.com/gorilla/mux b4617d0b9670ad14039b2739167fd35a60f557c5 +SRCREV_mux="b4617d0b9670ad14039b2739167fd35a60f557c5" +SRC_URI += "git://github.com/gorilla/mux;name=mux;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gorilla/mux" + +# github.com/k3s-io/kine v0.11.4 +# [1] git ls-remote https://github.com/k3s-io/kine 37736729c40f1e7ad18521d1eb5c2a13e314ebde +SRCREV_kine="37736729c40f1e7ad18521d1eb5c2a13e314ebde" +SRC_URI += "git://github.com/k3s-io/kine;name=kine;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kine" + +# github.com/onsi/gomega v1.27.10 +# [1] git ls-remote https://github.com/onsi/gomega 9cbf7b0019d4d489d668583b0d7a6ac889ee2bc8 +SRCREV_gomega="9cbf7b0019d4d489d668583b0d7a6ac889ee2bc8" +SRC_URI += "git://github.com/onsi/gomega;name=gomega;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/onsi/gomega" + +# github.com/k3s-io/runc v1.1.12-k3s1 +# [1] git ls-remote https://github.com/k3s-io/runc 7d07dac287da807a624adba7ea7ccc1b3f28c614 +SRCREV_runc="7d07dac287da807a624adba7ea7ccc1b3f28c614" +SRC_URI += "git://github.com/k3s-io/runc;name=runc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/runc" + +# github.com/spf13/pflag v1.0.5 +# [1] git ls-remote https://github.com/spf13/pflag 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab +SRCREV_pflag="2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab" +SRC_URI += "git://github.com/spf13/pflag;name=pflag;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/pflag" + +# google.golang.org/grpc v1.58.3 +# [1] git ls-remote https://github.com/grpc/grpc-go bf05b9558c16677e362d231120f8213eb276d406 +SRCREV_grpc="bf05b9558c16677e362d231120f8213eb276d406" +SRC_URI += "git://github.com/grpc/grpc-go;name=grpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/grpc" + +# github.com/flynn/noise v1.0.0 +# [1] git ls-remote https://github.com/flynn/noise 2499bf1bad239a8316c32932a993642350b3afdb +SRCREV_noise="2499bf1bad239a8316c32932a993642350b3afdb" +SRC_URI += "git://github.com/flynn/noise;name=noise;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/flynn/noise" + +# github.com/huin/goupnp v1.2.0 +# [1] git ls-remote https://github.com/huin/goupnp 8ca2329ddbfe051b906efe0883e7a66ac296bc0a +SRCREV_goupnp="8ca2329ddbfe051b906efe0883e7a66ac296bc0a" +SRC_URI += "git://github.com/huin/goupnp;name=goupnp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/huin/goupnp" + +# github.com/ipfs/go-cid v0.4.1 +# [1] git ls-remote https://github.com/ipfs/go-cid d46e7f28669cd2c463bc68fe86e7dbe4f8240ab7 +SRCREV_go-cid="d46e7f28669cd2c463bc68fe86e7dbe4f8240ab7" +SRC_URI += "git://github.com/ipfs/go-cid;name=go-cid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipfs/go-cid" + +# github.com/ipfs/go-log v1.0.5 +# [1] git ls-remote https://github.com/ipfs/go-log c39ee80c0915c5cca41dc1311e848c2fd7fa4101 +SRCREV_go-log="c39ee80c0915c5cca41dc1311e848c2fd7fa4101" +SRC_URI += "git://github.com/ipfs/go-log;name=go-log;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipfs/go-log" + +# github.com/spf13/afero v1.11.0 +# [1] git ls-remote https://github.com/spf13/afero 5c4385aa20510dba5ca4db12c02b0c9211d82892 +SRCREV_afero="5c4385aa20510dba5ca4db12c02b0c9211d82892" +SRC_URI += "git://github.com/spf13/afero;name=afero;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/afero" + +# github.com/cilium/ebpf v0.9.1 +# [1] git ls-remote https://github.com/cilium/ebpf d560e4479b395c4523851a4571b04ba0b3846cd1 +SRCREV_ebpf="d560e4479b395c4523851a4571b04ba0b3846cd1" +SRC_URI += "git://github.com/cilium/ebpf;name=ebpf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cilium/ebpf" + +# github.com/ghodss/yaml v1.0.0 +# [1] git ls-remote https://github.com/ghodss/yaml 0ca9ea5df5451ffdf184b4428c902747c2c11cd7 +SRCREV_ghodss-yaml="0ca9ea5df5451ffdf184b4428c902747c2c11cd7" +SRC_URI += "git://github.com/ghodss/yaml;name=ghodss-yaml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ghodss/yaml" + +# github.com/gofrs/flock v0.8.1 +# [1] git ls-remote https://github.com/gofrs/flock 6f010d1acea74a32f2f2066bfe324c08bbee30e3 +SRCREV_flock="6f010d1acea74a32f2f2066bfe324c08bbee30e3" +SRC_URI += "git://github.com/gofrs/flock;name=flock;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gofrs/flock" + +# github.com/moby/locker v1.0.1 +# [1] git ls-remote https://github.com/moby/locker 281af2d563954745bea9d1487c965f24d30742fe +SRCREV_locker="281af2d563954745bea9d1487c965f24d30742fe" +SRC_URI += "git://github.com/moby/locker;name=locker;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/locker" + +# github.com/pierrec/lz4 v2.6.0+incompatible +# [1] git ls-remote https://github.com/pierrec/lz4 0e583d326e0ec6b9c1ad223188dc709af385408e +SRCREV_lz4="0e583d326e0ec6b9c1ad223188dc709af385408e" +SRC_URI += "git://github.com/pierrec/lz4;name=lz4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pierrec/lz4" + +# github.com/spf13/cobra v1.8.0 +# [1] git ls-remote https://github.com/spf13/cobra a0a6ae020bb3899ff0276067863e50523f897370 +SRCREV_cobra="a0a6ae020bb3899ff0276067863e50523f897370" +SRC_URI += "git://github.com/spf13/cobra;name=cobra;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/cobra" + +# github.com/go-logr/logr v1.4.1 +# [1] git ls-remote https://github.com/go-logr/logr dcdc3f2cd12e8a5c4e2a6712d6958c90e2e5bd98 +SRCREV_logr="dcdc3f2cd12e8a5c4e2a6712d6958c90e2e5bd98" +SRC_URI += "git://github.com/go-logr/logr;name=logr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-logr/logr" + +# github.com/go-logr/stdr v1.2.3-0.20220714215716-96bad1d688c5 +# [1] git ls-remote https://github.com/go-logr/stdr 96bad1d688c524409b0da98c82fb7d3d51e60639 +SRCREV_stdr="96bad1d688c524409b0da98c82fb7d3d51e60639" +SRC_URI += "git://github.com/go-logr/stdr;name=stdr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-logr/stdr" + +# github.com/go-test/deep v1.0.7 +# [1] git ls-remote https://github.com/go-test/deep c733f5ed5136b7437e29ac91bb97c653af3694b5 +SRCREV_deep="c733f5ed5136b7437e29ac91bb97c653af3694b5" +SRC_URI += "git://github.com/go-test/deep;name=deep;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-test/deep" + +# github.com/otiai10/copy v1.7.0 +# [1] git ls-remote https://github.com/otiai10/copy 323db161ae97db91e6e13dbcda403fdb29c3fff8 +SRCREV_copy="323db161ae97db91e6e13dbcda403fdb29c3fff8" +SRC_URI += "git://github.com/otiai10/copy;name=copy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/otiai10/copy" + +# lukechampine.com/blake3 v1.2.1 +# [1] git ls-remote https://github.com/lukechampine/blake3 6e4325968f64ca24b1bbc8fbf08ea320d17ebfa0 +SRCREV_blake3="6e4325968f64ca24b1bbc8fbf08ea320d17ebfa0" +SRC_URI += "git://github.com/lukechampine/blake3;name=blake3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/lukechampine.com/blake3" + +# github.com/Rican7/retry v0.1.0 +# [1] git ls-remote https://github.com/Rican7/retry 28d17f812805614e76f170aa3c8698155ea8e019 +SRCREV_retry="28d17f812805614e76f170aa3c8698155ea8e019" +SRC_URI += "git://github.com/Rican7/retry;name=retry;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Rican7/retry" + +# github.com/beorn7/perks v1.0.1 +# [1] git ls-remote https://github.com/beorn7/perks 37c8de3658fcb183f997c4e13e8337516ab753e6 +SRCREV_perks="37c8de3658fcb183f997c4e13e8337516ab753e6" +SRC_URI += "git://github.com/beorn7/perks;name=perks;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/beorn7/perks" + +# github.com/blang/semver v3.5.1+incompatible +# [1] git ls-remote https://github.com/blang/semver 2ee87856327ba09384cabd113bc6b5d174e9ec0f +SRCREV_semver="2ee87856327ba09384cabd113bc6b5d174e9ec0f" +SRC_URI += "git://github.com/blang/semver;name=semver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/blang/semver" + +# github.com/google/btree v1.1.2 +# [1] git ls-remote https://github.com/google/btree 8e29150ba321eef204059de2ab494f179b6cff2c +SRCREV_btree="8e29150ba321eef204059de2ab494f179b6cff2c" +SRC_URI += "git://github.com/google/btree;name=btree;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/btree" + +# github.com/google/pprof v0.0.0-20230821062121-407c9e7a662f +# [1] git ls-remote https://github.com/google/pprof 407c9e7a662f39c592c77f0db959db282b687a32 +SRCREV_pprof="407c9e7a662f39c592c77f0db959db282b687a32" +SRC_URI += "git://github.com/google/pprof;name=pprof;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/pprof" + +# github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 +# [1] git ls-remote https://github.com/google/shlex e7afc7fbc51079733e9468cdfd1efcd7d196cd1d +SRCREV_shlex="e7afc7fbc51079733e9468cdfd1efcd7d196cd1d" +SRC_URI += "git://github.com/google/shlex;name=shlex;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/shlex" + +# github.com/jackc/pgx/v5 v5.4.2 +# [1] git ls-remote https://github.com/jackc/pgx 038fc448c1cc91b9372a6a0d151789f41536f033 +SRCREV_pgx-v5="038fc448c1cc91b9372a6a0d151789f41536f033" +SRC_URI += "git://github.com/jackc/pgx;name=pgx-v5;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jackc/pgx/v5" + +# github.com/miekg/pkcs11 v1.1.1 +# [1] git ls-remote https://github.com/miekg/pkcs11 f3481918a208bd212aa995a41f92d786eb418a7d +SRCREV_pkcs11="f3481918a208bd212aa995a41f92d786eb418a7d" +SRC_URI += "git://github.com/miekg/pkcs11;name=pkcs11;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/miekg/pkcs11" + +# github.com/morikuni/aec v1.0.0 +# [1] git ls-remote https://github.com/morikuni/aec 39771216ff4c63d11f5e604076f9c45e8be1067b +SRCREV_aec="39771216ff4c63d11f5e604076f9c45e8be1067b" +SRC_URI += "git://github.com/morikuni/aec;name=aec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/morikuni/aec" + +# github.com/nats-io/nuid v1.0.1 +# [1] git ls-remote https://github.com/nats-io/nuid 4b96681fa6d28dd0ab5fe79bac63b3a493d9ee94 +SRCREV_nuid="4b96681fa6d28dd0ab5fe79bac63b3a493d9ee94" +SRC_URI += "git://github.com/nats-io/nuid;name=nuid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/nats-io/nuid" + +# github.com/docker/docker v24.0.0-rc.2.0.20230801142700-69c9adb7d386+incompatible +# [1] git ls-remote https://github.com/moby/moby 69c9adb7d3868cb0560b1ffcef798015c5a70510 +SRCREV_docker="69c9adb7d3868cb0560b1ffcef798015c5a70510" +SRC_URI += "git://github.com/moby/moby;name=docker;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/docker" + +# github.com/rancher/lasso v0.0.0-20230830164424-d684fdeb6f29 +# [1] git ls-remote https://github.com/rancher/lasso d684fdeb6f29e221289c6f59fdc390b6adbaaccf +SRCREV_lasso="d684fdeb6f29e221289c6f59fdc390b6adbaaccf" +SRC_URI += "git://github.com/rancher/lasso;name=lasso;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rancher/lasso" + +# github.com/k3s-io/spegel v0.0.17-0.20240109004735-9466a5529330 +# [1] git ls-remote https://github.com/k3s-io/spegel 9466a55293301075a2d1613a3744c6bf45342e8b +SRCREV_spegel="9466a55293301075a2d1613a3744c6bf45342e8b" +SRC_URI += "git://github.com/k3s-io/spegel;name=spegel;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/spegel" + +# github.com/gin-gonic/gin v1.9.1 +# [1] git ls-remote https://github.com/gin-gonic/gin 4ea0e648e38a63d6caff14100f5eab5c50912bcd +SRCREV_gin="4ea0e648e38a63d6caff14100f5eab5c50912bcd" +SRC_URI += "git://github.com/gin-gonic/gin;name=gin;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gin-gonic/gin" + +# github.com/goccy/go-json v0.10.2 +# [1] git ls-remote https://github.com/goccy/go-json 8e8cdeacf2f2faef082f32848138f0f9af7cfb66 +SRCREV_go-json="8e8cdeacf2f2faef082f32848138f0f9af7cfb66" +SRC_URI += "git://github.com/goccy/go-json;name=go-json;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/goccy/go-json" + +# github.com/golang/snappy v0.0.4 +# [1] git ls-remote https://github.com/golang/snappy 544b4180ac705b7605231d4a4550a1acb22a19fe +SRCREV_snappy="544b4180ac705b7605231d4a4550a1acb22a19fe" +SRC_URI += "git://github.com/golang/snappy;name=snappy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/snappy" + +# github.com/koron/go-ssdp v0.0.4 +# [1] git ls-remote https://github.com/koron/go-ssdp 615e2904c24d115f20139e60b9ab5916b1dfd55d +SRCREV_go-ssdp="615e2904c24d115f20139e60b9ab5916b1dfd55d" +SRC_URI += "git://github.com/koron/go-ssdp;name=go-ssdp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/koron/go-ssdp" + +# github.com/libp2p/go-nat v0.2.0 +# [1] git ls-remote https://github.com/libp2p/go-nat 14ce74b6949ca4d3f4889568e20840bdf0b05009 +SRCREV_go-nat="14ce74b6949ca4d3f4889568e20840bdf0b05009" +SRC_URI += "git://github.com/libp2p/go-nat;name=go-nat;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-nat" + +# github.com/mikioh/tcpopt v0.0.0-20190314235656-172688c1accc +# [1] git ls-remote https://github.com/mikioh/tcpopt 172688c1accceb1c8699343c22838f55e4b662ca +SRCREV_tcpopt="172688c1accceb1c8699343c22838f55e4b662ca" +SRC_URI += "git://github.com/mikioh/tcpopt;name=tcpopt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mikioh/tcpopt" + +# github.com/pbnjay/memory v0.0.0-20210728143218-7b4eea64cf58 +# [1] git ls-remote https://github.com/pbnjay/memory 7b4eea64cf580186c0eceb10dc94ba3a098af46c +SRCREV_memory="7b4eea64cf580186c0eceb10dc94ba3a098af46c" +SRC_URI += "git://github.com/pbnjay/memory;name=memory;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pbnjay/memory" + +# github.com/quic-go/qpack v0.4.0 +# [1] git ls-remote https://github.com/quic-go/qpack 3e7287cc7ce655141583b8511fbe09800d4ba896 +SRCREV_qpack="3e7287cc7ce655141583b8511fbe09800d4ba896" +SRC_URI += "git://github.com/quic-go/qpack;name=qpack;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/quic-go/qpack" + +# github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e +# [1] git ls-remote https://github.com/armon/circbuf bbbad097214e2918d8543d5201d12bfd7bca254d +SRCREV_circbuf="bbbad097214e2918d8543d5201d12bfd7bca254d" +SRC_URI += "git://github.com/armon/circbuf;name=circbuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/armon/circbuf" + +# github.com/gogo/protobuf v1.3.2 +# [1] git ls-remote https://github.com/gogo/protobuf b03c65ea87cdc3521ede29f62fe3ce239267c1bc +SRCREV_protobuf="b03c65ea87cdc3521ede29f62fe3ce239267c1bc" +SRC_URI += "git://github.com/gogo/protobuf;name=protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gogo/protobuf" + +# github.com/google/cel-go v0.16.1 +# [1] git ls-remote https://github.com/google/cel-go 59a1b5d69d8d826a02e8e3d7911121ea60cba987 +SRCREV_cel-go="59a1b5d69d8d826a02e8e3d7911121ea60cba987" +SRC_URI += "git://github.com/google/cel-go;name=cel-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/cel-go" + +# github.com/google/go-cmp v0.6.0 +# [1] git ls-remote https://github.com/google/go-cmp c3ad8435e7bef96af35732bc0789e5a2278c6d5f +SRCREV_go-cmp="c3ad8435e7bef96af35732bc0789e5a2278c6d5f" +SRC_URI += "git://github.com/google/go-cmp;name=go-cmp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/go-cmp" + +# github.com/google/gofuzz v1.2.0 +# [1] git ls-remote https://github.com/google/gofuzz 379e164120fbc98885a8f494b5aa41ba94f64c56 +SRCREV_gofuzz="379e164120fbc98885a8f494b5aa41ba94f64c56" +SRC_URI += "git://github.com/google/gofuzz;name=gofuzz;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/gofuzz" + +# github.com/google/s2a-go v0.1.7 +# [1] git ls-remote https://github.com/google/s2a-go 141996cc2c0b07d53f1970aa1b2e8e5dde4a7a52 +SRCREV_s2a-go="141996cc2c0b07d53f1970aa1b2e8e5dde4a7a52" +SRC_URI += "git://github.com/google/s2a-go;name=s2a-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/s2a-go" + +# github.com/imdario/mergo v0.3.16 +# [1] git ls-remote https://github.com/darccio/mergo 14fe2b165b83359196f820886a2b24f2771729e9 +SRCREV_mergo="14fe2b165b83359196f820886a2b24f2771729e9" +SRC_URI += "git://github.com/darccio/mergo;name=mergo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/imdario/mergo" + +# github.com/nats-io/nkeys v0.4.6 +# [1] git ls-remote https://github.com/nats-io/nkeys 62e5d8c7c4af84283b6535bcbf1300ab25b45e2d +SRCREV_nkeys="62e5d8c7c4af84283b6535bcbf1300ab25b45e2d" +SRC_URI += "git://github.com/nats-io/nkeys;name=nkeys;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/nats-io/nkeys" + +# github.com/soheilhy/cmux v0.1.5 +# [1] git ls-remote https://github.com/soheilhy/cmux 5ec6847320e53b5fee0ab9a4757b56625a946c85 +SRCREV_cmux="5ec6847320e53b5fee0ab9a4757b56625a946c85" +SRC_URI += "git://github.com/soheilhy/cmux;name=cmux;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/soheilhy/cmux" + +# github.com/tidwall/btree v1.6.0 +# [1] git ls-remote https://github.com/tidwall/btree c538c0ce1d47ebada0c423fd430978ba274d7d68 +SRCREV_tidwall-btree="c538c0ce1d47ebada0c423fd430978ba274d7d68" +SRC_URI += "git://github.com/tidwall/btree;name=tidwall-btree;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/btree" + +# github.com/urfave/cli/v2 v2.23.5 +# [1] git ls-remote https://github.com/urfave/cli 600ef6e4dd5db1819a8eb0b453487bf1c0e59099 +SRCREV_cli-v2="600ef6e4dd5db1819a8eb0b453487bf1c0e59099" +SRC_URI += "git://github.com/urfave/cli;name=cli-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/urfave/cli/v2" + +# go.opentelemetry.io/otel v1.13.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go f2fd476f433128c2494476950ce11600a51bbe35 +SRCREV_otel="f2fd476f433128c2494476950ce11600a51bbe35" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otel;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel" + +# github.com/containerd/zfs v1.1.0 +# [1] git ls-remote https://github.com/containerd/zfs 26134297cde4138b412644d6819c20b105472991 +SRCREV_zfs="26134297cde4138b412644d6819c20b105472991" +SRC_URI += "git://github.com/containerd/zfs;name=zfs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/zfs" + +# github.com/ipfs/go-log/v2 v2.5.1 +# [1] git ls-remote https://github.com/ipfs/go-log 8625e3ec81bdeb96627de192e6fe21eab5896603 +SRCREV_go-log-v2="8625e3ec81bdeb96627de192e6fe21eab5896603" +SRC_URI += "git://github.com/ipfs/go-log;name=go-log-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipfs/go-log/v2" + +# github.com/onsi/ginkgo/v2 v2.11.0 +# [1] git ls-remote https://github.com/onsi/ginkgo 5c32b2a6408b866b04774abad81eca2274f4fb5b +SRCREV_ginkgo-v2="5c32b2a6408b866b04774abad81eca2274f4fb5b" +SRC_URI += "git://github.com/onsi/ginkgo;name=ginkgo-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/onsi/ginkgo/v2" + +# github.com/robfig/cron/v3 v3.0.1 +# [1] git ls-remote https://github.com/robfig/cron ccba498c397bb90a9c84945bbb0f7af2d72b6309 +SRCREV_cron-v3="ccba498c397bb90a9c84945bbb0f7af2d72b6309" +SRC_URI += "git://github.com/robfig/cron;name=cron-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/robfig/cron/v3" + +# github.com/k3s-io/klog/v2 v2.100.1-k3s1 +# [1] git ls-remote https://github.com/k3s-io/klog 977d5aa511a87a6cfa1d251772bcd5344c8d1280 +SRCREV_klog-v2="977d5aa511a87a6cfa1d251772bcd5344c8d1280" +SRC_URI += "git://github.com/k3s-io/klog;name=klog-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/klog/v2" + +# github.com/leodido/go-urn v1.2.4 +# [1] git ls-remote https://github.com/leodido/go-urn 87e1d5ed73ec8689aa799a976831dcf6c81c8c98 +SRCREV_go-urn="87e1d5ed73ec8689aa799a976831dcf6c81c8c98" +SRC_URI += "git://github.com/leodido/go-urn;name=go-urn;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/leodido/go-urn" + +# github.com/mikioh/tcpinfo v0.0.0-20190314235526-30a79bb1804b +# [1] git ls-remote https://github.com/mikioh/tcpinfo 30a79bb1804bc47fa7fe29928c9109f368792a9e +SRCREV_tcpinfo="30a79bb1804bc47fa7fe29928c9109f368792a9e" +SRC_URI += "git://github.com/mikioh/tcpinfo;name=tcpinfo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mikioh/tcpinfo" + +# github.com/mr-tron/base58 v1.2.0 +# [1] git ls-remote https://github.com/mr-tron/base58 cd0e5141f51dfcadb8311fd8e495eb11126a8010 +SRCREV_base58="cd0e5141f51dfcadb8311fd8e495eb11126a8010" +SRC_URI += "git://github.com/mr-tron/base58;name=base58;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mr-tron/base58" + +# github.com/polydawn/refmt v0.89.0 +# [1] git ls-remote https://github.com/polydawn/refmt ad1efcb83999082a4ec5ac34b9d5c08bc388faf3 +SRCREV_refmt="ad1efcb83999082a4ec5ac34b9d5c08bc388faf3" +SRC_URI += "git://github.com/polydawn/refmt;name=refmt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/polydawn/refmt" + +# github.com/containerd/log v0.1.0 +# [1] git ls-remote https://github.com/containerd/log 0fc1e28871fdf2786e2cc51bbe4133db6547a199 +SRCREV_log="0fc1e28871fdf2786e2cc51bbe4133db6547a199" +SRC_URI += "git://github.com/containerd/log;name=log;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/log" + +# github.com/containerd/nri v0.4.0 +# [1] git ls-remote https://github.com/containerd/nri e2d9a1b06b9d0916b0074340990df0fbe3388dd1 +SRCREV_nri="e2d9a1b06b9d0916b0074340990df0fbe3388dd1" +SRC_URI += "git://github.com/containerd/nri;name=nri;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/nri" + +# github.com/coreos/go-oidc v2.2.1+incompatible +# [1] git ls-remote https://github.com/coreos/go-oidc 8d771559cf6e5111c9b9159810d0e4538e7cdc82 +SRCREV_go-oidc="8d771559cf6e5111c9b9159810d0e4538e7cdc82" +SRC_URI += "git://github.com/coreos/go-oidc;name=go-oidc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-oidc" + +# github.com/godbus/dbus/v5 v5.1.0 +# [1] git ls-remote https://github.com/godbus/dbus e523abc905595cf17fb0001a7d77eaaddfaa216d +SRCREV_dbus-v5="e523abc905595cf17fb0001a7d77eaaddfaa216d" +SRC_URI += "git://github.com/godbus/dbus;name=dbus-v5;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/godbus/dbus/v5" + +# github.com/minio/md5-simd v1.1.2 +# [1] git ls-remote https://github.com/minio/md5-simd 776275e0c9a74ceebbd50fe5c1d61b0c80c608df +SRCREV_md5-simd="776275e0c9a74ceebbd50fe5c1d61b0c80c608df" +SRC_URI += "git://github.com/minio/md5-simd;name=md5-simd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/md5-simd" + +# github.com/mohae/deepcopy v0.0.0-20170929034955-c48cc78d4826 +# [1] git ls-remote https://github.com/mohae/deepcopy c48cc78d482608239f6c4c92a4abd87eb8761c90 +SRCREV_deepcopy="c48cc78d482608239f6c4c92a4abd87eb8761c90" +SRC_URI += "git://github.com/mohae/deepcopy;name=deepcopy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mohae/deepcopy" + +# github.com/nats-io/jsm.go v0.0.31-0.20220317133147-fe318f464eee +# [1] git ls-remote https://github.com/nats-io/jsm.go fe318f464eee9ceef6120ea851e5cf94a0497ac6 +SRCREV_jsm.go="fe318f464eee9ceef6120ea851e5cf94a0497ac6" +SRC_URI += "git://github.com/nats-io/jsm.go;name=jsm.go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/nats-io/jsm.go" + +# github.com/nats-io/jwt/v2 v2.5.3 +# [1] git ls-remote https://github.com/nats-io/jwt 457367366f2ff72a3fefeed38b56a1da281476fb +SRCREV_jwt-v2="457367366f2ff72a3fefeed38b56a1da281476fb" +SRC_URI += "git://github.com/nats-io/jwt;name=jwt-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/nats-io/jwt/v2" + +# github.com/rubiojr/go-vhd v0.0.0-20200706105327-02e210299021 +# [1] git ls-remote https://github.com/rubiojr/go-vhd 02e2102990218160c1cb608a3e9679312a3b8425 +SRCREV_go-vhd="02e2102990218160c1cb608a3e9679312a3b8425" +SRC_URI += "git://github.com/rubiojr/go-vhd;name=go-vhd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rubiojr/go-vhd" + +# github.com/vmware/govmomi v0.30.6 +# [1] git ls-remote https://github.com/vmware/govmomi 55614148d1fe0df8ac8e04174ffd2344e374adb8 +SRCREV_govmomi="55614148d1fe0df8ac8e04174ffd2344e374adb8" +SRC_URI += "git://github.com/vmware/govmomi;name=govmomi;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/vmware/govmomi" + +# github.com/xlab/treeprint v1.2.0 +# [1] git ls-remote https://github.com/xlab/treeprint 044005a3b405f660f109e066d9f589755835c2ea +SRCREV_treeprint="044005a3b405f660f109e066d9f589755835c2ea" +SRC_URI += "git://github.com/xlab/treeprint;name=treeprint;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xlab/treeprint" + +# github.com/xrash/smetrics v0.0.0-20201216005158-039620a65673 +# [1] git ls-remote https://github.com/xrash/smetrics 039620a656736e6ad994090895784a7af15e0b80 +SRCREV_smetrics="039620a656736e6ad994090895784a7af15e0b80" +SRC_URI += "git://github.com/xrash/smetrics;name=smetrics;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xrash/smetrics" + +# sigs.k8s.io/kustomize/api v0.13.5-0.20230601165947-6ce0bf390ce3 +# [1] git ls-remote https://github.com/kubernetes-sigs/kustomize 6ce0bf390ce3dae580947a2b739da3306c675eef +SRCREV_kustomize-api="6ce0bf390ce3dae580947a2b739da3306c675eef" +SRC_URI += "git://github.com/kubernetes-sigs/kustomize;name=kustomize-api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/kustomize/api" + +# github.com/blang/semver/v4 v4.0.0 +# [1] git ls-remote https://github.com/blang/semver af3461a9cbcf1f3f5889d21b83f5ef63880c33a8 +SRCREV_v4="af3461a9cbcf1f3f5889d21b83f5ef63880c33a8" +SRC_URI += "git://github.com/blang/semver;name=v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/blang/semver/v4" + +# github.com/containerd/aufs v1.0.0 +# [1] git ls-remote https://github.com/containerd/aufs fb0192dcb2c0bbfce3bd8756fc88026870c0354d +SRCREV_aufs="fb0192dcb2c0bbfce3bd8756fc88026870c0354d" +SRC_URI += "git://github.com/containerd/aufs;name=aufs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/aufs" + +# github.com/google/cadvisor v0.47.3 +# [1] git ls-remote https://github.com/google/cadvisor c5730c5a72b527a724e7333d0e2f5b9a3ce5cf4d +SRCREV_cadvisor="c5730c5a72b527a724e7333d0e2f5b9a3ce5cf4d" +SRC_URI += "git://github.com/google/cadvisor;name=cadvisor;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/cadvisor" + +# github.com/rancher/wharfie v0.6.4 +# [1] git ls-remote https://github.com/rancher/wharfie afa72eb3bb2e8fc03366c87f4a51b6894ea65b2e +SRCREV_wharfie="afa72eb3bb2e8fc03366c87f4a51b6894ea65b2e" +SRC_URI += "git://github.com/rancher/wharfie;name=wharfie;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rancher/wharfie" + +# github.com/sirupsen/logrus v1.9.3 +# [1] git ls-remote https://github.com/sirupsen/logrus d40e25cd45ed9c6b2b66e6b97573a0413e4c23bd +SRCREV_logrus="d40e25cd45ed9c6b2b66e6b97573a0413e4c23bd" +SRC_URI += "git://github.com/sirupsen/logrus;name=logrus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/sirupsen/logrus" + +# github.com/bytedance/sonic v1.9.1 +# [1] git ls-remote https://github.com/bytedance/sonic d7db21691cb8c0380c14a41037c4ce67087260c5 +SRCREV_sonic="d7db21691cb8c0380c14a41037c4ce67087260c5" +SRC_URI += "git://github.com/bytedance/sonic;name=sonic;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/bytedance/sonic" + +# github.com/elastic/gosigar v0.14.2 +# [1] git ls-remote https://github.com/elastic/gosigar 9d6c92629470099edd40ead9a3d8cf1b38020ec6 +SRCREV_gosigar="9d6c92629470099edd40ead9a3d8cf1b38020ec6" +SRC_URI += "git://github.com/elastic/gosigar;name=gosigar;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/elastic/gosigar" + +# github.com/gin-contrib/sse v0.1.0 +# [1] git ls-remote https://github.com/gin-contrib/sse 54d8467d122d380a14768b6b4e5cd7ca4755938f +SRCREV_sse="54d8467d122d380a14768b6b4e5cd7ca4755938f" +SRC_URI += "git://github.com/gin-contrib/sse;name=sse;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gin-contrib/sse" + +# github.com/google/gopacket v1.1.19 +# [1] git ls-remote https://github.com/google/gopacket a9779d139771f6a06fc983b18e0efd23ca30222f +SRCREV_gopacket="a9779d139771f6a06fc983b18e0efd23ca30222f" +SRC_URI += "git://github.com/google/gopacket;name=gopacket;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/gopacket" + +# github.com/libp2p/go-msgio v0.3.0 +# [1] git ls-remote https://github.com/libp2p/go-msgio 12f8f7a72c7dbbb246151e4c98b5a6d59e27e0c6 +SRCREV_go-msgio="12f8f7a72c7dbbb246151e4c98b5a6d59e27e0c6" +SRC_URI += "git://github.com/libp2p/go-msgio;name=go-msgio;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-msgio" + +# github.com/mattn/go-isatty v0.0.19 +# [1] git ls-remote https://github.com/mattn/go-isatty c067b4f3df49dfc0f376d884e16cfd784ea1874b +SRCREV_go-isatty="c067b4f3df49dfc0f376d884e16cfd784ea1874b" +SRC_URI += "git://github.com/mattn/go-isatty;name=go-isatty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-isatty" + +# github.com/quic-go/quic-go v0.38.2 +# [1] git ls-remote https://github.com/quic-go/quic-go 9aaefe19fc3dc8c8917cc87e6128bb56d9e9e6cc +SRCREV_quic-go="9aaefe19fc3dc8c8917cc87e6128bb56d9e9e6cc" +SRC_URI += "git://github.com/quic-go/quic-go;name=quic-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/quic-go/quic-go" + +# github.com/ugorji/go/codec v1.2.11 +# [1] git ls-remote https://github.com/ugorji/go 29258c4dfb14a196b559b89bbee11927b830537e +SRCREV_codec="29258c4dfb14a196b559b89bbee11927b830537e" +SRC_URI += "git://github.com/ugorji/go;name=codec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ugorji/go/codec" + +# github.com/xenitab/pkg/gin v0.0.9 +# [1] git ls-remote https://github.com/xenitab/pkg 9331fe68723313fdd444403a41999761a294c50f +SRCREV_pkg-gin="9331fe68723313fdd444403a41999761a294c50f" +SRC_URI += "git://github.com/xenitab/pkg;name=pkg-gin;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xenitab/pkg/gin" + +# github.com/containerd/fifo v1.1.0 +# [1] git ls-remote https://github.com/containerd/fifo 151b205263c29d471e0d55c787d2ce9f5343fd46 +SRCREV_fifo="151b205263c29d471e0d55c787d2ce9f5343fd46" +SRC_URI += "git://github.com/containerd/fifo;name=fifo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/fifo" + +# github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc +# [1] git ls-remote https://github.com/davecgh/go-spew d8f796af33cc11cb798c1aaeb27a4ebc5099927d +SRCREV_go-spew="d8f796af33cc11cb798c1aaeb27a4ebc5099927d" +SRC_URI += "git://github.com/davecgh/go-spew;name=go-spew;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/davecgh/go-spew" + +# github.com/docker/go-units v0.5.0 +# [1] git ls-remote https://github.com/docker/go-units e682442797b36348f8e1f98defdbf32bac0b6c6f +SRCREV_go-units="e682442797b36348f8e1f98defdbf32bac0b6c6f" +SRC_URI += "git://github.com/docker/go-units;name=go-units;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-units" + +# github.com/fatih/camelcase v1.0.0 +# [1] git ls-remote https://github.com/fatih/camelcase 44e46d280b43ec1531bb25252440e34f1b800b65 +SRCREV_camelcase="44e46d280b43ec1531bb25252440e34f1b800b65" +SRC_URI += "git://github.com/fatih/camelcase;name=camelcase;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fatih/camelcase" + +# github.com/go-openapi/swag v0.22.4 +# [1] git ls-remote https://github.com/go-openapi/swag f28dd7aae5534e2e3681204c90019f1dda8a7393 +SRCREV_swag="f28dd7aae5534e2e3681204c90019f1dda8a7393" +SRC_URI += "git://github.com/go-openapi/swag;name=swag;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-openapi/swag" + +# github.com/golang/protobuf v1.5.3 +# [1] git ls-remote https://github.com/golang/protobuf 5d5e8c018a13017f9d5b8bf4fad64aaa42a87308 +SRCREV_golang-protobuf="5d5e8c018a13017f9d5b8bf4fad64aaa42a87308" +SRC_URI += "git://github.com/golang/protobuf;name=golang-protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/protobuf" + +# github.com/intel/goresctrl v0.3.0 +# [1] git ls-remote https://github.com/intel/goresctrl c40cbba82c8e94fe89926174efc817586bb3950a +SRCREV_goresctrl="c40cbba82c8e94fe89926174efc817586bb3950a" +SRC_URI += "git://github.com/intel/goresctrl;name=goresctrl;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/intel/goresctrl" + +# github.com/jackc/pgerrcode v0.0.0-20220416144525-469b46aa5efa +# [1] git ls-remote https://github.com/jackc/pgerrcode 469b46aa5efae8a229646096c4d7026bf9ff89fe +SRCREV_pgerrcode="469b46aa5efae8a229646096c4d7026bf9ff89fe" +SRC_URI += "git://github.com/jackc/pgerrcode;name=pgerrcode;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jackc/pgerrcode" + +# github.com/mailru/easyjson v0.7.7 +# [1] git ls-remote https://github.com/mailru/easyjson c120ca7ced6051261161ce15e8f1542a4b2567fc +SRCREV_easyjson="c120ca7ced6051261161ce15e8f1542a4b2567fc" +SRC_URI += "git://github.com/mailru/easyjson;name=easyjson;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mailru/easyjson" + +# github.com/mdlayher/socket v0.4.1 +# [1] git ls-remote https://github.com/mdlayher/socket 024cdfb30ba417ac6f1b27bb5189a8099787dcf7 +SRCREV_socket="024cdfb30ba417ac6f1b27bb5189a8099787dcf7" +SRC_URI += "git://github.com/mdlayher/socket;name=socket;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mdlayher/socket" + +# github.com/moby/spdystream v0.2.0 +# [1] git ls-remote https://github.com/moby/spdystream dbc715126c0e3fa07721879c6d265b2b82c71e5b +SRCREV_spdystream="dbc715126c0e3fa07721879c6d265b2b82c71e5b" +SRC_URI += "git://github.com/moby/spdystream;name=spdystream;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/spdystream" + +# github.com/moby/sys/signal v0.7.0 +# [1] git ls-remote https://github.com/moby/sys b8d8fabf1fa5cf0de7c1a1729145eee854ea31f5 +SRCREV_signal="b8d8fabf1fa5cf0de7c1a1729145eee854ea31f5" +SRC_URI += "git://github.com/moby/sys;name=signal;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/signal" + +# github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f +# [1] git ls-remote https://github.com/mxk/go-flowrate cca7078d478f8520f85629ad7c68962d31ed7682 +SRCREV_go-flowrate="cca7078d478f8520f85629ad7c68962d31ed7682" +SRC_URI += "git://github.com/mxk/go-flowrate;name=go-flowrate;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mxk/go-flowrate" + +# github.com/nats-io/nats.go v1.31.0 +# [1] git ls-remote https://github.com/nats-io/nats.go 8712190da1d17ab0c4719bffa7c0174214c56e6c +SRCREV_nats.go="8712190da1d17ab0c4719bffa7c0174214c56e6c" +SRC_URI += "git://github.com/nats-io/nats.go;name=nats.go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/nats-io/nats.go" + +# github.com/xiang90/probing v0.0.0-20221125231312-a49e3df8f510 +# [1] git ls-remote https://github.com/xiang90/probing a49e3df8f510ee8b42e68345ca4636dbb161bd0a +SRCREV_probing="a49e3df8f510ee8b42e68345ca4636dbb161bd0a" +SRC_URI += "git://github.com/xiang90/probing;name=probing;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xiang90/probing" + +# golang.zx2c4.com/wireguard v0.0.0-20230325221338-052af4a8072b +# [1] git ls-remote https://git.zx2c4.com/wireguard-go 052af4a8072bbbd3bfe7edf46fe3c1b350f71f08 +SRCREV_wireguard="052af4a8072bbbd3bfe7edf46fe3c1b350f71f08" +SRC_URI += "git://git.zx2c4.com/wireguard-go;name=wireguard;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.zx2c4.com/wireguard" + +# google.golang.org/genproto v0.0.0-20230525234035-dd9d682886f9 +# [1] git ls-remote https://github.com/googleapis/go-genproto dd9d682886f99d242574cd3eaea438ce7ea66399 +SRCREV_genproto="dd9d682886f99d242574cd3eaea438ce7ea66399" +SRC_URI += "git://github.com/googleapis/go-genproto;name=genproto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto" + +# google.golang.org/protobuf v1.31.0 +# [1] git ls-remote https://github.com/protocolbuffers/protobuf-go 68463f0e96c93bc19ef36ccd3adfe690bfdb568c +SRCREV_google.golang.org-protobuf="68463f0e96c93bc19ef36ccd3adfe690bfdb568c" +SRC_URI += "git://github.com/protocolbuffers/protobuf-go;name=google.golang.org-protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/protobuf" + +# gopkg.in/square/go-jose.v2 v2.6.0 +# [1] git ls-remote https://github.com/square/go-jose a10ff54e00bc6e833bf549e04ae976f0fe8ea2fd +SRCREV_go-jose.v2="a10ff54e00bc6e833bf549e04ae976f0fe8ea2fd" +SRC_URI += "git://github.com/square/go-jose;name=go-jose.v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/square/go-jose.v2" + +# github.com/json-iterator/go v1.1.12 +# [1] git ls-remote https://github.com/json-iterator/go 024077e996b048517130b21ea6bf12aa23055d3d +SRCREV_go="024077e996b048517130b21ea6bf12aa23055d3d" +SRC_URI += "git://github.com/json-iterator/go;name=go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/json-iterator/go" + +# github.com/k3s-io/cri-tools v1.26.0-rc.0-k3s1 +# [1] git ls-remote https://github.com/k3s-io/cri-tools 029d9bbf8bfb43c46a80b013cb6bf163739df0c8 +SRCREV_cri-tools="029d9bbf8bfb43c46a80b013cb6bf163739df0c8" +SRC_URI += "git://github.com/k3s-io/cri-tools;name=cri-tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/cri-tools" + +# github.com/libp2p/go-libp2p v0.30.0 +# [1] git ls-remote https://github.com/libp2p/go-libp2p 37319a699f336e3e062c7894f44d47db3fea4dc2 +SRCREV_go-libp2p="37319a699f336e3e062c7894f44d47db3fea4dc2" +SRC_URI += "git://github.com/libp2p/go-libp2p;name=go-libp2p;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-libp2p" + +# github.com/mattn/go-sqlite3 v1.14.19 +# [1] git ls-remote https://github.com/mattn/go-sqlite3 00b02e0ba98effd5f157d39216e244af8a807f9b +SRCREV_go-sqlite3="00b02e0ba98effd5f157d39216e244af8a807f9b" +SRC_URI += "git://github.com/mattn/go-sqlite3;name=go-sqlite3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-sqlite3" + +# github.com/rancher/wrangler v1.1.1-0.20230818201331-3604a6be798d +# [1] git ls-remote https://github.com/rancher/wrangler 3604a6be798d0e52e1d935d61d57b4ecbd5dfb2a +SRCREV_wrangler="3604a6be798d0e52e1d935d61d57b4ecbd5dfb2a" +SRC_URI += "git://github.com/rancher/wrangler;name=wrangler;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rancher/wrangler" + +# github.com/stretchr/testify v1.8.4 +# [1] git ls-remote https://github.com/stretchr/testify f97607b89807936ac4ff96748d766cf4b9711f78 +SRCREV_testify="f97607b89807936ac4ff96748d766cf4b9711f78" +SRC_URI += "git://github.com/stretchr/testify;name=testify;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/stretchr/testify" + +# github.com/jbenet/goprocess v0.1.4 +# [1] git ls-remote https://github.com/jbenet/goprocess 23d20c20149e1f362afda26f4500cb9d6393f0ad +SRCREV_goprocess="23d20c20149e1f362afda26f4500cb9d6393f0ad" +SRC_URI += "git://github.com/jbenet/goprocess;name=goprocess;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jbenet/goprocess" + +# github.com/syndtr/goleveldb v1.0.0 +# [1] git ls-remote https://github.com/syndtr/goleveldb 9d007e481048296f09f59bd19bb7ae584563cd95 +SRCREV_goleveldb="9d007e481048296f09f59bd19bb7ae584563cd95" +SRC_URI += "git://github.com/syndtr/goleveldb;name=goleveldb;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/syndtr/goleveldb" + +# cloud.google.com/go/compute v1.23.3 +# [1] git ls-remote https://github.com/googleapis/google-cloud-go 2ba47cb7adfef32617eb11888331ccc2d2a0f84d +SRCREV_compute="2ba47cb7adfef32617eb11888331ccc2d2a0f84d" +SRC_URI += "git://github.com/googleapis/google-cloud-go;name=compute;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/cloud.google.com/go/compute" + +# github.com/containerd/ttrpc v1.2.2 +# [1] git ls-remote https://github.com/containerd/ttrpc ac26f8cbea1c440d451dd19a4a1b847fd073f3c3 +SRCREV_ttrpc="ac26f8cbea1c440d451dd19a4a1b847fd073f3c3" +SRC_URI += "git://github.com/containerd/ttrpc;name=ttrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/ttrpc" + +# github.com/coreos/go-semver v0.3.1 +# [1] git ls-remote https://github.com/coreos/go-semver c16f28124668daf02b2a32a431dec2f183977ffc +SRCREV_go-semver="c16f28124668daf02b2a32a431dec2f183977ffc" +SRC_URI += "git://github.com/coreos/go-semver;name=go-semver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-semver" + +# github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c +# [1] git ls-remote https://github.com/docker/go-events e31b211e4f1cd09aa76fe4ac244571fab96ae47f +SRCREV_go-events="e31b211e4f1cd09aa76fe4ac244571fab96ae47f" +SRC_URI += "git://github.com/docker/go-events;name=go-events;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-events" + +# github.com/go-errors/errors v1.4.2 +# [1] git ls-remote https://github.com/go-errors/errors 33d496f939bc762321a636d4035e15c302eb0b00 +SRCREV_go-errors-errors="33d496f939bc762321a636d4035e15c302eb0b00" +SRC_URI += "git://github.com/go-errors/errors;name=go-errors-errors;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-errors/errors" + +# github.com/jackc/pgpassfile v1.0.0 +# [1] git ls-remote https://github.com/jackc/pgpassfile 99d8e8e28945ffceaf75b0299fcb2bb656b8a683 +SRCREV_pgpassfile="99d8e8e28945ffceaf75b0299fcb2bb656b8a683" +SRC_URI += "git://github.com/jackc/pgpassfile;name=pgpassfile;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jackc/pgpassfile" + +# github.com/josharian/intern v1.0.0 +# [1] git ls-remote https://github.com/josharian/intern 8e6ff32b3e7c0b018c43953085fe2ac330fe9acd +SRCREV_intern="8e6ff32b3e7c0b018c43953085fe2ac330fe9acd" +SRC_URI += "git://github.com/josharian/intern;name=intern;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/josharian/intern" + +# github.com/josharian/native v1.1.0 +# [1] git ls-remote https://github.com/josharian/native c1e37c09b531b14ae12a501eb6fd529b31cecdaa +SRCREV_native="c1e37c09b531b14ae12a501eb6fd529b31cecdaa" +SRC_URI += "git://github.com/josharian/native;name=native;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/josharian/native" + +# github.com/lithammer/dedent v1.1.0 +# [1] git ls-remote https://github.com/lithammer/dedent 8478954c3bc893cf36c5ee7c822266b993a3b3ee +SRCREV_dedent="8478954c3bc893cf36c5ee7c822266b993a3b3ee" +SRC_URI += "git://github.com/lithammer/dedent;name=dedent;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/lithammer/dedent" + +# github.com/mdlayher/netlink v1.7.2 +# [1] git ls-remote https://github.com/mdlayher/netlink 657f7da1d9bd78d246ae610e0b5efc63a6a5f9e4 +SRCREV_mdlayher-netlink="657f7da1d9bd78d246ae610e0b5efc63a6a5f9e4" +SRC_URI += "git://github.com/mdlayher/netlink;name=mdlayher-netlink;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mdlayher/netlink" + +# github.com/mistifyio/go-zfs v2.1.2-0.20190413222219-f784269be439+incompatible +# [1] git ls-remote https://github.com/mistifyio/go-zfs f784269be439d704d3dfa1906f45dd848fed2beb +SRCREV_go-zfs="f784269be439d704d3dfa1906f45dd848fed2beb" +SRC_URI += "git://github.com/mistifyio/go-zfs;name=go-zfs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mistifyio/go-zfs" + +# github.com/moby/sys/symlink v0.2.0 +# [1] git ls-remote https://github.com/moby/sys 03b9f8d59a07f5206a2264105f4903a222aea964 +SRCREV_symlink="03b9f8d59a07f5206a2264105f4903a222aea964" +SRC_URI += "git://github.com/moby/sys;name=symlink;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/symlink" + +# github.com/vbatts/tar-split v0.11.5 +# [1] git ls-remote https://github.com/vbatts/tar-split 5ef0dd8243164ebacd755916a89d8085a5b6bb7f +SRCREV_tar-split="5ef0dd8243164ebacd755916a89d8085a5b6bb7f" +SRC_URI += "git://github.com/vbatts/tar-split;name=tar-split;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/vbatts/tar-split" + +# google.golang.org/appengine v1.6.8 +# [1] git ls-remote https://github.com/golang/appengine aa58fcd18e4ab7ac816760ee266fa30a0907ab9e +SRCREV_appengine="aa58fcd18e4ab7ac816760ee266fa30a0907ab9e" +SRC_URI += "git://github.com/golang/appengine;name=appengine;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/appengine" + +# sigs.k8s.io/kustomize/kyaml v0.14.3-0.20230601165947-6ce0bf390ce3 +# [1] git ls-remote https://github.com/kubernetes-sigs/kustomize 6ce0bf390ce3dae580947a2b739da3306c675eef +SRCREV_kyaml="6ce0bf390ce3dae580947a2b739da3306c675eef" +SRC_URI += "git://github.com/kubernetes-sigs/kustomize;name=kyaml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/kustomize/kyaml" + +# github.com/Microsoft/hcsshim v0.11.0 +# [1] git ls-remote https://github.com/microsoft/hcsshim 750e11bf07440fd1581413bdc1fc7731fa2d6d64 +SRCREV_hcsshim="750e11bf07440fd1581413bdc1fc7731fa2d6d64" +SRC_URI += "git://github.com/microsoft/hcsshim;name=hcsshim;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Microsoft/hcsshim" + +# github.com/k3s-io/containerd v1.7.11-k3s2 +# [1] git ls-remote https://github.com/k3s-io/containerd 64c566767b99d0bacf26fb6e2355775c413331c9 +SRCREV_containerd="64c566767b99d0bacf26fb6e2355775c413331c9" +SRC_URI += "git://github.com/k3s-io/containerd;name=containerd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/containerd" + +# github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e +# [1] git ls-remote https://github.com/coreos/go-systemd 95778dfbb74eb7e4dbaf43bf7d71809650ef8076 +SRCREV_go-systemd="95778dfbb74eb7e4dbaf43bf7d71809650ef8076" +SRC_URI += "git://github.com/coreos/go-systemd;name=go-systemd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-systemd" + +# github.com/gorilla/websocket v1.5.0 +# [1] git ls-remote https://github.com/gorilla/websocket 9111bb834a68b893cebbbaed5060bdbc1d9ab7d2 +SRCREV_websocket="9111bb834a68b893cebbbaed5060bdbc1d9ab7d2" +SRC_URI += "git://github.com/gorilla/websocket;name=websocket;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gorilla/websocket" + +# github.com/minio/minio-go/v7 v7.0.33 +# [1] git ls-remote https://github.com/minio/minio-go a80fee3343f12028079ae831a04b9583ba09c695 +SRCREV_v7="a80fee3343f12028079ae831a04b9583ba09c695" +SRC_URI += "git://github.com/minio/minio-go;name=v7;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/minio-go/v7" + +# github.com/yl2chen/cidranger v1.0.2 +# [1] git ls-remote https://github.com/yl2chen/cidranger 7ff5a0e84593dad6fbd50551343618d7956b3c71 +SRCREV_cidranger="7ff5a0e84593dad6fbd50551343618d7956b3c71" +SRC_URI += "git://github.com/yl2chen/cidranger;name=cidranger;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/yl2chen/cidranger" + +# github.com/k3s-io/kubernetes v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kubernetes="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kubernetes;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes" + +# github.com/benbjohnson/clock v1.3.5 +# [1] git ls-remote https://github.com/benbjohnson/clock 96c602caabb567343046c08a8fca8560b4f00bb4 +SRCREV_clock="96c602caabb567343046c08a8fca8560b4f00bb4" +SRC_URI += "git://github.com/benbjohnson/clock;name=clock;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/benbjohnson/clock" + +# github.com/francoispqt/gojay v1.2.13 +# [1] git ls-remote https://github.com/francoispqt/gojay 1398296d938f9fae26750ddc2fe356b6d897f799 +SRCREV_gojay="1398296d938f9fae26750ddc2fe356b6d897f799" +SRC_URI += "git://github.com/francoispqt/gojay;name=gojay;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/francoispqt/gojay" + +# github.com/ipfs/go-datastore v0.6.0 +# [1] git ls-remote https://github.com/ipfs/go-datastore 1de47089f5c72b61d91b5cd9043e49fe95771ac0 +SRCREV_go-datastore="1de47089f5c72b61d91b5cd9043e49fe95771ac0" +SRC_URI += "git://github.com/ipfs/go-datastore;name=go-datastore;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipfs/go-datastore" + +# github.com/raulk/go-watchdog v1.3.0 +# [1] git ls-remote https://github.com/raulk/go-watchdog 9c5e371109037bec1852ea63c9512a94307bfea0 +SRCREV_go-watchdog="9c5e371109037bec1852ea63c9512a94307bfea0" +SRC_URI += "git://github.com/raulk/go-watchdog;name=go-watchdog;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/raulk/go-watchdog" + +# github.com/spaolacci/murmur3 v1.1.0 +# [1] git ls-remote https://github.com/spaolacci/murmur3 f09979ecbc725b9e6d41a297405f65e7e8804acc +SRCREV_murmur3="f09979ecbc725b9e6d41a297405f65e7e8804acc" +SRC_URI += "git://github.com/spaolacci/murmur3;name=murmur3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spaolacci/murmur3" + +# github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 +# [1] git ls-remote https://github.com/Azure/go-ansiterm d185dfc1b5a126116ea5a19e148e29d16b4574c9 +SRCREV_go-ansiterm="d185dfc1b5a126116ea5a19e148e29d16b4574c9" +SRC_URI += "git://github.com/Azure/go-ansiterm;name=go-ansiterm;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-ansiterm" + +# github.com/Azure/go-autorest v14.2.0+incompatible +# [1] git ls-remote https://github.com/Azure/go-autorest e7b391b759b050d6719cc6fd8bb87b6dc038bca6 +SRCREV_go-autorest="e7b391b759b050d6719cc6fd8bb87b6dc038bca6" +SRC_URI += "git://github.com/Azure/go-autorest;name=go-autorest;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest" + +# github.com/avast/retry-go/v4 v4.3.2 +# [1] git ls-remote https://github.com/avast/retry-go c65eeae03ec06cb591b05d092457de9f691bb359 +SRCREV_retry-go-v4="c65eeae03ec06cb591b05d092457de9f691bb359" +SRC_URI += "git://github.com/avast/retry-go;name=retry-go-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/avast/retry-go/v4" + +# github.com/cespare/xxhash/v2 v2.2.0 +# [1] git ls-remote https://github.com/cespare/xxhash a76eb16a93c1e30527c073ca831d9048b4b935f6 +SRCREV_xxhash-v2="a76eb16a93c1e30527c073ca831d9048b4b935f6" +SRC_URI += "git://github.com/cespare/xxhash;name=xxhash-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cespare/xxhash/v2" + +# github.com/containerd/go-cni v1.1.9 +# [1] git ls-remote https://github.com/containerd/go-cni 6603d5bd8941d7f2026bb5627f6aa4ff434f859a +SRCREV_go-cni="6603d5bd8941d7f2026bb5627f6aa4ff434f859a" +SRC_URI += "git://github.com/containerd/go-cni;name=go-cni;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/go-cni" + +# github.com/docker/go-metrics v0.0.1 +# [1] git ls-remote https://github.com/docker/go-metrics b619b3592b65de4f087d9f16863a7e6ff905973c +SRCREV_go-metrics="b619b3592b65de4f087d9f16863a7e6ff905973c" +SRC_URI += "git://github.com/docker/go-metrics;name=go-metrics;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-metrics" + +# github.com/felixge/httpsnoop v1.0.4 +# [1] git ls-remote https://github.com/felixge/httpsnoop c5817c27ec125409c069052fdd171023c353501c +SRCREV_httpsnoop="c5817c27ec125409c069052fdd171023c353501c" +SRC_URI += "git://github.com/felixge/httpsnoop;name=httpsnoop;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/felixge/httpsnoop" + +# github.com/fsnotify/fsnotify v1.7.0 +# [1] git ls-remote https://github.com/fsnotify/fsnotify cfc9c4f277ea6ec18de92444b31983b183deb4fb +SRCREV_fsnotify="cfc9c4f277ea6ec18de92444b31983b183deb4fb" +SRC_URI += "git://github.com/fsnotify/fsnotify;name=fsnotify;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fsnotify/fsnotify" + +# github.com/golang-jwt/jwt/v4 v4.5.0 +# [1] git ls-remote https://github.com/golang-jwt/jwt 9358574a7a1a2c8d644f22b6e8de627ba85c58d0 +SRCREV_jwt-v4="9358574a7a1a2c8d644f22b6e8de627ba85c58d0" +SRC_URI += "git://github.com/golang-jwt/jwt;name=jwt-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang-jwt/jwt/v4" + +# github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da +# [1] git ls-remote https://github.com/golang/groupcache 41bb18bfe9da5321badc438f91158cd790a33aa3 +SRCREV_groupcache="41bb18bfe9da5321badc438f91158cd790a33aa3" +SRC_URI += "git://github.com/golang/groupcache;name=groupcache;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/groupcache" + +# github.com/hanwen/go-fuse/v2 v2.3.0 +# [1] git ls-remote https://github.com/hanwen/go-fuse d537a5a8d65c6552bc3844571f1d8ec76bcac5e4 +SRCREV_go-fuse-v2="d537a5a8d65c6552bc3844571f1d8ec76bcac5e4" +SRC_URI += "git://github.com/hanwen/go-fuse;name=go-fuse-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hanwen/go-fuse/v2" + +# github.com/hashicorp/errwrap v1.1.0 +# [1] git ls-remote https://github.com/hashicorp/errwrap 7b00e5db719c64d14dd0caaacbd13e76254d02c0 +SRCREV_errwrap="7b00e5db719c64d14dd0caaacbd13e76254d02c0" +SRC_URI += "git://github.com/hashicorp/errwrap;name=errwrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/errwrap" + +# github.com/karrick/godirwalk v1.17.0 +# [1] git ls-remote https://github.com/karrick/godirwalk 9a7752c108e7ea76255201b9f47bd4d4d2df868e +SRCREV_godirwalk="9a7752c108e7ea76255201b9f47bd4d4d2df868e" +SRC_URI += "git://github.com/karrick/godirwalk;name=godirwalk;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/karrick/godirwalk" + +# github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de +# [1] git ls-remote https://github.com/liggitt/tabwriter 89fcab3d43de07060e4fd4c1547430ed57e87f24 +SRCREV_tabwriter="89fcab3d43de07060e4fd4c1547430ed57e87f24" +SRC_URI += "git://github.com/liggitt/tabwriter;name=tabwriter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/liggitt/tabwriter" + +# github.com/minio/highwayhash v1.0.2 +# [1] git ls-remote https://github.com/minio/highwayhash 08ce0b4fa7932a018438133f1b632e1c674d4107 +SRCREV_highwayhash="08ce0b4fa7932a018438133f1b632e1c674d4107" +SRC_URI += "git://github.com/minio/highwayhash;name=highwayhash;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/highwayhash" + +# github.com/minio/sha256-simd v1.0.1 +# [1] git ls-remote https://github.com/minio/sha256-simd 6096f891a77bfe490cbea7a424c821b5fdb92849 +SRCREV_sha256-simd="6096f891a77bfe490cbea7a424c821b5fdb92849" +SRC_URI += "git://github.com/minio/sha256-simd;name=sha256-simd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/sha256-simd" + +# github.com/mrunalp/fileutils v0.5.1 +# [1] git ls-remote https://github.com/mrunalp/fileutils 7363e975f9cfb558be601bece0df81714c3c9084 +SRCREV_fileutils="7363e975f9cfb558be601bece0df81714c3c9084" +SRC_URI += "git://github.com/mrunalp/fileutils;name=fileutils;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mrunalp/fileutils" + +# github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 +# [1] git ls-remote https://github.com/munnerz/goautoneg a7dc8b61c822528f973a5e4e7b272055c6fdb43e +SRCREV_goautoneg="a7dc8b61c822528f973a5e4e7b272055c6fdb43e" +SRC_URI += "git://github.com/munnerz/goautoneg;name=goautoneg;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/munnerz/goautoneg" + +# github.com/pelletier/go-toml v1.9.5 +# [1] git ls-remote https://github.com/pelletier/go-toml fed1464066413075eac02cd4dc368b5221845541 +SRCREV_go-toml="fed1464066413075eac02cd4dc368b5221845541" +SRC_URI += "git://github.com/pelletier/go-toml;name=go-toml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pelletier/go-toml" + +# github.com/prometheus/common v0.45.0 +# [1] git ls-remote https://github.com/prometheus/common c59927ec74c04c0c17891bf27784fe7c484ae97f +SRCREV_common="c59927ec74c04c0c17891bf27784fe7c484ae97f" +SRC_URI += "git://github.com/prometheus/common;name=common;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/common" + +# github.com/prometheus/procfs v0.12.0 +# [1] git ls-remote https://github.com/prometheus/procfs ff0ad85f7e8bcd5c677d99143f14a2a3aab533aa +SRCREV_procfs="ff0ad85f7e8bcd5c677d99143f14a2a3aab533aa" +SRC_URI += "git://github.com/prometheus/procfs;name=procfs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/procfs" + +# github.com/vishvananda/netns v0.0.4 +# [1] git ls-remote https://github.com/vishvananda/netns 7a452d2d15292b2bfb2a2d88e6bdeac156a761b9 +SRCREV_netns="7a452d2d15292b2bfb2a2d88e6bdeac156a761b9" +SRC_URI += "git://github.com/vishvananda/netns;name=netns;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/vishvananda/netns" + +# go.opentelemetry.io/otel/sdk v1.13.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go f2fd476f433128c2494476950ce11600a51bbe35 +SRCREV_sdk="f2fd476f433128c2494476950ce11600a51bbe35" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=sdk;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/sdk" + +# github.com/k3s-io/cri-dockerd v0.3.9-k3s2 +# [1] git ls-remote https://github.com/k3s-io/cri-dockerd 0d2146805dcd844e15d02d6f1956b4cd0e4365cf +SRCREV_cri-dockerd="0d2146805dcd844e15d02d6f1956b4cd0e4365cf" +SRC_URI += "git://github.com/k3s-io/cri-dockerd;name=cri-dockerd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/cri-dockerd" + +# github.com/coreos/go-iptables v0.7.0 +# [1] git ls-remote https://github.com/coreos/go-iptables b9dff5a19d9c3925da3f9b3c0a705de6c1fdc56c +SRCREV_go-iptables="b9dff5a19d9c3925da3f9b3c0a705de6c1fdc56c" +SRC_URI += "git://github.com/coreos/go-iptables;name=go-iptables;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-iptables" + +# github.com/flannel-io/flannel v0.24.2 +# [1] git ls-remote https://github.com/flannel-io/flannel 3d56ed16e123a6fb06841ba920664b3ce4c99cda +SRCREV_flannel="3d56ed16e123a6fb06841ba920664b3ce4c99cda" +SRC_URI += "git://github.com/flannel-io/flannel;name=flannel;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/flannel-io/flannel" + +# github.com/ipfs/go-ds-leveldb v0.5.0 +# [1] git ls-remote https://github.com/ipfs/go-ds-leveldb 6f6dc580f7325ad411fc5967ccee67e40545e208 +SRCREV_go-ds-leveldb="6f6dc580f7325ad411fc5967ccee67e40545e208" +SRC_URI += "git://github.com/ipfs/go-ds-leveldb;name=go-ds-leveldb;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipfs/go-ds-leveldb" + +# github.com/klauspost/compress v1.17.2 +# [1] git ls-remote https://github.com/klauspost/compress 8eb6542f08f086fb92796f6d8a4531d754947309 +SRCREV_compress="8eb6542f08f086fb92796f6d8a4531d754947309" +SRC_URI += "git://github.com/klauspost/compress;name=compress;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/compress" + +# github.com/k3s-io/etcd/api/v3 v3.5.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_api-v3="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=api-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/api/v3" + +# github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 +# [1] git ls-remote https://github.com/chenzhuoyu/base64x fe3a3abad31102e33411b1b239aa111b80ae336d +SRCREV_base64x="fe3a3abad31102e33411b1b239aa111b80ae336d" +SRC_URI += "git://github.com/chenzhuoyu/base64x;name=base64x;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/chenzhuoyu/base64x" + +# github.com/ipld/go-ipld-prime v0.20.0 +# [1] git ls-remote https://github.com/ipld/go-ipld-prime 200b4a6b6fb6720911cb385aff05da55c39d56de +SRCREV_go-ipld-prime="200b4a6b6fb6720911cb385aff05da55c39d56de" +SRC_URI += "git://github.com/ipld/go-ipld-prime;name=go-ipld-prime;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipld/go-ipld-prime" + +# github.com/jackpal/go-nat-pmp v1.0.2 +# [1] git ls-remote https://github.com/jackpal/go-nat-pmp 059203efa1edd7130293a583541b8308e7c640c4 +SRCREV_go-nat-pmp="059203efa1edd7130293a583541b8308e7c640c4" +SRC_URI += "git://github.com/jackpal/go-nat-pmp;name=go-nat-pmp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jackpal/go-nat-pmp" + +# github.com/libp2p/go-netroute v0.2.1 +# [1] git ls-remote https://github.com/libp2p/go-netroute 462cbfaf52f4c2a2321e6382455a8f56396f3664 +SRCREV_go-netroute="462cbfaf52f4c2a2321e6382455a8f56396f3664" +SRC_URI += "git://github.com/libp2p/go-netroute;name=go-netroute;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-netroute" + +# github.com/libp2p/go-yamux/v4 v4.0.1 +# [1] git ls-remote https://github.com/libp2p/go-yamux e584a210c72651b67829477b4b4285cae25b1a1b +SRCREV_go-yamux-v4="e584a210c72651b67829477b4b4285cae25b1a1b" +SRC_URI += "git://github.com/libp2p/go-yamux;name=go-yamux-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-yamux/v4" + +# github.com/marten-seemann/tcp v0.0.0-20210406111302-dfbc87cc63fd +# [1] git ls-remote https://github.com/marten-seemann/tcp dfbc87cc63fd003b9a070c76d605769fa3e2e3b2 +SRCREV_tcp="dfbc87cc63fd003b9a070c76d605769fa3e2e3b2" +SRC_URI += "git://github.com/marten-seemann/tcp;name=tcp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/marten-seemann/tcp" + +# github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab +# [1] git ls-remote https://github.com/JeffAshton/win_pdh 76bb4ee9f0ab50f77826f2a2ee7fb9d3880d6ec2 +SRCREV_win_pdh="76bb4ee9f0ab50f77826f2a2ee7fb9d3880d6ec2" +SRC_URI += "git://github.com/JeffAshton/win_pdh;name=win_pdh;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/JeffAshton/win_pdh" + +# github.com/Microsoft/go-winio v0.6.1 +# [1] git ls-remote https://github.com/microsoft/go-winio 070c828abb873da9e71c7247740253b50f7cf049 +SRCREV_go-winio="070c828abb873da9e71c7247740253b50f7cf049" +SRC_URI += "git://github.com/microsoft/go-winio;name=go-winio;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Microsoft/go-winio" + +# github.com/containerd/cgroups v1.1.0 +# [1] git ls-remote https://github.com/containerd/cgroups fe7323f622bc222e72473679f12a9089aeeda177 +SRCREV_cgroups="fe7323f622bc222e72473679f12a9089aeeda177" +SRC_URI += "git://github.com/containerd/cgroups;name=cgroups;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/cgroups" + +# github.com/containerd/console v1.0.3 +# [1] git ls-remote https://github.com/containerd/console b5cb846c9186d67bcae3ce3c324e47cd317d9527 +SRCREV_console="b5cb846c9186d67bcae3ce3c324e47cd317d9527" +SRC_URI += "git://github.com/containerd/console;name=console;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/console" + +# github.com/containerd/go-runc v1.0.0 +# [1] git ls-remote https://github.com/containerd/go-runc 16b287bc67d069a60fa48db15f330b790b74365b +SRCREV_go-runc="16b287bc67d069a60fa48db15f330b790b74365b" +SRC_URI += "git://github.com/containerd/go-runc;name=go-runc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/go-runc" + +# github.com/containerd/typeurl v1.0.2 +# [1] git ls-remote https://github.com/containerd/typeurl 5e43fb8b75ed2f2305fc04e6918c8d10636771bc +SRCREV_typeurl="5e43fb8b75ed2f2305fc04e6918c8d10636771bc" +SRC_URI += "git://github.com/containerd/typeurl;name=typeurl;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/typeurl" + +# github.com/dustin/go-humanize v1.0.1 +# [1] git ls-remote https://github.com/dustin/go-humanize 9ec74ab2f7a7161664182fd4e5e292fccffbc75f +SRCREV_go-humanize="9ec74ab2f7a7161664182fd4e5e292fccffbc75f" +SRC_URI += "git://github.com/dustin/go-humanize;name=go-humanize;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/dustin/go-humanize" + +# github.com/evanphx/json-patch v5.6.0+incompatible +# [1] git ls-remote https://github.com/evanphx/json-patch 5561fe05a1ec79c9bca966376211b2ab81959671 +SRCREV_json-patch="5561fe05a1ec79c9bca966376211b2ab81959671" +SRC_URI += "git://github.com/evanphx/json-patch;name=json-patch;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/evanphx/json-patch" + +# github.com/fvbommel/sortorder v1.1.0 +# [1] git ls-remote https://github.com/fvbommel/sortorder a8d9302c17f9f46c6580b82b919672e58ef6e396 +SRCREV_sortorder="a8d9302c17f9f46c6580b82b919672e58ef6e396" +SRC_URI += "git://github.com/fvbommel/sortorder;name=sortorder;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fvbommel/sortorder" + +# github.com/go-task/slim-sprig v0.0.0-20230315185526-52ccab3ef572 +# [1] git ls-remote https://github.com/go-task/slim-sprig 52ccab3ef572c7e1a2c258be183f9a9296d60152 +SRCREV_slim-sprig="52ccab3ef572c7e1a2c258be183f9a9296d60152" +SRC_URI += "git://github.com/go-task/slim-sprig;name=slim-sprig;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-task/slim-sprig" + +# github.com/klauspost/cpuid/v2 v2.2.5 +# [1] git ls-remote https://github.com/klauspost/cpuid 1af2d99c24e60b21f4c8e8ea63ed69523ebbbb16 +SRCREV_cpuid-v2="1af2d99c24e60b21f4c8e8ea63ed69523ebbbb16" +SRC_URI += "git://github.com/klauspost/cpuid;name=cpuid-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/cpuid/v2" + +# github.com/kylelemons/godebug v1.1.0 +# [1] git ls-remote https://github.com/kylelemons/godebug 9ff306d4fbead574800b66369df5b6144732d58e +SRCREV_godebug="9ff306d4fbead574800b66369df5b6144732d58e" +SRC_URI += "git://github.com/kylelemons/godebug;name=godebug;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/kylelemons/godebug" + +# github.com/mdlayher/genetlink v1.3.2 +# [1] git ls-remote https://github.com/mdlayher/genetlink 7531bffe0f5e10d1ce558d35e6feb5d1d1600851 +SRCREV_genetlink="7531bffe0f5e10d1ce558d35e6feb5d1d1600851" +SRC_URI += "git://github.com/mdlayher/genetlink;name=genetlink;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mdlayher/genetlink" + +# github.com/moby/sys/mountinfo v0.6.2 +# [1] git ls-remote https://github.com/moby/sys 1bf36f7188c31f2797c556c4c4d7d9af7a6a965b +SRCREV_mountinfo="1bf36f7188c31f2797c556c4c4d7d9af7a6a965b" +SRC_URI += "git://github.com/moby/sys;name=mountinfo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/mountinfo" + +# github.com/modern-go/reflect2 v1.0.2 +# [1] git ls-remote https://github.com/modern-go/reflect2 2b33151c9bbc5231aea69b8861c540102b087070 +SRCREV_reflect2="2b33151c9bbc5231aea69b8861c540102b087070" +SRC_URI += "git://github.com/modern-go/reflect2;name=reflect2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/reflect2" + +# github.com/peterbourgon/diskv v2.0.1+incompatible +# [1] git ls-remote https://github.com/peterbourgon/diskv 5f041e8faa004a95c88a202771f4cc3e991971e6 +SRCREV_diskv="5f041e8faa004a95c88a202771f4cc3e991971e6" +SRC_URI += "git://github.com/peterbourgon/diskv;name=diskv;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/peterbourgon/diskv" + +# github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 +# [1] git ls-remote https://github.com/pmezard/go-difflib 5d4384ee4fb2527b0a1256a821ebfc92f91efefc +SRCREV_go-difflib="5d4384ee4fb2527b0a1256a821ebfc92f91efefc" +SRC_URI += "git://github.com/pmezard/go-difflib;name=go-difflib;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pmezard/go-difflib" + +# github.com/shengdoushi/base58 v1.0.0 +# [1] git ls-remote https://github.com/shengdoushi/base58 c5f44ca1af76fb63925d5fba8fa7b85870199839 +SRCREV_shengdoushi-base58="c5f44ca1af76fb63925d5fba8fa7b85870199839" +SRC_URI += "git://github.com/shengdoushi/base58;name=shengdoushi-base58;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/shengdoushi/base58" + +# github.com/stoewer/go-strcase v1.2.0 +# [1] git ls-remote https://github.com/stoewer/go-strcase 7962b205553802087345c0b4c74d57b65236f676 +SRCREV_go-strcase="7962b205553802087345c0b4c74d57b65236f676" +SRC_URI += "git://github.com/stoewer/go-strcase;name=go-strcase;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/stoewer/go-strcase" + +# github.com/k3s-io/etcd/pkg/v3 v3.5.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_pkg-v3="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=pkg-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/pkg/v3" + +# github.com/erikdubbelboer/gspt v0.0.0-20190125194910-e68493906b83 +# [1] git ls-remote https://github.com/erikdubbelboer/gspt e68493906b8382891943ddc9960cb9c6ecd1a1f0 +SRCREV_gspt="e68493906b8382891943ddc9960cb9c6ecd1a1f0" +SRC_URI += "git://github.com/erikdubbelboer/gspt;name=gspt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/erikdubbelboer/gspt" + +# github.com/go-sql-driver/mysql v1.7.1 +# [1] git ls-remote https://github.com/go-sql-driver/mysql f20b2863636093e5fbf1481b59bdaff3b0fbb779 +SRCREV_mysql="f20b2863636093e5fbf1481b59bdaff3b0fbb779" +SRC_URI += "git://github.com/go-sql-driver/mysql;name=mysql;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-sql-driver/mysql" + +# github.com/vishvananda/netlink v1.2.1-beta.2 +# [1] git ls-remote https://github.com/vishvananda/netlink 5e915e0149386ce3d02379ff93f4c0a5601779d5 +SRCREV_netlink="5e915e0149386ce3d02379ff93f4c0a5601779d5" +SRC_URI += "git://github.com/vishvananda/netlink;name=netlink;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/vishvananda/netlink" + +# github.com/libp2p/go-cidranger v1.1.0 +# [1] git ls-remote https://github.com/libp2p/go-cidranger 1dec7f87b45b32e24d3f59548ad61647de34586d +SRCREV_go-cidranger="1dec7f87b45b32e24d3f59548ad61647de34586d" +SRC_URI += "git://github.com/libp2p/go-cidranger;name=go-cidranger;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-cidranger" + +# github.com/libp2p/go-reuseport v0.4.0 +# [1] git ls-remote https://github.com/libp2p/go-reuseport ac34b4fb35437abcc176b5bb97cc431d62d983e0 +SRCREV_go-reuseport="ac34b4fb35437abcc176b5bb97cc431d62d983e0" +SRC_URI += "git://github.com/libp2p/go-reuseport;name=go-reuseport;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-reuseport" + +# github.com/quic-go/qtls-go1-20 v0.3.3 +# [1] git ls-remote https://github.com/quic-go/qtls-go1-20 5ba42598e0a018acd682059ee240c6bb8d085b07 +SRCREV_qtls-go1-20="5ba42598e0a018acd682059ee240c6bb8d085b07" +SRC_URI += "git://github.com/quic-go/qtls-go1-20;name=qtls-go1-20;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/quic-go/qtls-go1-20" + +# github.com/MakeNowJust/heredoc v1.0.0 +# [1] git ls-remote https://github.com/makenowjust/heredoc bbd9af33722b79a933ef99c7c94833065e2d6c20 +SRCREV_heredoc="bbd9af33722b79a933ef99c7c94833065e2d6c20" +SRC_URI += "git://github.com/makenowjust/heredoc;name=heredoc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/MakeNowJust/heredoc" + +# github.com/NYTimes/gziphandler v1.1.1 +# [1] git ls-remote https://github.com/nytimes/gziphandler dd0439581c7657cb652dfe5c71d7d48baf39541d +SRCREV_gziphandler="dd0439581c7657cb652dfe5c71d7d48baf39541d" +SRC_URI += "git://github.com/nytimes/gziphandler;name=gziphandler;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/NYTimes/gziphandler" + +# github.com/canonical/go-dqlite v1.5.1 +# [1] git ls-remote https://github.com/canonical/go-dqlite 830c1a017995b73322e86c2a6f2ca799c1caca07 +SRCREV_go-dqlite="830c1a017995b73322e86c2a6f2ca799c1caca07" +SRC_URI += "git://github.com/canonical/go-dqlite;name=go-dqlite;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/canonical/go-dqlite" + +# github.com/cenkalti/backoff/v4 v4.2.1 +# [1] git ls-remote https://github.com/cenkalti/backoff a04a6fe64ffb0e3fd0816460529d300be5f252df +SRCREV_backoff-v4="a04a6fe64ffb0e3fd0816460529d300be5f252df" +SRC_URI += "git://github.com/cenkalti/backoff;name=backoff-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cenkalti/backoff/v4" + +# github.com/chai2010/gettext-go v1.0.2 +# [1] git ls-remote https://github.com/chai2010/gettext-go 274d1753d015d0362761b6a1cc2a572e6a035913 +SRCREV_gettext-go="274d1753d015d0362761b6a1cc2a572e6a035913" +SRC_URI += "git://github.com/chai2010/gettext-go;name=gettext-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/chai2010/gettext-go" + +# github.com/containerd/btrfs/v2 v2.0.0 +# [1] git ls-remote https://github.com/containerd/btrfs f611cf12b33f43269574b2ad82bcb55e4d6f9982 +SRCREV_btrfs-v2="f611cf12b33f43269574b2ad82bcb55e4d6f9982" +SRC_URI += "git://github.com/containerd/btrfs;name=btrfs-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/btrfs/v2" + +# github.com/containerd/imgcrypt v1.1.7 +# [1] git ls-remote https://github.com/containerd/imgcrypt 01a05dffff35aadeb0a3008016ed745e7ff6beda +SRCREV_imgcrypt="01a05dffff35aadeb0a3008016ed745e7ff6beda" +SRC_URI += "git://github.com/containerd/imgcrypt;name=imgcrypt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/imgcrypt" + +# github.com/containers/ocicrypt v1.1.6 +# [1] git ls-remote https://github.com/containers/ocicrypt c61dfa5ee6c2ac10004c4e156d1a435f11c444cf +SRCREV_ocicrypt="c61dfa5ee6c2ac10004c4e156d1a435f11c444cf" +SRC_URI += "git://github.com/containers/ocicrypt;name=ocicrypt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containers/ocicrypt" + +# github.com/docker/distribution v2.8.2+incompatible +# [1] git ls-remote https://github.com/distribution/distribution 7c354a4b40feeea21d7eeae4de91c8ff7951e672 +SRCREV_distribution="7c354a4b40feeea21d7eeae4de91c8ff7951e672" +SRC_URI += "git://github.com/distribution/distribution;name=distribution;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/distribution" + +# github.com/emicklei/go-restful v2.16.0+incompatible +# [1] git ls-remote https://github.com/emicklei/go-restful ac666c045e035603f2704c98c59e979fccbfa94f +SRCREV_go-restful="ac666c045e035603f2704c98c59e979fccbfa94f" +SRC_URI += "git://github.com/emicklei/go-restful;name=go-restful;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/emicklei/go-restful" + +# github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 +# [1] git ls-remote https://github.com/gregjones/httpcache 9cad4c3443a7200dd6400aef47183728de563a38 +SRCREV_httpcache="9cad4c3443a7200dd6400aef47183728de563a38" +SRC_URI += "git://github.com/gregjones/httpcache;name=httpcache;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gregjones/httpcache" + +# github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a +# [1] git ls-remote https://github.com/jackc/pgservicefile 091c0ba34f0a65a78ab8d0e313fde0695c0f7186 +SRCREV_pgservicefile="091c0ba34f0a65a78ab8d0e313fde0695c0f7186" +SRC_URI += "git://github.com/jackc/pgservicefile;name=pgservicefile;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jackc/pgservicefile" + +# github.com/jonboulle/clockwork v0.4.0 +# [1] git ls-remote https://github.com/jonboulle/clockwork 606c48b92358fcca153952b56fb0d14d6845f84a +SRCREV_clockwork="606c48b92358fcca153952b56fb0d14d6845f84a" +SRC_URI += "git://github.com/jonboulle/clockwork;name=clockwork;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jonboulle/clockwork" + +# github.com/mistifyio/go-zfs/v3 v3.0.1 +# [1] git ls-remote https://github.com/mistifyio/go-zfs f6d5c373cf63ae2477370aa9bda9fa49804c2d72 +SRCREV_go-zfs-v3="f6d5c373cf63ae2477370aa9bda9fa49804c2d72" +SRC_URI += "git://github.com/mistifyio/go-zfs;name=go-zfs-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mistifyio/go-zfs/v3" + +# github.com/moby/sys/sequential v0.5.0 +# [1] git ls-remote https://github.com/moby/sys b22ba8a69b306f0b4adbbe2a529457e6283ed9f7 +SRCREV_sequential="b22ba8a69b306f0b4adbbe2a529457e6283ed9f7" +SRC_URI += "git://github.com/moby/sys;name=sequential;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/sequential" + +# github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635 +# [1] git ls-remote https://github.com/syndtr/gocapability 42c35b4376354fd554efc7ad35e0b7f94e3a0ffb +SRCREV_gocapability="42c35b4376354fd554efc7ad35e0b7f94e3a0ffb" +SRC_URI += "git://github.com/syndtr/gocapability;name=gocapability;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/syndtr/gocapability" + +# github.com/k3s-io/etcd/raft/v3 v3.5.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_raft-v3="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=raft-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/raft/v3" + +# go.opentelemetry.io/otel/trace v1.13.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go f2fd476f433128c2494476950ce11600a51bbe35 +SRCREV_trace="f2fd476f433128c2494476950ce11600a51bbe35" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=trace;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/trace" + +# go.opentelemetry.io/proto/otlp v0.19.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-proto-go c98f6b5f7362c9b4a717c7a4dab1ba90796a8f21 +SRCREV_otlp="c98f6b5f7362c9b4a717c7a4dab1ba90796a8f21" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-proto-go;name=otlp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/proto/otlp" + +# github.com/natefinch/lumberjack v2.0.0+incompatible +# [1] git ls-remote https://github.com/natefinch/lumberjack 7d6a1875575e09256dc552b4c0e450dcd02bd10e +SRCREV_lumberjack="7d6a1875575e09256dc552b4c0e450dcd02bd10e" +SRC_URI += "git://github.com/natefinch/lumberjack;name=lumberjack;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/natefinch/lumberjack" + +# github.com/rancher/remotedialer v0.3.0 +# [1] git ls-remote https://github.com/rancher/remotedialer 24498689a9ccec9adbdbadbe3f5d18df75ba133b +SRCREV_remotedialer="24498689a9ccec9adbdbadbe3f5d18df75ba133b" +SRC_URI += "git://github.com/rancher/remotedialer;name=remotedialer;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rancher/remotedialer" + +# github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c +# [1] git ls-remote https://github.com/davidlazar/go-crypto b73af7476f6c55b31aa2797d1f98afc94699548d +SRCREV_go-crypto="b73af7476f6c55b31aa2797d1f98afc94699548d" +SRC_URI += "git://github.com/davidlazar/go-crypto;name=go-crypto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/davidlazar/go-crypto" + +# github.com/hashicorp/golang-lru v0.5.4 +# [1] git ls-remote https://github.com/hashicorp/golang-lru 14eae340515388ca95aa8e7b86f0de668e981f54 +SRCREV_golang-lru="14eae340515388ca95aa8e7b86f0de668e981f54" +SRC_URI += "git://github.com/hashicorp/golang-lru;name=golang-lru;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/golang-lru" + +# github.com/pelletier/go-toml/v2 v2.1.1 +# [1] git ls-remote https://github.com/pelletier/go-toml 34765b4a9e937ab927b5bd57231e98c68fe13109 +SRCREV_go-toml-v2="34765b4a9e937ab927b5bd57231e98c68fe13109" +SRC_URI += "git://github.com/pelletier/go-toml;name=go-toml-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pelletier/go-toml/v2" + +# github.com/slok/go-http-metrics v0.10.0 +# [1] git ls-remote https://github.com/slok/go-http-metrics 9382ededffcb5ecf9f7041bfb779ddc1fc9c08dc +SRCREV_go-http-metrics="9382ededffcb5ecf9f7041bfb779ddc1fc9c08dc" +SRC_URI += "git://github.com/slok/go-http-metrics;name=go-http-metrics;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/slok/go-http-metrics" + +# github.com/xenitab/pkg/channels v0.0.2 +# [1] git ls-remote https://github.com/xenitab/pkg 94c2ab1cbf9c7aff34ed28237765cefd6d409f34 +SRCREV_channels="94c2ab1cbf9c7aff34ed28237765cefd6d409f34" +SRC_URI += "git://github.com/xenitab/pkg;name=channels;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xenitab/pkg/channels" + +# github.com/euank/go-kmsg-parser v2.0.0+incompatible +# [1] git ls-remote https://github.com/euank/go-kmsg-parser 5ba4d492e455a77d25dcf0d2c4acc9f2afebef4e +SRCREV_go-kmsg-parser="5ba4d492e455a77d25dcf0d2c4acc9f2afebef4e" +SRC_URI += "git://github.com/euank/go-kmsg-parser;name=go-kmsg-parser;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/euank/go-kmsg-parser" + +# github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d +# [1] git ls-remote https://github.com/exponent-io/jsonpath d6023ce2651d8eafb5c75bb0c7167536102ec9f5 +SRCREV_jsonpath="d6023ce2651d8eafb5c75bb0c7167536102ec9f5" +SRC_URI += "git://github.com/exponent-io/jsonpath;name=jsonpath;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/exponent-io/jsonpath" + +# github.com/googleapis/gax-go/v2 v2.12.0 +# [1] git ls-remote https://github.com/googleapis/gax-go db3387b70e605dfc1f09513359d396496a91c66b +SRCREV_gax-go-v2="db3387b70e605dfc1f09513359d396496a91c66b" +SRC_URI += "git://github.com/googleapis/gax-go;name=gax-go-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/googleapis/gax-go/v2" + +# github.com/hashicorp/go-version v1.6.0 +# [1] git ls-remote https://github.com/hashicorp/go-version 78d058c5618891f74d604bd15356fca690b64d8a +SRCREV_go-version="78d058c5618891f74d604bd15356fca690b64d8a" +SRC_URI += "git://github.com/hashicorp/go-version;name=go-version;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-version" + +# github.com/mitchellh/go-homedir v1.1.0 +# [1] git ls-remote https://github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727 +SRCREV_go-homedir="af06845cf3004701891bf4fdb884bfe4920b3727" +SRC_URI += "git://github.com/mitchellh/go-homedir;name=go-homedir;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/go-homedir" + +# github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd +# [1] git ls-remote https://github.com/modern-go/concurrent bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94 +SRCREV_concurrent="bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94" +SRC_URI += "git://github.com/modern-go/concurrent;name=concurrent;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/modern-go/concurrent" + +# github.com/pquerna/cachecontrol v0.1.0 +# [1] git ls-remote https://github.com/pquerna/cachecontrol fb00f8a766ae43bf209f50299ce7d69669416dfb +SRCREV_cachecontrol="fb00f8a766ae43bf209f50299ce7d69669416dfb" +SRC_URI += "git://github.com/pquerna/cachecontrol;name=cachecontrol;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pquerna/cachecontrol" + +# github.com/tchap/go-patricia/v2 v2.3.1 +# [1] git ls-remote https://github.com/tchap/go-patricia 5fc88dd7937ad82ca516f7f1f6b2c06dd0180309 +SRCREV_go-patricia-v2="5fc88dd7937ad82ca516f7f1f6b2c06dd0180309" +SRC_URI += "git://github.com/tchap/go-patricia;name=go-patricia-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tchap/go-patricia/v2" + +# go.opentelemetry.io/otel/metric v0.32.1 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go d7bfe6675fe79b0c01cae3d4c5f06330b2fece73 +SRCREV_metric="d7bfe6675fe79b0c01cae3d4c5f06330b2fece73" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=metric;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/metric" + +# github.com/k3s-io/kube-router/v2 v2.0.1 +# [1] git ls-remote https://github.com/k3s-io/kube-router 6842973d656f0bf1562858d278ea5d1f06a16f56 +SRCREV_v2="6842973d656f0bf1562858d278ea5d1f06a16f56" +SRC_URI += "git://github.com/k3s-io/kube-router;name=v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kube-router/v2" + +# github.com/containerd/cgroups/v3 v3.0.2 +# [1] git ls-remote https://github.com/containerd/cgroups 8fa64246e17ceea54277b3ad7139d9ec17545bfa +SRCREV_v3="8fa64246e17ceea54277b3ad7139d9ec17545bfa" +SRC_URI += "git://github.com/containerd/cgroups;name=v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/cgroups/v3" + +# github.com/go-bindata/go-bindata v3.1.2+incompatible +# [1] git ls-remote https://github.com/go-bindata/go-bindata ff7109080027ec152dabb369e157c4f359b76f31 +SRCREV_go-bindata="ff7109080027ec152dabb369e157c4f359b76f31" +SRC_URI += "git://github.com/go-bindata/go-bindata;name=go-bindata;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-bindata/go-bindata" + +# github.com/k3s-io/etcd/client/v3 v3.5.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_client-v3="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=client-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/client/v3" + +# github.com/k3s-io/etcd/server/v3 v3.5.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_server-v3="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=server-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/server/v3" + +# github.com/go-playground/locales v0.14.1 +# [1] git ls-remote https://github.com/go-playground/locales ce315c8672599942003599943a1e64288f55b03f +SRCREV_locales="ce315c8672599942003599943a1e64288f55b03f" +SRC_URI += "git://github.com/go-playground/locales;name=locales;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-playground/locales" + +# github.com/libp2p/go-buffer-pool v0.1.0 +# [1] git ls-remote https://github.com/libp2p/go-buffer-pool c5070857211a0615ebd7b56588154941af580a4d +SRCREV_go-buffer-pool="c5070857211a0615ebd7b56588154941af580a4d" +SRC_URI += "git://github.com/libp2p/go-buffer-pool;name=go-buffer-pool;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-buffer-pool" + +# github.com/containerd/continuity v0.4.2 +# [1] git ls-remote https://github.com/containerd/continuity 77a2d47a6668b82465fdf6cb749fe3a2aa2c9743 +SRCREV_continuity="77a2d47a6668b82465fdf6cb749fe3a2aa2c9743" +SRC_URI += "git://github.com/containerd/continuity;name=continuity;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/continuity" + +# github.com/containerd/typeurl/v2 v2.1.1 +# [1] git ls-remote https://github.com/containerd/typeurl 7ef6316b771f959cbb208b229e3423a466947df3 +SRCREV_typeurl-v2="7ef6316b771f959cbb208b229e3423a466947df3" +SRC_URI += "git://github.com/containerd/typeurl;name=typeurl-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/typeurl/v2" + +# github.com/coreos/go-systemd/v22 v22.5.0 +# [1] git ls-remote https://github.com/coreos/go-systemd d5623bf85e8e73ae6352f78ee6b55a287619dd4e +SRCREV_v22="d5623bf85e8e73ae6352f78ee6b55a287619dd4e" +SRC_URI += "git://github.com/coreos/go-systemd;name=v22;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-systemd/v22" + +# github.com/cpuguy83/go-md2man/v2 v2.0.3 +# [1] git ls-remote https://github.com/cpuguy83/go-md2man f67b5f6400a3ea2156517041a329ae5f5935395c +SRCREV_go-md2man-v2="f67b5f6400a3ea2156517041a329ae5f5935395c" +SRC_URI += "git://github.com/cpuguy83/go-md2man;name=go-md2man-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cpuguy83/go-md2man/v2" + +# github.com/docker/go-connections v0.5.0 +# [1] git ls-remote https://github.com/docker/go-connections fa09c952e3eadbffaf8afc5b8a1667158ba38ace +SRCREV_go-connections="fa09c952e3eadbffaf8afc5b8a1667158ba38ace" +SRC_URI += "git://github.com/docker/go-connections;name=go-connections;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-connections" + +# github.com/google/gnostic-models v0.6.9-0.20230804172637-c7be7c783f49 +# [1] git ls-remote https://github.com/google/gnostic-models c7be7c783f49e86348a1081eb387e01a347a4f23 +SRCREV_gnostic-models="c7be7c783f49e86348a1081eb387e01a347a4f23" +SRC_URI += "git://github.com/google/gnostic-models;name=gnostic-models;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/gnostic-models" + +# github.com/mitchellh/go-wordwrap v1.0.1 +# [1] git ls-remote https://github.com/mitchellh/go-wordwrap ecf0936a077a4bd73a1cc2ac5c370f2b55618d62 +SRCREV_go-wordwrap="ecf0936a077a4bd73a1cc2ac5c370f2b55618d62" +SRC_URI += "git://github.com/mitchellh/go-wordwrap;name=go-wordwrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/go-wordwrap" + +# github.com/k3s-io/etcd/client/v2 v2.305.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_client-v2="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=client-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/client/v2" + +# gopkg.in/natefinch/lumberjack.v2 v2.2.1 +# [1] git ls-remote https://github.com/natefinch/lumberjack 4cb27fcfbb0f35cb48c542c5ea80b7c1d18933d0 +SRCREV_lumberjack.v2="4cb27fcfbb0f35cb48c542c5ea80b7c1d18933d0" +SRC_URI += "git://github.com/natefinch/lumberjack;name=lumberjack.v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/natefinch/lumberjack.v2" + +# github.com/k3s-io/helm-controller v0.15.8 +# [1] git ls-remote https://github.com/k3s-io/helm-controller 6479edd3c7f919dd9cc65a88aca75390f391eb4f +SRCREV_helm-controller="6479edd3c7f919dd9cc65a88aca75390f391eb4f" +SRC_URI += "git://github.com/k3s-io/helm-controller;name=helm-controller;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/helm-controller" + +# github.com/mwitkow/go-http-dialer v0.0.0-20161116154839-378f744fb2b8 +# [1] git ls-remote https://github.com/mwitkow/go-http-dialer 378f744fb2b81a6b96e3f40cde4f3bcab5a9cff0 +SRCREV_go-http-dialer="378f744fb2b81a6b96e3f40cde4f3bcab5a9cff0" +SRC_URI += "git://github.com/mwitkow/go-http-dialer;name=go-http-dialer;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mwitkow/go-http-dialer" + +# github.com/opencontainers/selinux v1.10.1 +# [1] git ls-remote https://github.com/opencontainers/selinux 84e248a28e776216cd33a51fdea90a20fe308136 +SRCREV_selinux="84e248a28e776216cd33a51fdea90a20fe308136" +SRC_URI += "git://github.com/opencontainers/selinux;name=selinux;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/selinux" + +# github.com/k3s-io/etcd/etcdutl/v3 v3.5.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_etcdutl-v3="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=etcdutl-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/etcdutl/v3" + +# github.com/libp2p/go-flow-metrics v0.1.0 +# [1] git ls-remote https://github.com/libp2p/go-flow-metrics 3f13d05958e2d1be0245aed1bdb38f9ff1b4efdc +SRCREV_go-flow-metrics="3f13d05958e2d1be0245aed1bdb38f9ff1b4efdc" +SRC_URI += "git://github.com/libp2p/go-flow-metrics;name=go-flow-metrics;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-flow-metrics" + +# github.com/multiformats/go-base32 v0.1.0 +# [1] git ls-remote https://github.com/multiformats/go-base32 a16b66327f327428b32b919939b8c93482507e1f +SRCREV_go-base32="a16b66327f327428b32b919939b8c93482507e1f" +SRC_URI += "git://github.com/multiformats/go-base32;name=go-base32;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-base32" + +# github.com/multiformats/go-base36 v0.2.0 +# [1] git ls-remote https://github.com/multiformats/go-base36 da52c98bb97cfaa321be04030bc97dcee7de63ff +SRCREV_go-base36="da52c98bb97cfaa321be04030bc97dcee7de63ff" +SRC_URI += "git://github.com/multiformats/go-base36;name=go-base36;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-base36" + +# github.com/multiformats/go-varint v0.0.7 +# [1] git ls-remote https://github.com/multiformats/go-varint 8c8129accb08fc978bb276c81d568c41eafdd48f +SRCREV_go-varint="8c8129accb08fc978bb276c81d568c41eafdd48f" +SRC_URI += "git://github.com/multiformats/go-varint;name=go-varint;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-varint" + +# github.com/Azure/azure-sdk-for-go v68.0.0+incompatible +# [1] git ls-remote https://github.com/Azure/azure-sdk-for-go 2187aca40bbf6931ffac666977e5d29128d82585 +SRCREV_azure-sdk-for-go="2187aca40bbf6931ffac666977e5d29128d82585" +SRC_URI += "git://github.com/Azure/azure-sdk-for-go;name=azure-sdk-for-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/azure-sdk-for-go" + +# github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a +# [1] git ls-remote https://github.com/asaskevich/govalidator f61b66f89f4a311bef65f13e575bcf1a2ffadda6 +SRCREV_govalidator="f61b66f89f4a311bef65f13e575bcf1a2ffadda6" +SRC_URI += "git://github.com/asaskevich/govalidator;name=govalidator;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/asaskevich/govalidator" + +# github.com/emicklei/go-restful/v3 v3.9.0 +# [1] git ls-remote https://github.com/emicklei/go-restful ce871fa2f7069b65c784c9c708da1f00b1f2bd66 +SRCREV_go-restful-v3="ce871fa2f7069b65c784c9c708da1f00b1f2bd66" +SRC_URI += "git://github.com/emicklei/go-restful;name=go-restful-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/emicklei/go-restful/v3" + +# github.com/go-openapi/jsonpointer v0.20.0 +# [1] git ls-remote https://github.com/go-openapi/jsonpointer 7df7a464d60e04018cf8f616a7abda94907fdf63 +SRCREV_jsonpointer="7df7a464d60e04018cf8f616a7abda94907fdf63" +SRC_URI += "git://github.com/go-openapi/jsonpointer;name=jsonpointer;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-openapi/jsonpointer" + +# github.com/hashicorp/go-cleanhttp v0.5.2 +# [1] git ls-remote https://github.com/hashicorp/go-cleanhttp 6d9e2ac5d828e5f8594b97f88c4bde14a67bb6d2 +SRCREV_go-cleanhttp="6d9e2ac5d828e5f8594b97f88c4bde14a67bb6d2" +SRC_URI += "git://github.com/hashicorp/go-cleanhttp;name=go-cleanhttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-cleanhttp" + +# github.com/nats-io/nats-server/v2 v2.10.5 +# [1] git ls-remote https://github.com/nats-io/nats-server 0883d32bbcc5619603a9e5344d15aa10d069f059 +SRCREV_nats-server-v2="0883d32bbcc5619603a9e5344d15aa10d069f059" +SRC_URI += "git://github.com/nats-io/nats-server;name=nats-server-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/nats-io/nats-server/v2" + +# golang.zx2c4.com/wireguard/wgctrl v0.0.0-20230429144221-925a1e7659e6 +# [1] git ls-remote https://github.com/WireGuard/wgctrl-go 925a1e7659e675c94c1a659d39daa9141e450c7d +SRCREV_wgctrl="925a1e7659e675c94c1a659d39daa9141e450c7d" +SRC_URI += "git://github.com/WireGuard/wgctrl-go;name=wgctrl;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.zx2c4.com/wireguard/wgctrl" + +# github.com/rancher/dynamiclistener v0.3.6 +# [1] git ls-remote https://github.com/rancher/dynamiclistener 0a2d8dff62fde6dfaf009141c12b30c316d8cff3 +SRCREV_dynamiclistener="0a2d8dff62fde6dfaf009141c12b30c316d8cff3" +SRC_URI += "git://github.com/rancher/dynamiclistener;name=dynamiclistener;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rancher/dynamiclistener" + +# github.com/gabriel-vasile/mimetype v1.4.2 +# [1] git ls-remote https://github.com/gabriel-vasile/mimetype 6f575b3e3509415374009db9cb81d6eae1fdfefb +SRCREV_mimetype="6f575b3e3509415374009db9cb81d6eae1fdfefb" +SRC_URI += "git://github.com/gabriel-vasile/mimetype;name=mimetype;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gabriel-vasile/mimetype" + +# github.com/hashicorp/golang-lru/v2 v2.0.5 +# [1] git ls-remote https://github.com/hashicorp/golang-lru 99d7b177d1c3f01ae145e824fe627961e76edb8b +SRCREV_golang-lru-v2="99d7b177d1c3f01ae145e824fe627961e76edb8b" +SRC_URI += "git://github.com/hashicorp/golang-lru;name=golang-lru-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/golang-lru/v2" + +# github.com/libp2p/go-libp2p-record v0.2.0 +# [1] git ls-remote https://github.com/libp2p/go-libp2p-record 90bb9b0e21ffe5e9a5f1af1c1e8cc6d9a0fce24c +SRCREV_go-libp2p-record="90bb9b0e21ffe5e9a5f1af1c1e8cc6d9a0fce24c" +SRC_URI += "git://github.com/libp2p/go-libp2p-record;name=go-libp2p-record;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-libp2p-record" + +# github.com/quic-go/webtransport-go v0.5.3 +# [1] git ls-remote https://github.com/quic-go/webtransport-go 16472ffb325d4869a24326e509abf359a8309775 +SRCREV_webtransport-go="16472ffb325d4869a24326e509abf359a8309775" +SRC_URI += "git://github.com/quic-go/webtransport-go;name=webtransport-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/quic-go/webtransport-go" + +# github.com/containernetworking/cni v1.1.2 +# [1] git ls-remote https://github.com/containernetworking/cni 3363d143688bb83ca18489ac8b9dc204c1d49c4a +SRCREV_cni="3363d143688bb83ca18489ac8b9dc204c1d49c4a" +SRC_URI += "git://github.com/containernetworking/cni;name=cni;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containernetworking/cni" + +# github.com/hashicorp/go-multierror v1.1.1 +# [1] git ls-remote https://github.com/hashicorp/go-multierror 9974e9ec57696378079ecc3accd3d6f29401b3a0 +SRCREV_go-multierror="9974e9ec57696378079ecc3accd3d6f29401b3a0" +SRC_URI += "git://github.com/hashicorp/go-multierror;name=go-multierror;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-multierror" + +# github.com/prometheus/client_model v0.5.0 +# [1] git ls-remote https://github.com/prometheus/client_model 1c92cadf7d8fa1726bae12e6025cca9b86d2ba5f +SRCREV_client_model="1c92cadf7d8fa1726bae12e6025cca9b86d2ba5f" +SRC_URI += "git://github.com/prometheus/client_model;name=client_model;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_model" + +# github.com/russross/blackfriday/v2 v2.1.0 +# [1] git ls-remote https://github.com/russross/blackfriday 4c9bf9512682b995722660a4196c0013228e2049 +SRCREV_blackfriday-v2="4c9bf9512682b995722660a4196c0013228e2049" +SRC_URI += "git://github.com/russross/blackfriday;name=blackfriday-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/russross/blackfriday/v2" + +# sigs.k8s.io/kustomize/kustomize/v5 v5.0.4-0.20230601165947-6ce0bf390ce3 +# [1] git ls-remote https://github.com/kubernetes-sigs/kustomize 6ce0bf390ce3dae580947a2b739da3306c675eef +SRCREV_kustomize-v5="6ce0bf390ce3dae580947a2b739da3306c675eef" +SRC_URI += "git://github.com/kubernetes-sigs/kustomize;name=kustomize-v5;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/kustomize/kustomize/v5" + +# github.com/libp2p/go-libp2p-kad-dht v0.25.2 +# [1] git ls-remote https://github.com/libp2p/go-libp2p-kad-dht bdca14419ec5f7ad0790f17856964bb99bee7436 +SRCREV_go-libp2p-kad-dht="bdca14419ec5f7ad0790f17856964bb99bee7436" +SRC_URI += "git://github.com/libp2p/go-libp2p-kad-dht;name=go-libp2p-kad-dht;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-libp2p-kad-dht" + +# github.com/libp2p/go-libp2p-kbucket v0.6.3 +# [1] git ls-remote https://github.com/libp2p/go-libp2p-kbucket 437b9fccd6a22835a67b8fe2a5eae0b92f307224 +SRCREV_go-libp2p-kbucket="437b9fccd6a22835a67b8fe2a5eae0b92f307224" +SRC_URI += "git://github.com/libp2p/go-libp2p-kbucket;name=go-libp2p-kbucket;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-libp2p-kbucket" + +# github.com/Azure/go-autorest/logger v0.2.1 +# [1] git ls-remote https://github.com/Azure/go-autorest 820a319d2214dc91d083022ae5ec50070175314c +SRCREV_logger="820a319d2214dc91d083022ae5ec50070175314c" +SRC_URI += "git://github.com/Azure/go-autorest;name=logger;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/logger" + +# github.com/daviddengcn/go-colortext v1.0.0 +# [1] git ls-remote https://github.com/daviddengcn/go-colortext dc4cd66b56a892657c0bea8bf4389d35210ce0ee +SRCREV_go-colortext="dc4cd66b56a892657c0bea8bf4389d35210ce0ee" +SRC_URI += "git://github.com/daviddengcn/go-colortext;name=go-colortext;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/daviddengcn/go-colortext" + +# github.com/go-openapi/jsonreference v0.20.2 +# [1] git ls-remote https://github.com/go-openapi/jsonreference 1f158e563669961b8e54817e3ea57978d439ffff +SRCREV_jsonreference="1f158e563669961b8e54817e3ea57978d439ffff" +SRC_URI += "git://github.com/go-openapi/jsonreference;name=jsonreference;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-openapi/jsonreference" + +# github.com/opencontainers/go-digest v1.0.0 +# [1] git ls-remote https://github.com/opencontainers/go-digest ea51bea511f75cfa3ef6098cc253c5c3609b037a +SRCREV_go-digest="ea51bea511f75cfa3ef6098cc253c5c3609b037a" +SRC_URI += "git://github.com/opencontainers/go-digest;name=go-digest;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/go-digest" + +# github.com/prometheus/client_golang v1.18.0 +# [1] git ls-remote https://github.com/prometheus/client_golang 53be91d12107cb69053a8792d0a3a2a6124d59cf +SRCREV_client_golang="53be91d12107cb69053a8792d0a3a2a6124d59cf" +SRC_URI += "git://github.com/prometheus/client_golang;name=client_golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/prometheus/client_golang" + +# github.com/tmc/grpc-websocket-proxy v0.0.0-20220101234140-673ab2c3ae75 +# [1] git ls-remote https://github.com/tmc/grpc-websocket-proxy 673ab2c3ae75cc01952b84b88590e30e75dcf395 +SRCREV_grpc-websocket-proxy="673ab2c3ae75cc01952b84b88590e30e75dcf395" +SRC_URI += "git://github.com/tmc/grpc-websocket-proxy;name=grpc-websocket-proxy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tmc/grpc-websocket-proxy" + +# github.com/k3s-io/etcd/client/pkg/v3 v3.5.9-k3s1 +# [1] git ls-remote https://github.com/k3s-io/etcd 341ce193b458049401364c20193ebd14f38fce6d +SRCREV_pkg-v3="341ce193b458049401364c20193ebd14f38fce6d" +SRC_URI += "git://github.com/k3s-io/etcd;name=pkg-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/etcd/client/pkg/v3" + +# github.com/libp2p/go-libp2p-asn-util v0.3.0 +# [1] git ls-remote https://github.com/libp2p/go-libp2p-asn-util bce6420c4bcf80f1ab03cdfd4b64575e53328099 +SRCREV_go-libp2p-asn-util="bce6420c4bcf80f1ab03cdfd4b64575e53328099" +SRC_URI += "git://github.com/libp2p/go-libp2p-asn-util;name=go-libp2p-asn-util;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-libp2p-asn-util" + +# github.com/multiformats/go-multiaddr v0.12.0 +# [1] git ls-remote https://github.com/multiformats/go-multiaddr 5dd793c6fc4935fad347429a48a168acc8073474 +SRCREV_go-multiaddr="5dd793c6fc4935fad347429a48a168acc8073474" +SRC_URI += "git://github.com/multiformats/go-multiaddr;name=go-multiaddr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multiaddr" + +# github.com/multiformats/go-multibase v0.2.0 +# [1] git ls-remote https://github.com/multiformats/go-multibase 58a41f7df1d82d16599e259325b3337d69f70e3b +SRCREV_go-multibase="58a41f7df1d82d16599e259325b3337d69f70e3b" +SRC_URI += "git://github.com/multiformats/go-multibase;name=go-multibase;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multibase" + +# github.com/multiformats/go-multihash v0.2.3 +# [1] git ls-remote https://github.com/multiformats/go-multihash ff9da31500dddfc675e996601a05cdfc3ce7c764 +SRCREV_go-multihash="ff9da31500dddfc675e996601a05cdfc3ce7c764" +SRC_URI += "git://github.com/multiformats/go-multihash;name=go-multihash;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multihash" + +# github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 +# [1] git ls-remote https://github.com/whyrusleeping/go-keyspace 5b898ac5add1da7178a4a98e69cb7b9205c085ee +SRCREV_go-keyspace="5b898ac5add1da7178a4a98e69cb7b9205c085ee" +SRC_URI += "git://github.com/whyrusleeping/go-keyspace;name=go-keyspace;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/whyrusleeping/go-keyspace" + +# cloud.google.com/go/compute/metadata v0.2.3 +# [1] git ls-remote https://github.com/googleapis/google-cloud-go cf8081fada0955a1682ce3fc400b44bc141309c7 +SRCREV_metadata="cf8081fada0955a1682ce3fc400b44bc141309c7" +SRC_URI += "git://github.com/googleapis/google-cloud-go;name=metadata;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/cloud.google.com/go/compute/metadata" + +# github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 +# [1] git ls-remote https://github.com/AdaLogics/go-fuzz-headers ced1acdcaa24dc39c01b039fc37576c395f506cf +SRCREV_go-fuzz-headers="ced1acdcaa24dc39c01b039fc37576c395f506cf" +SRC_URI += "git://github.com/AdaLogics/go-fuzz-headers;name=go-fuzz-headers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/AdaLogics/go-fuzz-headers" + +# github.com/Azure/go-autorest/tracing v0.6.0 +# [1] git ls-remote https://github.com/Azure/go-autorest b3a0b30a7423314874b3f585289e0e260cf5fc8d +SRCREV_tracing="b3a0b30a7423314874b3f585289e0e260cf5fc8d" +SRC_URI += "git://github.com/Azure/go-autorest;name=tracing;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/tracing" + +# github.com/inconshreveable/mousetrap v1.1.0 +# [1] git ls-remote https://github.com/inconshreveable/mousetrap 4e8053ee7ef85a6bd26368364a6d27f1641c1d21 +SRCREV_mousetrap="4e8053ee7ef85a6bd26368364a6d27f1641c1d21" +SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/inconshreveable/mousetrap" + +# github.com/opencontainers/image-spec v1.1.0-rc5 +# [1] git ls-remote https://github.com/opencontainers/image-spec 1e54f0195ce54b4a1a2ecbac8eab7686d91d3080 +SRCREV_image-spec="1e54f0195ce54b4a1a2ecbac8eab7686d91d3080" +SRC_URI += "git://github.com/opencontainers/image-spec;name=image-spec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/image-spec" + +# github.com/seccomp/libseccomp-golang v0.10.0 +# [1] git ls-remote https://github.com/seccomp/libseccomp-golang 879684a7b708c2ebc730e62fdae39ae9081b4680 +SRCREV_libseccomp-golang="879684a7b708c2ebc730e62fdae39ae9081b4680" +SRC_URI += "git://github.com/seccomp/libseccomp-golang;name=libseccomp-golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/seccomp/libseccomp-golang" + +# github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980 +# [1] git ls-remote https://github.com/stefanberger/go-pkcs11uri 78d3cae3a9805d89aa4fa80a362ca944c89a1b99 +SRCREV_go-pkcs11uri="78d3cae3a9805d89aa4fa80a362ca944c89a1b99" +SRC_URI += "git://github.com/stefanberger/go-pkcs11uri;name=go-pkcs11uri;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/stefanberger/go-pkcs11uri" + +# sigs.k8s.io/structured-merge-diff/v4 v4.3.0 +# [1] git ls-remote https://github.com/kubernetes-sigs/structured-merge-diff 7785c50b1768fa997df435a484ab9aa5041596a6 +SRCREV_structured-merge-diff-v4="7785c50b1768fa997df435a484ab9aa5041596a6" +SRC_URI += "git://github.com/kubernetes-sigs/structured-merge-diff;name=structured-merge-diff-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/structured-merge-diff/v4" + +# github.com/jbenet/go-temp-err-catcher v0.1.0 +# [1] git ls-remote https://github.com/jbenet/go-temp-err-catcher fa11adda5e7cccb838a208007c9ea79dda63c0c0 +SRCREV_go-temp-err-catcher="fa11adda5e7cccb838a208007c9ea79dda63c0c0" +SRC_URI += "git://github.com/jbenet/go-temp-err-catcher;name=go-temp-err-catcher;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/jbenet/go-temp-err-catcher" + +# github.com/multiformats/go-multicodec v0.9.0 +# [1] git ls-remote https://github.com/multiformats/go-multicodec b8b4bf5270f9f220f00bcdeddf1641b13e67cc0b +SRCREV_go-multicodec="b8b4bf5270f9f220f00bcdeddf1641b13e67cc0b" +SRC_URI += "git://github.com/multiformats/go-multicodec;name=go-multicodec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multicodec" + +# github.com/opentracing/opentracing-go v1.2.0 +# [1] git ls-remote https://github.com/opentracing/opentracing-go d34af3eaa63c4d08ab54863a4bdd0daa45212e12 +SRCREV_opentracing-go="d34af3eaa63c4d08ab54863a4bdd0daa45212e12" +SRC_URI += "git://github.com/opentracing/opentracing-go;name=opentracing-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opentracing/opentracing-go" + +# github.com/twitchyliquid64/golang-asm v0.15.1 +# [1] git ls-remote https://github.com/twitchyliquid64/golang-asm 8d7f1f783b11f9a00f5bcdfcae17f5ac8f22512e +SRCREV_golang-asm="8d7f1f783b11f9a00f5bcdfcae17f5ac8f22512e" +SRC_URI += "git://github.com/twitchyliquid64/golang-asm;name=golang-asm;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/twitchyliquid64/golang-asm" + +# github.com/Azure/go-autorest/autorest v0.11.29 +# [1] git ls-remote https://github.com/Azure/go-autorest c2958ac74c65c138045daa60f149c5f9d949d743 +SRCREV_autorest="c2958ac74c65c138045daa60f149c5f9d949d743" +SRC_URI += "git://github.com/Azure/go-autorest;name=autorest;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/autorest" + +# github.com/cyphar/filepath-securejoin v0.2.4 +# [1] git ls-remote https://github.com/cyphar/filepath-securejoin 2710d06c5b4ba3168beffa0689798d2db12e8ac4 +SRCREV_filepath-securejoin="2710d06c5b4ba3168beffa0689798d2db12e8ac4" +SRC_URI += "git://github.com/cyphar/filepath-securejoin;name=filepath-securejoin;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cyphar/filepath-securejoin" + +# github.com/hashicorp/go-retryablehttp v0.7.4 +# [1] git ls-remote https://github.com/hashicorp/go-retryablehttp 571a88bc9c3b7c64575f0e9b0f646af1510f2c76 +SRCREV_go-retryablehttp="571a88bc9c3b7c64575f0e9b0f646af1510f2c76" +SRC_URI += "git://github.com/hashicorp/go-retryablehttp;name=go-retryablehttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-retryablehttp" + +# github.com/libopenstorage/openstorage v1.0.0 +# [1] git ls-remote https://github.com/libopenstorage/openstorage 093a0c3888753c2056e7373183693d670c6bba01 +SRCREV_openstorage="093a0c3888753c2056e7373183693d670c6bba01" +SRC_URI += "git://github.com/libopenstorage/openstorage;name=openstorage;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libopenstorage/openstorage" + +# github.com/go-playground/validator/v10 v10.14.0 +# [1] git ls-remote https://github.com/go-playground/validator ce28d7c4b27fbcafff82bc87a8bf58257beb9030 +SRCREV_v10="ce28d7c4b27fbcafff82bc87a8bf58257beb9030" +SRC_URI += "git://github.com/go-playground/validator;name=v10;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-playground/validator/v10" + +# github.com/hashicorp/golang-lru/arc/v2 v2.0.5 +# [1] git ls-remote https://github.com/hashicorp/golang-lru 3afaa48530f711754c178ceb61ff060d86c17b95 +SRCREV_arc-v2="3afaa48530f711754c178ceb61ff060d86c17b95" +SRC_URI += "git://github.com/hashicorp/golang-lru;name=arc-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/golang-lru/arc/v2" + +# github.com/multiformats/go-multistream v0.4.1 +# [1] git ls-remote https://github.com/multiformats/go-multistream 5b2f48e2db22aa1db90bb5a21aa4e6702d4ee33c +SRCREV_go-multistream="5b2f48e2db22aa1db90bb5a21aa4e6702d4ee33c" +SRC_URI += "git://github.com/multiformats/go-multistream;name=go-multistream;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multistream" + +# github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 +# [1] git ls-remote https://github.com/AdamKorcz/go-118-fuzz-build 8075edf89bb034603c758f28fe93143047ac5677 +SRCREV_go-118-fuzz-build="8075edf89bb034603c758f28fe93143047ac5677" +SRC_URI += "git://github.com/AdamKorcz/go-118-fuzz-build;name=go-118-fuzz-build;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/AdamKorcz/go-118-fuzz-build" + +# github.com/bronze1man/goStrongswanVici v0.0.0-20221114103242-3f6dc524986c +# [1] git ls-remote https://github.com/bronze1man/goStrongswanVici 3f6dc524986c8a20ee1e139f9e1bef1595877b5d +SRCREV_goStrongswanVici="3f6dc524986c8a20ee1e139f9e1bef1595877b5d" +SRC_URI += "git://github.com/bronze1man/goStrongswanVici;name=goStrongswanVici;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/bronze1man/goStrongswanVici" + +# github.com/containernetworking/plugins v1.3.0 +# [1] git ls-remote https://github.com/containernetworking/plugins 38f18d26ecfef550b8bac02656cc11103fd7cff1 +SRCREV_plugins="38f18d26ecfef550b8bac02656cc11103fd7cff1" +SRC_URI += "git://github.com/containernetworking/plugins;name=plugins;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containernetworking/plugins" + +# github.com/google/go-containerregistry v0.14.0 +# [1] git ls-remote https://github.com/google/go-containerregistry 4b081f801f399fa293f23e42ba4c4ac6a6003f2c +SRCREV_go-containerregistry="4b081f801f399fa293f23e42ba4c4ac6a6003f2c" +SRC_URI += "git://github.com/google/go-containerregistry;name=go-containerregistry;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/go-containerregistry" + +# github.com/grpc-ecosystem/grpc-gateway v1.16.0 +# [1] git ls-remote https://github.com/grpc-ecosystem/grpc-gateway 094a6fe78b3ca888297d090185cdf30f0e42e157 +SRCREV_grpc-gateway="094a6fe78b3ca888297d090185cdf30f0e42e157" +SRC_URI += "git://github.com/grpc-ecosystem/grpc-gateway;name=grpc-gateway;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/grpc-ecosystem/grpc-gateway" + +# github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 +# [1] git ls-remote https://github.com/monochromegane/go-gitignore 205db1a8cc001de79230472da52edde4974df734 +SRCREV_go-gitignore="205db1a8cc001de79230472da52edde4974df734" +SRC_URI += "git://github.com/monochromegane/go-gitignore;name=go-gitignore;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/monochromegane/go-gitignore" + +# github.com/opencontainers/runtime-spec v1.0.3-0.20220909204839-494a5a6aca78 +# [1] git ls-remote https://github.com/opencontainers/runtime-spec 494a5a6aca782455c0fbfc35af8e12f04e98a55e +SRCREV_runtime-spec="494a5a6aca782455c0fbfc35af8e12f04e98a55e" +SRC_URI += "git://github.com/opencontainers/runtime-spec;name=runtime-spec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/runtime-spec" + +# github.com/opencontainers/runtime-tools v0.9.1-0.20221107090550-2e043c6bd626 +# [1] git ls-remote https://github.com/opencontainers/runtime-tools 2e043c6bd62639199bdd0d5f0c5082797de4de2a +SRCREV_runtime-tools="2e043c6bd62639199bdd0d5f0c5082797de4de2a" +SRC_URI += "git://github.com/opencontainers/runtime-tools;name=runtime-tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/runtime-tools" + +# github.com/containerd/stargz-snapshotter v0.14.4-0.20230913082252-7275d45b185c +# [1] git ls-remote https://github.com/containerd/stargz-snapshotter 7275d45b185cd720ce13747f0d0a78e9e7cd60e3 +SRCREV_stargz-snapshotter="7275d45b185cd720ce13747f0d0a78e9e7cd60e3" +SRC_URI += "git://github.com/containerd/stargz-snapshotter;name=stargz-snapshotter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/stargz-snapshotter" + +# github.com/multiformats/go-multiaddr-dns v0.3.1 +# [1] git ls-remote https://github.com/multiformats/go-multiaddr-dns 448c10b622b0c09ce6834487156c1fd9a65f1597 +SRCREV_go-multiaddr-dns="448c10b622b0c09ce6834487156c1fd9a65f1597" +SRC_URI += "git://github.com/multiformats/go-multiaddr-dns;name=go-multiaddr-dns;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multiaddr-dns" + +# github.com/multiformats/go-multiaddr-fmt v0.1.0 +# [1] git ls-remote https://github.com/multiformats/go-multiaddr-fmt 113ed87ed03cfff94f29fd95236be3ccd933fd36 +SRCREV_go-multiaddr-fmt="113ed87ed03cfff94f29fd95236be3ccd933fd36" +SRC_URI += "git://github.com/multiformats/go-multiaddr-fmt;name=go-multiaddr-fmt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multiaddr-fmt" + +# github.com/Azure/go-autorest/autorest/to v0.4.0 +# [1] git ls-remote https://github.com/Azure/go-autorest b3a0b30a7423314874b3f585289e0e260cf5fc8d +SRCREV_to="b3a0b30a7423314874b3f585289e0e260cf5fc8d" +SRC_URI += "git://github.com/Azure/go-autorest;name=to;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/autorest/to" + +# github.com/checkpoint-restore/go-criu/v5 v5.3.0 +# [1] git ls-remote https://github.com/checkpoint-restore/go-criu e3059103a5cf6adca2183e08c0315e8d8d5135a5 +SRCREV_v5="e3059103a5cf6adca2183e08c0315e8d8d5135a5" +SRC_URI += "git://github.com/checkpoint-restore/go-criu;name=v5;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/checkpoint-restore/go-criu/v5" + +# github.com/decred/dcrd/dcrec/secp256k1/v4 v4.2.0 +# [1] git ls-remote https://github.com/decred/dcrd bacf8444a8bc79178f9eb2c65477ab6df01a6439 +SRCREV_secp256k1-v4="bacf8444a8bc79178f9eb2c65477ab6df01a6439" +SRC_URI += "git://github.com/decred/dcrd;name=secp256k1-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/decred/dcrd/dcrec/secp256k1/v4" + +# github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 +# [1] git ls-remote https://github.com/grpc-ecosystem/grpc-gateway 09e3965a330155f7db8482269d7d91b9bceb7641 +SRCREV_grpc-gateway-v2="09e3965a330155f7db8482269d7d91b9bceb7641" +SRC_URI += "git://github.com/grpc-ecosystem/grpc-gateway;name=grpc-gateway-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/grpc-ecosystem/grpc-gateway/v2" + +# google.golang.org/genproto/googleapis/api v0.0.0-20231106174013-bbf56f31fb17 +# [1] git ls-remote https://github.com/googleapis/go-genproto bbf56f31fb17579209f44dda2d2567d20ff21a20 +SRCREV_googleapis-api="bbf56f31fb17579209f44dda2d2567d20ff21a20" +SRC_URI += "git://github.com/googleapis/go-genproto;name=googleapis-api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto/googleapis/api" + +# google.golang.org/genproto/googleapis/rpc v0.0.0-20231120223509-83a465c0220f +# [1] git ls-remote https://github.com/googleapis/go-genproto 83a465c0220f57b4c18228172454daeffa772607 +SRCREV_rpc="83a465c0220f57b4c18228172454daeffa772607" +SRC_URI += "git://github.com/googleapis/go-genproto;name=rpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto/googleapis/rpc" + +# github.com/rootless-containers/rootlesskit v1.0.1 +# [1] git ls-remote https://github.com/rootless-containers/rootlesskit 5d5f4c0c26e26a6b51d1838c23e793e5836442d0 +SRCREV_rootlesskit="5d5f4c0c26e26a6b51d1838c23e793e5836442d0" +SRC_URI += "git://github.com/rootless-containers/rootlesskit;name=rootlesskit;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rootless-containers/rootlesskit" + +# github.com/Azure/go-autorest/autorest/adal v0.9.23 +# [1] git ls-remote https://github.com/Azure/go-autorest 553a90ae65a6a2b18306fa04d7b1625960c5decb +SRCREV_adal="553a90ae65a6a2b18306fa04d7b1625960c5decb" +SRC_URI += "git://github.com/Azure/go-autorest;name=adal;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/autorest/adal" + +# github.com/Azure/go-autorest/autorest/date v0.3.0 +# [1] git ls-remote https://github.com/Azure/go-autorest b3a0b30a7423314874b3f585289e0e260cf5fc8d +SRCREV_date="b3a0b30a7423314874b3f585289e0e260cf5fc8d" +SRC_URI += "git://github.com/Azure/go-autorest;name=date;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/autorest/date" + +# github.com/libp2p/go-libp2p-routing-helpers v0.7.2 +# [1] git ls-remote https://github.com/libp2p/go-libp2p-routing-helpers 71d7c965185ed346e39cc26140ac49ea13b2222f +SRCREV_go-libp2p-routing-helpers="71d7c965185ed346e39cc26140ac49ea13b2222f" +SRC_URI += "git://github.com/libp2p/go-libp2p-routing-helpers;name=go-libp2p-routing-helpers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/libp2p/go-libp2p-routing-helpers" + +# github.com/Azure/go-autorest/autorest/mocks v0.4.2 +# [1] git ls-remote https://github.com/Azure/go-autorest a91292dd2fc10381ac9b90eea72b92e60761eac4 +SRCREV_mocks="a91292dd2fc10381ac9b90eea72b92e60761eac4" +SRC_URI += "git://github.com/Azure/go-autorest;name=mocks;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/autorest/mocks" + +# github.com/antlr/antlr4/runtime/Go/antlr/v4 v4.0.0-20230305170008-8188dc5388df +# [1] git ls-remote https://github.com/antlr/antlr4 8188dc5388dfe9246deb9b6ae507c3693fd55c3f +SRCREV_antlr-v4="8188dc5388dfe9246deb9b6ae507c3693fd55c3f" +SRC_URI += "git://github.com/antlr/antlr4;name=antlr-v4;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/antlr/antlr4/runtime/Go/antlr/v4" + +# github.com/container-storage-interface/spec v1.8.0 +# [1] git ls-remote https://github.com/container-storage-interface/spec c7ab2f379311a9ae234ae42bdfbfebfa9c15e538 +SRCREV_spec="c7ab2f379311a9ae234ae42bdfbfebfa9c15e538" +SRC_URI += "git://github.com/container-storage-interface/spec;name=spec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/container-storage-interface/spec" + +# github.com/docker/docker-credential-helpers v0.7.0 +# [1] git ls-remote https://github.com/docker/docker-credential-helpers ac5992b5f4756fc0398a7d0c93c609e624368bde +SRCREV_docker-credential-helpers="ac5992b5f4756fc0398a7d0c93c609e624368bde" +SRC_URI += "git://github.com/docker/docker-credential-helpers;name=docker-credential-helpers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/docker-credential-helpers" + +# github.com/grpc-ecosystem/go-grpc-middleware v1.3.0 +# [1] git ls-remote https://github.com/grpc-ecosystem/go-grpc-middleware df0f91b29bbbdfc3a686a7a8edbe2b9de2072fdd +SRCREV_go-grpc-middleware="df0f91b29bbbdfc3a686a7a8edbe2b9de2072fdd" +SRC_URI += "git://github.com/grpc-ecosystem/go-grpc-middleware;name=go-grpc-middleware;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/grpc-ecosystem/go-grpc-middleware" + +# github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0 +# [1] git ls-remote https://github.com/grpc-ecosystem/go-grpc-prometheus c225b8c3b01faf2899099b768856a9e916e5087b +SRCREV_go-grpc-prometheus="c225b8c3b01faf2899099b768856a9e916e5087b" +SRC_URI += "git://github.com/grpc-ecosystem/go-grpc-prometheus;name=go-grpc-prometheus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/grpc-ecosystem/go-grpc-prometheus" + +# github.com/go-playground/universal-translator v0.18.1 +# [1] git ls-remote https://github.com/go-playground/universal-translator f83cd526536e253181a13835b00cd107f627c505 +SRCREV_universal-translator="f83cd526536e253181a13835b00cd107f627c505" +SRC_URI += "git://github.com/go-playground/universal-translator;name=universal-translator;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-playground/universal-translator" + +# github.com/containerd/fuse-overlayfs-snapshotter v1.0.5 +# [1] git ls-remote https://github.com/containerd/fuse-overlayfs-snapshotter 11c45f4d24689d8cb279813fbcb9bbd01773e0e8 +SRCREV_fuse-overlayfs-snapshotter="11c45f4d24689d8cb279813fbcb9bbd01773e0e8" +SRC_URI += "git://github.com/containerd/fuse-overlayfs-snapshotter;name=fuse-overlayfs-snapshotter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/fuse-overlayfs-snapshotter" + +# github.com/Azure/go-autorest/autorest/validation v0.3.1 +# [1] git ls-remote https://github.com/Azure/go-autorest 446f41b7d65b2ab6c25b1a7afe42abd3622e9110 +SRCREV_validation="446f41b7d65b2ab6c25b1a7afe42abd3622e9110" +SRC_URI += "git://github.com/Azure/go-autorest;name=validation;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-autorest/autorest/validation" + +# github.com/containerd/stargz-snapshotter/estargz v0.14.3 +# [1] git ls-remote https://github.com/containerd/stargz-snapshotter 6ee6fa1a88df6ea098f6b7dddde29e33f09d5331 +SRCREV_estargz="6ee6fa1a88df6ea098f6b7dddde29e33f09d5331" +SRC_URI += "git://github.com/containerd/stargz-snapshotter;name=estargz;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/stargz-snapshotter/estargz" + +# github.com/GoogleCloudPlatform/k8s-cloud-provider v1.18.1-0.20220218231025-f11817397a1b +# [1] git ls-remote https://github.com/GoogleCloudPlatform/k8s-cloud-provider f11817397a1bb27e88115807a9c083a36e12eaf8 +SRCREV_k8s-cloud-provider="f11817397a1bb27e88115807a9c083a36e12eaf8" +SRC_URI += "git://github.com/GoogleCloudPlatform/k8s-cloud-provider;name=k8s-cloud-provider;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/GoogleCloudPlatform/k8s-cloud-provider" + +# go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.13.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go f2fd476f433128c2494476950ce11600a51bbe35 +SRCREV_otlptrace="f2fd476f433128c2494476950ce11600a51bbe35" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlptrace;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlptrace" + +# github.com/googleapis/enterprise-certificate-proxy v0.3.2 +# [1] git ls-remote https://github.com/googleapis/enterprise-certificate-proxy d928958b5b9ec0c2d3ce5e97ea5d1f000125ba7b +SRCREV_enterprise-certificate-proxy="d928958b5b9ec0c2d3ce5e97ea5d1f000125ba7b" +SRC_URI += "git://github.com/googleapis/enterprise-certificate-proxy;name=enterprise-certificate-proxy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/googleapis/enterprise-certificate-proxy" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/api v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_api="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/api" + +# github.com/matttproud/golang_protobuf_extensions/v2 v2.0.0 +# [1] git ls-remote https://github.com/matttproud/golang_protobuf_extensions 5a0f9169fc38cc42a5c617c3dc049548ddc27487 +SRCREV_golang_protobuf_extensions-v2="5a0f9169fc38cc42a5c617c3dc049548ddc27487" +SRC_URI += "git://github.com/matttproud/golang_protobuf_extensions;name=golang_protobuf_extensions-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/matttproud/golang_protobuf_extensions/v2" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/kms v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kms="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kms;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/kms" + +# go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.13.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go f2fd476f433128c2494476950ce11600a51bbe35 +SRCREV_internal-retry="f2fd476f433128c2494476950ce11600a51bbe35" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=internal-retry;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/internal/retry" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/cri-api v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_cri-api="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=cri-api;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/cri-api" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/kubectl v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kubectl="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kubectl;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/kubectl" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/kubelet v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kubelet="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kubelet;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/kubelet" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/metrics v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_metrics="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=metrics;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/metrics" + +# sigs.k8s.io/apiserver-network-proxy/konnectivity-client v0.1.2 +# [1] git ls-remote https://github.com/kubernetes-sigs/apiserver-network-proxy 60b5f0e02800910cbb363668e285ec0e78d7cae1 +SRCREV_konnectivity-client="60b5f0e02800910cbb363668e285ec0e78d7cae1" +SRC_URI += "git://github.com/kubernetes-sigs/apiserver-network-proxy;name=konnectivity-client;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/sigs.k8s.io/apiserver-network-proxy/konnectivity-client" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/apiserver v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_apiserver="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=apiserver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/apiserver" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/client-go v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_client-go="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=client-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/client-go" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-proxy v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kube-proxy="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kube-proxy;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-proxy" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/cli-runtime v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_cli-runtime="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=cli-runtime;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/cli-runtime" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/mount-utils v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_mount-utils="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=mount-utils;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/mount-utils" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/apimachinery v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_apimachinery="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=apimachinery;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/apimachinery" + +# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.35.1 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go-contrib 356ee7f4343df3704346603fbde1b8d3d8fb86e9 +SRCREV_otelhttp="356ee7f4343df3704346603fbde1b8d3d8fb86e9" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go-contrib;name=otelhttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/endpointslice v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_endpointslice="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=endpointslice;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/endpointslice" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/cloud-provider v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_cloud-provider="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=cloud-provider;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/cloud-provider" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/component-base v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_component-base="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=component-base;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/component-base" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/code-generator v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_code-generator="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=code-generator;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/code-generator" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-scheduler v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kube-scheduler="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kube-scheduler;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-scheduler" + +# go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.13.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go f2fd476f433128c2494476950ce11600a51bbe35 +SRCREV_otlptracegrpc="f2fd476f433128c2494476950ce11600a51bbe35" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otlptracegrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-aggregator v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kube-aggregator="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kube-aggregator;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-aggregator" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/cluster-bootstrap v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_cluster-bootstrap="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=cluster-bootstrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/cluster-bootstrap" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/component-helpers v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_component-helpers="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=component-helpers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/component-helpers" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/controller-manager v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_controller-manager="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=controller-manager;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/controller-manager" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/csi-translation-lib v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_csi-translation-lib="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=csi-translation-lib;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/csi-translation-lib" + +# github.com/container-orchestrated-devices/container-device-interface v0.5.4 +# [1] git ls-remote https://github.com/cncf-tags/container-device-interface 0a1a5bea37b41bbdbb65d0e42b6305eba051f185 +SRCREV_container-device-interface="0a1a5bea37b41bbdbb65d0e42b6305eba051f185" +SRC_URI += "git://github.com/cncf-tags/container-device-interface;name=container-device-interface;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/container-orchestrated-devices/container-device-interface" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/legacy-cloud-providers v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_legacy-cloud-providers="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=legacy-cloud-providers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/legacy-cloud-providers" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/pod-security-admission v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_pod-security-admission="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=pod-security-admission;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/pod-security-admission" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/apiextensions-apiserver v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_apiextensions-apiserver="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=apiextensions-apiserver;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/apiextensions-apiserver" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-controller-manager v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_kube-controller-manager="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=kube-controller-manager;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/kube-controller-manager" + +# go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.35.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go-contrib c4876c33a8e2e4b09501013f3543153d8aa10178 +SRCREV_otelgrpc="c4876c33a8e2e4b09501013f3543153d8aa10178" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go-contrib;name=otelgrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc" + +# github.com/k3s-io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation v1.28.7-k3s1 +# [1] git ls-remote https://github.com/k3s-io/kubernetes 94b07a975a29425d3f5f835ef5e7d9c22f33f8c1 +SRCREV_dynamic-resource-allocation="94b07a975a29425d3f5f835ef5e7d9c22f33f8c1" +SRC_URI += "git://github.com/k3s-io/kubernetes;name=dynamic-resource-allocation;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/k3s-io/kubernetes/staging/src/k8s.io/dynamic-resource-allocation" + +# go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful v0.35.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go-contrib c4876c33a8e2e4b09501013f3543153d8aa10178 +SRCREV_otelrestful="c4876c33a8e2e4b09501013f3543153d8aa10178" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go-contrib;name=otelrestful;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/contrib/instrumentation/github.com/emicklei/go-restful/otelrestful" + diff --git a/recipes-containers/kubernetes/README.md b/recipes-containers/kubernetes/README.md new file mode 100644 index 00000000..ae79d6c2 --- /dev/null +++ b/recipes-containers/kubernetes/README.md @@ -0,0 +1,117 @@ +# k8s: Kubernetes + +meta-virtualization provides the recipes and packages suitable for a k8s +cluster instance. + +For a kubernetes controller: + + - packagegroup-k8s-host + +For a kubernetes worker/node: + + - packagegroup-k8s-node + +If kernel issues or missing features are detected, consider adding the +"kernel-modules" package to your image (Since the configuration and RDEPENDS +may not be correct for your kernel + k8s version). + +## CNI + +The CNI base packages provide core support and are installed by default as +dependencies of the kubernetes packages. Minimal configuration and startup +are provided, but you will need to apply the CNI configuration of your choice +after boot (see below fo an example) + +## Configure and initialize the host + +A convenience script "k8s-init" is provided to do basic setup on the controller +node. After the contoller boots, run it for kubeadm setup and other basic +configuration. + +Once the node is ready ('kubectl get nodes' to check), follow the instructions +for copying the token to your home directory, and apply the networking configuration +of choice (flannel in the example): + +```shell + % mkdir -p $HOME/.kube + % cp -i /etc/kubernetes/admin.conf $HOME/.kube/config + % chown $(id -u):$(id -g) $HOME/.kube/config + + % kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml +``` + +## Configuration and initialize the node/worker + +Once the kubernetes node has booted, it is ready to join the cluster. Some +basica configuration is done via the packages and a systctl.d configuration +snippet. + +Join the cluster (substitute your controller ip and token information): + +```shell +kubeadm join <controller ip>:6443 --token cq8ngi.6m6mgqi9zf08ypc4 --discovery-token-ca-cert-hash sha256:6064ae531c8dad824f9eadff030f83ec84d00796fac75f1adbd343255eb34fd2 +``` + +## Notes: + +Memory: + + if running under qemu, the default of 256M of memory is not enough, k3s will + OOM and exit. + + Boot with qemuparams="-m 2048" to boot with 2G of memory (or choose the + appropriate amount for your configuration) + +CPUs: + + Kubernetes needs at least two cpus, so ensure your qemuboot is smp of at + least 2, and/or that your hardware has the required capabilties. + +Disk: + + if using qemu and core-image* you'll need to add extra space in your disks + to ensure containers can start. The following in your image recipe, or + local.conf would add 2G of extra space to the rootfs: + +```shell +IMAGE_ROOTFS_EXTRA_SPACE = "2097152" +``` + +## Example qemux86-64 boot line: + +```shell +runqemu qemux86-64 nographic kvm slirp qemuparams="-m 2048" +``` +k8s logs can be seen via: + +```shell +% journalctl -u kubelet +``` + +or + +```shell +% journalctl -xe +``` + +## Example output from qemux86-64: + +If you've lost the join token, you can create a new one, or list existing +ones: + +```shell +root@qemux86-64-7b:~# kubeadm token create --print-join-command +kubeadm join 10.10.10.117:6443 --token dr71zq.y5vi3s2n2antvcej --discovery-token-ca-cert-hash sha256:6064ae531c8dad824f9eadff030f83ec84d00796fac75f1adbd343255eb34fd2 + +root@qemux86-64-7b:~# kubeadm token list +TOKEN TTL EXPIRES USAGES DESCRIPTION EXTRA GROUPS +cq8ngi.6m6mgqi9zf08ypc4 23h 2021-12-16T16:58:02Z authentication,signing The default bootstrap token generated by 'kubeadm init'. system:bootstrappers:kubeadm:default-node-token +dr71zq.y5vi3s2n2antvcej 23h 2021-12-16T17:46:28Z authentication,signing <none> system:bootstrappers:kubeadm:default-node-token +``` + +```shell +root@qemux86-64:~# kubectl get nodes +NAME STATUS ROLES AGE VERSION +qemux86-64-7b Ready control-plane,master 51m v1.23.1-rc.0.1+dd1b0a12471310-dirty +qemux86-64-9d Ready <none> 49m v1.23.1-rc.0.1+dd1b0a12471310-dirty +``` diff --git a/recipes-containers/kubernetes/kubernetes/0001-build-golang.sh-convert-remaining-go-calls-to-use.patch b/recipes-containers/kubernetes/kubernetes/0001-build-golang.sh-convert-remaining-go-calls-to-use.patch new file mode 100644 index 00000000..ae956794 --- /dev/null +++ b/recipes-containers/kubernetes/kubernetes/0001-build-golang.sh-convert-remaining-go-calls-to-use.patch @@ -0,0 +1,50 @@ +From 9973a66665992c49593595ae1eb70848907ea6a9 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Wed, 12 Aug 2020 16:01:49 +0000 +Subject: [PATCH] build/golang.sh: convert remaining 'go' calls to use + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + hack/lib/golang.sh | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +Index: kubernetes/hack/lib/golang.sh +=================================================================== +--- kubernetes.orig/hack/lib/golang.sh ++++ kubernetes/hack/lib/golang.sh +@@ -689,7 +689,7 @@ + kube::golang::create_coverage_dummy_test "${package}" + kube::util::trap_add "kube::golang::delete_coverage_dummy_test \"${package}\"" EXIT + +- go test -c -o "$(kube::golang::outfile_for_binary "${package}" "${platform}")" \ ++ $GO test -c -o "$(kube::golang::outfile_for_binary "${package}" "${platform}")" \ + -covermode count \ + -coverpkg k8s.io/...,k8s.io/kubernetes/vendor/k8s.io/... \ + "${build_args[@]}" \ +@@ -701,13 +701,13 @@ + done + if [[ "${#uncovered[@]}" != 0 ]]; then + V=2 kube::log::info "Building ${uncovered[*]} without coverage..." +- GO111MODULE=on GOPROXY=off go install "${build_args[@]}" "${uncovered[@]}" ++ GO111MODULE=on GOPROXY=off $GO install "${build_args[@]}" "${uncovered[@]}" + else + V=2 kube::log::info "Nothing to build without coverage." + fi + else + V=2 kube::log::info "Coverage is disabled." +- GO111MODULE=on GOPROXY=off go install "${build_args[@]}" "$@" ++ GO111MODULE=on GOPROXY=off $GO install "${build_args[@]}" "$@" + fi + } + +@@ -769,7 +769,7 @@ + testpkg=$(dirname "${test}") + + mkdir -p "$(dirname "${outfile}")" +- go test -c \ ++ $GO test -c \ + ${goflags:+"${goflags[@]}"} \ + -gcflags="${gogcflags}" \ + -asmflags="${goasmflags}" \ diff --git a/recipes-containers/kubernetes/kubernetes/0001-build-hack-allow-go-1.20-building.patch b/recipes-containers/kubernetes/kubernetes/0001-build-hack-allow-go-1.20-building.patch new file mode 100644 index 00000000..ac2d8c47 --- /dev/null +++ b/recipes-containers/kubernetes/kubernetes/0001-build-hack-allow-go-1.20-building.patch @@ -0,0 +1,35 @@ +From 6f67131b030c4c228cabb33d45ae9330cbf8fa0a Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 27 Feb 2024 18:05:54 +0000 +Subject: [PATCH] build/hack: allow go 1.20 building + +Although k8s checks for, and demands, golang 1.21.x, runtime +tests show that golang 1.20.x is properly building and providing +enough for core functionality. + +In an effort to see what else may be lurking, we patch out the +check to allow builds with our 1.20.x toolchain. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + hack/lib/golang.sh | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh +index 588288285bb..eb2bcc917b8 100755 +--- a/hack/lib/golang.sh ++++ b/hack/lib/golang.sh +@@ -499,7 +499,7 @@ Detected go version: ${go_version[*]}. + Kubernetes requires ${minimum_go_version} or greater. + Please install ${minimum_go_version} or later. + EOF +- return 2 ++ return 0 + fi + } + +-- +2.39.2 + diff --git a/recipes-containers/kubernetes/kubernetes/0001-cross-don-t-build-tests-by-default.patch b/recipes-containers/kubernetes/kubernetes/0001-cross-don-t-build-tests-by-default.patch index 659e3013..c24088f1 100644 --- a/recipes-containers/kubernetes/kubernetes/0001-cross-don-t-build-tests-by-default.patch +++ b/recipes-containers/kubernetes/kubernetes/0001-cross-don-t-build-tests-by-default.patch @@ -10,15 +10,17 @@ In our case, we are cross building and can't build the server test components without error. As such, we patch the targets out of the script to allow a successful build. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> --- hack/make-rules/cross.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -diff --git a/src/import/hack/make-rules/cross.sh b/hack/make-rules/cross.sh +diff --git a/hack/make-rules/cross.sh b/hack/make-rules/cross.sh index 8e1e938..0898c5c 100755 ---- a/src/import/hack/make-rules/cross.sh -+++ b/src/import/hack/make-rules/cross.sh +--- a/hack/make-rules/cross.sh ++++ b/hack/make-rules/cross.sh @@ -33,6 +33,6 @@ make all WHAT="${KUBE_NODE_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_NODE_PLATFO make all WHAT="${KUBE_CLIENT_TARGETS[*]}" KUBE_BUILD_PLATFORMS="${KUBE_CLIENT_PLATFORMS[*]}" diff --git a/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch b/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch index 62d05210..15e8ffa5 100644 --- a/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch +++ b/recipes-containers/kubernetes/kubernetes/0001-hack-lib-golang.sh-use-CC-from-environment.patch @@ -1,40 +1,44 @@ -From 9cbb2d523d481053d405ebac830c2074b00d3417 Mon Sep 17 00:00:00 2001 +From 116ccf93eef322db23e3bd4f35b12be09ebfbde5 Mon Sep 17 00:00:00 2001 From: Koen Kooi <koen.kooi@linaro.org> Date: Mon, 23 Jul 2018 15:28:02 +0200 -Subject: [PATCH] hack/lib/golang.sh: use CC from environment +Subject: [PATCH 1/2] hack/lib/golang.sh: use CC from environment Toolchain tupples differs, especially when using vendor provides ones. -Upstream-status: Inappropriate [embedded specific] +Upstream-Status: Inappropriate [embedded specific] Signed-off-by: Koen Kooi <koen.kooi@linaro.org> --- - hack/lib/golang.sh | 4 ---- - 1 file changed, 4 deletions(-) + hack/lib/golang.sh | 5 ----- + 1 file changed, 5 deletions(-) diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh -index c5d4634..563e2b4b 100755 ---- a/src/import/hack/lib/golang.sh -+++ b/src/import/hack/lib/golang.sh -@@ -278,19 +278,15 @@ kube::golang::set_platform_envs() { +index fb97ee76783..0ed2d719dd1 100755 +--- a/hack/lib/golang.sh ++++ b/hack/lib/golang.sh +@@ -419,23 +419,18 @@ kube::golang::set_platform_envs() { case "${platform}" in + "linux/amd64") + export CGO_ENABLED=1 +- export CC=${KUBE_LINUX_AMD64_CC:-x86_64-linux-gnu-gcc} + ;; "linux/arm") export CGO_ENABLED=1 -- export CC=arm-linux-gnueabihf-gcc +- export CC=${KUBE_LINUX_ARM_CC:-arm-linux-gnueabihf-gcc} ;; "linux/arm64") export CGO_ENABLED=1 -- export CC=aarch64-linux-gnu-gcc +- export CC=${KUBE_LINUX_ARM64_CC:-aarch64-linux-gnu-gcc} ;; "linux/ppc64le") export CGO_ENABLED=1 -- export CC=powerpc64le-linux-gnu-gcc +- export CC=${KUBE_LINUX_PPC64LE_CC:-powerpc64le-linux-gnu-gcc} ;; "linux/s390x") export CGO_ENABLED=1 -- export CC=s390x-linux-gnu-gcc +- export CC=${KUBE_LINUX_S390X_CC:-s390x-linux-gnu-gcc} ;; esac fi -- -2.9.5 +2.37.1 diff --git a/recipes-containers/kubernetes/kubernetes/99-kubernetes.conf b/recipes-containers/kubernetes/kubernetes/99-kubernetes.conf new file mode 100644 index 00000000..89331ca2 --- /dev/null +++ b/recipes-containers/kubernetes/kubernetes/99-kubernetes.conf @@ -0,0 +1 @@ +net.ipv4.ip_forward = 1 diff --git a/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist b/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist new file mode 100644 index 00000000..ca434d6f --- /dev/null +++ b/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist @@ -0,0 +1,24 @@ +{ + "cniVersion": "0.4.0", + "name": "containerd-net", + "plugins": [ + { + "type": "bridge", + "bridge": "cni0", + "isGateway": true, + "ipMasq": true, + "promiscMode": true, + "ipam": { + "type": "host-local", + "subnet": "10.88.0.0/16", + "routes": [ + { "dst": "0.0.0.0/0" } + ] + } + }, + { + "type": "portmap", + "capabilities": {"portMappings": true} + } + ] +} diff --git a/recipes-containers/kubernetes/kubernetes/k8s-init b/recipes-containers/kubernetes/kubernetes/k8s-init new file mode 100644 index 00000000..8aaa86e8 --- /dev/null +++ b/recipes-containers/kubernetes/kubernetes/k8s-init @@ -0,0 +1,31 @@ +#!/bin/sh +# +# Copyright (C) 2021 Bruce Ashfield +# +# SPDX-License-Identifier: Apache-2.0 + +# cleanup the iptables +if [ -f /etc/sysconfig/iptables ]; then + cp /etc/sysconfig/iptables /etc/sysconfig/iptables.ORIG +fi +iptables --flush && iptables --flush && iptables-save > /etc/sysconfig/iptables +systemctl restart iptables.service + +# Load/Enable br_netfilter kernel module +modprobe br_netfilter +modprobe overlay + +echo '1' > /proc/sys/net/bridge/bridge-nf-call-iptables +echo '1' > /proc/sys/net/bridge/bridge-nf-call-ip6tables +echo 'net.bridge.bridge-nf-call-iptables=1' >> /etc/sysctl.d/k8s.conf +echo 'net.bridge.bridge-nf-call-ip6tables=1' >> /etc/sysctl.d/k8s.conf +echo 'net.ipv4.ip_forward=1' >> /etc/sysctl.d/k8s.conf + +systemctl restart systemd-sysctl.service + +kubeadm init + +# Copy the cluster configuration to the regular users home directory +mkdir -p $HOME/.kube +cp -i /etc/kubernetes/admin.conf $HOME/.kube/config +chown $(id -u):$(id -g) $HOME/.kube/config diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb index 76107afe..044175eb 100644 --- a/recipes-containers/kubernetes/kubernetes_git.bb +++ b/recipes-containers/kubernetes/kubernetes_git.bb @@ -1,50 +1,85 @@ -HOMEPAGE = "git://github.com/kubernetes/kubernetes" +HOMEPAGE = "git://github.com/kubernetes/kubernetes;branch=master;protocol=https" SUMMARY = "Production-Grade Container Scheduling and Management" DESCRIPTION = "Kubernetes is an open source system for managing containerized \ applications across multiple hosts, providing basic mechanisms for deployment, \ maintenance, and scaling of applications. \ " -PV = "v1.17.1-beta+git${SRCREV_kubernetes}" -SRCREV_kubernetes = "f45fc1861acab22eb6a4697e3fb831e85ef5ff9c" +PV = "v1.29.1+git${SRCREV_kubernetes}" +CVE_VERSION = "1.29.1" +SRCREV_kubernetes = "a02da633101bd7919153dd56412b09221c0139bf" +SRCREV_kubernetes-release = "21382abdbfa8e6a43fd417306fa649cb651cc06e" +PE = "1" -SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.17;name=kubernetes \ +BBCLASSEXTEND = "devupstream:target" +LIC_FILES_CHKSUM:class-devupstream = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" +DEFAULT_PREFERENCE:class-devupstream = "-1" +SRC_URI:class-devupstream = "git://github.com/kubernetes/kubernetes.git;branch=release-1.29;name=kubernetes;protocol=https \ + git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=git/release;protocol=https \ + " +SRCREV_kubernetes:class-devupstream = "e3b5e621f07f0fee298f641ebded61b8f393fe27" +SRCREV_kubernetes-release:class-devupstream = "21382abdbfa8e6a43fd417306fa649cb651cc06e" +PV:class-devupstream = "v1.28.2+git${SRCREV_kubernetes}" + +SRCREV_FORMAT ?= "kubernetes_release" + +SRC_URI = "git://github.com/kubernetes/kubernetes.git;branch=release-1.29;name=kubernetes;protocol=https;destsuffix=git/src/github.com/kubernetes/kubernetes \ + git://github.com/kubernetes/release;branch=master;name=kubernetes-release;destsuffix=git/release;protocol=https" + +SRC_URI:append = " \ file://0001-hack-lib-golang.sh-use-CC-from-environment.patch \ file://0001-cross-don-t-build-tests-by-default.patch \ + file://0001-build-golang.sh-convert-remaining-go-calls-to-use.patch \ + file://0001-build-hack-allow-go-1.20-building.patch \ + file://cni-containerd-net.conflist \ + file://k8s-init \ + file://99-kubernetes.conf \ " DEPENDS += "rsync-native \ coreutils-native \ + go-native \ " LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" +LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" GO_IMPORT = "import" +S = "${WORKDIR}/git/src/github.com/kubernetes/kubernetes" inherit systemd inherit go inherit goarch +inherit cni_networking COMPATIBLE_HOST = '(x86_64.*|arm.*|aarch64.*)-linux' do_compile() { - # link fixups for compilation - rm -f ${S}/src/import/vendor/src - ln -sf ./ ${S}/src/import/vendor/src - - export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go" - cd ${S}/src/import + export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${WORKDIR}/git/" + cd ${S} # Build the host tools first, using the host compiler export GOARCH="${BUILD_GOARCH}" # Pass the needed cflags/ldflags so that cgo can find the needed headers files and libraries export CGO_ENABLED="1" - export CFLAGS="" - export LDFLAGS="" - export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - make generated_files KUBE_BUILD_PLATFORMS="${HOST_GOOS}/${BUILD_GOARCH}" + export CFLAGS="${BUILD_CFLAGS}" + export LDFLAGS="${BUILD_LDFLAGS}" + export CGO_CFLAGS="${BUILD_CFLAGS}" + # as of go 1.15.5, there are some flags the CGO doesn't like. Rather than + # clearing them all, we sed away the ones we don't want. + export CGO_LDFLAGS="$(echo ${BUILD_LDFLAGS} | sed 's/-Wl,-O1//g' | sed 's/-Wl,--dynamic-linker.*?\( \|$\)//g')" + export CC="${BUILD_CC}" + export LD="${BUILD_LD}" + + # set the toolchain to local to avoid an attempted fetch of + # valiation by the build + # https://github.com/actions/setup-go/issues/420 + export GOTOOLCHAIN="local" + + # make generated_files GO="go" KUBE_BUILD_PLATFORMS="${HOST_GOOS}/${BUILD_GOARCH}" + # is replaced by: + # ./hack/update-codegen.sh + # but we don't appear to need either anymore, but we leave them as a placeholder/reminder # Build the target binaries export GOARCH="${TARGET_GOARCH}" @@ -52,8 +87,15 @@ do_compile() { export CGO_ENABLED="1" export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CFLAGS="" + export LDFLAGS="" + export CC="${CC}" + export LD="${LD}" + export GOBIN="" + export GOFLAGS="-trimpath" + # to limit what is built, use 'WHAT', i.e. make WHAT=cmd/kubelet - make cross KUBE_BUILD_PLATFORMS=${GOOS}/${GOARCH} GOLDFLAGS="" + make cross CGO_FLAGS=${CGO_FLAGS} GO=${GO} KUBE_BUILD_PLATFORMS=${GOOS}/${GOARCH} GOLDFLAGS="" DBG=1 } do_install() { @@ -63,38 +105,69 @@ do_install() { install -d ${D}${sysconfdir}/kubernetes/manifests/ - install -m 755 -D ${S}/src/import/_output/local/bin/${TARGET_GOOS}/${TARGET_GOARCH}/* ${D}/${bindir} + install -m 755 -D ${S}/_output/local/bin/${TARGET_GOOS}/${TARGET_GOARCH}/* ${D}/${bindir} + + install -m 0644 ${WORKDIR}/git/release/cmd/kubepkg/templates/latest/deb/kubelet/lib/systemd/system/kubelet.service ${D}${systemd_unitdir}/system/ + install -m 0644 ${WORKDIR}/git/release/cmd/kubepkg/templates/latest/deb/kubeadm/10-kubeadm.conf ${D}${systemd_unitdir}/system/kubelet.service.d/ + + if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then + install -d "${D}${BIN_PREFIX}${base_bindir}" + install -m 755 "${WORKDIR}/k8s-init" "${D}${BIN_PREFIX}${base_bindir}" - install -m 0644 ${S}/src/import/build/debs/kubelet.service ${D}${systemd_unitdir}/system/ - install -m 0644 ${S}/src/import/build/debs/10-kubeadm.conf ${D}${systemd_unitdir}/system/kubelet.service.d/ + install -d ${D}${sysconfdir}/sysctl.d + install -m 0644 "${WORKDIR}/99-kubernetes.conf" "${D}${sysconfdir}/sysctl.d" + fi } -PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc" +CNI_NETWORKING_FILES ?= "${WORKDIR}/cni-containerd-net.conflist" -ALLOW_EMPTY_${PN} = "1" -INSANE_SKIP_${PN} += "ldflags already-stripped" -INSANE_SKIP_${PN}-misc += "ldflags already-stripped" +PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc ${PN}-host" + +ALLOW_EMPTY:${PN} = "1" +INSANE_SKIP:${PN} += "ldflags already-stripped" +INSANE_SKIP:${PN}-misc += "ldflags already-stripped textrel" +INSANE_SKIP:${MLPREFIX}kubelet += "ldflags already-stripped textrel" # Note: we are explicitly *not* adding docker to the rdepends, since we allow # backends like cri-o to be used. -RDEPENDS_${PN} += "kubeadm \ +RDEPENDS:${PN} += "kubeadm \ kubectl \ kubelet \ - cni" + kubernetes-cni" -RDEPENDS_kubeadm = "kubelet kubectl" -FILES_kubeadm = "${bindir}/kubeadm ${systemd_unitdir}/system/kubelet.service.d/*" +RDEPENDS:kubeadm = "kubelet kubectl cri-tools conntrack-tools" +FILES:kubeadm = "${bindir}/kubeadm ${systemd_unitdir}/system/kubelet.service.d/*" -RDEPENDS_kubelet = "iptables socat util-linux ethtool iproute2 ebtables iproute2-tc" -FILES_kubelet = "${bindir}/kubelet ${systemd_unitdir}/system/kubelet.service ${sysconfdir}/kubernetes/manifests/" +RDEPENDS:kubelet = "iptables socat util-linux ethtool iproute2 ebtables iproute2-tc" +FILES:kubelet = "${bindir}/kubelet ${systemd_unitdir}/system/kubelet.service ${sysconfdir}/kubernetes/manifests/" SYSTEMD_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet','',d)}" -SYSTEMD_SERVICE_kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}" -SYSTEMD_AUTO_ENABLE_kubelet = "enable" - -FILES_kubectl = "${bindir}/kubectl" -FILES_kube-proxy = "${bindir}/kube-proxy" -FILES_${PN}-misc = "${bindir}" - +SYSTEMD_SERVICE:kubelet = "${@bb.utils.contains('DISTRO_FEATURES','systemd','kubelet.service','',d)}" +SYSTEMD_AUTO_ENABLE:kubelet = "enable" + +FILES:kubectl = "${bindir}/kubectl" +FILES:kube-proxy = "${bindir}/kube-proxy" +FILES:${PN}-misc = "${bindir} ${sysconfdir}/sysctl.d" + +ALLOW_EMPTY:${PN}-host = "1" +FILES:${PN}-host = "${BIN_PREFIX}${base_bindir}/k8s-init" +RDEPENDS:${PN}-host = "${PN}" + +RRECOMMENDS:${PN} = "\ + kernel-module-xt-addrtype \ + kernel-module-xt-nat \ + kernel-module-xt-multiport \ + kernel-module-xt-conntrack \ + kernel-module-xt-comment \ + kernel-module-xt-mark \ + kernel-module-xt-connmark \ + kernel-module-vxlan \ + kernel-module-xt-masquerade \ + kernel-module-xt-statistic \ + kernel-module-xt-physdev \ + kernel-module-xt-nflog \ + kernel-module-xt-limit \ + kernel-module-nfnetlink-log \ + " deltask compile_ptest_base diff --git a/recipes-containers/lxc/README b/recipes-containers/lxc/README new file mode 100644 index 00000000..e6e3f1af --- /dev/null +++ b/recipes-containers/lxc/README @@ -0,0 +1,23 @@ +install: +-------- + + Install the following packages to your image: + + IMAGE_INSTALL:append = "lxc lxc-networking kernel-modules" + + These will put the core lxc application and networking onto your image. + No other configuration is required for a basic system. + + Note: has only been tested with systemd, sysvinit patches are welcome + + Note: Partially conflicts with packages such as k3s, networking will fail to + start. + +sample test: +----------- + + % lxc-create -n test -t download -- --server us.lxd.images.canonical.com -d alpine -r 3.16 -a amd64 + % lxc-start test + % lxc-console test + + diff --git a/recipes-containers/lxc/files/0001-container.conf-Add-option-to-set-keyring-SELinux-con.patch b/recipes-containers/lxc/files/0001-container.conf-Add-option-to-set-keyring-SELinux-con.patch deleted file mode 100644 index 0da1be08..00000000 --- a/recipes-containers/lxc/files/0001-container.conf-Add-option-to-set-keyring-SELinux-con.patch +++ /dev/null @@ -1,275 +0,0 @@ -From 5dc7de13feab41e3847fed72fa0d0d9bed21fea5 Mon Sep 17 00:00:00 2001 -From: Maximilian Blenk <Maximilian.Blenk@bmw.de> -Date: Wed, 29 Jan 2020 17:09:50 +0100 -Subject: [PATCH 2/3] container.conf: Add option to set keyring SELinux context - -lxc set's up a new session keyring for every container by default. -If executed on an SELinux enabled system, by default, the keyring -inherits the label of the creating process. If executed with the -currently available SELinux policy, this means that the keyring -is labeled with the lxc_t type. Applications inside the container, -however, might expect that the keyring is labeled with a certain -context (and will fail to access the keyring if it's not explicitly -allowed in the global policy). This patch introduces the config -option lxc.selinux.context.keyring which enables to specify the -label of the newly created keyring. That is, the keyring can be -labeled with the label expected by the started application. - -Signed-off-by: Maximilian Blenk <Maximilian.Blenk@bmw.de> ---- - config/selinux/lxc.te | 3 +++ - src/lxc/conf.c | 10 +++++++++- - src/lxc/conf.h | 1 + - src/lxc/confile.c | 24 ++++++++++++++++++++++++ - src/lxc/lsm/lsm.c | 13 +++++++++++++ - src/lxc/lsm/lsm.h | 2 ++ - src/lxc/lsm/selinux.c | 13 +++++++++++++ - src/lxc/utils.c | 9 ++++++++- - src/lxc/utils.h | 2 +- - 9 files changed, 74 insertions(+), 3 deletions(-) - -diff --git a/config/selinux/lxc.te b/config/selinux/lxc.te -index bb4bfe3a8..d3f78d80b 100644 ---- a/config/selinux/lxc.te -+++ b/config/selinux/lxc.te -@@ -84,5 +84,8 @@ allow lxc_t self:packet_socket create_socket_perms; - allow lxc_t self:rawip_socket create_socket_perms; - allow lxc_t self:netlink_route_socket create_netlink_socket_perms; - -+# Needed to set label that the keyring will be created with -+allow lxc_t self:process { setkeycreate }; -+ - dontaudit lxc_t sysctl_kernel_t:file write; - dontaudit lxc_t sysctl_modprobe_t:file write; -diff --git a/src/lxc/conf.c b/src/lxc/conf.c -index 0f8b3c928..b06fbf047 100644 ---- a/src/lxc/conf.c -+++ b/src/lxc/conf.c -@@ -2758,6 +2758,7 @@ struct lxc_conf *lxc_conf_init(void) - new->lsm_aa_profile = NULL; - lxc_list_init(&new->lsm_aa_raw); - new->lsm_se_context = NULL; -+ new->lsm_se_keyring_context = NULL; - new->tmp_umount_proc = false; - new->tmp_umount_proc = 0; - new->shmount.path_host = NULL; -@@ -3549,6 +3550,7 @@ int lxc_setup(struct lxc_handler *handler) - int ret; - const char *lxcpath = handler->lxcpath, *name = handler->name; - struct lxc_conf *lxc_conf = handler->conf; -+ char *keyring_context = NULL; - - ret = lxc_setup_rootfs_prepare_root(lxc_conf, name, lxcpath); - if (ret < 0) { -@@ -3564,7 +3566,13 @@ int lxc_setup(struct lxc_handler *handler) - } - } - -- ret = lxc_setup_keyring(); -+ if (lxc_conf->lsm_se_keyring_context) { -+ keyring_context = lxc_conf->lsm_se_keyring_context; -+ } else if (lxc_conf->lsm_se_context) { -+ keyring_context = lxc_conf->lsm_se_context; -+ } -+ -+ ret = lxc_setup_keyring(keyring_context); - if (ret < 0) - return -1; - -diff --git a/src/lxc/conf.h b/src/lxc/conf.h -index 2664a1527..bb47b720e 100644 ---- a/src/lxc/conf.h -+++ b/src/lxc/conf.h -@@ -295,6 +295,7 @@ struct lxc_conf { - unsigned int lsm_aa_allow_incomplete; - struct lxc_list lsm_aa_raw; - char *lsm_se_context; -+ char *lsm_se_keyring_context; - bool tmp_umount_proc; - struct lxc_seccomp seccomp; - int maincmd_fd; -diff --git a/src/lxc/confile.c b/src/lxc/confile.c -index 36d62cbca..df184af73 100644 ---- a/src/lxc/confile.c -+++ b/src/lxc/confile.c -@@ -157,6 +157,7 @@ lxc_config_define(seccomp_allow_nesting); - lxc_config_define(seccomp_notify_cookie); - lxc_config_define(seccomp_notify_proxy); - lxc_config_define(selinux_context); -+lxc_config_define(selinux_context_keyring); - lxc_config_define(signal_halt); - lxc_config_define(signal_reboot); - lxc_config_define(signal_stop); -@@ -253,6 +254,7 @@ static struct lxc_config_t config_jump_table[] = { - { "lxc.seccomp.notify.proxy", set_config_seccomp_notify_proxy, get_config_seccomp_notify_proxy, clr_config_seccomp_notify_proxy, }, - { "lxc.seccomp.profile", set_config_seccomp_profile, get_config_seccomp_profile, clr_config_seccomp_profile, }, - { "lxc.selinux.context", set_config_selinux_context, get_config_selinux_context, clr_config_selinux_context, }, -+ { "lxc.selinux.context.keyring", set_config_selinux_context_keyring, get_config_selinux_context_keyring, clr_config_selinux_context_keyring }, - { "lxc.signal.halt", set_config_signal_halt, get_config_signal_halt, clr_config_signal_halt, }, - { "lxc.signal.reboot", set_config_signal_reboot, get_config_signal_reboot, clr_config_signal_reboot, }, - { "lxc.signal.stop", set_config_signal_stop, get_config_signal_stop, clr_config_signal_stop, }, -@@ -1489,6 +1491,12 @@ static int set_config_selinux_context(const char *key, const char *value, - return set_config_string_item(&lxc_conf->lsm_se_context, value); - } - -+static int set_config_selinux_context_keyring(const char *key, const char *value, -+ struct lxc_conf *lxc_conf, void *data) -+{ -+ return set_config_string_item(&lxc_conf->lsm_se_keyring_context, value); -+} -+ - static int set_config_log_file(const char *key, const char *value, - struct lxc_conf *c, void *data) - { -@@ -3545,6 +3553,13 @@ static int get_config_selinux_context(const char *key, char *retv, int inlen, - return lxc_get_conf_str(retv, inlen, c->lsm_se_context); - } - -+static int get_config_selinux_context_keyring(const char *key, char *retv, int inlen, -+ struct lxc_conf *c, void *data) -+{ -+ return lxc_get_conf_str(retv, inlen, c->lsm_se_keyring_context); -+} -+ -+ - /* If you ask for a specific cgroup value, i.e. lxc.cgroup.devices.list, then - * just the value(s) will be printed. Since there still could be more than one, - * it is newline-separated. -@@ -4405,6 +4420,14 @@ static inline int clr_config_selinux_context(const char *key, - return 0; - } - -+static inline int clr_config_selinux_context_keyring(const char *key, -+ struct lxc_conf *c, void *data) -+{ -+ free(c->lsm_se_keyring_context); -+ c->lsm_se_keyring_context = NULL; -+ return 0; -+} -+ - static inline int clr_config_cgroup_controller(const char *key, - struct lxc_conf *c, void *data) - { -@@ -5944,6 +5967,7 @@ int lxc_list_subkeys(struct lxc_conf *conf, const char *key, char *retv, - strprint(retv, inlen, "dir\n"); - } else if (!strcmp(key, "lxc.selinux")) { - strprint(retv, inlen, "context\n"); -+ strprint(retv, inlen, "context.keyring\n"); - } else if (!strcmp(key, "lxc.mount")) { - strprint(retv, inlen, "auto\n"); - strprint(retv, inlen, "entry\n"); -diff --git a/src/lxc/lsm/lsm.c b/src/lxc/lsm/lsm.c -index 5538c9e84..48c22b700 100644 ---- a/src/lxc/lsm/lsm.c -+++ b/src/lxc/lsm/lsm.c -@@ -214,3 +214,16 @@ void lsm_process_cleanup(struct lxc_conf *conf, const char *lxcpath) - - drv->cleanup(conf, lxcpath); - } -+ -+int lsm_keyring_label_set(char *label) { -+ -+ if (!drv) { -+ ERROR("LSM driver not inited"); -+ return -1; -+ } -+ -+ if (!drv->keyring_label_set) -+ return 0; -+ -+ return drv->keyring_label_set(label); -+} -diff --git a/src/lxc/lsm/lsm.h b/src/lxc/lsm/lsm.h -index dda740b3d..a645a2fa0 100644 ---- a/src/lxc/lsm/lsm.h -+++ b/src/lxc/lsm/lsm.h -@@ -38,6 +38,7 @@ struct lsm_drv { - char *(*process_label_get)(pid_t pid); - int (*process_label_set)(const char *label, struct lxc_conf *conf, - bool on_exec); -+ int (*keyring_label_set)(char* label); - int (*prepare)(struct lxc_conf *conf, const char *lxcpath); - void (*cleanup)(struct lxc_conf *conf, const char *lxcpath); - }; -@@ -53,5 +54,6 @@ extern int lsm_process_label_fd_get(pid_t pid, bool on_exec); - extern int lsm_process_label_set_at(int label_fd, const char *label, - bool on_exec); - extern void lsm_process_cleanup(struct lxc_conf *conf, const char *lxcpath); -+extern int lsm_keyring_label_set(char *label); - - #endif /* __LXC_LSM_H */ -diff --git a/src/lxc/lsm/selinux.c b/src/lxc/lsm/selinux.c -index 625bcae90..b3d95c310 100644 ---- a/src/lxc/lsm/selinux.c -+++ b/src/lxc/lsm/selinux.c -@@ -106,11 +106,24 @@ static int selinux_process_label_set(const char *inlabel, struct lxc_conf *conf, - return 0; - } - -+/* -+ * selinux_keyring_label_set: Set SELinux context that will be assigned to the keyring -+ * -+ * @label : label string -+ * -+ * Returns 0 on success, < 0 on failure -+ */ -+static int selinux_keyring_label_set(char *label) -+{ -+ return setkeycreatecon_raw(label); -+}; -+ - static struct lsm_drv selinux_drv = { - .name = "SELinux", - .enabled = is_selinux_enabled, - .process_label_get = selinux_process_label_get, - .process_label_set = selinux_process_label_set, -+ .keyring_label_set = selinux_keyring_label_set, - }; - - struct lsm_drv *lsm_selinux_drv_init(void) -diff --git a/src/lxc/utils.c b/src/lxc/utils.c -index bf4a9c2cb..90852eb87 100644 ---- a/src/lxc/utils.c -+++ b/src/lxc/utils.c -@@ -48,6 +48,7 @@ - - #include "config.h" - #include "log.h" -+#include "lsm/lsm.h" - #include "lxclock.h" - #include "memory_utils.h" - #include "namespace.h" -@@ -1832,11 +1833,17 @@ int recursive_destroy(char *dirname) - return r; - } - --int lxc_setup_keyring(void) -+int lxc_setup_keyring(char *keyring_label) - { - key_serial_t keyring; - int ret = 0; - -+ if (keyring_label) { -+ if (lsm_keyring_label_set(keyring_label) < 0) { -+ ERROR("Couldn't set keyring label"); -+ } -+ } -+ - /* Try to allocate a new session keyring for the container to prevent - * information leaks. - */ -diff --git a/src/lxc/utils.h b/src/lxc/utils.h -index dd6404f0b..7560711b7 100644 ---- a/src/lxc/utils.h -+++ b/src/lxc/utils.h -@@ -259,6 +259,6 @@ extern uint64_t lxc_find_next_power2(uint64_t n); - extern int lxc_set_death_signal(int signal, pid_t parent); - extern int fd_cloexec(int fd, bool cloexec); - extern int recursive_destroy(char *dirname); --extern int lxc_setup_keyring(void); -+extern int lxc_setup_keyring(char *keyring_label); - - #endif /* __LXC_UTILS_H */ --- -2.24.1 - diff --git a/recipes-containers/lxc/files/0001-download-don-t-try-compatbility-index.patch b/recipes-containers/lxc/files/0001-download-don-t-try-compatbility-index.patch new file mode 100644 index 00000000..a1e5fb67 --- /dev/null +++ b/recipes-containers/lxc/files/0001-download-don-t-try-compatbility-index.patch @@ -0,0 +1,45 @@ +From d69c856f90c752637b33e59fbbcfa31f619e2285 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Sun, 14 Aug 2022 22:44:24 -0400 +Subject: [PATCH] download: don't try compatbility index + +This is being mistaken for a valid, non compat index .. and we never +try for the one that exists (the index without a compatibility +extension). So we just drop the compat try for now. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + templates/lxc-download.in | 8 ++------ + 1 file changed, 2 insertions(+), 6 deletions(-) + +diff --git a/templates/lxc-download.in b/templates/lxc-download.in +index 9a3290fbc..216e4dda7 100755 +--- a/templates/lxc-download.in ++++ b/templates/lxc-download.in +@@ -234,9 +234,7 @@ if [ "${DOWNLOAD_LIST_IMAGES}" = "true" ] || [ "${DOWNLOAD_INTERACTIVE}" = "true + DOWNLOAD_INDEX_PATH="/meta/1.0/index-${DOWNLOAD_MODE}" + + echo "Downloading the image index" +- if ! download_file "${DOWNLOAD_INDEX_PATH}.${DOWNLOAD_COMPAT_LEVEL}" "${DOWNLOAD_TEMP}/index" noexit; then +- download_file "${DOWNLOAD_INDEX_PATH}" "${DOWNLOAD_TEMP}/index" normal +- fi ++ download_file "${DOWNLOAD_INDEX_PATH}" "${DOWNLOAD_TEMP}/index" normal + + # Parse it + echo "" +@@ -316,9 +314,7 @@ if [ "${DOWNLOAD_USE_CACHE}" = "false" ]; then + DOWNLOAD_INDEX_PATH="/meta/1.0/index-${DOWNLOAD_MODE}" + + echo "Downloading the image index" +- if ! download_file "${DOWNLOAD_INDEX_PATH}.${DOWNLOAD_COMPAT_LEVEL}" "${DOWNLOAD_TEMP}/index" noexit; then +- download_file "${DOWNLOAD_INDEX_PATH}" "${DOWNLOAD_TEMP}/index" normal +- fi ++ download_file "${DOWNLOAD_INDEX_PATH}" "${DOWNLOAD_TEMP}/index" normal + + # Parse it + while IFS=';' read -r f1 f2 f3 f4 f5 f6; do +-- +2.25.1 + diff --git a/recipes-containers/lxc/files/0001-lxc-test-usernic-drop-cgroup-handling.patch b/recipes-containers/lxc/files/0001-lxc-test-usernic-drop-cgroup-handling.patch new file mode 100644 index 00000000..162e8f9d --- /dev/null +++ b/recipes-containers/lxc/files/0001-lxc-test-usernic-drop-cgroup-handling.patch @@ -0,0 +1,61 @@ +From ec85e5ca4953292c4341497704ce738669a79b64 Mon Sep 17 00:00:00 2001 +From: Serge Hallyn <serge@hallyn.com> +Date: Fri, 2 Feb 2024 10:41:11 -0600 +Subject: [PATCH] lxc-test-usernic: drop cgroup handling + +This stuff is not needed in a modern systemd based system, and in fact +breaks. It would probably be better to detect such a system so that a +non-systemd box can still run this test. But I'm not sure what would be +reliable. + +Upstream-Status: Backport from +[https://github.com/lxc/lxc/commit/ec85e5ca4953292c4341497704ce738669a79b64] + +Signed-off-by: Serge Hallyn <serge@hallyn.com> +Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> +--- + src/tests/lxc-test-usernic.in | 28 ---------------------------- + 1 file changed, 28 deletions(-) + +diff --git a/src/tests/lxc-test-usernic.in b/src/tests/lxc-test-usernic.in +index 9af8678f3..49fd5e3f7 100755 +--- a/src/tests/lxc-test-usernic.in ++++ b/src/tests/lxc-test-usernic.in +@@ -80,34 +80,6 @@ lxc.idmap = u 0 910000 10000 + lxc.idmap = g 0 910000 10000 + EOF + +-if command -v cgm >/dev/null 2>&1; then +- cgm create all usernic-user +- cgm chown all usernic-user $(id -u usernic-user) $(id -g usernic-user) +- cgm movepid all usernic-user $$ +-elif [ -e /sys/fs/cgroup/cgmanager/sock ]; then +- for d in $(cut -d : -f 2 /proc/self/cgroup); do +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.Create \ +- string:$d string:usernic-user >/dev/null +- +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.Chown \ +- string:$d string:usernic-user int32:$(id -u usernic-user) int32:$(id -g usernic-user) >/dev/null +- +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.MovePid \ +- string:$d string:usernic-user int32:$$ >/dev/null +- done +-else +- for d in /sys/fs/cgroup/*; do +- [ "$d" = "/sys/fs/cgroup/unified" ] && continue +- [ -f $d/cgroup.clone_children ] && echo 1 > $d/cgroup.clone_children +- [ ! -d $d/lxctest ] && mkdir $d/lxctest +- chown -R usernic-user: $d/lxctest +- echo $$ > $d/lxctest/tasks +- done +-fi +- + mkdir -p /run/user/$(id -u usernic-user) + chown -R usernic-user: /run/user/$(id -u usernic-user) /home/usernic-user + +-- +2.35.5 + diff --git a/recipes-containers/lxc/files/0001-template-if-busybox-contains-init-use-it-in-containe.patch b/recipes-containers/lxc/files/0001-template-if-busybox-contains-init-use-it-in-containe.patch new file mode 100644 index 00000000..760ebe64 --- /dev/null +++ b/recipes-containers/lxc/files/0001-template-if-busybox-contains-init-use-it-in-containe.patch @@ -0,0 +1,45 @@ +From 2789860daaa7780e1542bb1c60a89860e5661739 Mon Sep 17 00:00:00 2001 +From: Xiangyu Chen <xiangyu.chen@windriver.com> +Date: Wed, 1 Mar 2023 09:25:35 +0800 +Subject: [PATCH] template: if busybox contains init, use it in container + +The lxc test code using busybox template, some cases would be failed or hang +if the init progress not from busybox. This cause ptest report lots of failed. + +The changes is checking whether the busybox has built-in init, if it has,use it. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> +--- + templates/lxc-busybox.in | 14 ++++++++++---- + 1 file changed, 10 insertions(+), 4 deletions(-) + +diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in +index dab7c1faf..e2beae7a4 100755 +--- a/templates/lxc-busybox.in ++++ b/templates/lxc-busybox.in +@@ -184,10 +184,16 @@ configure_busybox() + return 1 + fi + +- # copy bash binary as the container init +- if ! cp "$(which bash)" "${rootfs}/sbin/init"; then +- echo "ERROR: Failed to copy bash binary" +- return 1 ++ # checking whether busybox has init or not ++ if ! ${rootfs}/bin/busybox --list | grep "init" > /dev/null; then ++ # copy bash binary as the container init ++ if ! cp "$(which bash)" "${rootfs}/sbin/init"; then ++ echo "ERROR: Failed to copy bash binary" ++ return 1 ++ fi ++ else ++ # relink /sbin/init ++ ln "${rootfs}/bin/busybox" "${rootfs}/sbin/init" + fi + + +-- +2.34.1 + diff --git a/recipes-containers/lxc/files/0001-tests-remove-old-and-broken-cgroup-handling-code-fro.patch b/recipes-containers/lxc/files/0001-tests-remove-old-and-broken-cgroup-handling-code-fro.patch new file mode 100644 index 00000000..bf8df795 --- /dev/null +++ b/recipes-containers/lxc/files/0001-tests-remove-old-and-broken-cgroup-handling-code-fro.patch @@ -0,0 +1,103 @@ +From 8f9733d756361ff8f8d8d589f286c0e064b1195d Mon Sep 17 00:00:00 2001 +From: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> +Date: Thu, 15 Feb 2024 18:13:05 +0100 +Subject: [PATCH] tests: remove old and broken cgroup handling code from tests + +We have removed the same piece of code in +ec85e5ca495 ("lxc-test-usernic: drop cgroup handling") +let's do the same for two other tests. + +This fixes autopkgtests. + +Upstream-Status: Backport from +[https://github.com/lxc/lxc/commit/8f9733d756361ff8f8d8d589f286c0e064b1195d] + +Signed-off-by: Alexander Mikhalitsyn <aleksandr.mikhalitsyn@canonical.com> +Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> +--- + src/tests/lxc-test-apparmor-mount | 29 ----------------------------- + src/tests/lxc-test-unpriv | 28 ---------------------------- + 2 files changed, 57 deletions(-) + +diff --git a/src/tests/lxc-test-apparmor-mount b/src/tests/lxc-test-apparmor-mount +index 7c9d9ad50..ddf783d4b 100755 +--- a/src/tests/lxc-test-apparmor-mount ++++ b/src/tests/lxc-test-apparmor-mount +@@ -119,35 +119,6 @@ chown -R $TUSER: /run/user/$(id -u $TUSER) + + cd $HDIR + +-if command -v cgm >/dev/null 2>&1; then +- cgm create all $TUSER +- cgm chown all $TUSER $(id -u $TUSER) $(id -g $TUSER) +- cgm movepid all $TUSER $$ +-elif [ -e /sys/fs/cgroup/cgmanager/sock ]; then +- for d in $(cut -d : -f 2 /proc/self/cgroup); do +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.Create \ +- string:$d string:$TUSER >/dev/null +- +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.Chown \ +- string:$d string:$TUSER int32:$(id -u $TUSER) int32:$(id -g $TUSER) >/dev/null +- +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.MovePid \ +- string:$d string:$TUSER int32:$$ >/dev/null +- done +-else +- for d in /sys/fs/cgroup/*; do +- [ "$d" = "/sys/fs/cgroup/unified" ] && continue +- [ -f $d/cgroup.clone_children ] && echo 1 > $d/cgroup.clone_children +- [ ! -d $d/lxctest ] && mkdir $d/lxctest +- chown -R $TUSER: $d/lxctest +- echo $$ > $d/lxctest/tasks +- done +-fi +- +- + run_cmd lxc-create -t busybox -n $cname + + echo "test default confined container" +diff --git a/src/tests/lxc-test-unpriv b/src/tests/lxc-test-unpriv +index 8fb9106d6..426add9da 100755 +--- a/src/tests/lxc-test-unpriv ++++ b/src/tests/lxc-test-unpriv +@@ -130,34 +130,6 @@ chown -R $TUSER: /run/user/$(id -u $TUSER) + + cd $HDIR + +-if command -v cgm >/dev/null 2>&1; then +- cgm create all $TUSER +- cgm chown all $TUSER $(id -u $TUSER) $(id -g $TUSER) +- cgm movepid all $TUSER $$ +-elif [ -e /sys/fs/cgroup/cgmanager/sock ]; then +- for d in $(cut -d : -f 2 /proc/self/cgroup); do +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.Create \ +- string:$d string:$TUSER >/dev/null +- +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.Chown \ +- string:$d string:$TUSER int32:$(id -u $TUSER) int32:$(id -g $TUSER) >/dev/null +- +- dbus-send --print-reply --address=unix:path=/sys/fs/cgroup/cgmanager/sock \ +- --type=method_call /org/linuxcontainers/cgmanager org.linuxcontainers.cgmanager0_0.MovePid \ +- string:$d string:$TUSER int32:$$ >/dev/null +- done +-else +- for d in /sys/fs/cgroup/*; do +- [ "$d" = "/sys/fs/cgroup/unified" ] && continue +- [ -f $d/cgroup.clone_children ] && echo 1 > $d/cgroup.clone_children +- [ ! -d $d/lxctest ] && mkdir $d/lxctest +- chown -R $TUSER: $d/lxctest +- echo $$ > $d/lxctest/tasks +- done +-fi +- + run_cmd lxc-create -t busybox -n c1 -l trace -o "${UNPRIV_LOG}" + + # Make sure we can start it - twice +-- +2.35.5 + diff --git a/recipes-containers/lxc/files/0002-container.conf-Add-option-to-disable-session-keyring.patch b/recipes-containers/lxc/files/0002-container.conf-Add-option-to-disable-session-keyring.patch deleted file mode 100644 index 34647c80..00000000 --- a/recipes-containers/lxc/files/0002-container.conf-Add-option-to-disable-session-keyring.patch +++ /dev/null @@ -1,217 +0,0 @@ -From 8164190b19a0a9070c7e531c9be84f4317f10193 Mon Sep 17 00:00:00 2001 -From: Maximilian Blenk <Maximilian.Blenk@bmw.de> -Date: Thu, 30 Jan 2020 19:21:10 +0100 -Subject: [PATCH 3/3] container.conf: Add option to disable session keyring - creation - -lxc set's up a new session keyring for every container by default. -There might be valid use-cases where this is not wanted / needed -(e.g. systemd by default creates a new session keyring anyway). - -Signed-off-by: Maximilian Blenk <Maximilian.Blenk@bmw.de> ---- - src/lxc/conf.c | 19 ++++++++++-------- - src/lxc/conf.h | 1 + - src/lxc/confile.c | 44 ++++++++++++++++++++++------------------- - src/lxc/confile_utils.c | 24 ++++++++++++++++++++++ - src/lxc/confile_utils.h | 2 ++ - 5 files changed, 62 insertions(+), 28 deletions(-) - -diff --git a/src/lxc/conf.c b/src/lxc/conf.c -index b06fbf047..be4761a54 100644 ---- a/src/lxc/conf.c -+++ b/src/lxc/conf.c -@@ -2759,6 +2759,7 @@ struct lxc_conf *lxc_conf_init(void) - lxc_list_init(&new->lsm_aa_raw); - new->lsm_se_context = NULL; - new->lsm_se_keyring_context = NULL; -+ new->keyring_disable_session = false; - new->tmp_umount_proc = false; - new->tmp_umount_proc = 0; - new->shmount.path_host = NULL; -@@ -3566,15 +3567,17 @@ int lxc_setup(struct lxc_handler *handler) - } - } - -- if (lxc_conf->lsm_se_keyring_context) { -- keyring_context = lxc_conf->lsm_se_keyring_context; -- } else if (lxc_conf->lsm_se_context) { -- keyring_context = lxc_conf->lsm_se_context; -- } -+ if (!lxc_conf->keyring_disable_session) { -+ if (lxc_conf->lsm_se_keyring_context) { -+ keyring_context = lxc_conf->lsm_se_keyring_context; -+ } else if (lxc_conf->lsm_se_context) { -+ keyring_context = lxc_conf->lsm_se_context; -+ } - -- ret = lxc_setup_keyring(keyring_context); -- if (ret < 0) -- return -1; -+ ret = lxc_setup_keyring(keyring_context); -+ if (ret < 0) -+ return -1; -+ } - - if (handler->ns_clone_flags & CLONE_NEWNET) { - ret = lxc_setup_network_in_child_namespaces(lxc_conf, -diff --git a/src/lxc/conf.h b/src/lxc/conf.h -index bb47b720e..b81786838 100644 ---- a/src/lxc/conf.h -+++ b/src/lxc/conf.h -@@ -296,6 +296,7 @@ struct lxc_conf { - struct lxc_list lsm_aa_raw; - char *lsm_se_context; - char *lsm_se_keyring_context; -+ bool keyring_disable_session; - bool tmp_umount_proc; - struct lxc_seccomp seccomp; - int maincmd_fd; -diff --git a/src/lxc/confile.c b/src/lxc/confile.c -index df184af73..fd8b3aaba 100644 ---- a/src/lxc/confile.c -+++ b/src/lxc/confile.c -@@ -110,6 +110,7 @@ lxc_config_define(init_cmd); - lxc_config_define(init_cwd); - lxc_config_define(init_gid); - lxc_config_define(init_uid); -+lxc_config_define(keyring_session); - lxc_config_define(log_file); - lxc_config_define(log_level); - lxc_config_define(log_syslog); -@@ -208,6 +209,7 @@ static struct lxc_config_t config_jump_table[] = { - { "lxc.init.gid", set_config_init_gid, get_config_init_gid, clr_config_init_gid, }, - { "lxc.init.uid", set_config_init_uid, get_config_init_uid, clr_config_init_uid, }, - { "lxc.init.cwd", set_config_init_cwd, get_config_init_cwd, clr_config_init_cwd, }, -+ { "lxc.keyring.session", set_config_keyring_session, get_config_keyring_session, clr_config_keyring_session }, - { "lxc.log.file", set_config_log_file, get_config_log_file, clr_config_log_file, }, - { "lxc.log.level", set_config_log_level, get_config_log_level, clr_config_log_level, }, - { "lxc.log.syslog", set_config_log_syslog, get_config_log_syslog, clr_config_log_syslog, }, -@@ -1497,6 +1499,12 @@ static int set_config_selinux_context_keyring(const char *key, const char *value - return set_config_string_item(&lxc_conf->lsm_se_keyring_context, value); - } - -+static int set_config_keyring_session(const char *key, const char *value, -+ struct lxc_conf *lxc_conf, void *data) -+{ -+ return set_config_bool_item(&lxc_conf->keyring_disable_session, value, false); -+} -+ - static int set_config_log_file(const char *key, const char *value, - struct lxc_conf *c, void *data) - { -@@ -2553,26 +2561,7 @@ static int set_config_rootfs_path(const char *key, const char *value, - static int set_config_rootfs_managed(const char *key, const char *value, - struct lxc_conf *lxc_conf, void *data) - { -- unsigned int val = 0; -- -- if (lxc_config_value_empty(value)) { -- lxc_conf->rootfs.managed = true; -- return 0; -- } -- -- if (lxc_safe_uint(value, &val) < 0) -- return -EINVAL; -- -- switch (val) { -- case 0: -- lxc_conf->rootfs.managed = false; -- return 0; -- case 1: -- lxc_conf->rootfs.managed = true; -- return 0; -- } -- -- return -EINVAL; -+ return set_config_bool_item(&lxc_conf->rootfs.managed, value, true); - } - - static int set_config_rootfs_mount(const char *key, const char *value, -@@ -3559,6 +3548,12 @@ static int get_config_selinux_context_keyring(const char *key, char *retv, int i - return lxc_get_conf_str(retv, inlen, c->lsm_se_keyring_context); - } - -+static int get_config_keyring_session(const char *key, char *retv, int inlen, -+ struct lxc_conf *c, void *data) -+{ -+ return lxc_get_conf_bool(c, retv, inlen, c->keyring_disable_session); -+} -+ - - /* If you ask for a specific cgroup value, i.e. lxc.cgroup.devices.list, then - * just the value(s) will be printed. Since there still could be more than one, -@@ -4428,6 +4423,13 @@ static inline int clr_config_selinux_context_keyring(const char *key, - return 0; - } - -+static inline int clr_config_keyring_session(const char *key, -+ struct lxc_conf *c, void *data) -+{ -+ c->keyring_disable_session = false; -+ return 0; -+} -+ - static inline int clr_config_cgroup_controller(const char *key, - struct lxc_conf *c, void *data) - { -@@ -6007,6 +6009,8 @@ int lxc_list_subkeys(struct lxc_conf *conf, const char *key, char *retv, - strprint(retv, inlen, "order\n"); - } else if (!strcmp(key, "lxc.monitor")) { - strprint(retv, inlen, "unshare\n"); -+ } else if (!strcmp(key, "lxc.keyring")) { -+ strprint(retv, inlen, "session\n"); - } else { - fulllen = -1; - } -diff --git a/src/lxc/confile_utils.c b/src/lxc/confile_utils.c -index 6941f4026..02e48454b 100644 ---- a/src/lxc/confile_utils.c -+++ b/src/lxc/confile_utils.c -@@ -666,6 +666,30 @@ int set_config_path_item(char **conf_item, const char *value) - return set_config_string_item_max(conf_item, value, PATH_MAX); - } - -+int set_config_bool_item(bool *conf_item, const char *value, bool empty_conf_action) -+{ -+ unsigned int val = 0; -+ -+ if (lxc_config_value_empty(value)) { -+ *conf_item = empty_conf_action; -+ return 0; -+ } -+ -+ if (lxc_safe_uint(value, &val) < 0) -+ return -EINVAL; -+ -+ switch (val) { -+ case 0: -+ *conf_item = false; -+ return 0; -+ case 1: -+ *conf_item = true; -+ return 0; -+ } -+ -+ return -EINVAL; -+} -+ - int config_ip_prefix(struct in_addr *addr) - { - if (IN_CLASSA(addr->s_addr)) -diff --git a/src/lxc/confile_utils.h b/src/lxc/confile_utils.h -index f68f9604f..83d49bace 100644 ---- a/src/lxc/confile_utils.h -+++ b/src/lxc/confile_utils.h -@@ -68,6 +68,8 @@ extern int set_config_string_item(char **conf_item, const char *value); - extern int set_config_string_item_max(char **conf_item, const char *value, - size_t max); - extern int set_config_path_item(char **conf_item, const char *value); -+extern int set_config_bool_item(bool *conf_item, const char *value, -+ bool empty_conf_action); - extern int config_ip_prefix(struct in_addr *addr); - extern int network_ifname(char *valuep, const char *value, size_t size); - extern void rand_complete_hwaddr(char *hwaddr); --- -2.24.1 - diff --git a/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch b/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch deleted file mode 100644 index 648193b4..00000000 --- a/recipes-containers/lxc/files/logs-optionally-use-base-filenames-to-report-src-fil.patch +++ /dev/null @@ -1,69 +0,0 @@ -From c50ddb2b2cf22a29e4c671b1efbd338eeba694aa Mon Sep 17 00:00:00 2001 -From: Jim Somerville <Jim.Somerville@windriver.com> -Date: Fri, 25 Sep 2015 15:08:17 -0400 -Subject: [PATCH] logs: optionally use base filenames to report src files - -Message-Id: <4729d0f4c4d1dacd150ddfd7061dda875eb94e34.1443216870.git.Jim.Somerville@windriver.com> - -Problem: Logs are nice in that they report the source file, -routine, and line number where an issue occurs. But the -file is printed as the absolute filename. Users do not -need to see a long spew of path directory names where the package -was built. It just confuses things. - -Solution: Optionally chop off all leading directories so that just -the source filename ie. basename is printed. This is done by -setting a #ifdef LXC_LOG_USE_BASENAME check in the code. That -define is done via the optional --enable-log-src-basename provided -at configure time. - -Using __BASE_FILE__ instead of __FILE__ did not work. It -refers to the file name as presented to the compile -machinery, and that may still be the absolute pathname to -the file. - -Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> - ---- - configure.ac | 9 +++++++++ - src/lxc/log.h | 5 +++++ - 2 files changed, 14 insertions(+) - -diff --git a/configure.ac b/configure.ac -index 74b976a..9c561f7 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -356,6 +356,15 @@ AC_ARG_ENABLE([examples], - [], [enable_examples=yes]) - AM_CONDITIONAL([ENABLE_EXAMPLES], [test "x$enable_examples" = "xyes"]) - -+# Enable basenames in the logs for source files -+AC_ARG_ENABLE([log-src-basename], -+ [AC_HELP_STRING([--enable-log-src-basename], [Use the shorter source file basename in the logs [default=no]])], -+ [], [enable_log_src_basename=no]) -+ -+if test "x$enable_log_src_basename" = "xyes"; then -+ AC_DEFINE([LXC_LOG_USE_BASENAME], 1, [Enabling shorter src filenames in the logs]) -+fi -+ - # Enable dumping stack traces - AC_ARG_ENABLE([mutex-debugging], - [AC_HELP_STRING([--enable-mutex-debugging], [Makes mutexes to report error and provide stack trace [default=no]])], -diff --git a/src/lxc/log.h b/src/lxc/log.h -index 4654fd9..6885d78 100644 ---- a/src/lxc/log.h -+++ b/src/lxc/log.h -@@ -77,8 +77,13 @@ struct lxc_log_locinfo { - int line; - }; - -+#ifdef LXC_LOG_USE_BASENAME -+#define LXC_LOG_LOCINFO_INIT \ -+ { .file = (strrchr(__FILE__, '/') ? strrchr(__FILE__, '/') + 1 : __FILE__), .func = __func__, .line = __LINE__ } -+#else - #define LXC_LOG_LOCINFO_INIT \ - { .file = __FILE__, .func = __func__, .line = __LINE__ } -+#endif - - /* brief logging event object */ - struct lxc_log_event { diff --git a/recipes-containers/lxc/files/lxc-1.0.0-disable-udhcp-from-busybox-template.patch b/recipes-containers/lxc/files/lxc-1.0.0-disable-udhcp-from-busybox-template.patch index 85177c8f..ea7bee9b 100644 --- a/recipes-containers/lxc/files/lxc-1.0.0-disable-udhcp-from-busybox-template.patch +++ b/recipes-containers/lxc/files/lxc-1.0.0-disable-udhcp-from-busybox-template.patch @@ -1,17 +1,19 @@ -From 74efbe7f47379375c51948dd0f86248fb9429a1b Mon Sep 17 00:00:00 2001 +From 8227e720438ff0bdfe45d7307de85f660e491d49 Mon Sep 17 00:00:00 2001 From: Bogdan Purcareata <bogdan.purcareata@freescale.com> Date: Mon, 8 Apr 2013 18:30:19 +0300 Subject: [PATCH] lxc-0.9.0-disable-udhcp-from-busybox-template +Upstream-Status: Inappropriate [embedded specific] + --- templates/lxc-busybox.in | 1 - 1 file changed, 1 deletion(-) diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in -index 7243b36..9637a71 100644 +index 1a8618b..8ba7cfe 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in -@@ -111,7 +111,6 @@ EOF +@@ -120,7 +120,6 @@ EOF #!/bin/sh /bin/syslogd /bin/mount -a diff --git a/recipes-containers/lxc/files/lxc-doc-upgrade-to-use-docbook-3.1-DTD.patch b/recipes-containers/lxc/files/lxc-doc-upgrade-to-use-docbook-3.1-DTD.patch deleted file mode 100644 index 085ffe80..00000000 --- a/recipes-containers/lxc/files/lxc-doc-upgrade-to-use-docbook-3.1-DTD.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 5190dce1a675dfcdf88e3b94bd48070ac180bacc Mon Sep 17 00:00:00 2001 -From: Jim Somerville <Jim.Somerville@windriver.com> -Date: Tue, 11 Aug 2015 14:05:00 -0400 -Subject: [PATCH] lxc: doc: upgrade to use docbook 3.1 DTD - -docbook2man fails to build the man pages in poky -due to missing the ancient Davenport 3.0 DTD. -Poky meta has the Oasis 3.1 version so upgrade -to use that instead. - -Signed-off-by: Jim Somerville <Jim.Somerville@windriver.com> - ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index 1acc461..74b976a 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -213,7 +213,7 @@ AM_CONDITIONAL([ENABLE_DOCBOOK], [test "x$db2xman" != "x"]) - AM_CONDITIONAL([USE_DOCBOOK2X], [test "x$db2xman" != "xdocbook2man"]) - - if test "x$db2xman" = "xdocbook2man"; then -- docdtd="\"-//Davenport//DTD DocBook V3.0//EN\"" -+ docdtd="\"-//OASIS//DTD DocBook V3.1//EN\"" - else - docdtd="\"-//OASIS//DTD DocBook XML\" \"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd\"" - fi diff --git a/recipes-containers/lxc/files/lxc-fix-B-S.patch b/recipes-containers/lxc/files/lxc-fix-B-S.patch deleted file mode 100644 index 6b09193a..00000000 --- a/recipes-containers/lxc/files/lxc-fix-B-S.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 2fa77a1803939de2d155a14cf680b53140b92f06 Mon Sep 17 00:00:00 2001 -From: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> -Date: Thu, 9 Apr 2015 23:01:48 +0300 - ---- - config/init/upstart/Makefile.am | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/config/init/upstart/Makefile.am b/config/init/upstart/Makefile.am -index 5552d32..186ae3d 100644 ---- a/config/init/upstart/Makefile.am -+++ b/config/init/upstart/Makefile.am -@@ -3,9 +3,9 @@ EXTRA_DIST = lxc.conf lxc-instance.conf lxc-net.conf.in - if INIT_SCRIPT_UPSTART - install-upstart: lxc.conf lxc-instance.conf lxc-net.conf - $(MKDIR_P) $(DESTDIR)$(sysconfdir)/init/ -- $(INSTALL_DATA) lxc.conf $(DESTDIR)$(sysconfdir)/init/ -+ $(INSTALL_DATA) $(srcdir)/lxc.conf $(DESTDIR)$(sysconfdir)/init/ - $(INSTALL_DATA) $(srcdir)/lxc-instance.conf $(DESTDIR)$(sysconfdir)/init/ -- $(INSTALL_DATA) lxc-net.conf $(DESTDIR)$(sysconfdir)/init/ -+ $(INSTALL_DATA) $(srcdir)/lxc-net.conf $(DESTDIR)$(sysconfdir)/init/ - - uninstall-upstart: - rm -f $(DESTDIR)$(sysconfdir)/init/lxc.conf diff --git a/recipes-containers/lxc/files/network-restore-ability-to-move-nl80211-devices.patch b/recipes-containers/lxc/files/network-restore-ability-to-move-nl80211-devices.patch deleted file mode 100644 index aa1aecd4..00000000 --- a/recipes-containers/lxc/files/network-restore-ability-to-move-nl80211-devices.patch +++ /dev/null @@ -1,94 +0,0 @@ -From 3dd7829433f63b2ec1323a1f237efa7d67ea6e2b Mon Sep 17 00:00:00 2001 -From: Christian Brauner <christian.brauner@ubuntu.com> -Date: Fri, 26 Jul 2019 08:20:02 +0200 -Subject: [PATCH] network: restore ability to move nl80211 devices - -Closes #3105. -Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com> ---- - src/lxc/network.c | 31 +++++++++++++++++-------------- - 1 file changed, 17 insertions(+), 14 deletions(-) - -diff --git a/src/lxc/network.c b/src/lxc/network.c -index 9755116..7684f95 100644 ---- a/src/lxc/network.c -+++ b/src/lxc/network.c -@@ -1248,22 +1248,21 @@ static int lxc_netdev_rename_by_name_in_netns(pid_t pid, const char *old, - static int lxc_netdev_move_wlan(char *physname, const char *ifname, pid_t pid, - const char *newname) - { -- char *cmd; -+ __do_free char *cmd = NULL; - pid_t fpid; -- int err = -1; - - /* Move phyN into the container. TODO - do this using netlink. - * However, IIUC this involves a bit more complicated work to talk to - * the 80211 module, so for now just call out to iw. - */ - cmd = on_path("iw", NULL); -- if (!cmd) -- goto out1; -- free(cmd); -+ if (!cmd) { -+ return -1; -+ } - - fpid = fork(); - if (fpid < 0) -- goto out1; -+ return -1; - - if (fpid == 0) { - char pidstr[30]; -@@ -1274,21 +1273,18 @@ static int lxc_netdev_move_wlan(char *physname, const char *ifname, pid_t pid, - } - - if (wait_for_pid(fpid)) -- goto out1; -+ return -1; - -- err = 0; - if (newname) -- err = lxc_netdev_rename_by_name_in_netns(pid, ifname, newname); -+ return lxc_netdev_rename_by_name_in_netns(pid, ifname, newname); - --out1: -- free(physname); -- return err; -+ return 0; - } - - int lxc_netdev_move_by_name(const char *ifname, pid_t pid, const char* newname) - { -+ __do_free char *physname = NULL; - int index; -- char *physname; - - if (!ifname) - return -EINVAL; -@@ -3279,13 +3275,20 @@ int lxc_network_move_created_netdev_priv(struct lxc_handler *handler) - return 0; - - lxc_list_for_each(iterator, network) { -+ __do_free char *physname = NULL; - int ret; - struct lxc_netdev *netdev = iterator->elem; - - if (!netdev->ifindex) - continue; - -- ret = lxc_netdev_move_by_index(netdev->ifindex, pid, NULL); -+ if (netdev->type == LXC_NET_PHYS) -+ physname = is_wlan(netdev->link); -+ -+ if (physname) -+ ret = lxc_netdev_move_wlan(physname, netdev->link, pid, NULL); -+ else -+ ret = lxc_netdev_move_by_index(netdev->ifindex, pid, NULL); - if (ret) { - errno = -ret; - SYSERROR("Failed to move network device \"%s\" with ifindex %d to network namespace %d", --- -2.7.4 - diff --git a/recipes-containers/lxc/files/run-ptest b/recipes-containers/lxc/files/run-ptest index 3f3a75f2..196adb04 100644 --- a/recipes-containers/lxc/files/run-ptest +++ b/recipes-containers/lxc/files/run-ptest @@ -9,10 +9,17 @@ dmesg -n 1 blacklist="" # Not applicable blacklist="$blacklist lxc-test-apparmor" +blacklist="$blacklist lxc-test-apparmor-mount" +#lxc-test-get_item would report Built without AppArmor support error +blacklist="$blacklist lxc-test-get_item" # These currently hang so skip them until someone fixes them up blacklist="$blacklist lxc-test-shutdowntest" blacklist="$blacklist lxc-test-state-server" +# Tests in firstrunlist will be run first +firstrunlist="" +firstrunlist="$firstrunlist lxc-test-unpriv" + passed=0 failed=0 skipped=0 @@ -23,11 +30,29 @@ rm -f logs/* echo "### Starting LXC ptest ###" +for test in $firstrunlist +do + ./tests/$test >logs/$(basename $test).log 2>&1 + if [ $? -eq 0 ] + then + echo "PASS: $(basename $test)" + passed=$((passed+1)) + else + echo "FAIL: $(basename $test)" + failed=$((failed+1)) + fi +done + for test in ./tests/* do if [[ ! $blacklist = *$(basename $test)* ]] then - $test >logs/$(basename $test).log 2>&1 + if [[ ! $firstrunlist = *$(basename $test)* ]] + then + $test >logs/$(basename $test).log 2>&1 + else + continue; + fi else echo "SKIPPED: $(basename $test)" skipped=$((skipped+1)) @@ -44,6 +69,7 @@ do fi done + echo "" echo "Results:" echo " PASSED = $passed" diff --git a/recipes-containers/lxc/files/template-make-busybox-template-compatible-with-core-.patch b/recipes-containers/lxc/files/template-make-busybox-template-compatible-with-core-.patch index e4bb72a0..1970fdd2 100644 --- a/recipes-containers/lxc/files/template-make-busybox-template-compatible-with-core-.patch +++ b/recipes-containers/lxc/files/template-make-busybox-template-compatible-with-core-.patch @@ -1,4 +1,4 @@ -From 3a7112a38d2c44b6fa49e0da1dc4765defd88dbb Mon Sep 17 00:00:00 2001 +From 96bf043ec0ed93613036c324174c149655cf52be Mon Sep 17 00:00:00 2001 From: Mark Asselstine <mark.asselstine@windriver.com> Date: Thu, 31 May 2018 11:44:44 -0400 Subject: [PATCH] template: make busybox template compatible with @@ -16,6 +16,8 @@ changes here to at least have the template work with core-image-minimal to be able to demonstrate that it can work as well as to have it available for the ptests. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> --- @@ -23,10 +25,10 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/templates/lxc-busybox.in b/templates/lxc-busybox.in -index 9637a71..45b386f 100644 +index 8ba7cfe..effdb73 100644 --- a/templates/lxc-busybox.in +++ b/templates/lxc-busybox.in -@@ -181,6 +181,19 @@ configure_busybox() +@@ -194,6 +194,19 @@ configure_busybox() return 1 fi @@ -46,7 +48,7 @@ index 9637a71..45b386f 100644 # symlink busybox for the commands it supports # it would be nice to just use "chroot $rootfs busybox --install -s /bin" # but that only works right in a chroot with busybox >= 1.19.0 -@@ -189,9 +202,6 @@ configure_busybox() +@@ -202,9 +215,6 @@ configure_busybox() ./busybox --list | grep -v busybox | xargs -n1 ln -s busybox ) diff --git a/recipes-containers/lxc/files/templates-actually-create-DOWNLOAD_TEMP-directory.patch b/recipes-containers/lxc/files/templates-actually-create-DOWNLOAD_TEMP-directory.patch index 756cddc3..3a2b1f0d 100644 --- a/recipes-containers/lxc/files/templates-actually-create-DOWNLOAD_TEMP-directory.patch +++ b/recipes-containers/lxc/files/templates-actually-create-DOWNLOAD_TEMP-directory.patch @@ -1,4 +1,4 @@ -From 68b0dd97130ffc5776de9219a42188b4a140d446 Mon Sep 17 00:00:00 2001 +From b30643c37d0d64a15d15026ac94e548cae8a88d2 Mon Sep 17 00:00:00 2001 From: Mark Asselstine <mark.asselstine@windriver.com> Date: Thu, 31 May 2018 16:21:45 -0400 Subject: [PATCH] templates: actually create DOWNLOAD_TEMP directory @@ -23,12 +23,12 @@ Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in -index 973783b..015a679 100644 +index 4cb2129..923d2a1 100644 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in -@@ -323,7 +323,7 @@ elif [ -n "${DOWNLOAD_TEMP}" ]; then +@@ -329,7 +329,7 @@ elif [ -n "${DOWNLOAD_TEMP}" ]; then mkdir -p "${DOWNLOAD_TEMP}" - DOWNLOAD_TEMP="$(mktemp -p ${DOWNLOAD_TEMP} -d)" + DOWNLOAD_TEMP="$(mktemp -p "${DOWNLOAD_TEMP}" -d)" else - DOWNLOAD_TEMP="${DOWNLOAD_TEMP}$(mktemp -d)" + DOWNLOAD_TEMP="$(mktemp -p ${DOWNLOAD_TEMP} -d)" diff --git a/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch b/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch index 4b185bf0..e9af8335 100644 --- a/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch +++ b/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch @@ -1,21 +1,24 @@ -From dd7b0a2e4542c352456747a45d7eeb11e9fdec26 Mon Sep 17 00:00:00 2001 -From: Joakim Roubert <joakimr@axis.com> -Date: Fri, 16 Aug 2019 07:52:48 +0200 -Subject: [PATCH] Use curl instead of wget +From 3e4cb0b738649f7750413cefbcfdb2115213ad0d Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Sun, 14 Aug 2022 14:08:56 -0400 +Subject: [PATCH] download: Use curl instead of wget When curl's MIT license is preferable to wget's GPLv3. -Change-Id: I4684ae7569704514fdcc63e0655c556efcaf44f8 +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Joakim Roubert <joakimr@axis.com> +Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> --- - templates/lxc-download.in | 10 +++++----- - 1 file changed, 5 insertions(+), 5 deletions(-) + templates/lxc-download.in | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in -index b70daaf..9526eae 100644 +index a62ddf482..690307338 100755 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in -@@ -74,9 +74,9 @@ cleanup() { +@@ -59,9 +59,9 @@ cleanup() { fi } @@ -27,18 +30,16 @@ index b70daaf..9526eae 100644 return 0 fi done -@@ -85,8 +85,8 @@ wget_wrapper() { +@@ -70,7 +70,7 @@ wget_wrapper() { } download_file() { -- if ! wget_wrapper -T 30 -q "https://${DOWNLOAD_SERVER}/$1" -O "$2" >/dev/null 2>&1; then -- if ! wget_wrapper -T 30 -q "http://${DOWNLOAD_SERVER}/$1" -O "$2" >/dev/null 2>&1; then -+ if ! curl_wrapper -m 30 -s "https://${DOWNLOAD_SERVER}/$1" -o "$2" >/dev/null 2>&1; then -+ if ! curl_wrapper -m 30 -s "http://${DOWNLOAD_SERVER}/$1" -o "$2" >/dev/null 2>&1; then - if [ "$3" = "noexit" ]; then - return 1 - else -@@ -266,7 +266,7 @@ while :; do +- if ! wget_wrapper --user-agent="lxc/@PACKAGE_VERSION@ compat:${DOWNLOAD_COMPAT_LEVEL}" -T 30 -q "https://${DOWNLOAD_SERVER}/$1" -O "$2" >/dev/null 2>&1; then ++ if ! curl_wrapper -L --user-agent "lxc/@PACKAGE_VERSION@ compat:${DOWNLOAD_COMPAT_LEVEL}" -m 30 -s "https://${DOWNLOAD_SERVER}/$1" -o "$2" >/dev/null 2>&1; then + if [ "$3" = "noexit" ]; then + return 1 + else +@@ -176,7 +176,7 @@ while :; do done # Check for required binaries @@ -47,3 +48,6 @@ index b70daaf..9526eae 100644 if ! command -V "${bin}" >/dev/null 2>&1; then echo "ERROR: Missing required tool: ${bin}" 1>&2 exit 1 +-- +2.25.1 + diff --git a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch b/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch deleted file mode 100644 index abddef6e..00000000 --- a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch +++ /dev/null @@ -1,85 +0,0 @@ -From 1b334bdaf598600314a678509a702728721001a2 Mon Sep 17 00:00:00 2001 -From: Mark Asselstine <mark.asselstine@windriver.com> -Date: Thu, 31 May 2018 15:14:26 -0400 -Subject: [PATCH] tests: add '--no-validate' when using download template - -We are usually running the ptests with core-image-minimal which has no -mechanism to validate the downloads. Validation isn't really of -interest to this test at any rate so simply add '--no-validate' to -avoid failing due to no GPG validation. - -Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> - ---- - src/tests/lxc-test-apparmor-mount | 2 +- - src/tests/lxc-test-autostart | 2 +- - src/tests/lxc-test-no-new-privs | 2 +- - src/tests/lxc-test-unpriv | 2 +- - src/tests/lxc-test-usernic.in | 2 +- - 5 files changed, 5 insertions(+), 5 deletions(-) - -diff --git a/src/tests/lxc-test-apparmor-mount b/src/tests/lxc-test-apparmor-mount -index 56d598f..573cff8 100755 ---- a/src/tests/lxc-test-apparmor-mount -+++ b/src/tests/lxc-test-apparmor-mount -@@ -169,7 +169,7 @@ if [ -f /etc/lsb-release ]; then - done - fi - --run_cmd lxc-create -t download -n $cname -- -d ubuntu -r $release -a $ARCH -+run_cmd lxc-create -t download -n $cname -- --no-validate -d ubuntu -r $release -a $ARCH - - echo "test default confined container" - run_cmd lxc-start -n $cname -d -lDEBUG -o "$logfile" -diff --git a/src/tests/lxc-test-autostart b/src/tests/lxc-test-autostart -index e5b651b..d15b79b 100755 ---- a/src/tests/lxc-test-autostart -+++ b/src/tests/lxc-test-autostart -@@ -55,7 +55,7 @@ if [ -f /etc/lsb-release ]; then - done - fi - --lxc-create -t download -n $CONTAINER_NAME -B dir -- -d ubuntu -r $release -a $ARCH -+lxc-create -t download -n $CONTAINER_NAME -B dir -- --no-validate -d ubuntu -r $release -a $ARCH - CONTAINER_PATH=$(dirname $(lxc-info -n $CONTAINER_NAME -c lxc.rootfs.path -H) | sed -e 's/dir://') - cp $CONTAINER_PATH/config $CONTAINER_PATH/config.bak - -diff --git a/src/tests/lxc-test-no-new-privs b/src/tests/lxc-test-no-new-privs -index 8642992..e72bdf0 100755 ---- a/src/tests/lxc-test-no-new-privs -+++ b/src/tests/lxc-test-no-new-privs -@@ -47,7 +47,7 @@ if type dpkg >/dev/null 2>&1; then - ARCH=$(dpkg --print-architecture) - fi - --lxc-create -t download -n c1 -- -d ubuntu -r xenial -a $ARCH -+lxc-create -t download -n c1 -- --no-validate -d ubuntu -r xenial -a $ARCH - echo "lxc.no_new_privs = 1" >> /var/lib/lxc/c1/config - - lxc-start -n c1 -diff --git a/src/tests/lxc-test-unpriv b/src/tests/lxc-test-unpriv -index 16ff12d..0958d48 100755 ---- a/src/tests/lxc-test-unpriv -+++ b/src/tests/lxc-test-unpriv -@@ -173,7 +173,7 @@ run_cmd mkdir -p $HDIR/.cache/lxc - cp -R /var/cache/lxc/download $HDIR/.cache/lxc && \ - chown -R $TUSER: $HDIR/.cache/lxc - --run_cmd lxc-create -t download -n c1 -- -d ubuntu -r $release -a $ARCH -+run_cmd lxc-create -t download -n c1 -- --no-validate -d ubuntu -r $release -a $ARCH - - # Make sure we can start it - twice - -diff --git a/src/tests/lxc-test-usernic.in b/src/tests/lxc-test-usernic.in -index 3e35008..f489286 100755 ---- a/src/tests/lxc-test-usernic.in -+++ b/src/tests/lxc-test-usernic.in -@@ -146,7 +146,7 @@ if [ -f /etc/lsb-release ]; then - fi - - # Create three containers --run_cmd "lxc-create -t download -n b1 -- -d ubuntu -r $release -a $ARCH" -+run_cmd "lxc-create -t download -n b1 -- --no-validate -d ubuntu -r $release -a $ARCH" - run_cmd "lxc-start -n b1 -d" - p1=$(run_cmd "lxc-info -n b1 -p -H") - diff --git a/recipes-containers/lxc/files/tests-our-init-is-not-busybox.patch b/recipes-containers/lxc/files/tests-our-init-is-not-busybox.patch index e6c71d3d..3a4855c8 100644 --- a/recipes-containers/lxc/files/tests-our-init-is-not-busybox.patch +++ b/recipes-containers/lxc/files/tests-our-init-is-not-busybox.patch @@ -1,4 +1,4 @@ -From 51d88d9741c30ff4a798698514cac831ae61680b Mon Sep 17 00:00:00 2001 +From 06b2a3054b9526c89d5abc314c7d7cda35ddb6a5 Mon Sep 17 00:00:00 2001 From: Mark Asselstine <mark.asselstine@windriver.com> Date: Thu, 31 May 2018 15:00:34 -0400 Subject: [PATCH] tests: our init is not busybox @@ -8,6 +8,8 @@ template) we can't compare '/sbin/init' and 'busybox'. Actually we are really only interested in the fact 'cmp' is being run and not the result, so simplify by comparing '/sbin/init' to itself. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> --- diff --git a/recipes-containers/lxc/lxc_3.2.1.bb b/recipes-containers/lxc/lxc_3.2.1.bb deleted file mode 100644 index bedcf137..00000000 --- a/recipes-containers/lxc/lxc_3.2.1.bb +++ /dev/null @@ -1,200 +0,0 @@ -DESCRIPTION = "lxc aims to use these new functionnalities to provide an userspace container object" -SECTION = "console/utils" -LICENSE = "LGPLv2.1" -LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" -DEPENDS = "libxml2 libcap" -RDEPENDS_${PN} = " \ - rsync \ - curl \ - gzip \ - xz \ - tar \ - libcap-bin \ - bridge-utils \ - dnsmasq \ - perl-module-strict \ - perl-module-getopt-long \ - perl-module-vars \ - perl-module-exporter \ - perl-module-constant \ - perl-module-overload \ - perl-module-exporter-heavy \ - gmp \ - libidn \ - gnutls \ - nettle \ - util-linux-mountpoint \ - util-linux-getopt \ -" - -RDEPENDS_${PN}_append_libc-glibc = " glibc-utils" - -RDEPENDS_${PN}-ptest += "file make gmp nettle gnutls bash libgcc" - -RDEPENDS_${PN}-networking += "iptables" - -SRC_URI = "http://linuxcontainers.org/downloads/${BPN}-${PV}.tar.gz \ - file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \ - file://run-ptest \ - file://lxc-fix-B-S.patch \ - file://lxc-doc-upgrade-to-use-docbook-3.1-DTD.patch \ - file://logs-optionally-use-base-filenames-to-report-src-fil.patch \ - file://templates-actually-create-DOWNLOAD_TEMP-directory.patch \ - file://template-make-busybox-template-compatible-with-core-.patch \ - file://templates-use-curl-instead-of-wget.patch \ - file://tests-our-init-is-not-busybox.patch \ - file://tests-add-no-validate-when-using-download-template.patch \ - file://network-restore-ability-to-move-nl80211-devices.patch \ - file://0001-container.conf-Add-option-to-set-keyring-SELinux-con.patch \ - file://0002-container.conf-Add-option-to-disable-session-keyring.patch \ - file://dnsmasq.conf \ - file://lxc-net \ - " - -SRC_URI[md5sum] = "4886c8d1c8e221fe526eefcb47857b85" -SRC_URI[sha256sum] = "5f903986a4b17d607eea28c0aa56bf1e76e8707747b1aa07d31680338b1cc3d4" - -S = "${WORKDIR}/${BPN}-${PV}" - -# Let's not configure for the host distro. -# -PTEST_CONF = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '--enable-tests', '', d)}" -EXTRA_OECONF += "--with-distro=${DISTRO} ${PTEST_CONF}" - -EXTRA_OECONF += "--with-init-script=\ -${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'sysvinit,', '', d)}\ -${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" - -EXTRA_OECONF += "--enable-log-src-basename" - -CFLAGS_append = " -Wno-error=deprecated-declarations" - -PACKAGECONFIG ??= "templates \ - ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ -" -PACKAGECONFIG[doc] = "--enable-doc --enable-api-docs,--disable-doc --disable-api-docs,," -PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,," -PACKAGECONFIG[apparmor] = "--enable-apparmor,--disable-apparmor,apparmor,apparmor" -PACKAGECONFIG[templates] = ",,, ${PN}-templates" -PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux" -PACKAGECONFIG[seccomp] ="--enable-seccomp,--disable-seccomp,libseccomp,libseccomp" -PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd," - -# required by python3 to run setup.py -export BUILD_SYS -export HOST_SYS -export STAGING_INCDIR -export STAGING_LIBDIR - -inherit autotools pkgconfig ptest update-rc.d systemd python3native - -SYSTEMD_PACKAGES = "${PN} ${PN}-networking" -SYSTEMD_SERVICE_${PN} = "lxc.service" -SYSTEMD_AUTO_ENABLE_${PN} = "disable" -SYSTEMD_SERVICE_${PN}-networking = "lxc-net.service" -SYSTEMD_AUTO_ENABLE_${PN}-networking = "enable" - -INITSCRIPT_PACKAGES = "${PN} ${PN}-networking" -INITSCRIPT_NAME_${PN} = "lxc-containers" -INITSCRIPT_PARAMS_${PN} = "defaults" -INITSCRIPT_NAME_${PN}-networking = "lxc-net" -INITSCRIPT_PARAMS_${PN}-networking = "defaults" - -FILES_${PN}-doc = "${mandir} ${infodir}" -# For LXC the docdir only contains example configuration files and should be included in the lxc package -FILES_${PN} += "${docdir}" -FILES_${PN} += "${libdir}/python3*" -FILES_${PN} += "${datadir}/bash-completion" -FILES_${PN}-dbg += "${libexecdir}/lxc/.debug" -FILES_${PN}-dbg += "${libexecdir}/lxc/hooks/.debug" -PACKAGES =+ "${PN}-templates ${PN}-networking ${PN}-lua" -FILES_lua-${PN} = "${datadir}/lua ${libdir}/lua" -FILES_lua-${PN}-dbg += "${libdir}/lua/lxc/.debug" -FILES_${PN}-templates += "${datadir}/lxc/templates" -RDEPENDS_${PN}-templates += "bash" - -FILES_${PN}-networking += " \ - ${sysconfdir}/init.d/lxc-net \ - ${sysconfdir}/default/lxc-net \ -" - -CACHED_CONFIGUREVARS += " \ - ac_cv_path_PYTHON='${STAGING_BINDIR_NATIVE}/python3-native/python3' \ - am_cv_python_pyexecdir='${exec_prefix}/${libdir}/python3.5/site-packages' \ - am_cv_python_pythondir='${prefix}/${libdir}/python3.5/site-packages' \ -" - -do_install_append() { - # The /var/cache/lxc directory created by the Makefile - # is wiped out in volatile, we need to create this at boot. - rm -rf ${D}${localstatedir}/cache - install -d ${D}${sysconfdir}/default/volatiles - echo "d root root 0755 ${localstatedir}/cache/lxc none" \ - > ${D}${sysconfdir}/default/volatiles/99_lxc - - for i in `grep -l "#! */bin/bash" ${D}${datadir}/lxc/hooks/*`; do \ - sed -e 's|#! */bin/bash|#!/bin/sh|' -i $i; done - - install -d ${D}${sysconfdir}/init.d - install -m 755 config/init/sysvinit/lxc* ${D}${sysconfdir}/init.d - - # since python3-native is used for install location this will not be - # suitable for the target and we will have to correct the package install - if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then - if [ -d ${D}${exec_prefix}/lib/python* ]; then mv ${D}${exec_prefix}/lib/python* ${D}${libdir}/; fi - rmdir --ignore-fail-on-non-empty ${D}${exec_prefix}/lib - fi - - # /etc/default/lxc sources lxc-net, this allows lxc bridge when lxc-networking - # is not installed this results in no lxcbr0, but when lxc-networking is installed - # lxcbr0 will be fully configured. - install -m 644 ${WORKDIR}/lxc-net ${D}${sysconfdir}/default/ - - # Force the main dnsmasq instance to bind only to specified interfaces and - # to not bind to virbr0. Libvirt will run its own instance on this interface. - install -d ${D}/${sysconfdir}/dnsmasq.d - install -m 644 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/lxc -} - -EXTRA_OEMAKE += "TEST_DIR=${D}${PTEST_PATH}/src/tests" - -do_install_ptest() { - # Move tests to the "ptest directory" - install -d ${D}/${PTEST_PATH}/tests - mv ${D}/usr/bin/lxc-test-* ${D}/${PTEST_PATH}/tests/. -} - -pkg_postinst_${PN}() { - if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then - /etc/init.d/populate-volatile.sh update - fi -} - -pkg_postinst_ontarget_${PN}-networking() { -if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then -cat >> /etc/network/interfaces << EOF - -auto lxcbr0 -iface lxcbr0 inet dhcp - bridge_ports eth0 - bridge_fd 0 - bridge_maxwait 0 -EOF - -cat<<EOF>/etc/network/if-pre-up.d/lxcbr0 -#! /bin/sh - -if test "x\$IFACE" = xlxcbr0 ; then - brctl show |grep lxcbr0 > /dev/null 2>/dev/null - if [ \$? != 0 ] ; then - brctl addbr lxcbr0 - brctl addif lxcbr0 eth0 - ip addr flush eth0 - ifconfig eth0 up - fi -fi -EOF -chmod 755 /etc/network/if-pre-up.d/lxcbr0 -fi -} diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb new file mode 100644 index 00000000..ee0e442f --- /dev/null +++ b/recipes-containers/lxc/lxc_git.bb @@ -0,0 +1,212 @@ +DESCRIPTION = "lxc aims to use these new functionnalities to provide an userspace container object" +SECTION = "console/utils" +LICENSE = "LGPL-2.1-only & GPL-2.0-only" +LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c \ + file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \ +" + +DEPENDS = "libxml2 libcap" +RDEPENDS:${PN} = " \ + rsync \ + curl \ + gzip \ + xz \ + tar \ + libcap-bin \ + bridge-utils \ + dnsmasq \ + perl-module-strict \ + perl-module-getopt-long \ + perl-module-vars \ + perl-module-exporter \ + perl-module-constant \ + perl-module-overload \ + perl-module-exporter-heavy \ + gmp \ + libidn \ + gnutls \ + nettle \ + util-linux-mountpoint \ + util-linux-getopt \ +" + +RDEPENDS:${PN}:append:libc-glibc = " glibc-utils" + +RDEPENDS:${PN}-ptest += "file make gmp nettle gnutls bash libgcc" + +RDEPENDS:${PN}-networking += "iptables" + +SRC_URI = "git://github.com/lxc/lxc.git;branch=stable-5.0;protocol=https \ + file://lxc-1.0.0-disable-udhcp-from-busybox-template.patch \ + file://run-ptest \ + file://templates-actually-create-DOWNLOAD_TEMP-directory.patch \ + file://template-make-busybox-template-compatible-with-core-.patch \ + file://templates-use-curl-instead-of-wget.patch \ + file://0001-download-don-t-try-compatbility-index.patch \ + file://tests-our-init-is-not-busybox.patch \ + file://0001-template-if-busybox-contains-init-use-it-in-containe.patch \ + file://dnsmasq.conf \ + file://lxc-net \ + file://0001-lxc-test-usernic-drop-cgroup-handling.patch \ + file://0001-tests-remove-old-and-broken-cgroup-handling-code-fro.patch \ + " + +SRCREV = "cb8e38aca27a23964941f0f011a8919aab8bebab" +PV = "5.0.3+git" + +S = "${WORKDIR}/git" + +# Let's not configure for the host distro. +# +PTEST_CONF = "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', '-Dtests=true', '', d)}" + +# No meson equivalent for --with-distro +# EXTRA_OECONF += "--with-distro=${DISTRO} ${PTEST_CONF}" +EXTRA_OEMESON += "${PTEST_CONF} -Ddistrosysconfdir=${sysconfdir}/default" +# No meson equivalent for these yet +# EXTRA_OECONF += "--enable-log-src-basename --disable-werror" + +PACKAGECONFIG ??= "templates \ + ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \ +" + +# Meson doesn't seem to be as fine grained as the autotools releases +# PACKAGECONFIG[doc] = "--enable-doc --enable-api-docs,--disable-doc --disable-api-docs,," +PACKAGECONFIG[doc] = "-Dman=true,-Dman=false,," +# No meson equiv found for rpath yet +# PACKAGECONFIG[rpath] = "--enable-rpath,--disable-rpath,," +PACKAGECONFIG[apparmor] = "-Dapparmor=true,-Dapparmor=false,apparmor,apparmor" +PACKAGECONFIG[templates] = ",,, ${PN}-templates" +PACKAGECONFIG[selinux] = "-Dselinux=true,-Dselinux=false,libselinux,libselinux" +PACKAGECONFIG[seccomp] ="-Dseccomp=true,-Dseccomp=false,libseccomp,libseccomp" +# meson equiv for the unitdir found yet +# PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/,--without-systemdsystemunitdir,systemd," +PACKAGECONFIG[systemd] = "-Dinit-script=systemd,-Dinit-script=sysvinit,systemd," + +# required by python3 to run setup.py +export BUILD_SYS +export HOST_SYS +export STAGING_INCDIR +export STAGING_LIBDIR + +inherit meson pkgconfig ptest update-rc.d systemd python3native + +SYSTEMD_PACKAGES = "${PN} ${PN}-networking" +SYSTEMD_SERVICE:${PN} = "lxc.service lxc-monitord.service" +SYSTEMD_AUTO_ENABLE:${PN} = "disable" +SYSTEMD_SERVICE:${PN}-networking = "lxc-net.service" +SYSTEMD_AUTO_ENABLE:${PN}-networking = "enable" + +INITSCRIPT_PACKAGES = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', '${PN}', d)} ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', '${PN}-networking',d)}" +INITSCRIPT_NAME:${PN} = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'lxc-containers', d)}" +INITSCRIPT_PARAMS:${PN} = "defaults" +INITSCRIPT_NAME:${PN}-networking = "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'lxc-net', d)}" +INITSCRIPT_PARAMS:${PN}-networking = "defaults" + +FILES:${PN}-doc = "${mandir} ${infodir}" +# For LXC the docdir only contains example configuration files and should be included in the lxc package +FILES:${PN} += "${docdir}" +FILES:${PN} += "${libdir}/python3*" +FILES:${PN} += "${datadir}/bash-completion" +FILES:${PN}-dbg += "${libexecdir}/lxc/.debug" +FILES:${PN}-dbg += "${libexecdir}/lxc/hooks/.debug" +PACKAGES =+ "${PN}-templates ${PN}-networking ${PN}-lua" +FILES:lua-${PN} = "${datadir}/lua ${libdir}/lua" +FILES:lua-${PN}-dbg += "${libdir}/lua/lxc/.debug" +FILES:${PN}-templates += "${datadir}/lxc/templates" +RDEPENDS:${PN}-templates += "bash" + +FILES:${PN}-networking += " \ + ${sysconfdir}/init.d/lxc-net \ + ${sysconfdir}/default/lxc-net \ +" + +# Not needed for meson +# CACHED_CONFIGUREVARS += " \ +# ac_cv_path_PYTHON='${STAGING_BINDIR_NATIVE}/python3-native/python3' \ +# am_cv_python_pyexecdir='${PYTHON_SITEPACKAGES_DIR}' \ +# am_cv_python_pythondir='${PYTHON_SITEPACKAGES_DIR}' \ +#" + +do_install:append() { + # The /var/cache/lxc directory created by the Makefile + # is wiped out in volatile, we need to create this at boot. + rm -rf ${D}${localstatedir}/cache + install -d ${D}${sysconfdir}/default/volatiles + echo "d root root 0755 ${localstatedir}/cache/lxc none" \ + > ${D}${sysconfdir}/default/volatiles/99_lxc + + for i in `grep -l "#! */bin/bash" ${D}${datadir}/lxc/hooks/*`; do \ + sed -e 's|#! */bin/bash|#!/bin/sh|' -i $i; done + + if "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}"; then + # nothing special for systemd at the moment + true + else + # with meson, these aren't built unless sysvinit is the enabled + # init system. + install -d ${D}${sysconfdir}/init.d + install -m 755 config/init/sysvinit/lxc* ${D}${sysconfdir}/init.d + fi + + # since python3-native is used for install location this will not be + # suitable for the target and we will have to correct the package install + if ${@bb.utils.contains('PACKAGECONFIG', 'python', 'true', 'false', d)}; then + if [ -d ${D}${exec_prefix}/lib/python* ]; then mv ${D}${exec_prefix}/lib/python* ${D}${libdir}/; fi + rmdir --ignore-fail-on-non-empty ${D}${exec_prefix}/lib + fi + + # /etc/default/lxc sources lxc-net, this allows lxc bridge when lxc-networking + # is not installed this results in no lxcbr0, but when lxc-networking is installed + # lxcbr0 will be fully configured. + install -m 644 ${WORKDIR}/lxc-net ${D}${sysconfdir}/default/ + + # Force the main dnsmasq instance to bind only to specified interfaces and + # to not bind to virbr0. Libvirt will run its own instance on this interface. + install -d ${D}/${sysconfdir}/dnsmasq.d + install -m 644 ${WORKDIR}/dnsmasq.conf ${D}/${sysconfdir}/dnsmasq.d/lxc +} + +EXTRA_OEMAKE += "TEST_DIR=${D}${PTEST_PATH}/src/tests" + +do_install_ptest() { + # Move tests to the "ptest directory" + install -d ${D}/${PTEST_PATH}/tests + mv ${D}/usr/bin/lxc-test-* ${D}/${PTEST_PATH}/tests/. +} + +pkg_postinst:${PN}() { + if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then + /etc/init.d/populate-volatile.sh update + fi +} + +pkg_postinst:${PN}-networking() { +if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then +cat >> $D/etc/network/interfaces << EOF + +auto lxcbr0 +iface lxcbr0 inet dhcp + bridge_ports eth0 + bridge_fd 0 + bridge_maxwait 0 +EOF + +cat<<EOF>$D/etc/network/if-pre-up.d/lxcbr0 +#! /bin/sh + +if test "x\$IFACE" = xlxcbr0 ; then + brctl show |grep lxcbr0 > /dev/null 2>/dev/null + if [ \$? != 0 ] ; then + brctl addbr lxcbr0 + brctl addif lxcbr0 eth0 + ip addr flush eth0 + ifconfig eth0 up + fi +fi +EOF +chmod 755 $D/etc/network/if-pre-up.d/lxcbr0 +fi +} diff --git a/recipes-containers/lxcfs/files/systemd-allow-for-distinct-build-directory.patch b/recipes-containers/lxcfs/files/systemd-allow-for-distinct-build-directory.patch deleted file mode 100644 index 14228d65..00000000 --- a/recipes-containers/lxcfs/files/systemd-allow-for-distinct-build-directory.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 66a71fbf94020651880f1dbb6e4663d93391b47c Mon Sep 17 00:00:00 2001 -From: Mark Asselstine <mark.asselstine@windriver.com> -Date: Mon, 10 Sep 2018 13:14:07 -0400 -Subject: [PATCH] systemd: allow for distinct build directory - -The Makefile.am is currently written in a way that doesn't allow for a -distinct build directory. As such we get the error: - - install: cannot stat 'lxcfs.service': No such file or directory - -Make use of $(srcdir) to correct this. - -Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> ---- - config/init/systemd/Makefile.am | 2 +- - config/init/systemd/Makefile.in | 2 +- - 2 files changed, 2 insertions(+), 2 deletions(-) - -diff --git a/config/init/systemd/Makefile.am b/config/init/systemd/Makefile.am -index 79e96f5..d6933f9 100644 ---- a/config/init/systemd/Makefile.am -+++ b/config/init/systemd/Makefile.am -@@ -5,7 +5,7 @@ SYSTEMD_UNIT_DIR = /lib/systemd/system - - install-systemd: lxcfs.service - $(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR) -- $(INSTALL_DATA) lxcfs.service $(DESTDIR)$(SYSTEMD_UNIT_DIR)/ -+ $(INSTALL_DATA) $(srcdir)/lxcfs.service $(DESTDIR)$(SYSTEMD_UNIT_DIR)/ - - uninstall-systemd: - rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/lxcfs.service -diff --git a/config/init/systemd/Makefile.in b/config/init/systemd/Makefile.in -index d433e8a..430190c 100644 ---- a/config/init/systemd/Makefile.in -+++ b/config/init/systemd/Makefile.in -@@ -450,7 +450,7 @@ uninstall-am: uninstall-local - - @INIT_SCRIPT_SYSTEMD_TRUE@install-systemd: lxcfs.service - @INIT_SCRIPT_SYSTEMD_TRUE@ $(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR) --@INIT_SCRIPT_SYSTEMD_TRUE@ $(INSTALL_DATA) lxcfs.service $(DESTDIR)$(SYSTEMD_UNIT_DIR)/ -+@INIT_SCRIPT_SYSTEMD_TRUE@ $(INSTALL_DATA) $(srcdir)/lxcfs.service $(DESTDIR)$(SYSTEMD_UNIT_DIR)/ - - @INIT_SCRIPT_SYSTEMD_TRUE@uninstall-systemd: - @INIT_SCRIPT_SYSTEMD_TRUE@ rm -f $(DESTDIR)$(SYSTEMD_UNIT_DIR)/lxcfs.service --- -2.7.4 - diff --git a/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch b/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch deleted file mode 100644 index 5e5673ac..00000000 --- a/recipes-containers/lxcfs/files/systemd-ensure-var-lib-lxcfs-exists.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 89bf4b64e810e174068e7861490e6d6ab2d14854 Mon Sep 17 00:00:00 2001 -From: Mark Asselstine <mark.asselstine@windriver.com> -Date: Mon, 10 Sep 2018 15:01:54 -0400 -Subject: [PATCH] systemd: ensure /var/lib/lxcfs exists - -If the directory doesn't exist the service will fail to start. - -Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> ---- - config/init/systemd/lxcfs.service | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/config/init/systemd/lxcfs.service b/config/init/systemd/lxcfs.service -index 95e3ee9..d887203 100644 ---- a/config/init/systemd/lxcfs.service -+++ b/config/init/systemd/lxcfs.service -@@ -5,6 +5,7 @@ Before=lxc.service - Documentation=man:lxcfs(1) - - [Service] -+ExecStartPre=-/bin/mkdir /var/lib/lxcfs - ExecStart=/usr/bin/lxcfs /var/lib/lxcfs/ - KillMode=process - Restart=on-failure --- -2.7.4 - diff --git a/recipes-containers/lxcfs/lxcfs/0001-bindings-fix-build-with-newer-linux-libc-headers.patch b/recipes-containers/lxcfs/lxcfs/0001-bindings-fix-build-with-newer-linux-libc-headers.patch new file mode 100644 index 00000000..64d19f47 --- /dev/null +++ b/recipes-containers/lxcfs/lxcfs/0001-bindings-fix-build-with-newer-linux-libc-headers.patch @@ -0,0 +1,50 @@ +From ca3c3484b078304998b3f2a2d6cd6c00540deb2c Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Fri, 28 Apr 2023 19:16:11 +0000 +Subject: [PATCH] bindings: fix build with newer linux-libc-headers + +Fixes: + +../../lxcfs-4.0.7/src/bindings.c: In function 'initpid_still_valid_pidfd': +../../lxcfs-4.0.7/src/bindings.c:160:15: error: implicit declaration of function 'pidfd_send_signal'; did you mean 'SYS_pidfd_send_signal'? [-Werr +or=implicit-function-declaration] + 160 | ret = pidfd_send_signal(entry->init_pidfd, 0, NULL, 0); + | ^~~~~~~~~~~~~~~~~ + | SYS_pidfd_send_signal +../../lxcfs-4.0.7/src/bindings.c:160:15: warning: nested extern declaration of 'pidfd_send_signal' [-Wnested-externs] +../../lxcfs-4.0.7/src/bindings.c: In function 'save_initpid': +../../lxcfs-4.0.7/src/bindings.c:296:25: error: implicit declaration of function 'pidfd_open' [-Werror=implicit-function-declaration] + 296 | pidfd = pidfd_open(pid, 0); + | ^~~~~~~~~~ +../../lxcfs-4.0.7/src/bindings.c:296:25: warning: nested extern declaration of 'pidfd_open' [-Wnested-externs] +../../lxcfs-4.0.7/src/bindings.c: At top level: +../../lxcfs-4.0.7/src/bindings.c:612:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 612 | static int pivot_enter() + | ^~~~~~~~~~~ +../../lxcfs-4.0.7/src/bindings.c: In function 'pivot_enter': +../../lxcfs-4.0.7/src/bindings.c:612:12: warning: old-style function definition [-Wold-style-definition] +../../lxcfs-4.0.7/src/bindings.c: At top level: +../../lxcfs-4.0.7/src/bindings.c:655:12: warning: function declaration isn't a prototype [-Wstrict-prototypes] + 655 | static int chroot_enter() + | ^~~~~~~~~~~~ +../../lxcfs-4.0.7/src/bindings.c: In function 'chroot_enter': +../../lxcfs-4.0.7/src/bindings.c:655:12: warning: old-style function definition [-Wold-style-definition] + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +Upstream-Status: Pending +--- + src/bindings.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/bindings.c b/src/bindings.c +index 6f2444c..3e0d60a 100644 +--- a/src/bindings.c ++++ b/src/bindings.c +@@ -39,6 +39,7 @@ + #include <sys/mman.h> + #include <sys/mount.h> + #include <sys/param.h> ++#include <sys/pidfd.h> + #include <sys/socket.h> + #include <sys/syscall.h> + #include <sys/sysinfo.h> diff --git a/recipes-containers/lxcfs/lxcfs/0001-meson.build-force-pid-open-send_signal-detection.patch b/recipes-containers/lxcfs/lxcfs/0001-meson.build-force-pid-open-send_signal-detection.patch new file mode 100644 index 00000000..5f21a956 --- /dev/null +++ b/recipes-containers/lxcfs/lxcfs/0001-meson.build-force-pid-open-send_signal-detection.patch @@ -0,0 +1,38 @@ +From 65fcb73cdef34609f28461424672551a6e65327e Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Thu, 3 Aug 2023 15:01:42 +0000 +Subject: [PATCH] meson.build: force pid open/send_signal detection + +meson is not correctly detecting that our cross build environment +has the pid* definitions, which leads to compile errors when internal +definitions conflict: + + lxcfs-5.0.4/src/utils.h:45:19: error: static declaration of 'pidfd_open' follows non-static declaration + +We could possibly generate a meson.cross file, and specify it via +--cross-file, but we can just force the detection to 'true' as we +don't have to support configurations without the functionality. + +Upstream-Status: Inappropriate [OE-Specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + meson.build | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/meson.build b/meson.build +index a0289ad..9480c30 100644 +--- a/meson.build ++++ b/meson.build +@@ -143,6 +143,8 @@ foreach ident: [ + ] + have = cc.has_function(ident[0], prefix: ident[1], args: '-D_GNU_SOURCE') + conf.set10('HAVE_' + ident[0].to_upper(), have) ++ conf.set10('HAVE_PIDFD_OPEN', true) ++ conf.set10('HAVE_PIDFD_SEND_SIGNAL', true) + endforeach + + fuse_version = get_option('fuse-version') +-- +2.39.2 + diff --git a/recipes-containers/lxcfs/lxcfs_3.0.3.bb b/recipes-containers/lxcfs/lxcfs_3.0.3.bb deleted file mode 100644 index b6b6ac6b..00000000 --- a/recipes-containers/lxcfs/lxcfs_3.0.3.bb +++ /dev/null @@ -1,25 +0,0 @@ -SUMMARY = "LXCFS is a userspace filesystem created to avoid kernel limitations" -LICENSE = "Apache-2.0" - -inherit autotools pkgconfig systemd - -SRC_URI = " \ - https://linuxcontainers.org/downloads/lxcfs/lxcfs-${PV}.tar.gz \ - file://systemd-allow-for-distinct-build-directory.patch \ - file://systemd-ensure-var-lib-lxcfs-exists.patch \ -" - -LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" -SRC_URI[md5sum] = "bfc41f949caeabd0468189480222f25e" -SRC_URI[sha256sum] = "890aa30d960d9b1e53b0c0712bf645c1f1924f750e32cd090f368c1338bd462f" - -DEPENDS += "fuse" -RDEPENDS_${PN} += "fuse" - -FILES_${PN} += "${datadir}/lxc/config/common.conf.d/*" - -CACHED_CONFIGUREVARS += "ac_cv_path_HELP2MAN='false // No help2man //'" -EXTRA_OECONF += "--with-distro=unknown --with-init-script=${VIRTUAL-RUNTIME_init_manager}" - -SYSTEMD_PACKAGES = "${PN}" -SYSTEMD_SERVICE_${PN} = "lxcfs.service" diff --git a/recipes-containers/lxcfs/lxcfs_5.0.4.bb b/recipes-containers/lxcfs/lxcfs_5.0.4.bb new file mode 100644 index 00000000..5d2ad164 --- /dev/null +++ b/recipes-containers/lxcfs/lxcfs_5.0.4.bb @@ -0,0 +1,26 @@ +SUMMARY = "LXCFS is a userspace filesystem created to avoid kernel limitations" +LICENSE = "LGPL-2.1-or-later" + +REQUIRED_DISTRO_FEATURES ?= "systemd" +inherit meson pkgconfig systemd features_check + +SRC_URI = " \ + https://linuxcontainers.org/downloads/lxcfs/lxcfs-${PV}.tar.gz \ + file://0001-bindings-fix-build-with-newer-linux-libc-headers.patch \ + file://0001-meson.build-force-pid-open-send_signal-detection.patch \ +" + +LIC_FILES_CHKSUM = "file://COPYING;md5=29ae50a788f33f663405488bc61eecb1" +SRC_URI[md5sum] = "00a6632e094d0a2f2308c8365ac91912" +SRC_URI[sha256sum] = "c2b361edc881d5ca8fa2cd3260a4999b8f87afce8d937be2160e5cf0b482c52f" + +DEPENDS += "fuse python3-jinja2-native help2man-native systemd" +RDEPENDS:${PN} += "fuse" + +FILES:${PN} += "${datadir}/lxc/config/common.conf.d/*" + +# help2man doesn't work, so we disable docs +EXTRA_OEMESON += "-Dinit-script=${VIRTUAL-RUNTIME_init_manager} -Ddocs=false" + +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE:${PN} = "lxcfs.service" diff --git a/recipes-containers/nerdctl/nerdctl/0001-Makefile-allow-external-specification-of-build-setti.patch b/recipes-containers/nerdctl/nerdctl/0001-Makefile-allow-external-specification-of-build-setti.patch new file mode 100644 index 00000000..ca7b3042 --- /dev/null +++ b/recipes-containers/nerdctl/nerdctl/0001-Makefile-allow-external-specification-of-build-setti.patch @@ -0,0 +1,25 @@ +From 0e6809ea075acd3edf7de197cd4e190ccdad6361 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Mon, 29 Mar 2021 20:50:47 -0400 +Subject: [PATCH] Makefile: allow external specification of build settings + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + Makefile | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +Index: nerdctl-v2.0.0-beta.1/src/import/Makefile +=================================================================== +--- nerdctl-v2.0.0-beta.1.orig/src/import/Makefile ++++ nerdctl-v2.0.0-beta.1/src/import/Makefile +@@ -38,7 +38,7 @@ + + GO_BUILD_LDFLAGS ?= -s -w + GO_BUILD_FLAGS ?= +-export GO_BUILD=GO111MODULE=on CGO_ENABLED=0 GOOS=$(GOOS) $(GO) build -ldflags "$(GO_BUILD_LDFLAGS) -X $(PACKAGE)/pkg/version.Version=$(VERSION) -X $(PACKAGE)/pkg/version.Revision=$(REVISION)" ++export GO_BUILD=$(GO) build -ldflags "$(GO_BUILD_LDFLAGS) -X $(PACKAGE)/pkg/version.Version=$(VERSION) -X $(PACKAGE)/pkg/version.Revision=$(REVISION)" + + ifdef VERBOSE + VERBOSE_FLAG := -v diff --git a/recipes-containers/nerdctl/nerdctl/modules.txt b/recipes-containers/nerdctl/nerdctl/modules.txt new file mode 100644 index 00000000..b26ec8ec --- /dev/null +++ b/recipes-containers/nerdctl/nerdctl/modules.txt @@ -0,0 +1,270 @@ +# github.com/Masterminds/semver/v3 v3.2.1 +## explicit +# github.com/Microsoft/go-winio v0.6.1 +## explicit +# github.com/Microsoft/hcsshim v0.11.4 +## explicit +# github.com/awslabs/soci-snapshotter v0.4.1 +## explicit +# github.com/compose-spec/compose-go v1.20.2 +## explicit +# github.com/containerd/accelerated-container-image v1.0.2 +## explicit +# github.com/containerd/cgroups/v3 v3.0.3 +## explicit +# github.com/containerd/console v1.0.4 +## explicit +# github.com/containerd/containerd v1.7.13 +## explicit +# github.com/containerd/continuity v0.4.3 +## explicit +# github.com/containerd/fifo v1.1.0 +## explicit +# github.com/containerd/go-cni v1.1.9 +## explicit +# github.com/containerd/imgcrypt v1.1.9 +## explicit +# github.com/containerd/log v0.1.0 +## explicit +# github.com/containerd/nydus-snapshotter v0.13.7 +## explicit +# github.com/containerd/platforms v0.1.1 +## explicit +# github.com/containerd/stargz-snapshotter v0.15.1 +## explicit +# github.com/containerd/stargz-snapshotter/estargz v0.15.1 +## explicit +# github.com/containerd/stargz-snapshotter/ipfs v0.15.1 +## explicit +# github.com/containerd/typeurl/v2 v2.1.1 +## explicit +# github.com/containernetworking/cni v1.1.2 +## explicit +# github.com/containernetworking/plugins v1.4.0 +## explicit +# github.com/coreos/go-iptables v0.7.0 +## explicit +# github.com/coreos/go-systemd/v22 v22.5.0 +## explicit +# github.com/cyphar/filepath-securejoin v0.2.4 +## explicit +# github.com/docker/cli v24.0.7+incompatible +## explicit +# github.com/docker/docker v24.0.7+incompatible +## explicit +# github.com/docker/go-connections v0.5.0 +## explicit +# github.com/docker/go-units v0.5.0 +## explicit +# github.com/fahedouch/go-logrotate v0.2.0 +## explicit +# github.com/fatih/color v1.16.0 +## explicit +# github.com/fluent/fluent-logger-golang v1.9.0 +## explicit +# github.com/ipfs/go-cid v0.4.1 +## explicit +# github.com/mattn/go-isatty v0.0.20 +## explicit +# github.com/mitchellh/mapstructure v1.5.0 +## explicit +# github.com/moby/sys/mount v0.3.3 +## explicit +# github.com/moby/sys/signal v0.7.0 +## explicit +# github.com/moby/term v0.5.0 +## explicit +# github.com/muesli/cancelreader v0.2.2 +## explicit +# github.com/opencontainers/go-digest v1.0.0 +## explicit +# github.com/opencontainers/image-spec v1.1.0 +## explicit +# github.com/opencontainers/runtime-spec v1.2.0 +## explicit +# github.com/pelletier/go-toml/v2 v2.1.1 +## explicit +# github.com/rootless-containers/bypass4netns v0.4.0 +## explicit +# github.com/rootless-containers/rootlesskit/v2 v2.0.1 +## explicit +# github.com/spf13/cobra v1.8.0 +## explicit +# github.com/spf13/pflag v1.0.5 +## explicit +# github.com/tidwall/gjson v1.17.1 +## explicit +# github.com/vishvananda/netlink v1.2.1-beta.2 +## explicit +# github.com/vishvananda/netns v0.0.4 +## explicit +# github.com/yuchanns/srslog v1.1.0 +## explicit +# go.uber.org/mock v0.4.0 +## explicit +# golang.org/x/crypto v0.19.0 +## explicit +# golang.org/x/net v0.21.0 +## explicit +# golang.org/x/sync v0.6.0 +## explicit +# golang.org/x/sys v0.17.0 +## explicit +# golang.org/x/term v0.17.0 +## explicit +# golang.org/x/text v0.14.0 +## explicit +# gopkg.in/yaml.v3 v3.0.1 +## explicit +# gotest.tools/v3 v3.5.1 +## explicit +# github.com/moby/sys/user v0.1.0 +## explicit +# github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 +## explicit +# github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 +## explicit +# github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 +## explicit +# github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 +## explicit +# github.com/cilium/ebpf v0.11.0 +## explicit +# github.com/containerd/cgroups v1.1.0 +## explicit +# github.com/containerd/go-runc v1.0.0 +## explicit +# github.com/containerd/ttrpc v1.2.2 +## explicit +# github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 +## explicit +# github.com/containers/ocicrypt v1.1.9 +## explicit +# github.com/distribution/reference v0.5.0 +## explicit +# github.com/djherbis/times v1.5.0 +## explicit +# github.com/docker/docker-credential-helpers v0.7.0 +## explicit +# github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c +## explicit +# github.com/felixge/httpsnoop v1.0.3 +## explicit +# github.com/go-jose/go-jose/v3 v3.0.1 +## explicit +# github.com/go-logr/logr v1.3.0 +## explicit +# github.com/go-logr/stdr v1.2.2 +## explicit +# github.com/godbus/dbus/v5 v5.1.0 +## explicit +# github.com/gogo/protobuf v1.3.2 +## explicit +# github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da +## explicit +# github.com/golang/protobuf v1.5.3 +## explicit +# github.com/google/go-cmp v0.6.0 +## explicit +# github.com/google/uuid v1.6.0 +## explicit +# github.com/hashicorp/errwrap v1.1.0 +## explicit +# github.com/hashicorp/go-multierror v1.1.1 +## explicit +# github.com/imdario/mergo v0.3.16 +## explicit +# github.com/inconshreveable/mousetrap v1.1.0 +## explicit +# github.com/klauspost/compress v1.17.6 +## explicit +# github.com/klauspost/cpuid/v2 v2.2.3 +## explicit +# github.com/mattn/go-colorable v0.1.13 +## explicit +# github.com/mattn/go-shellwords v1.0.12 +## explicit +# github.com/miekg/pkcs11 v1.1.1 +## explicit +# github.com/minio/sha256-simd v1.0.1 +## explicit +# github.com/mitchellh/go-homedir v1.1.0 +## explicit +# github.com/moby/locker v1.0.1 +## explicit +# github.com/moby/sys/mountinfo v0.7.1 +## explicit +# github.com/moby/sys/sequential v0.5.0 +## explicit +# github.com/moby/sys/symlink v0.2.0 +## explicit +# github.com/mr-tron/base58 v1.2.0 +## explicit +# github.com/multiformats/go-base32 v0.1.0 +## explicit +# github.com/multiformats/go-base36 v0.1.0 +## explicit +# github.com/multiformats/go-multiaddr v0.12.0 +## explicit +# github.com/multiformats/go-multibase v0.1.1 +## explicit +# github.com/multiformats/go-multihash v0.2.1 +## explicit +# github.com/multiformats/go-varint v0.0.6 +## explicit +# github.com/opencontainers/selinux v1.11.0 +## explicit +# github.com/pelletier/go-toml v1.9.5 +## explicit +# github.com/philhofer/fwd v1.1.1 +## explicit +# github.com/pkg/errors v0.9.1 +## explicit +# github.com/sirupsen/logrus v1.9.3 +## explicit +# github.com/spaolacci/murmur3 v1.1.0 +## explicit +# github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980 +## explicit +# github.com/tidwall/match v1.1.1 +## explicit +# github.com/tidwall/pretty v1.2.0 +## explicit +# github.com/tinylib/msgp v1.1.6 +## explicit +# github.com/vbatts/tar-split v0.11.5 +## explicit +# github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb +## explicit +# github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 +## explicit +# github.com/xeipuuv/gojsonschema v1.2.0 +## explicit +# go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1 +## explicit +# go.opencensus.io v0.24.0 +## explicit +# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 +## explicit +# go.opentelemetry.io/otel v1.19.0 +## explicit +# go.opentelemetry.io/otel/metric v1.19.0 +## explicit +# go.opentelemetry.io/otel/trace v1.19.0 +## explicit +# golang.org/x/exp v0.0.0-20231006140011-7918f672742d +## explicit +# golang.org/x/mod v0.13.0 +## explicit +# golang.org/x/tools v0.14.0 +## explicit +# google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a +## explicit +# google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b +## explicit +# google.golang.org/grpc v1.59.0 +## explicit +# google.golang.org/protobuf v1.31.0 +## explicit +# lukechampine.com/blake3 v1.1.7 +## explicit diff --git a/recipes-containers/nerdctl/nerdctl_git.bb b/recipes-containers/nerdctl/nerdctl_git.bb new file mode 100644 index 00000000..8868274f --- /dev/null +++ b/recipes-containers/nerdctl/nerdctl_git.bb @@ -0,0 +1,84 @@ +HOMEPAGE = "https://github.com/containerd/nerdctl" +SUMMARY = "Docker-compatible CLI for containerd" +DESCRIPTION = "nerdctl: Docker-compatible CLI for containerd \ + " + +DEPENDS = " \ + go-md2man \ + rsync-native \ + ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ +" + +# Specify the first two important SRCREVs as the format +SRCREV_FORMAT="nerdcli_cgroups" +SRCREV_nerdcli = "265d6b9cf526ce7d9ed8d34a0e3c3066901cc463" + +SRC_URI = "git://github.com/containerd/nerdctl.git;name=nerdcli;branch=main;protocol=https" + +include src_uri.inc + +# patches and config +SRC_URI += "file://0001-Makefile-allow-external-specification-of-build-setti.patch \ + file://modules.txt \ + " + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" + +GO_IMPORT = "import" + +# S = "${WORKDIR}/git" + +PV = "v2.0.0-beta.1" + +NERDCTL_PKG = "github.com/containerd/nerdctl" + +inherit go goarch +inherit systemd pkgconfig + +do_configure[noexec] = "1" + +EXTRA_OEMAKE = " \ + PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir} \ + ETCDIR=${sysconfdir} TMPFILESDIR=${nonarch_libdir}/tmpfiles.d \ + SYSTEMDDIR=${systemd_unitdir}/system USERSYSTEMDDIR=${systemd_unitdir}/user \ +" + +PACKAGECONFIG ?= "" + +# sets the "sites" variable. +include relocation.inc + +PIEFLAG = "${@bb.utils.contains('GOBUILDFLAGS', '-buildmode=pie', '-buildmode=pie', '', d)}" + +do_compile() { + + cd ${S}/src/import + + export GOPATH="$GOPATH:${S}/src/import/.gopath" + + # Pass the needed cflags/ldflags so that cgo + # can find the needed headers files and libraries + export GOARCH=${TARGET_GOARCH} + export CGO_ENABLED="1" + export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" + export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" + + export GOFLAGS="-mod=vendor -trimpath ${PIEFLAG}" + + # our copied .go files are to be used for the build + ln -sf vendor.copy vendor + # inform go that we know what we are doing + cp ${WORKDIR}/modules.txt vendor/ + + oe_runmake GO=${GO} BUILDTAGS="${BUILDTAGS}" binaries +} + +do_install() { + install -d "${D}${BIN_PREFIX}${base_bindir}" + install -m 755 "${S}/src/import/_output/nerdctl" "${D}${BIN_PREFIX}${base_bindir}" +} + +INHIBIT_PACKAGE_STRIP = "1" +INSANE_SKIP:${PN} += "ldflags already-stripped" + diff --git a/recipes-containers/nerdctl/relocation.inc b/recipes-containers/nerdctl/relocation.inc new file mode 100644 index 00000000..7f3a1d34 --- /dev/null +++ b/recipes-containers/nerdctl/relocation.inc @@ -0,0 +1,152 @@ +export sites="gotest.tools/v3:gotest.tools/v3:force \ + go.uber.org/mock:go.uber.org/mock:force \ + golang.org/x/net:golang.org/x/net:force \ + golang.org/x/sys:golang.org/x/sys:force \ + gopkg.in/yaml.v3:gopkg.in/yaml.v3:force \ + go.opencensus.io:go.opencensus.io:force \ + golang.org/x/exp:golang.org/x/exp:force \ + golang.org/x/mod:golang.org/x/mod:force \ + golang.org/x/sync:golang.org/x/sync:force \ + golang.org/x/term:golang.org/x/term:force \ + golang.org/x/text:golang.org/x/text:force \ + golang.org/x/tools:golang.org/x/tools:force \ + golang.org/x/crypto:golang.org/x/crypto:force \ + github.com/moby/term:github.com/moby/term:force \ + go.mozilla.org/pkcs7:go.mozilla.org/pkcs7:force \ + github.com/docker/cli:github.com/docker/cli:force \ + github.com/pkg/errors:github.com/pkg/errors:force \ + github.com/fatih/color:github.com/fatih/color:force \ + github.com/ipfs/go-cid:github.com/ipfs/go-cid:force \ + github.com/spf13/cobra:github.com/spf13/cobra:force \ + github.com/spf13/pflag:github.com/spf13/pflag:force \ + github.com/cilium/ebpf:github.com/cilium/ebpf:force \ + github.com/google/uuid:github.com/google/uuid:force \ + github.com/moby/locker:github.com/moby/locker:force \ + google.golang.org/grpc:google.golang.org/grpc:force \ + github.com/go-logr/logr:github.com/go-logr/logr:force \ + github.com/go-logr/stdr:github.com/go-logr/stdr:force \ + github.com/miekg/pkcs11:github.com/miekg/pkcs11:force \ + github.com/tinylib/msgp:github.com/tinylib/msgp:force \ + lukechampine.com/blake3:lukechampine.com/blake3:force \ + github.com/docker/docker:github.com/docker/docker:force \ + github.com/tidwall/gjson:github.com/tidwall/gjson:force \ + github.com/gogo/protobuf:github.com/gogo/protobuf:force \ + github.com/google/go-cmp:github.com/google/go-cmp:force \ + github.com/imdario/mergo:github.com/imdario/mergo:force \ + github.com/philhofer/fwd:github.com/philhofer/fwd:force \ + github.com/tidwall/match:github.com/tidwall/match:force \ + go.opentelemetry.io/otel:go.opentelemetry.io/otel:force \ + github.com/containerd/log:github.com/containerd/log:force \ + github.com/djherbis/times:github.com/djherbis/times:force \ + github.com/godbus/dbus/v5:github.com/godbus/dbus/v5:force \ + github.com/mr-tron/base58:github.com/mr-tron/base58:force \ + github.com/tidwall/pretty:github.com/tidwall/pretty:force \ + github.com/containerd/fifo:github.com/containerd/fifo:force \ + github.com/docker/go-units:github.com/docker/go-units:force \ + github.com/mattn/go-isatty:github.com/mattn/go-isatty:force \ + github.com/yuchanns/srslog:github.com/yuchanns/srslog:force \ + github.com/golang/protobuf:github.com/golang/protobuf:force \ + github.com/sirupsen/logrus:github.com/sirupsen/logrus:force \ + google.golang.org/genproto:google.golang.org/genproto:force \ + google.golang.org/protobuf:google.golang.org/protobuf:force \ + github.com/moby/sys/user:github.com/moby/sys/user/user:force \ + github.com/bmizerany/assert:github.com/bmizerany/assert:force \ + github.com/containerd/ttrpc:github.com/containerd/ttrpc:force \ + github.com/docker/go-events:github.com/docker/go-events:force \ + github.com/vbatts/tar-split:github.com/vbatts/tar-split:force \ + github.com/Microsoft/hcsshim:github.com/Microsoft/hcsshim:force \ + github.com/containerd/go-cni:github.com/containerd/go-cni:force \ + github.com/moby/sys/mount:github.com/moby/sys/mount/mount:force \ + github.com/vishvananda/netns:github.com/vishvananda/netns:force \ + github.com/Azure/go-ansiterm:github.com/Azure/go-ansiterm:force \ + github.com/felixge/httpsnoop:github.com/felixge/httpsnoop:force \ + github.com/golang/groupcache:github.com/golang/groupcache:force \ + github.com/hashicorp/errwrap:github.com/hashicorp/errwrap:force \ + github.com/minio/sha256-simd:github.com/minio/sha256-simd:force \ + github.com/pelletier/go-toml:github.com/pelletier/go-toml:force \ + github.com/spaolacci/murmur3:github.com/spaolacci/murmur3:force \ + github.com/Microsoft/go-winio:github.com/Microsoft/go-winio:force \ + github.com/containerd/console:github.com/containerd/console:force \ + github.com/coreos/go-iptables:github.com/coreos/go-iptables:force \ + github.com/containerd/cgroups:github.com/containerd/cgroups:force \ + github.com/containerd/go-runc:github.com/containerd/go-runc:force \ + github.com/containerd/typeurl:github.com/containerd/typeurl:force \ + github.com/go-jose/go-jose/v3:github.com/go-jose/go-jose/v3:force \ + github.com/klauspost/compress:github.com/klauspost/compress:force \ + github.com/klauspost/cpuid/v2:github.com/klauspost/cpuid/v2:force \ + github.com/mattn/go-colorable:github.com/mattn/go-colorable:force \ + github.com/moby/sys/signal:github.com/moby/sys/signal/signal:force \ + github.com/containerd/imgcrypt:github.com/containerd/imgcrypt:force \ + github.com/muesli/cancelreader:github.com/muesli/cancelreader:force \ + github.com/vishvananda/netlink:github.com/vishvananda/netlink:force \ + github.com/containers/ocicrypt:github.com/containers/ocicrypt:force \ + github.com/mattn/go-shellwords:github.com/mattn/go-shellwords:force \ + github.com/containerd/platforms:github.com/containerd/platforms:force \ + github.com/pelletier/go-toml/v2:github.com/pelletier/go-toml/v2:force \ + github.com/mitchellh/go-homedir:github.com/mitchellh/go-homedir:force \ + github.com/moby/sys/symlink:github.com/moby/sys/symlink/symlink:force \ + github.com/xeipuuv/gojsonschema:github.com/xeipuuv/gojsonschema:force \ + github.com/Masterminds/semver/v3:github.com/Masterminds/semver/v3:force \ + github.com/containerd/cgroups/v3:github.com/containerd/cgroups/v3:force \ + github.com/containerd/containerd:github.com/containerd/containerd:force \ + github.com/containerd/continuity:github.com/containerd/continuity:force \ + github.com/containerd/typeurl/v2:github.com/containerd/typeurl/v2:force \ + github.com/coreos/go-systemd/v22:github.com/coreos/go-systemd/v22:force \ + github.com/docker/go-connections:github.com/docker/go-connections:force \ + github.com/xeipuuv/gojsonpointer:github.com/xeipuuv/gojsonpointer:force \ + github.com/fahedouch/go-logrotate:github.com/fahedouch/go-logrotate:force \ + github.com/mitchellh/mapstructure:github.com/mitchellh/mapstructure:force \ + github.com/distribution/reference:github.com/distribution/reference:force \ + github.com/multiformats/go-base32:github.com/multiformats/go-base32:force \ + github.com/multiformats/go-base36:github.com/multiformats/go-base36:force \ + github.com/multiformats/go-varint:github.com/multiformats/go-varint:force \ + github.com/opencontainers/selinux:github.com/opencontainers/selinux:force \ + go.opentelemetry.io/otel/trace:go.opentelemetry.io/otel/trace/trace:force \ + github.com/compose-spec/compose-go:github.com/compose-spec/compose-go:force \ + github.com/containernetworking/cni:github.com/containernetworking/cni:force \ + github.com/hashicorp/go-multierror:github.com/hashicorp/go-multierror:force \ + github.com/moby/sys/mountinfo:github.com/moby/sys/mountinfo/mountinfo:force \ + github.com/xeipuuv/gojsonreference:github.com/xeipuuv/gojsonreference:force \ + go.opentelemetry.io/otel/metric:go.opentelemetry.io/otel/metric/metric:force \ + github.com/awslabs/soci-snapshotter:github.com/awslabs/soci-snapshotter:force \ + github.com/opencontainers/go-digest:github.com/opencontainers/go-digest:force \ + github.com/moby/sys/sequential:github.com/moby/sys/sequential/sequential:force \ + github.com/opencontainers/image-spec:github.com/opencontainers/image-spec:force \ + github.com/AdaLogics/go-fuzz-headers:github.com/AdaLogics/go-fuzz-headers:force \ + github.com/inconshreveable/mousetrap:github.com/inconshreveable/mousetrap:force \ + github.com/multiformats/go-multiaddr:github.com/multiformats/go-multiaddr:force \ + github.com/multiformats/go-multibase:github.com/multiformats/go-multibase:force \ + github.com/multiformats/go-multihash:github.com/multiformats/go-multihash:force \ + github.com/stefanberger/go-pkcs11uri:github.com/stefanberger/go-pkcs11uri:force \ + github.com/cyphar/filepath-securejoin:github.com/cyphar/filepath-securejoin:force \ + github.com/containernetworking/plugins:github.com/containernetworking/plugins:force \ + github.com/fluent/fluent-logger-golang:github.com/fluent/fluent-logger-golang:force \ + github.com/opencontainers/runtime-spec:github.com/opencontainers/runtime-spec:force \ + github.com/AdamKorcz/go-118-fuzz-build:github.com/AdamKorcz/go-118-fuzz-build:force \ + github.com/containerd/nydus-snapshotter:github.com/containerd/nydus-snapshotter:force \ + github.com/containerd/stargz-snapshotter:github.com/containerd/stargz-snapshotter:force \ + github.com/rootless-containers/bypass4netns:github.com/rootless-containers/bypass4netns:force \ + github.com/docker/docker-credential-helpers:github.com/docker/docker-credential-helpers:force \ + github.com/rootless-containers/rootlesskit/v2:github.com/rootless-containers/rootlesskit/v2:force \ + github.com/containerd/stargz-snapshotter/ipfs:github.com/containerd/stargz-snapshotter/ipfs/ipfs:force \ + google.golang.org/genproto/googleapis/rpc:google.golang.org/genproto/googleapis/rpc/googleapis/rpc:force \ + github.com/containerd/accelerated-container-image:github.com/containerd/accelerated-container-image:force \ + github.com/containerd/stargz-snapshotter/estargz:github.com/containerd/stargz-snapshotter/estargz/estargz:force \ + go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp:go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp/instrumentation/net/http/otelhttp:force" + +do_compile:prepend() { + cd ${S}/src/import + for s in $sites; do + site_dest=$(echo $s | cut -d: -f1) + site_source=$(echo $s | cut -d: -f2) + force_flag=$(echo $s | cut -d: -f3) + mkdir -p vendor.copy/$site_dest + if [ -n "$force_flag" ]; then + echo "[INFO] $site_dest: force copying .go files" + rm -rf vendor.copy/$site_dest + rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest + else + [ -n "$(ls -A vendor.copy/$site_dest/*.go 2> /dev/null)" ] && { echo "[INFO] vendor.fetch/$site_source -> $site_dest: go copy skipped (files present)" ; true ; } || { echo "[INFO] $site_dest: copying .go files" ; rsync -a --exclude='vendor/' --exclude='.git/' vendor.fetch/$site_source/ vendor.copy/$site_dest ; } + fi + done +} diff --git a/recipes-containers/nerdctl/src_uri.inc b/recipes-containers/nerdctl/src_uri.inc new file mode 100644 index 00000000..eff9ec1a --- /dev/null +++ b/recipes-containers/nerdctl/src_uri.inc @@ -0,0 +1,675 @@ +# gotest.tools/v3 v3.5.1 +# [1] git ls-remote https://github.com/gotestyourself/gotest.tools 81cea1abc596b025bf2573c7fdf97740512e4c6c +SRCREV_gotest.tools-v3="81cea1abc596b025bf2573c7fdf97740512e4c6c" +SRC_URI += "git://github.com/gotestyourself/gotest.tools;name=gotest.tools-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gotest.tools/v3" + +# go.uber.org/mock v0.4.0 +# [1] git ls-remote https://github.com/uber/mock 74a29c6e6c2cbb8ccee94db061c1604ff33fd188 +SRCREV_mock="74a29c6e6c2cbb8ccee94db061c1604ff33fd188" +SRC_URI += "git://github.com/uber/mock;name=mock;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.uber.org/mock" + +# golang.org/x/net v0.21.0 +# [1] git ls-remote https://go.googlesource.com/net 73d21fdbb4d7dc7115b50526b93b6c37a4e3377f +SRCREV_net="73d21fdbb4d7dc7115b50526b93b6c37a4e3377f" +SRC_URI += "git://go.googlesource.com/net;name=net;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/net" + +# golang.org/x/sys v0.17.0 +# [1] git ls-remote https://go.googlesource.com/sys 914b96c1bddd0738464c043cccbbac14fc94b955 +SRCREV_sys="914b96c1bddd0738464c043cccbbac14fc94b955" +SRC_URI += "git://go.googlesource.com/sys;name=sys;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sys" + +# gopkg.in/yaml.v3 v3.0.1 +# [1] git ls-remote https://github.com/go-yaml/yaml f6f7691b1fdeb513f56608cd2c32c51f8194bf51 +SRCREV_yaml.v3="f6f7691b1fdeb513f56608cd2c32c51f8194bf51" +SRC_URI += "git://github.com/go-yaml/yaml;name=yaml.v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/gopkg.in/yaml.v3" + +# go.opencensus.io v0.24.0 +# [1] git ls-remote https://github.com/census-instrumentation/opencensus-go b1a01ee95db0e690d91d7193d037447816fae4c5 +SRCREV_go.opencensus.io="b1a01ee95db0e690d91d7193d037447816fae4c5" +SRC_URI += "git://github.com/census-instrumentation/opencensus-go;name=go.opencensus.io;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opencensus.io" + +# golang.org/x/exp v0.0.0-20231006140011-7918f672742d +# [1] git ls-remote https://go.googlesource.com/exp 7918f672742dd40ff5cf8d3c316a9315410c2d3c +SRCREV_exp="7918f672742dd40ff5cf8d3c316a9315410c2d3c" +SRC_URI += "git://go.googlesource.com/exp;name=exp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/exp" + +# golang.org/x/mod v0.13.0 +# [1] git ls-remote https://go.googlesource.com/mod 5b692803cf76a65fc5d39178c0a36678e69c0e5a +SRCREV_mod="5b692803cf76a65fc5d39178c0a36678e69c0e5a" +SRC_URI += "git://go.googlesource.com/mod;name=mod;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/mod" + +# golang.org/x/sync v0.6.0 +# [1] git ls-remote https://go.googlesource.com/sync 59c1ca1e4661ed4452be4069ceea3c233f4deec1 +SRCREV_sync="59c1ca1e4661ed4452be4069ceea3c233f4deec1" +SRC_URI += "git://go.googlesource.com/sync;name=sync;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/sync" + +# golang.org/x/term v0.17.0 +# [1] git ls-remote https://go.googlesource.com/term 353276a841e232e41e0f76e7a61fe0e5d1f92cf1 +SRCREV_x-term="353276a841e232e41e0f76e7a61fe0e5d1f92cf1" +SRC_URI += "git://go.googlesource.com/term;name=x-term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/term" + +# golang.org/x/text v0.14.0 +# [1] git ls-remote https://go.googlesource.com/text 6c97a165dd661335ff7bce6104a008558123c353 +SRCREV_text="6c97a165dd661335ff7bce6104a008558123c353" +SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/text" + +# golang.org/x/tools v0.14.0 +# [1] git ls-remote https://go.googlesource.com/tools 3f4194ee29d7db9b59757dfff729ef55cf89661c +SRCREV_tools="3f4194ee29d7db9b59757dfff729ef55cf89661c" +SRC_URI += "git://go.googlesource.com/tools;name=tools;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/tools" + +# golang.org/x/crypto v0.19.0 +# [1] git ls-remote https://go.googlesource.com/crypto 405cb3bdea78b1b48ee79096733841247a944de0 +SRCREV_crypto="405cb3bdea78b1b48ee79096733841247a944de0" +SRC_URI += "git://go.googlesource.com/crypto;name=crypto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/golang.org/x/crypto" + +# github.com/moby/term v0.5.0 +# [1] git ls-remote https://github.com/moby/term 9c3c875fad924eb6c9dd32a361b5fc0a49a4feb9 +SRCREV_term="9c3c875fad924eb6c9dd32a361b5fc0a49a4feb9" +SRC_URI += "git://github.com/moby/term;name=term;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/term" + +# go.mozilla.org/pkcs7 v0.0.0-20200128120323-432b2356ecb1 +# [1] git ls-remote https://github.com/mozilla-services/pkcs7 432b2356ecb18209c1cec25680b8a23632794f21 +SRCREV_pkcs7="432b2356ecb18209c1cec25680b8a23632794f21" +SRC_URI += "git://github.com/mozilla-services/pkcs7;name=pkcs7;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.mozilla.org/pkcs7" + +# github.com/docker/cli v24.0.7+incompatible +# [1] git ls-remote https://github.com/docker/cli afdd53b4e341be38d2056a42113b938559bb1d94 +SRCREV_cli="afdd53b4e341be38d2056a42113b938559bb1d94" +SRC_URI += "git://github.com/docker/cli;name=cli;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/cli" + +# github.com/pkg/errors v0.9.1 +# [1] git ls-remote https://github.com/pkg/errors 614d223910a179a466c1767a985424175c39b465 +SRCREV_errors="614d223910a179a466c1767a985424175c39b465" +SRC_URI += "git://github.com/pkg/errors;name=errors;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pkg/errors" + +# github.com/fatih/color v1.16.0 +# [1] git ls-remote https://github.com/fatih/color 0f9779ed479afd460f0c2cc5a3d3eb69b9ba188b +SRCREV_color="0f9779ed479afd460f0c2cc5a3d3eb69b9ba188b" +SRC_URI += "git://github.com/fatih/color;name=color;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fatih/color" + +# github.com/ipfs/go-cid v0.4.1 +# [1] git ls-remote https://github.com/ipfs/go-cid d46e7f28669cd2c463bc68fe86e7dbe4f8240ab7 +SRCREV_go-cid="d46e7f28669cd2c463bc68fe86e7dbe4f8240ab7" +SRC_URI += "git://github.com/ipfs/go-cid;name=go-cid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/ipfs/go-cid" + +# github.com/spf13/cobra v1.8.0 +# [1] git ls-remote https://github.com/spf13/cobra a0a6ae020bb3899ff0276067863e50523f897370 +SRCREV_cobra="a0a6ae020bb3899ff0276067863e50523f897370" +SRC_URI += "git://github.com/spf13/cobra;name=cobra;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/cobra" + +# github.com/spf13/pflag v1.0.5 +# [1] git ls-remote https://github.com/spf13/pflag 2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab +SRCREV_pflag="2e9d26c8c37aae03e3f9d4e90b7116f5accb7cab" +SRC_URI += "git://github.com/spf13/pflag;name=pflag;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spf13/pflag" + +# github.com/cilium/ebpf v0.11.0 +# [1] git ls-remote https://github.com/cilium/ebpf 270c859894bd38cdd0c7783317b16343409e4df8 +SRCREV_ebpf="270c859894bd38cdd0c7783317b16343409e4df8" +SRC_URI += "git://github.com/cilium/ebpf;name=ebpf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cilium/ebpf" + +# github.com/google/uuid v1.6.0 +# [1] git ls-remote https://github.com/google/uuid 0f11ee6918f41a04c201eceeadf612a377bc7fbc +SRCREV_uuid="0f11ee6918f41a04c201eceeadf612a377bc7fbc" +SRC_URI += "git://github.com/google/uuid;name=uuid;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/uuid" + +# github.com/moby/locker v1.0.1 +# [1] git ls-remote https://github.com/moby/locker 281af2d563954745bea9d1487c965f24d30742fe +SRCREV_locker="281af2d563954745bea9d1487c965f24d30742fe" +SRC_URI += "git://github.com/moby/locker;name=locker;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/locker" + +# google.golang.org/grpc v1.59.0 +# [1] git ls-remote https://github.com/grpc/grpc-go 7765221f4bf6104973db7946d56936cf838cad46 +SRCREV_grpc="7765221f4bf6104973db7946d56936cf838cad46" +SRC_URI += "git://github.com/grpc/grpc-go;name=grpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/grpc" + +# github.com/go-logr/logr v1.3.0 +# [1] git ls-remote https://github.com/go-logr/logr 8adefbede0fe82bdee4fb8c9c9bdc7bc5d91388f +SRCREV_logr="8adefbede0fe82bdee4fb8c9c9bdc7bc5d91388f" +SRC_URI += "git://github.com/go-logr/logr;name=logr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-logr/logr" + +# github.com/go-logr/stdr v1.2.2 +# [1] git ls-remote https://github.com/go-logr/stdr 521af2addfa7c81c8a65d0e85ed34bb6bb6dc262 +SRCREV_stdr="521af2addfa7c81c8a65d0e85ed34bb6bb6dc262" +SRC_URI += "git://github.com/go-logr/stdr;name=stdr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-logr/stdr" + +# github.com/miekg/pkcs11 v1.1.1 +# [1] git ls-remote https://github.com/miekg/pkcs11 f3481918a208bd212aa995a41f92d786eb418a7d +SRCREV_pkcs11="f3481918a208bd212aa995a41f92d786eb418a7d" +SRC_URI += "git://github.com/miekg/pkcs11;name=pkcs11;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/miekg/pkcs11" + +# github.com/tinylib/msgp v1.1.6 +# [1] git ls-remote https://github.com/tinylib/msgp 205265da651409c54677b486e350b4d105da6d8b +SRCREV_msgp="205265da651409c54677b486e350b4d105da6d8b" +SRC_URI += "git://github.com/tinylib/msgp;name=msgp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tinylib/msgp" + +# lukechampine.com/blake3 v1.1.7 +# [1] git ls-remote https://github.com/lukechampine/blake3 bb7ece4161ea910c6c385c17799b17d658075fcd +SRCREV_blake3="bb7ece4161ea910c6c385c17799b17d658075fcd" +SRC_URI += "git://github.com/lukechampine/blake3;name=blake3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/lukechampine.com/blake3" + +# github.com/docker/docker v24.0.7+incompatible +# [1] git ls-remote https://github.com/moby/moby 311b9ff0aa93aa55880e1e5f8871c4fb69583426 +SRCREV_docker="311b9ff0aa93aa55880e1e5f8871c4fb69583426" +SRC_URI += "git://github.com/moby/moby;name=docker;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/docker" + +# github.com/tidwall/gjson v1.17.1 +# [1] git ls-remote https://github.com/tidwall/gjson bbf40bb0e4f47860677c7115b2eaa5b3413ce23e +SRCREV_gjson="bbf40bb0e4f47860677c7115b2eaa5b3413ce23e" +SRC_URI += "git://github.com/tidwall/gjson;name=gjson;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/gjson" + +# github.com/moby/sys/user v0.1.0 +# [1] git ls-remote https://github.com/moby/sys c0711cde08c8fa33857a2c28721659267f49b5e2 +SRCREV_user="c0711cde08c8fa33857a2c28721659267f49b5e2" +SRC_URI += "git://github.com/moby/sys;name=user;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/user" + +# github.com/gogo/protobuf v1.3.2 +# [1] git ls-remote https://github.com/gogo/protobuf b03c65ea87cdc3521ede29f62fe3ce239267c1bc +SRCREV_protobuf="b03c65ea87cdc3521ede29f62fe3ce239267c1bc" +SRC_URI += "git://github.com/gogo/protobuf;name=protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/gogo/protobuf" + +# github.com/google/go-cmp v0.6.0 +# [1] git ls-remote https://github.com/google/go-cmp c3ad8435e7bef96af35732bc0789e5a2278c6d5f +SRCREV_go-cmp="c3ad8435e7bef96af35732bc0789e5a2278c6d5f" +SRC_URI += "git://github.com/google/go-cmp;name=go-cmp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/google/go-cmp" + +# github.com/imdario/mergo v0.3.16 +# [1] git ls-remote https://github.com/darccio/mergo 14fe2b165b83359196f820886a2b24f2771729e9 +SRCREV_mergo="14fe2b165b83359196f820886a2b24f2771729e9" +SRC_URI += "git://github.com/darccio/mergo;name=mergo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/imdario/mergo" + +# github.com/philhofer/fwd v1.1.1 +# [1] git ls-remote https://github.com/philhofer/fwd 9bcb9cab1b0394d8516a132ec243ba944efdb644 +SRCREV_fwd="9bcb9cab1b0394d8516a132ec243ba944efdb644" +SRC_URI += "git://github.com/philhofer/fwd;name=fwd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/philhofer/fwd" + +# github.com/tidwall/match v1.1.1 +# [1] git ls-remote https://github.com/tidwall/match 4c9fc61b493b7aa0a3d347e9190aa78c5bec09cf +SRCREV_match="4c9fc61b493b7aa0a3d347e9190aa78c5bec09cf" +SRC_URI += "git://github.com/tidwall/match;name=match;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/match" + +# go.opentelemetry.io/otel v1.19.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 60666c554065ac4da502fe28943eea4b938ab479 +SRCREV_otel="60666c554065ac4da502fe28943eea4b938ab479" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=otel;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel" + +# github.com/containerd/log v0.1.0 +# [1] git ls-remote https://github.com/containerd/log 0fc1e28871fdf2786e2cc51bbe4133db6547a199 +SRCREV_log="0fc1e28871fdf2786e2cc51bbe4133db6547a199" +SRC_URI += "git://github.com/containerd/log;name=log;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/log" + +# github.com/moby/sys/mount v0.3.3 +# [1] git ls-remote https://github.com/moby/sys 416188aff8404d549e1e34a50e513befeb11c3b9 +SRCREV_mount="416188aff8404d549e1e34a50e513befeb11c3b9" +SRC_URI += "git://github.com/moby/sys;name=mount;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/mount" + +# github.com/djherbis/times v1.5.0 +# [1] git ls-remote https://github.com/djherbis/times a1edc5dc082a710e4a808e99c78989b8d04e3025 +SRCREV_times="a1edc5dc082a710e4a808e99c78989b8d04e3025" +SRC_URI += "git://github.com/djherbis/times;name=times;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/djherbis/times" + +# github.com/godbus/dbus/v5 v5.1.0 +# [1] git ls-remote https://github.com/godbus/dbus e523abc905595cf17fb0001a7d77eaaddfaa216d +SRCREV_v5="e523abc905595cf17fb0001a7d77eaaddfaa216d" +SRC_URI += "git://github.com/godbus/dbus;name=v5;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/godbus/dbus/v5" + +# github.com/mr-tron/base58 v1.2.0 +# [1] git ls-remote https://github.com/mr-tron/base58 cd0e5141f51dfcadb8311fd8e495eb11126a8010 +SRCREV_base58="cd0e5141f51dfcadb8311fd8e495eb11126a8010" +SRC_URI += "git://github.com/mr-tron/base58;name=base58;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mr-tron/base58" + +# github.com/tidwall/pretty v1.2.0 +# [1] git ls-remote https://github.com/tidwall/pretty aaa765e7476acb0028a854b85675801362cbdaa2 +SRCREV_pretty="aaa765e7476acb0028a854b85675801362cbdaa2" +SRC_URI += "git://github.com/tidwall/pretty;name=pretty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/tidwall/pretty" + +# github.com/containerd/fifo v1.1.0 +# [1] git ls-remote https://github.com/containerd/fifo 151b205263c29d471e0d55c787d2ce9f5343fd46 +SRCREV_fifo="151b205263c29d471e0d55c787d2ce9f5343fd46" +SRC_URI += "git://github.com/containerd/fifo;name=fifo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/fifo" + +# github.com/docker/go-units v0.5.0 +# [1] git ls-remote https://github.com/docker/go-units e682442797b36348f8e1f98defdbf32bac0b6c6f +SRCREV_go-units="e682442797b36348f8e1f98defdbf32bac0b6c6f" +SRC_URI += "git://github.com/docker/go-units;name=go-units;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-units" + +# github.com/mattn/go-isatty v0.0.20 +# [1] git ls-remote https://github.com/mattn/go-isatty a7c02353c47bc4ec6b30dc9628154ae4fe760c11 +SRCREV_go-isatty="a7c02353c47bc4ec6b30dc9628154ae4fe760c11" +SRC_URI += "git://github.com/mattn/go-isatty;name=go-isatty;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-isatty" + +# github.com/moby/sys/signal v0.7.0 +# [1] git ls-remote https://github.com/moby/sys b8d8fabf1fa5cf0de7c1a1729145eee854ea31f5 +SRCREV_signal="b8d8fabf1fa5cf0de7c1a1729145eee854ea31f5" +SRC_URI += "git://github.com/moby/sys;name=signal;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/signal" + +# github.com/yuchanns/srslog v1.1.0 +# [1] git ls-remote https://github.com/yuchanns/srslog becd9b11119269a7928ae89fde90784335c1d016 +SRCREV_srslog="becd9b11119269a7928ae89fde90784335c1d016" +SRC_URI += "git://github.com/yuchanns/srslog;name=srslog;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/yuchanns/srslog" + +# github.com/golang/protobuf v1.5.3 +# [1] git ls-remote https://github.com/golang/protobuf 5d5e8c018a13017f9d5b8bf4fad64aaa42a87308 +SRCREV_golang-protobuf="5d5e8c018a13017f9d5b8bf4fad64aaa42a87308" +SRC_URI += "git://github.com/golang/protobuf;name=golang-protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/protobuf" + +# github.com/sirupsen/logrus v1.9.3 +# [1] git ls-remote https://github.com/sirupsen/logrus d40e25cd45ed9c6b2b66e6b97573a0413e4c23bd +SRCREV_logrus="d40e25cd45ed9c6b2b66e6b97573a0413e4c23bd" +SRC_URI += "git://github.com/sirupsen/logrus;name=logrus;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/sirupsen/logrus" + +# google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a +# [1] git ls-remote https://github.com/googleapis/go-genproto e917dd12ba7ad5f78e3112f832eeda0f94ca8fd4 +SRCREV_genproto="e917dd12ba7ad5f78e3112f832eeda0f94ca8fd4" +SRC_URI += "git://github.com/googleapis/go-genproto;name=genproto;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto" + +# google.golang.org/protobuf v1.31.0 +# [1] git ls-remote https://github.com/protocolbuffers/protobuf-go 68463f0e96c93bc19ef36ccd3adfe690bfdb568c +SRCREV_google.golang.org-protobuf="68463f0e96c93bc19ef36ccd3adfe690bfdb568c" +SRC_URI += "git://github.com/protocolbuffers/protobuf-go;name=google.golang.org-protobuf;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/protobuf" + +# github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869 +# [1] git ls-remote https://github.com/bmizerany/assert b7ed37b82869576c289d7d97fb2bbd8b64a0cb28 +SRCREV_assert="b7ed37b82869576c289d7d97fb2bbd8b64a0cb28" +SRC_URI += "git://github.com/bmizerany/assert;name=assert;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/bmizerany/assert" + +# github.com/containerd/ttrpc v1.2.2 +# [1] git ls-remote https://github.com/containerd/ttrpc ac26f8cbea1c440d451dd19a4a1b847fd073f3c3 +SRCREV_ttrpc="ac26f8cbea1c440d451dd19a4a1b847fd073f3c3" +SRC_URI += "git://github.com/containerd/ttrpc;name=ttrpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/ttrpc" + +# github.com/docker/go-events v0.0.0-20190806004212-e31b211e4f1c +# [1] git ls-remote https://github.com/docker/go-events e31b211e4f1cd09aa76fe4ac244571fab96ae47f +SRCREV_go-events="e31b211e4f1cd09aa76fe4ac244571fab96ae47f" +SRC_URI += "git://github.com/docker/go-events;name=go-events;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-events" + +# github.com/moby/sys/symlink v0.2.0 +# [1] git ls-remote https://github.com/moby/sys 03b9f8d59a07f5206a2264105f4903a222aea964 +SRCREV_symlink="03b9f8d59a07f5206a2264105f4903a222aea964" +SRC_URI += "git://github.com/moby/sys;name=symlink;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/symlink" + +# github.com/vbatts/tar-split v0.11.5 +# [1] git ls-remote https://github.com/vbatts/tar-split 5ef0dd8243164ebacd755916a89d8085a5b6bb7f +SRCREV_tar-split="5ef0dd8243164ebacd755916a89d8085a5b6bb7f" +SRC_URI += "git://github.com/vbatts/tar-split;name=tar-split;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/vbatts/tar-split" + +# github.com/Microsoft/hcsshim v0.11.4 +# [1] git ls-remote https://github.com/microsoft/hcsshim b16edf62c1723deb948632261b445d0228d973e0 +SRCREV_hcsshim="b16edf62c1723deb948632261b445d0228d973e0" +SRC_URI += "git://github.com/microsoft/hcsshim;name=hcsshim;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Microsoft/hcsshim" + +# github.com/containerd/go-cni v1.1.9 +# [1] git ls-remote https://github.com/containerd/go-cni 6603d5bd8941d7f2026bb5627f6aa4ff434f859a +SRCREV_go-cni="6603d5bd8941d7f2026bb5627f6aa4ff434f859a" +SRC_URI += "git://github.com/containerd/go-cni;name=go-cni;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/go-cni" + +# github.com/vishvananda/netns v0.0.4 +# [1] git ls-remote https://github.com/vishvananda/netns 7a452d2d15292b2bfb2a2d88e6bdeac156a761b9 +SRCREV_netns="7a452d2d15292b2bfb2a2d88e6bdeac156a761b9" +SRC_URI += "git://github.com/vishvananda/netns;name=netns;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/vishvananda/netns" + +# github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 +# [1] git ls-remote https://github.com/Azure/go-ansiterm d185dfc1b5a126116ea5a19e148e29d16b4574c9 +SRCREV_go-ansiterm="d185dfc1b5a126116ea5a19e148e29d16b4574c9" +SRC_URI += "git://github.com/Azure/go-ansiterm;name=go-ansiterm;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Azure/go-ansiterm" + +# github.com/felixge/httpsnoop v1.0.3 +# [1] git ls-remote https://github.com/felixge/httpsnoop ef9fc62cdc3cc5abc33d6018fe1324890bb48145 +SRCREV_httpsnoop="ef9fc62cdc3cc5abc33d6018fe1324890bb48145" +SRC_URI += "git://github.com/felixge/httpsnoop;name=httpsnoop;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/felixge/httpsnoop" + +# github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da +# [1] git ls-remote https://github.com/golang/groupcache 41bb18bfe9da5321badc438f91158cd790a33aa3 +SRCREV_groupcache="41bb18bfe9da5321badc438f91158cd790a33aa3" +SRC_URI += "git://github.com/golang/groupcache;name=groupcache;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/golang/groupcache" + +# github.com/hashicorp/errwrap v1.1.0 +# [1] git ls-remote https://github.com/hashicorp/errwrap 7b00e5db719c64d14dd0caaacbd13e76254d02c0 +SRCREV_errwrap="7b00e5db719c64d14dd0caaacbd13e76254d02c0" +SRC_URI += "git://github.com/hashicorp/errwrap;name=errwrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/errwrap" + +# github.com/minio/sha256-simd v1.0.1 +# [1] git ls-remote https://github.com/minio/sha256-simd 6096f891a77bfe490cbea7a424c821b5fdb92849 +SRCREV_sha256-simd="6096f891a77bfe490cbea7a424c821b5fdb92849" +SRC_URI += "git://github.com/minio/sha256-simd;name=sha256-simd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/minio/sha256-simd" + +# github.com/pelletier/go-toml v1.9.5 +# [1] git ls-remote https://github.com/pelletier/go-toml fed1464066413075eac02cd4dc368b5221845541 +SRCREV_go-toml="fed1464066413075eac02cd4dc368b5221845541" +SRC_URI += "git://github.com/pelletier/go-toml;name=go-toml;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pelletier/go-toml" + +# github.com/spaolacci/murmur3 v1.1.0 +# [1] git ls-remote https://github.com/spaolacci/murmur3 f09979ecbc725b9e6d41a297405f65e7e8804acc +SRCREV_murmur3="f09979ecbc725b9e6d41a297405f65e7e8804acc" +SRC_URI += "git://github.com/spaolacci/murmur3;name=murmur3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/spaolacci/murmur3" + +# github.com/Microsoft/go-winio v0.6.1 +# [1] git ls-remote https://github.com/microsoft/go-winio 070c828abb873da9e71c7247740253b50f7cf049 +SRCREV_go-winio="070c828abb873da9e71c7247740253b50f7cf049" +SRC_URI += "git://github.com/microsoft/go-winio;name=go-winio;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Microsoft/go-winio" + +# github.com/containerd/console v1.0.4 +# [1] git ls-remote https://github.com/containerd/console 8f6c4e4faef5a326d2cd907097d04c0239ee5e2f +SRCREV_console="8f6c4e4faef5a326d2cd907097d04c0239ee5e2f" +SRC_URI += "git://github.com/containerd/console;name=console;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/console" + +# github.com/coreos/go-iptables v0.7.0 +# [1] git ls-remote https://github.com/coreos/go-iptables b9dff5a19d9c3925da3f9b3c0a705de6c1fdc56c +SRCREV_go-iptables="b9dff5a19d9c3925da3f9b3c0a705de6c1fdc56c" +SRC_URI += "git://github.com/coreos/go-iptables;name=go-iptables;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-iptables" + +# github.com/containerd/cgroups v1.1.0 +# [1] git ls-remote https://github.com/containerd/cgroups fe7323f622bc222e72473679f12a9089aeeda177 +SRCREV_cgroups="fe7323f622bc222e72473679f12a9089aeeda177" +SRC_URI += "git://github.com/containerd/cgroups;name=cgroups;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/cgroups" + +# github.com/containerd/go-runc v1.0.0 +# [1] git ls-remote https://github.com/containerd/go-runc 16b287bc67d069a60fa48db15f330b790b74365b +SRCREV_go-runc="16b287bc67d069a60fa48db15f330b790b74365b" +SRC_URI += "git://github.com/containerd/go-runc;name=go-runc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/go-runc" + +# github.com/containerd/typeurl v1.0.3-0.20220422153119-7f6e6d160d67 +# [1] git ls-remote https://github.com/containerd/typeurl 7f6e6d160d675241af388d5cf1b90814786bac40 +SRCREV_typeurl="7f6e6d160d675241af388d5cf1b90814786bac40" +SRC_URI += "git://github.com/containerd/typeurl;name=typeurl;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/typeurl" + +# github.com/go-jose/go-jose/v3 v3.0.1 +# [1] git ls-remote https://github.com/go-jose/go-jose 47edce0854d533ac27795c9befd90b1f7ef87554 +SRCREV_go-jose-v3="47edce0854d533ac27795c9befd90b1f7ef87554" +SRC_URI += "git://github.com/go-jose/go-jose;name=go-jose-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/go-jose/go-jose/v3" + +# github.com/klauspost/compress v1.17.6 +# [1] git ls-remote https://github.com/klauspost/compress 255a13270e4608f2f2b97166d92f297de906c951 +SRCREV_compress="255a13270e4608f2f2b97166d92f297de906c951" +SRC_URI += "git://github.com/klauspost/compress;name=compress;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/compress" + +# github.com/klauspost/cpuid/v2 v2.2.3 +# [1] git ls-remote https://github.com/klauspost/cpuid 3c0ec06adeb260a595bfb1dff123742e8bac34fb +SRCREV_cpuid-v2="3c0ec06adeb260a595bfb1dff123742e8bac34fb" +SRC_URI += "git://github.com/klauspost/cpuid;name=cpuid-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/klauspost/cpuid/v2" + +# github.com/mattn/go-colorable v0.1.13 +# [1] git ls-remote https://github.com/mattn/go-colorable 11a925cff3d38c293ddc8c05a16b504e3e2c63be +SRCREV_go-colorable="11a925cff3d38c293ddc8c05a16b504e3e2c63be" +SRC_URI += "git://github.com/mattn/go-colorable;name=go-colorable;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-colorable" + +# github.com/moby/sys/mountinfo v0.7.1 +# [1] git ls-remote https://github.com/moby/sys 4950d7687cf6c9b138dc0e18c2c7351e1f6ed497 +SRCREV_mountinfo="4950d7687cf6c9b138dc0e18c2c7351e1f6ed497" +SRC_URI += "git://github.com/moby/sys;name=mountinfo;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/mountinfo" + +# github.com/containerd/imgcrypt v1.1.9 +# [1] git ls-remote https://github.com/containerd/imgcrypt 90513b079771363133611a91de350ea932e09b26 +SRCREV_imgcrypt="90513b079771363133611a91de350ea932e09b26" +SRC_URI += "git://github.com/containerd/imgcrypt;name=imgcrypt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/imgcrypt" + +# github.com/muesli/cancelreader v0.2.2 +# [1] git ls-remote https://github.com/muesli/cancelreader d11f1e77abf7f8d69d81553ccaaf0b81163541a6 +SRCREV_cancelreader="d11f1e77abf7f8d69d81553ccaaf0b81163541a6" +SRC_URI += "git://github.com/muesli/cancelreader;name=cancelreader;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/muesli/cancelreader" + +# github.com/vishvananda/netlink v1.2.1-beta.2 +# [1] git ls-remote https://github.com/vishvananda/netlink 5e915e0149386ce3d02379ff93f4c0a5601779d5 +SRCREV_netlink="5e915e0149386ce3d02379ff93f4c0a5601779d5" +SRC_URI += "git://github.com/vishvananda/netlink;name=netlink;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/vishvananda/netlink" + +# github.com/containers/ocicrypt v1.1.9 +# [1] git ls-remote https://github.com/containers/ocicrypt c0e1fd5b82bc57acdb1a241dc602534eea42edb6 +SRCREV_ocicrypt="c0e1fd5b82bc57acdb1a241dc602534eea42edb6" +SRC_URI += "git://github.com/containers/ocicrypt;name=ocicrypt;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containers/ocicrypt" + +# github.com/mattn/go-shellwords v1.0.12 +# [1] git ls-remote https://github.com/mattn/go-shellwords 973b9d5391598d4ee601db46fa32f6e186a356ac +SRCREV_go-shellwords="973b9d5391598d4ee601db46fa32f6e186a356ac" +SRC_URI += "git://github.com/mattn/go-shellwords;name=go-shellwords;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mattn/go-shellwords" + +# github.com/moby/sys/sequential v0.5.0 +# [1] git ls-remote https://github.com/moby/sys b22ba8a69b306f0b4adbbe2a529457e6283ed9f7 +SRCREV_sequential="b22ba8a69b306f0b4adbbe2a529457e6283ed9f7" +SRC_URI += "git://github.com/moby/sys;name=sequential;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/moby/sys/sequential" + +# go.opentelemetry.io/otel/trace v1.19.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 60666c554065ac4da502fe28943eea4b938ab479 +SRCREV_trace="60666c554065ac4da502fe28943eea4b938ab479" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=trace;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/trace" + +# github.com/containerd/platforms v0.1.1 +# [1] git ls-remote https://github.com/containerd/platforms db76a43eaea9a004a5f240620f966b0081123884 +SRCREV_platforms="db76a43eaea9a004a5f240620f966b0081123884" +SRC_URI += "git://github.com/containerd/platforms;name=platforms;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/platforms" + +# github.com/pelletier/go-toml/v2 v2.1.1 +# [1] git ls-remote https://github.com/pelletier/go-toml 34765b4a9e937ab927b5bd57231e98c68fe13109 +SRCREV_go-toml-v2="34765b4a9e937ab927b5bd57231e98c68fe13109" +SRC_URI += "git://github.com/pelletier/go-toml;name=go-toml-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/pelletier/go-toml/v2" + +# github.com/mitchellh/go-homedir v1.1.0 +# [1] git ls-remote https://github.com/mitchellh/go-homedir af06845cf3004701891bf4fdb884bfe4920b3727 +SRCREV_go-homedir="af06845cf3004701891bf4fdb884bfe4920b3727" +SRC_URI += "git://github.com/mitchellh/go-homedir;name=go-homedir;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/go-homedir" + +# github.com/xeipuuv/gojsonschema v1.2.0 +# [1] git ls-remote https://github.com/xeipuuv/gojsonschema 82fcdeb203eb6ab2a67d0a623d9c19e5e5a64927 +SRCREV_gojsonschema="82fcdeb203eb6ab2a67d0a623d9c19e5e5a64927" +SRC_URI += "git://github.com/xeipuuv/gojsonschema;name=gojsonschema;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xeipuuv/gojsonschema" + +# go.opentelemetry.io/otel/metric v1.19.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go 60666c554065ac4da502fe28943eea4b938ab479 +SRCREV_metric="60666c554065ac4da502fe28943eea4b938ab479" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go;name=metric;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/otel/metric" + +# github.com/Masterminds/semver/v3 v3.2.1 +# [1] git ls-remote https://github.com/Masterminds/semver e06051f8fcc4c8b4a4990c337b9862a2448722e5 +SRCREV_v3="e06051f8fcc4c8b4a4990c337b9862a2448722e5" +SRC_URI += "git://github.com/Masterminds/semver;name=v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/Masterminds/semver/v3" + +# github.com/containerd/cgroups/v3 v3.0.3 +# [1] git ls-remote https://github.com/containerd/cgroups 1e056883d58ac58daf7566065a46016b4532f35c +SRCREV_cgroups-v3="1e056883d58ac58daf7566065a46016b4532f35c" +SRC_URI += "git://github.com/containerd/cgroups;name=cgroups-v3;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/cgroups/v3" + +# github.com/containerd/containerd v1.7.13 +# [1] git ls-remote https://github.com/containerd/containerd 7c3aca7a610df76212171d200ca3811ff6096eb8 +SRCREV_containerd="7c3aca7a610df76212171d200ca3811ff6096eb8" +SRC_URI += "git://github.com/containerd/containerd;name=containerd;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/containerd" + +# github.com/containerd/continuity v0.4.3 +# [1] git ls-remote https://github.com/containerd/continuity 1743d9104d944131cdedaba33a59d2f9bd80a6f2 +SRCREV_continuity="1743d9104d944131cdedaba33a59d2f9bd80a6f2" +SRC_URI += "git://github.com/containerd/continuity;name=continuity;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/continuity" + +# github.com/containerd/typeurl/v2 v2.1.1 +# [1] git ls-remote https://github.com/containerd/typeurl 7ef6316b771f959cbb208b229e3423a466947df3 +SRCREV_v2="7ef6316b771f959cbb208b229e3423a466947df3" +SRC_URI += "git://github.com/containerd/typeurl;name=v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/typeurl/v2" + +# github.com/coreos/go-systemd/v22 v22.5.0 +# [1] git ls-remote https://github.com/coreos/go-systemd d5623bf85e8e73ae6352f78ee6b55a287619dd4e +SRCREV_v22="d5623bf85e8e73ae6352f78ee6b55a287619dd4e" +SRC_URI += "git://github.com/coreos/go-systemd;name=v22;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/coreos/go-systemd/v22" + +# github.com/docker/go-connections v0.5.0 +# [1] git ls-remote https://github.com/docker/go-connections fa09c952e3eadbffaf8afc5b8a1667158ba38ace +SRCREV_go-connections="fa09c952e3eadbffaf8afc5b8a1667158ba38ace" +SRC_URI += "git://github.com/docker/go-connections;name=go-connections;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/go-connections" + +# github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb +# [1] git ls-remote https://github.com/xeipuuv/gojsonpointer 02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb +SRCREV_gojsonpointer="02993c407bfbf5f6dae44c4f4b1cf6a39b5fc5bb" +SRC_URI += "git://github.com/xeipuuv/gojsonpointer;name=gojsonpointer;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xeipuuv/gojsonpointer" + +# github.com/fahedouch/go-logrotate v0.2.0 +# [1] git ls-remote https://github.com/fahedouch/go-logrotate 6b28a8e09e886889e0bc4347e66bd4d4d82f5b10 +SRCREV_go-logrotate="6b28a8e09e886889e0bc4347e66bd4d4d82f5b10" +SRC_URI += "git://github.com/fahedouch/go-logrotate;name=go-logrotate;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fahedouch/go-logrotate" + +# github.com/mitchellh/mapstructure v1.5.0 +# [1] git ls-remote https://github.com/mitchellh/mapstructure ab69d8d93410fce4361f4912bb1ff88110a81311 +SRCREV_mapstructure="ab69d8d93410fce4361f4912bb1ff88110a81311" +SRC_URI += "git://github.com/mitchellh/mapstructure;name=mapstructure;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/mitchellh/mapstructure" + +# github.com/distribution/reference v0.5.0 +# [1] git ls-remote https://github.com/distribution/reference 49c28499d219290c3226822e9cfcd4ede6d75379 +SRCREV_reference="49c28499d219290c3226822e9cfcd4ede6d75379" +SRC_URI += "git://github.com/distribution/reference;name=reference;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/distribution/reference" + +# github.com/multiformats/go-base32 v0.1.0 +# [1] git ls-remote https://github.com/multiformats/go-base32 a16b66327f327428b32b919939b8c93482507e1f +SRCREV_go-base32="a16b66327f327428b32b919939b8c93482507e1f" +SRC_URI += "git://github.com/multiformats/go-base32;name=go-base32;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-base32" + +# github.com/multiformats/go-base36 v0.1.0 +# [1] git ls-remote https://github.com/multiformats/go-base36 dc4afa6ad3b0720f4a1b282776db2a59ca9c8be7 +SRCREV_go-base36="dc4afa6ad3b0720f4a1b282776db2a59ca9c8be7" +SRC_URI += "git://github.com/multiformats/go-base36;name=go-base36;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-base36" + +# github.com/multiformats/go-varint v0.0.6 +# [1] git ls-remote https://github.com/multiformats/go-varint a3ded45ab16ca9f2f2a516e68053ffa7ebd9bb0e +SRCREV_go-varint="a3ded45ab16ca9f2f2a516e68053ffa7ebd9bb0e" +SRC_URI += "git://github.com/multiformats/go-varint;name=go-varint;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-varint" + +# github.com/opencontainers/selinux v1.11.0 +# [1] git ls-remote https://github.com/opencontainers/selinux b68c45eb2df48c6b0c949901ccda90c8e65fe677 +SRCREV_selinux="b68c45eb2df48c6b0c949901ccda90c8e65fe677" +SRC_URI += "git://github.com/opencontainers/selinux;name=selinux;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/selinux" + +# github.com/compose-spec/compose-go v1.20.2 +# [1] git ls-remote https://github.com/compose-spec/compose-go e390b9774ca100e1d75c8bc075054502783b48b8 +SRCREV_compose-go="e390b9774ca100e1d75c8bc075054502783b48b8" +SRC_URI += "git://github.com/compose-spec/compose-go;name=compose-go;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/compose-spec/compose-go" + +# github.com/containernetworking/cni v1.1.2 +# [1] git ls-remote https://github.com/containernetworking/cni 3363d143688bb83ca18489ac8b9dc204c1d49c4a +SRCREV_cni="3363d143688bb83ca18489ac8b9dc204c1d49c4a" +SRC_URI += "git://github.com/containernetworking/cni;name=cni;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containernetworking/cni" + +# github.com/hashicorp/go-multierror v1.1.1 +# [1] git ls-remote https://github.com/hashicorp/go-multierror 9974e9ec57696378079ecc3accd3d6f29401b3a0 +SRCREV_go-multierror="9974e9ec57696378079ecc3accd3d6f29401b3a0" +SRC_URI += "git://github.com/hashicorp/go-multierror;name=go-multierror;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/hashicorp/go-multierror" + +# github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 +# [1] git ls-remote https://github.com/xeipuuv/gojsonreference bd5ef7bd5415a7ac448318e64f11a24cd21e594b +SRCREV_gojsonreference="bd5ef7bd5415a7ac448318e64f11a24cd21e594b" +SRC_URI += "git://github.com/xeipuuv/gojsonreference;name=gojsonreference;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/xeipuuv/gojsonreference" + +# github.com/awslabs/soci-snapshotter v0.4.1 +# [1] git ls-remote https://github.com/awslabs/soci-snapshotter 34e069d90460f422c549b3a8994aa26820cf6544 +SRCREV_soci-snapshotter="34e069d90460f422c549b3a8994aa26820cf6544" +SRC_URI += "git://github.com/awslabs/soci-snapshotter;name=soci-snapshotter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/awslabs/soci-snapshotter" + +# github.com/opencontainers/go-digest v1.0.0 +# [1] git ls-remote https://github.com/opencontainers/go-digest ea51bea511f75cfa3ef6098cc253c5c3609b037a +SRCREV_go-digest="ea51bea511f75cfa3ef6098cc253c5c3609b037a" +SRC_URI += "git://github.com/opencontainers/go-digest;name=go-digest;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/go-digest" + +# github.com/opencontainers/image-spec v1.1.0 +# [1] git ls-remote https://github.com/opencontainers/image-spec e7f7c0ca69b21688c3cea7c87a04e4503e6099e2 +SRCREV_image-spec="e7f7c0ca69b21688c3cea7c87a04e4503e6099e2" +SRC_URI += "git://github.com/opencontainers/image-spec;name=image-spec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/image-spec" + +# github.com/AdaLogics/go-fuzz-headers v0.0.0-20230811130428-ced1acdcaa24 +# [1] git ls-remote https://github.com/AdaLogics/go-fuzz-headers ced1acdcaa24dc39c01b039fc37576c395f506cf +SRCREV_go-fuzz-headers="ced1acdcaa24dc39c01b039fc37576c395f506cf" +SRC_URI += "git://github.com/AdaLogics/go-fuzz-headers;name=go-fuzz-headers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/AdaLogics/go-fuzz-headers" + +# github.com/inconshreveable/mousetrap v1.1.0 +# [1] git ls-remote https://github.com/inconshreveable/mousetrap 4e8053ee7ef85a6bd26368364a6d27f1641c1d21 +SRCREV_mousetrap="4e8053ee7ef85a6bd26368364a6d27f1641c1d21" +SRC_URI += "git://github.com/inconshreveable/mousetrap;name=mousetrap;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/inconshreveable/mousetrap" + +# github.com/multiformats/go-multiaddr v0.12.0 +# [1] git ls-remote https://github.com/multiformats/go-multiaddr 5dd793c6fc4935fad347429a48a168acc8073474 +SRCREV_go-multiaddr="5dd793c6fc4935fad347429a48a168acc8073474" +SRC_URI += "git://github.com/multiformats/go-multiaddr;name=go-multiaddr;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multiaddr" + +# github.com/multiformats/go-multibase v0.1.1 +# [1] git ls-remote https://github.com/multiformats/go-multibase c1bc15b22eedb45f9205f3b60ce5fcb8fca93e08 +SRCREV_go-multibase="c1bc15b22eedb45f9205f3b60ce5fcb8fca93e08" +SRC_URI += "git://github.com/multiformats/go-multibase;name=go-multibase;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multibase" + +# github.com/multiformats/go-multihash v0.2.1 +# [1] git ls-remote https://github.com/multiformats/go-multihash 16974ad98ab1fb19eb756919f55373b39cc80bec +SRCREV_go-multihash="16974ad98ab1fb19eb756919f55373b39cc80bec" +SRC_URI += "git://github.com/multiformats/go-multihash;name=go-multihash;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/multiformats/go-multihash" + +# github.com/stefanberger/go-pkcs11uri v0.0.0-20201008174630-78d3cae3a980 +# [1] git ls-remote https://github.com/stefanberger/go-pkcs11uri 78d3cae3a9805d89aa4fa80a362ca944c89a1b99 +SRCREV_go-pkcs11uri="78d3cae3a9805d89aa4fa80a362ca944c89a1b99" +SRC_URI += "git://github.com/stefanberger/go-pkcs11uri;name=go-pkcs11uri;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/stefanberger/go-pkcs11uri" + +# github.com/cyphar/filepath-securejoin v0.2.4 +# [1] git ls-remote https://github.com/cyphar/filepath-securejoin 2710d06c5b4ba3168beffa0689798d2db12e8ac4 +SRCREV_filepath-securejoin="2710d06c5b4ba3168beffa0689798d2db12e8ac4" +SRC_URI += "git://github.com/cyphar/filepath-securejoin;name=filepath-securejoin;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/cyphar/filepath-securejoin" + +# github.com/containernetworking/plugins v1.4.0 +# [1] git ls-remote https://github.com/containernetworking/plugins 1fb5bf669e42cd208008e52d45b41fe2c3eb8dbc +SRCREV_plugins="1fb5bf669e42cd208008e52d45b41fe2c3eb8dbc" +SRC_URI += "git://github.com/containernetworking/plugins;name=plugins;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containernetworking/plugins" + +# github.com/fluent/fluent-logger-golang v1.9.0 +# [1] git ls-remote https://github.com/fluent/fluent-logger-golang 5538e904aeb515c10a624da620581bdf420d4b8a +SRCREV_fluent-logger-golang="5538e904aeb515c10a624da620581bdf420d4b8a" +SRC_URI += "git://github.com/fluent/fluent-logger-golang;name=fluent-logger-golang;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/fluent/fluent-logger-golang" + +# github.com/opencontainers/runtime-spec v1.2.0 +# [1] git ls-remote https://github.com/opencontainers/runtime-spec 36852b0d072a4b5da675300a9e73bc4b0853f5c6 +SRCREV_runtime-spec="36852b0d072a4b5da675300a9e73bc4b0853f5c6" +SRC_URI += "git://github.com/opencontainers/runtime-spec;name=runtime-spec;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/opencontainers/runtime-spec" + +# github.com/AdamKorcz/go-118-fuzz-build v0.0.0-20230306123547-8075edf89bb0 +# [1] git ls-remote https://github.com/AdamKorcz/go-118-fuzz-build 8075edf89bb034603c758f28fe93143047ac5677 +SRCREV_go-118-fuzz-build="8075edf89bb034603c758f28fe93143047ac5677" +SRC_URI += "git://github.com/AdamKorcz/go-118-fuzz-build;name=go-118-fuzz-build;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/AdamKorcz/go-118-fuzz-build" + +# github.com/containerd/nydus-snapshotter v0.13.7 +# [1] git ls-remote https://github.com/containerd/nydus-snapshotter 3fcac86ccfe192b34e8605de9e26b9f40150c8cb +SRCREV_nydus-snapshotter="3fcac86ccfe192b34e8605de9e26b9f40150c8cb" +SRC_URI += "git://github.com/containerd/nydus-snapshotter;name=nydus-snapshotter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/nydus-snapshotter" + +# github.com/containerd/stargz-snapshotter v0.15.1 +# [1] git ls-remote https://github.com/containerd/stargz-snapshotter 64ab83bd65cd4a763e262955984232cc5ddfeb3f +SRCREV_stargz-snapshotter="64ab83bd65cd4a763e262955984232cc5ddfeb3f" +SRC_URI += "git://github.com/containerd/stargz-snapshotter;name=stargz-snapshotter;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/stargz-snapshotter" + +# google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b +# [1] git ls-remote https://github.com/googleapis/go-genproto 49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846 +SRCREV_rpc="49dd2c1f3d0bf0f025ccaf8eeaaad902e3c63846" +SRC_URI += "git://github.com/googleapis/go-genproto;name=rpc;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/google.golang.org/genproto/googleapis/rpc" + +# github.com/rootless-containers/bypass4netns v0.4.0 +# [1] git ls-remote https://github.com/rootless-containers/bypass4netns 3385f1f32437dba4300a2bdf1567a7ece939f9b9 +SRCREV_bypass4netns="3385f1f32437dba4300a2bdf1567a7ece939f9b9" +SRC_URI += "git://github.com/rootless-containers/bypass4netns;name=bypass4netns;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rootless-containers/bypass4netns" + +# github.com/docker/docker-credential-helpers v0.7.0 +# [1] git ls-remote https://github.com/docker/docker-credential-helpers ac5992b5f4756fc0398a7d0c93c609e624368bde +SRCREV_docker-credential-helpers="ac5992b5f4756fc0398a7d0c93c609e624368bde" +SRC_URI += "git://github.com/docker/docker-credential-helpers;name=docker-credential-helpers;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/docker/docker-credential-helpers" + +# github.com/containerd/stargz-snapshotter/ipfs v0.15.1 +# [1] git ls-remote https://github.com/containerd/stargz-snapshotter 64ab83bd65cd4a763e262955984232cc5ddfeb3f +SRCREV_ipfs="64ab83bd65cd4a763e262955984232cc5ddfeb3f" +SRC_URI += "git://github.com/containerd/stargz-snapshotter;name=ipfs;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/stargz-snapshotter/ipfs" + +# github.com/rootless-containers/rootlesskit/v2 v2.0.1 +# [1] git ls-remote https://github.com/rootless-containers/rootlesskit 5e9cd7880619a3c0a675e6a41d9562b6839066ee +SRCREV_rootlesskit-v2="5e9cd7880619a3c0a675e6a41d9562b6839066ee" +SRC_URI += "git://github.com/rootless-containers/rootlesskit;name=rootlesskit-v2;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/rootless-containers/rootlesskit/v2" + +# github.com/containerd/stargz-snapshotter/estargz v0.15.1 +# [1] git ls-remote https://github.com/containerd/stargz-snapshotter 64ab83bd65cd4a763e262955984232cc5ddfeb3f +SRCREV_estargz="64ab83bd65cd4a763e262955984232cc5ddfeb3f" +SRC_URI += "git://github.com/containerd/stargz-snapshotter;name=estargz;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/stargz-snapshotter/estargz" + +# github.com/containerd/accelerated-container-image v1.0.2 +# [1] git ls-remote https://github.com/containerd/accelerated-container-image 526b680966031d9e07371894e1de68cbf9ae6282 +SRCREV_accelerated-container-image="526b680966031d9e07371894e1de68cbf9ae6282" +SRC_URI += "git://github.com/containerd/accelerated-container-image;name=accelerated-container-image;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/github.com/containerd/accelerated-container-image" + +# go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.45.0 +# [1] git ls-remote https://github.com/open-telemetry/opentelemetry-go-contrib 9d4eb7e7706038b07d33f83f76afbe13f53d171d +SRCREV_otelhttp="9d4eb7e7706038b07d33f83f76afbe13f53d171d" +SRC_URI += "git://github.com/open-telemetry/opentelemetry-go-contrib;name=otelhttp;protocol=https;nobranch=1;destsuffix=${WORKDIR}/${BP}/src/import/vendor.fetch/go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp" + diff --git a/recipes-containers/netavark/files/run-ptest b/recipes-containers/netavark/files/run-ptest new file mode 100644 index 00000000..7e017ae2 --- /dev/null +++ b/recipes-containers/netavark/files/run-ptest @@ -0,0 +1,8 @@ +#!/bin/bash + +shopt -s extglob + +# Skip the plugin tests because those example plugins are built only while +# running cargo test and for this to work as a ptest they would need to be cross +# compiled and installed as part of the ptest. +NETAVARK=/usr/libexec/podman/netavark bats test/!(*-plugin.bats) diff --git a/recipes-containers/netavark/files/tests.patch b/recipes-containers/netavark/files/tests.patch new file mode 100644 index 00000000..3e1e9ed9 --- /dev/null +++ b/recipes-containers/netavark/files/tests.patch @@ -0,0 +1,24 @@ +Upstream-Status: Pending + +Index: git/test/helpers.bash +=================================================================== +--- git.orig/test/helpers.bash ++++ git/test/helpers.bash +@@ -575,7 +575,7 @@ + fi + + nsenter -n -t "${CONTAINER_NS_PIDS[$container_ns]}" timeout --foreground -v --kill=10 5 \ +- nc $nc_common_args -l -p $container_port &>"$NETAVARK_TMPDIR/nc-out" <$stdin & ++ ncat $nc_common_args -l -p $container_port &>"$NETAVARK_TMPDIR/nc-out" <$stdin & + + # make sure to wait until port is bound otherwise test can flake + # https://github.com/containers/netavark/issues/433 +@@ -588,7 +588,7 @@ + fi + + data=$(random_string) +- run_in_host_netns nc $nc_common_args $connect_ip $host_port <<<"$data" ++ run_in_host_netns ncat $nc_common_args $connect_ip $host_port <<<"$data" + + got=$(cat "$NETAVARK_TMPDIR/nc-out") + assert "$got" == "$data" "ncat received data" diff --git a/recipes-containers/netavark/netavark-crates.inc b/recipes-containers/netavark/netavark-crates.inc new file mode 100644 index 00000000..00b7c53b --- /dev/null +++ b/recipes-containers/netavark/netavark-crates.inc @@ -0,0 +1,560 @@ +# Autogenerated with 'bitbake -c update_crates netavark' + +# from Cargo.lock +SRC_URI += " \ + crate://crates.io/addr2line/0.21.0 \ + crate://crates.io/adler/1.0.2 \ + crate://crates.io/aho-corasick/1.1.2 \ + crate://crates.io/android-tzdata/0.1.1 \ + crate://crates.io/android_system_properties/0.1.5 \ + crate://crates.io/anstream/0.6.11 \ + crate://crates.io/anstyle/1.0.4 \ + crate://crates.io/anstyle-parse/0.2.2 \ + crate://crates.io/anstyle-query/1.0.0 \ + crate://crates.io/anstyle-wincon/3.0.1 \ + crate://crates.io/anyhow/1.0.75 \ + crate://crates.io/arrayvec/0.7.4 \ + crate://crates.io/async-broadcast/0.5.1 \ + crate://crates.io/async-channel/2.1.0 \ + crate://crates.io/async-executor/1.7.2 \ + crate://crates.io/async-fs/1.6.0 \ + crate://crates.io/async-io/1.13.0 \ + crate://crates.io/async-io/2.2.0 \ + crate://crates.io/async-lock/2.8.0 \ + crate://crates.io/async-lock/3.1.1 \ + crate://crates.io/async-process/1.8.1 \ + crate://crates.io/async-recursion/1.0.5 \ + crate://crates.io/async-signal/0.2.5 \ + crate://crates.io/async-stream/0.3.5 \ + crate://crates.io/async-stream-impl/0.3.5 \ + crate://crates.io/async-task/4.5.0 \ + crate://crates.io/async-trait/0.1.74 \ + crate://crates.io/atomic-waker/1.1.2 \ + crate://crates.io/autocfg/1.1.0 \ + crate://crates.io/axum/0.6.20 \ + crate://crates.io/axum-core/0.3.4 \ + crate://crates.io/backtrace/0.3.69 \ + crate://crates.io/base64/0.21.5 \ + crate://crates.io/bitflags/1.3.2 \ + crate://crates.io/bitflags/2.4.1 \ + crate://crates.io/block-buffer/0.10.4 \ + crate://crates.io/blocking/1.5.1 \ + crate://crates.io/bumpalo/3.14.0 \ + crate://crates.io/byteorder/1.5.0 \ + crate://crates.io/bytes/1.5.0 \ + crate://crates.io/cc/1.0.83 \ + crate://crates.io/cfg-if/1.0.0 \ + crate://crates.io/chrono/0.4.32 \ + crate://crates.io/clap/4.4.12 \ + crate://crates.io/clap_builder/4.4.12 \ + crate://crates.io/clap_derive/4.4.7 \ + crate://crates.io/clap_lex/0.6.0 \ + crate://crates.io/colorchoice/1.0.0 \ + crate://crates.io/concurrent-queue/2.3.0 \ + crate://crates.io/core-foundation-sys/0.8.4 \ + crate://crates.io/cpufeatures/0.2.11 \ + crate://crates.io/crossbeam-utils/0.8.16 \ + crate://crates.io/crypto-common/0.1.6 \ + crate://crates.io/data-encoding/2.4.0 \ + crate://crates.io/derivative/2.2.0 \ + crate://crates.io/dhcproto/0.9.0 \ + crate://crates.io/dhcproto-macros/0.1.0 \ + crate://crates.io/digest/0.10.7 \ + crate://crates.io/either/1.9.0 \ + crate://crates.io/enum-as-inner/0.5.1 \ + crate://crates.io/enum-as-inner/0.6.0 \ + crate://crates.io/enumflags2/0.7.8 \ + crate://crates.io/enumflags2_derive/0.7.8 \ + crate://crates.io/env_filter/0.1.0 \ + crate://crates.io/env_logger/0.11.0 \ + crate://crates.io/equivalent/1.0.1 \ + crate://crates.io/errno/0.3.8 \ + crate://crates.io/etherparse/0.13.0 \ + crate://crates.io/ethtool/0.2.5 \ + crate://crates.io/event-listener/2.5.3 \ + crate://crates.io/event-listener/3.1.0 \ + crate://crates.io/event-listener-strategy/0.3.0 \ + crate://crates.io/fastrand/1.9.0 \ + crate://crates.io/fastrand/2.0.1 \ + crate://crates.io/fixedbitset/0.4.2 \ + crate://crates.io/fnv/1.0.7 \ + crate://crates.io/form_urlencoded/1.2.1 \ + crate://crates.io/fs2/0.4.3 \ + crate://crates.io/futures/0.3.29 \ + crate://crates.io/futures-channel/0.3.30 \ + crate://crates.io/futures-core/0.3.30 \ + crate://crates.io/futures-executor/0.3.29 \ + crate://crates.io/futures-io/0.3.30 \ + crate://crates.io/futures-lite/1.13.0 \ + crate://crates.io/futures-lite/2.0.1 \ + crate://crates.io/futures-macro/0.3.30 \ + crate://crates.io/futures-sink/0.3.30 \ + crate://crates.io/futures-task/0.3.30 \ + crate://crates.io/futures-util/0.3.30 \ + crate://crates.io/generic-array/0.14.7 \ + crate://crates.io/genetlink/0.2.5 \ + crate://crates.io/getrandom/0.2.11 \ + crate://crates.io/gimli/0.28.0 \ + crate://crates.io/h2/0.3.24 \ + crate://crates.io/hashbrown/0.12.3 \ + crate://crates.io/hashbrown/0.14.2 \ + crate://crates.io/heck/0.4.1 \ + crate://crates.io/hermit-abi/0.3.3 \ + crate://crates.io/hex/0.4.3 \ + crate://crates.io/home/0.5.5 \ + crate://crates.io/http/0.2.11 \ + crate://crates.io/http-body/0.4.5 \ + crate://crates.io/httparse/1.8.0 \ + crate://crates.io/httpdate/1.0.3 \ + crate://crates.io/humantime/2.1.0 \ + crate://crates.io/hyper/0.14.27 \ + crate://crates.io/hyper-timeout/0.4.1 \ + crate://crates.io/iana-time-zone/0.1.58 \ + crate://crates.io/iana-time-zone-haiku/0.1.2 \ + crate://crates.io/idna/0.2.3 \ + crate://crates.io/idna/0.5.0 \ + crate://crates.io/indexmap/1.9.3 \ + crate://crates.io/indexmap/2.1.0 \ + crate://crates.io/instant/0.1.12 \ + crate://crates.io/io-lifetimes/1.0.11 \ + crate://crates.io/ipnet/2.9.0 \ + crate://crates.io/iptables/0.5.1 \ + crate://crates.io/itertools/0.11.0 \ + crate://crates.io/itoa/1.0.9 \ + crate://crates.io/js-sys/0.3.65 \ + crate://crates.io/lazy_static/1.4.0 \ + crate://crates.io/libc/0.2.150 \ + crate://crates.io/linux-raw-sys/0.3.8 \ + crate://crates.io/linux-raw-sys/0.4.11 \ + crate://crates.io/log/0.4.20 \ + crate://crates.io/matches/0.1.10 \ + crate://crates.io/matchit/0.7.3 \ + crate://crates.io/memchr/2.6.4 \ + crate://crates.io/memoffset/0.7.1 \ + crate://crates.io/mime/0.3.17 \ + crate://crates.io/miniz_oxide/0.7.1 \ + crate://crates.io/mio/0.8.9 \ + crate://crates.io/mozim/0.2.2 \ + crate://crates.io/mptcp-pm/0.1.3 \ + crate://crates.io/multimap/0.8.3 \ + crate://crates.io/netlink-packet-core/0.7.0 \ + crate://crates.io/netlink-packet-generic/0.3.3 \ + crate://crates.io/netlink-packet-route/0.18.1 \ + crate://crates.io/netlink-packet-utils/0.5.2 \ + crate://crates.io/netlink-proto/0.11.2 \ + crate://crates.io/netlink-sys/0.8.5 \ + crate://crates.io/nftables/0.3.0 \ + crate://crates.io/nispor/1.2.16 \ + crate://crates.io/nix/0.26.4 \ + crate://crates.io/nix/0.27.1 \ + crate://crates.io/num-traits/0.2.17 \ + crate://crates.io/num_cpus/1.16.0 \ + crate://crates.io/object/0.32.1 \ + crate://crates.io/once_cell/1.19.0 \ + crate://crates.io/ordered-float/2.10.1 \ + crate://crates.io/ordered-stream/0.2.0 \ + crate://crates.io/parking/2.2.0 \ + crate://crates.io/paste/1.0.14 \ + crate://crates.io/percent-encoding/2.3.1 \ + crate://crates.io/petgraph/0.6.4 \ + crate://crates.io/pin-project/1.1.3 \ + crate://crates.io/pin-project-internal/1.1.3 \ + crate://crates.io/pin-project-lite/0.2.13 \ + crate://crates.io/pin-utils/0.1.0 \ + crate://crates.io/piper/0.2.1 \ + crate://crates.io/polling/2.8.0 \ + crate://crates.io/polling/3.3.0 \ + crate://crates.io/ppv-lite86/0.2.17 \ + crate://crates.io/prettyplease/0.2.15 \ + crate://crates.io/proc-macro-crate/1.3.1 \ + crate://crates.io/proc-macro2/1.0.74 \ + crate://crates.io/prost/0.12.2 \ + crate://crates.io/prost-build/0.12.2 \ + crate://crates.io/prost-derive/0.12.2 \ + crate://crates.io/prost-types/0.12.2 \ + crate://crates.io/quote/1.0.35 \ + crate://crates.io/rand/0.8.5 \ + crate://crates.io/rand_chacha/0.3.1 \ + crate://crates.io/rand_core/0.6.4 \ + crate://crates.io/redox_syscall/0.4.1 \ + crate://crates.io/regex/1.10.2 \ + crate://crates.io/regex-automata/0.4.3 \ + crate://crates.io/regex-syntax/0.8.2 \ + crate://crates.io/rtnetlink/0.14.0 \ + crate://crates.io/rustc-demangle/0.1.23 \ + crate://crates.io/rustix/0.37.27 \ + crate://crates.io/rustix/0.38.28 \ + crate://crates.io/rustversion/1.0.14 \ + crate://crates.io/ryu/1.0.15 \ + crate://crates.io/same-file/1.0.6 \ + crate://crates.io/serde/1.0.194 \ + crate://crates.io/serde-value/0.7.0 \ + crate://crates.io/serde_derive/1.0.194 \ + crate://crates.io/serde_json/1.0.111 \ + crate://crates.io/serde_path_to_error/0.1.14 \ + crate://crates.io/serde_repr/0.1.17 \ + crate://crates.io/sha1/0.10.6 \ + crate://crates.io/sha2/0.10.8 \ + crate://crates.io/signal-hook-registry/1.4.1 \ + crate://crates.io/slab/0.4.9 \ + crate://crates.io/smallvec/1.11.2 \ + crate://crates.io/socket2/0.4.10 \ + crate://crates.io/socket2/0.5.5 \ + crate://crates.io/static_assertions/1.1.0 \ + crate://crates.io/strsim/0.10.0 \ + crate://crates.io/strum/0.25.0 \ + crate://crates.io/strum_macros/0.25.3 \ + crate://crates.io/syn/1.0.109 \ + crate://crates.io/syn/2.0.46 \ + crate://crates.io/sync_wrapper/0.1.2 \ + crate://crates.io/sysctl/0.5.5 \ + crate://crates.io/tempfile/3.9.0 \ + crate://crates.io/thiserror/1.0.50 \ + crate://crates.io/thiserror-impl/1.0.50 \ + crate://crates.io/tinyvec/1.6.0 \ + crate://crates.io/tinyvec_macros/0.1.1 \ + crate://crates.io/tokio/1.35.0 \ + crate://crates.io/tokio-io-timeout/1.2.0 \ + crate://crates.io/tokio-macros/2.2.0 \ + crate://crates.io/tokio-stream/0.1.14 \ + crate://crates.io/tokio-util/0.7.10 \ + crate://crates.io/toml_datetime/0.6.5 \ + crate://crates.io/toml_edit/0.19.15 \ + crate://crates.io/tonic/0.10.2 \ + crate://crates.io/tonic-build/0.10.2 \ + crate://crates.io/tower/0.4.13 \ + crate://crates.io/tower-layer/0.3.2 \ + crate://crates.io/tower-service/0.3.2 \ + crate://crates.io/tracing/0.1.40 \ + crate://crates.io/tracing-attributes/0.1.27 \ + crate://crates.io/tracing-core/0.1.32 \ + crate://crates.io/trust-dns-proto/0.22.0 \ + crate://crates.io/try-lock/0.2.4 \ + crate://crates.io/typenum/1.17.0 \ + crate://crates.io/uds_windows/1.0.2 \ + crate://crates.io/unicode-bidi/0.3.13 \ + crate://crates.io/unicode-ident/1.0.12 \ + crate://crates.io/unicode-normalization/0.1.22 \ + crate://crates.io/url/2.5.0 \ + crate://crates.io/utf8parse/0.2.1 \ + crate://crates.io/version_check/0.9.4 \ + crate://crates.io/waker-fn/1.1.1 \ + crate://crates.io/walkdir/2.4.0 \ + crate://crates.io/want/0.3.1 \ + crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ + crate://crates.io/wasm-bindgen/0.2.88 \ + crate://crates.io/wasm-bindgen-backend/0.2.88 \ + crate://crates.io/wasm-bindgen-macro/0.2.88 \ + crate://crates.io/wasm-bindgen-macro-support/0.2.88 \ + crate://crates.io/wasm-bindgen-shared/0.2.88 \ + crate://crates.io/which/4.4.2 \ + crate://crates.io/winapi/0.3.9 \ + crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ + crate://crates.io/winapi-util/0.1.6 \ + crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ + crate://crates.io/windows-core/0.51.1 \ + crate://crates.io/windows-sys/0.48.0 \ + crate://crates.io/windows-sys/0.52.0 \ + crate://crates.io/windows-targets/0.48.5 \ + crate://crates.io/windows-targets/0.52.0 \ + crate://crates.io/windows_aarch64_gnullvm/0.48.5 \ + crate://crates.io/windows_aarch64_gnullvm/0.52.0 \ + crate://crates.io/windows_aarch64_msvc/0.48.5 \ + crate://crates.io/windows_aarch64_msvc/0.52.0 \ + crate://crates.io/windows_i686_gnu/0.48.5 \ + crate://crates.io/windows_i686_gnu/0.52.0 \ + crate://crates.io/windows_i686_msvc/0.48.5 \ + crate://crates.io/windows_i686_msvc/0.52.0 \ + crate://crates.io/windows_x86_64_gnu/0.48.5 \ + crate://crates.io/windows_x86_64_gnu/0.52.0 \ + crate://crates.io/windows_x86_64_gnullvm/0.48.5 \ + crate://crates.io/windows_x86_64_gnullvm/0.52.0 \ + crate://crates.io/windows_x86_64_msvc/0.48.5 \ + crate://crates.io/windows_x86_64_msvc/0.52.0 \ + crate://crates.io/winnow/0.5.19 \ + crate://crates.io/xdg-home/1.0.0 \ + crate://crates.io/zbus/3.14.1 \ + crate://crates.io/zbus_macros/3.14.1 \ + crate://crates.io/zbus_names/2.6.0 \ + crate://crates.io/zvariant/3.15.0 \ + crate://crates.io/zvariant_derive/3.15.0 \ + crate://crates.io/zvariant_utils/1.0.1 \ +" + +SRC_URI[addr2line-0.21.0.sha256sum] = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" +SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +SRC_URI[aho-corasick-1.1.2.sha256sum] = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" +SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" +SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" +SRC_URI[anstream-0.6.11.sha256sum] = "6e2e1ebcb11de5c03c67de28a7df593d32191b44939c482e97702baaaa6ab6a5" +SRC_URI[anstyle-1.0.4.sha256sum] = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87" +SRC_URI[anstyle-parse-0.2.2.sha256sum] = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140" +SRC_URI[anstyle-query-1.0.0.sha256sum] = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b" +SRC_URI[anstyle-wincon-3.0.1.sha256sum] = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" +SRC_URI[anyhow-1.0.75.sha256sum] = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +SRC_URI[arrayvec-0.7.4.sha256sum] = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +SRC_URI[async-broadcast-0.5.1.sha256sum] = "7c48ccdbf6ca6b121e0f586cbc0e73ae440e56c67c30fa0873b4e110d9c26d2b" +SRC_URI[async-channel-2.1.0.sha256sum] = "d37875bd9915b7d67c2f117ea2c30a0989874d0b2cb694fe25403c85763c0c9e" +SRC_URI[async-executor-1.7.2.sha256sum] = "fc5ea910c42e5ab19012bab31f53cb4d63d54c3a27730f9a833a88efcf4bb52d" +SRC_URI[async-fs-1.6.0.sha256sum] = "279cf904654eeebfa37ac9bb1598880884924aab82e290aa65c9e77a0e142e06" +SRC_URI[async-io-1.13.0.sha256sum] = "0fc5b45d93ef0529756f812ca52e44c221b35341892d3dcc34132ac02f3dd2af" +SRC_URI[async-io-2.2.0.sha256sum] = "41ed9d5715c2d329bf1b4da8d60455b99b187f27ba726df2883799af9af60997" +SRC_URI[async-lock-2.8.0.sha256sum] = "287272293e9d8c41773cec55e365490fe034813a2f172f502d6ddcf75b2f582b" +SRC_URI[async-lock-3.1.1.sha256sum] = "655b9c7fe787d3b25cc0f804a1a8401790f0c5bc395beb5a64dc77d8de079105" +SRC_URI[async-process-1.8.1.sha256sum] = "ea6438ba0a08d81529c69b36700fa2f95837bfe3e776ab39cde9c14d9149da88" +SRC_URI[async-recursion-1.0.5.sha256sum] = "5fd55a5ba1179988837d24ab4c7cc8ed6efdeff578ede0416b4225a5fca35bd0" +SRC_URI[async-signal-0.2.5.sha256sum] = "9e47d90f65a225c4527103a8d747001fc56e375203592b25ad103e1ca13124c5" +SRC_URI[async-stream-0.3.5.sha256sum] = "cd56dd203fef61ac097dd65721a419ddccb106b2d2b70ba60a6b529f03961a51" +SRC_URI[async-stream-impl-0.3.5.sha256sum] = "16e62a023e7c117e27523144c5d2459f4397fcc3cab0085af8e2224f643a0193" +SRC_URI[async-task-4.5.0.sha256sum] = "b4eb2cdb97421e01129ccb49169d8279ed21e829929144f4a22a6e54ac549ca1" +SRC_URI[async-trait-0.1.74.sha256sum] = "a66537f1bb974b254c98ed142ff995236e81b9d0fe4db0575f46612cb15eb0f9" +SRC_URI[atomic-waker-1.1.2.sha256sum] = "1505bd5d3d116872e7271a6d4e16d81d0c8570876c8de68093a09ac269d8aac0" +SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" +SRC_URI[axum-0.6.20.sha256sum] = "3b829e4e32b91e643de6eafe82b1d90675f5874230191a4ffbc1b336dec4d6bf" +SRC_URI[axum-core-0.3.4.sha256sum] = "759fa577a247914fd3f7f76d62972792636412fbfd634cd452f6a385a74d2d2c" +SRC_URI[backtrace-0.3.69.sha256sum] = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" +SRC_URI[base64-0.21.5.sha256sum] = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" +SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +SRC_URI[bitflags-2.4.1.sha256sum] = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" +SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" +SRC_URI[blocking-1.5.1.sha256sum] = "6a37913e8dc4ddcc604f0c6d3bf2887c995153af3611de9e23c352b44c1b9118" +SRC_URI[bumpalo-3.14.0.sha256sum] = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" +SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +SRC_URI[bytes-1.5.0.sha256sum] = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" +SRC_URI[cc-1.0.83.sha256sum] = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" +SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" +SRC_URI[chrono-0.4.32.sha256sum] = "41daef31d7a747c5c847246f36de49ced6f7403b4cdabc807a97b5cc184cda7a" +SRC_URI[clap-4.4.12.sha256sum] = "dcfab8ba68f3668e89f6ff60f5b205cea56aa7b769451a59f34b8682f51c056d" +SRC_URI[clap_builder-4.4.12.sha256sum] = "fb7fb5e4e979aec3be7791562fcba452f94ad85e954da024396433e0e25a79e9" +SRC_URI[clap_derive-4.4.7.sha256sum] = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" +SRC_URI[clap_lex-0.6.0.sha256sum] = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" +SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" +SRC_URI[concurrent-queue-2.3.0.sha256sum] = "f057a694a54f12365049b0958a1685bb52d567f5593b355fbf685838e873d400" +SRC_URI[core-foundation-sys-0.8.4.sha256sum] = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" +SRC_URI[cpufeatures-0.2.11.sha256sum] = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +SRC_URI[crossbeam-utils-0.8.16.sha256sum] = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" +SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" +SRC_URI[data-encoding-2.4.0.sha256sum] = "c2e66c9d817f1720209181c316d28635c050fa304f9c79e47a520882661b7308" +SRC_URI[derivative-2.2.0.sha256sum] = "fcc3dd5e9e9c0b295d6e1e4d811fb6f157d5ffd784b8d202fc62eac8035a770b" +SRC_URI[dhcproto-0.9.0.sha256sum] = "dcee045385d5f7819022821f41209b9945d17550760b0b2349aaef4ecfa14bc3" +SRC_URI[dhcproto-macros-0.1.0.sha256sum] = "a7993efb860416547839c115490d4951c6d0f8ec04a3594d9dd99d50ed7ec170" +SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" +SRC_URI[either-1.9.0.sha256sum] = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" +SRC_URI[enum-as-inner-0.5.1.sha256sum] = "c9720bba047d567ffc8a3cba48bf19126600e249ab7f128e9233e6376976a116" +SRC_URI[enum-as-inner-0.6.0.sha256sum] = "5ffccbb6966c05b32ef8fbac435df276c4ae4d3dc55a8cd0eb9745e6c12f546a" +SRC_URI[enumflags2-0.7.8.sha256sum] = "5998b4f30320c9d93aed72f63af821bfdac50465b75428fce77b48ec482c3939" +SRC_URI[enumflags2_derive-0.7.8.sha256sum] = "f95e2801cd355d4a1a3e3953ce6ee5ae9603a5c833455343a8bfe3f44d418246" +SRC_URI[env_filter-0.1.0.sha256sum] = "a009aa4810eb158359dda09d0c87378e4bbb89b5a801f016885a4707ba24f7ea" +SRC_URI[env_logger-0.11.0.sha256sum] = "9eeb342678d785662fd2514be38c459bb925f02b68dd2a3e0f21d7ef82d979dd" +SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +SRC_URI[errno-0.3.8.sha256sum] = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" +SRC_URI[etherparse-0.13.0.sha256sum] = "827292ea592108849932ad8e30218f8b1f21c0dfd0696698a18b5d0aed62d990" +SRC_URI[ethtool-0.2.5.sha256sum] = "1d8e04a35517dc77748dc04bf38152799382d3d8f85cb07cb579bb7f4d8d3b5a" +SRC_URI[event-listener-2.5.3.sha256sum] = "0206175f82b8d6bf6652ff7d71a1e27fd2e4efde587fd368662814d6ec1d9ce0" +SRC_URI[event-listener-3.1.0.sha256sum] = "d93877bcde0eb80ca09131a08d23f0a5c18a620b01db137dba666d18cd9b30c2" +SRC_URI[event-listener-strategy-0.3.0.sha256sum] = "d96b852f1345da36d551b9473fa1e2b1eb5c5195585c6c018118bc92a8d91160" +SRC_URI[fastrand-1.9.0.sha256sum] = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" +SRC_URI[fastrand-2.0.1.sha256sum] = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" +SRC_URI[fixedbitset-0.4.2.sha256sum] = "0ce7134b9999ecaf8bcd65542e436736ef32ddca1b3e06094cb6ec5755203b80" +SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" +SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" +SRC_URI[fs2-0.4.3.sha256sum] = "9564fc758e15025b46aa6643b1b77d047d1a56a1aea6e01002ac0c7026876213" +SRC_URI[futures-0.3.29.sha256sum] = "da0290714b38af9b4a7b094b8a37086d1b4e61f2df9122c3cad2577669145335" +SRC_URI[futures-channel-0.3.30.sha256sum] = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" +SRC_URI[futures-core-0.3.30.sha256sum] = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" +SRC_URI[futures-executor-0.3.29.sha256sum] = "0f4fb8693db0cf099eadcca0efe2a5a22e4550f98ed16aba6c48700da29597bc" +SRC_URI[futures-io-0.3.30.sha256sum] = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" +SRC_URI[futures-lite-1.13.0.sha256sum] = "49a9d51ce47660b1e808d3c990b4709f2f415d928835a17dfd16991515c46bce" +SRC_URI[futures-lite-2.0.1.sha256sum] = "d3831c2651acb5177cbd83943f3d9c8912c5ad03c76afcc0e9511ba568ec5ebb" +SRC_URI[futures-macro-0.3.30.sha256sum] = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" +SRC_URI[futures-sink-0.3.30.sha256sum] = "9fb8e00e87438d937621c1c6269e53f536c14d3fbd6a042bb24879e57d474fb5" +SRC_URI[futures-task-0.3.30.sha256sum] = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" +SRC_URI[futures-util-0.3.30.sha256sum] = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" +SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +SRC_URI[genetlink-0.2.5.sha256sum] = "1f890076c1faa1298bf747ce3694a8d9e0d2cc4b06fe293f12dd95742bfd079f" +SRC_URI[getrandom-0.2.11.sha256sum] = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +SRC_URI[gimli-0.28.0.sha256sum] = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +SRC_URI[h2-0.3.24.sha256sum] = "bb2c4422095b67ee78da96fbb51a4cc413b3b25883c7717ff7ca1ab31022c9c9" +SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" +SRC_URI[hashbrown-0.14.2.sha256sum] = "f93e7192158dbcda357bdec5fb5788eebf8bbac027f3f33e719d29135ae84156" +SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8" +SRC_URI[hermit-abi-0.3.3.sha256sum] = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" +SRC_URI[hex-0.4.3.sha256sum] = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" +SRC_URI[home-0.5.5.sha256sum] = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +SRC_URI[http-0.2.11.sha256sum] = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" +SRC_URI[http-body-0.4.5.sha256sum] = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +SRC_URI[httparse-1.8.0.sha256sum] = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" +SRC_URI[httpdate-1.0.3.sha256sum] = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" +SRC_URI[humantime-2.1.0.sha256sum] = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" +SRC_URI[hyper-0.14.27.sha256sum] = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +SRC_URI[hyper-timeout-0.4.1.sha256sum] = "bbb958482e8c7be4bc3cf272a766a2b0bf1a6755e7a6ae777f017a31d11b13b1" +SRC_URI[iana-time-zone-0.1.58.sha256sum] = "8326b86b6cff230b97d0d312a6c40a60726df3332e721f72a1b035f451663b20" +SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" +SRC_URI[idna-0.2.3.sha256sum] = "418a0a6fab821475f634efe3ccc45c013f742efe03d853e8d3355d5cb850ecf8" +SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" +SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +SRC_URI[indexmap-2.1.0.sha256sum] = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" +SRC_URI[instant-0.1.12.sha256sum] = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c" +SRC_URI[io-lifetimes-1.0.11.sha256sum] = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2" +SRC_URI[ipnet-2.9.0.sha256sum] = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +SRC_URI[iptables-0.5.1.sha256sum] = "d39f0d72d0feb83c9b7f4e1fbde2b4a629886f30841127b3f86383831dba2629" +SRC_URI[itertools-0.11.0.sha256sum] = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" +SRC_URI[itoa-1.0.9.sha256sum] = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +SRC_URI[js-sys-0.3.65.sha256sum] = "54c0c35952f67de54bb584e9fd912b3023117cbafc0a77d8f3dee1fb5f572fe8" +SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" +SRC_URI[libc-0.2.150.sha256sum] = "89d92a4743f9a61002fae18374ed11e7973f530cb3a3255fb354818118b2203c" +SRC_URI[linux-raw-sys-0.3.8.sha256sum] = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" +SRC_URI[linux-raw-sys-0.4.11.sha256sum] = "969488b55f8ac402214f3f5fd243ebb7206cf82de60d3172994707a4bcc2b829" +SRC_URI[log-0.4.20.sha256sum] = "b5e6163cb8c49088c2c36f57875e58ccd8c87c7427f7fbd50ea6710b2f3f2e8f" +SRC_URI[matches-0.1.10.sha256sum] = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" +SRC_URI[matchit-0.7.3.sha256sum] = "0e7465ac9959cc2b1404e8e2367b43684a6d13790fe23056cc8c6c5a6b7bcb94" +SRC_URI[memchr-2.6.4.sha256sum] = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167" +SRC_URI[memoffset-0.7.1.sha256sum] = "5de893c32cde5f383baa4c04c5d6dbdd735cfd4a794b0debdb2bb1b421da5ff4" +SRC_URI[mime-0.3.17.sha256sum] = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" +SRC_URI[miniz_oxide-0.7.1.sha256sum] = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7" +SRC_URI[mio-0.8.9.sha256sum] = "3dce281c5e46beae905d4de1870d8b1509a9142b62eedf18b443b011ca8343d0" +SRC_URI[mozim-0.2.2.sha256sum] = "0c1c15d0df314be0af498b122169739cc873045e431a0cb1a83564f7459ac491" +SRC_URI[mptcp-pm-0.1.3.sha256sum] = "3eafa8fc63dce407b75e336f9a22f18cf5510a3a5c3a5d83262688eb5cca42d5" +SRC_URI[multimap-0.8.3.sha256sum] = "e5ce46fe64a9d73be07dcbe690a38ce1b293be448fd8ce1e6c1b8062c9f72c6a" +SRC_URI[netlink-packet-core-0.7.0.sha256sum] = "72724faf704479d67b388da142b186f916188505e7e0b26719019c525882eda4" +SRC_URI[netlink-packet-generic-0.3.3.sha256sum] = "1cd7eb8ad331c84c6b8cb7f685b448133e5ad82e1ffd5acafac374af4a5a308b" +SRC_URI[netlink-packet-route-0.18.1.sha256sum] = "dd9ccdfabb457e05c7c61e66eb39262a204fbb376c53968b5e52dce15b423fc5" +SRC_URI[netlink-packet-utils-0.5.2.sha256sum] = "0ede8a08c71ad5a95cdd0e4e52facd37190977039a4704eb82a283f713747d34" +SRC_URI[netlink-proto-0.11.2.sha256sum] = "842c6770fc4bb33dd902f41829c61ef872b8e38de1405aa0b938b27b8fba12c3" +SRC_URI[netlink-sys-0.8.5.sha256sum] = "6471bf08e7ac0135876a9581bf3217ef0333c191c128d34878079f42ee150411" +SRC_URI[nftables-0.3.0.sha256sum] = "71d11bb5c74ea03d97b6eaed2a30a81657d9884152c661d28d44b4d22616b652" +SRC_URI[nispor-1.2.16.sha256sum] = "0c9f198b82210da3f72354fb061ca8b683f274ae137cd6d862758bd9b176d047" +SRC_URI[nix-0.26.4.sha256sum] = "598beaf3cc6fdd9a5dfb1630c2800c7acd31df7aaf0f565796fba2b53ca1af1b" +SRC_URI[nix-0.27.1.sha256sum] = "2eb04e9c688eff1c89d72b407f168cf79bb9e867a9d3323ed6c01519eb9cc053" +SRC_URI[num-traits-0.2.17.sha256sum] = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +SRC_URI[num_cpus-1.16.0.sha256sum] = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43" +SRC_URI[object-0.32.1.sha256sum] = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" +SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +SRC_URI[ordered-float-2.10.1.sha256sum] = "68f19d67e5a2795c94e73e0bb1cc1a7edeb2e28efd39e2e1c9b7a40c1108b11c" +SRC_URI[ordered-stream-0.2.0.sha256sum] = "9aa2b01e1d916879f73a53d01d1d6cee68adbb31d6d9177a8cfce093cced1d50" +SRC_URI[parking-2.2.0.sha256sum] = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +SRC_URI[paste-1.0.14.sha256sum] = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" +SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" +SRC_URI[petgraph-0.6.4.sha256sum] = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" +SRC_URI[pin-project-1.1.3.sha256sum] = "fda4ed1c6c173e3fc7a83629421152e01d7b1f9b7f65fb301e490e8cfc656422" +SRC_URI[pin-project-internal-1.1.3.sha256sum] = "4359fd9c9171ec6e8c62926d6faaf553a8dc3f64e1507e76da7911b4f6a04405" +SRC_URI[pin-project-lite-0.2.13.sha256sum] = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" +SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +SRC_URI[piper-0.2.1.sha256sum] = "668d31b1c4eba19242f2088b2bf3316b82ca31082a8335764db4e083db7485d4" +SRC_URI[polling-2.8.0.sha256sum] = "4b2d323e8ca7996b3e23126511a523f7e62924d93ecd5ae73b333815b0eb3dce" +SRC_URI[polling-3.3.0.sha256sum] = "e53b6af1f60f36f8c2ac2aad5459d75a5a9b4be1e8cdd40264f315d78193e531" +SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" +SRC_URI[prettyplease-0.2.15.sha256sum] = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" +SRC_URI[proc-macro-crate-1.3.1.sha256sum] = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +SRC_URI[proc-macro2-1.0.74.sha256sum] = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db" +SRC_URI[prost-0.12.2.sha256sum] = "5a5a410fc7882af66deb8d01d01737353cf3ad6204c408177ba494291a626312" +SRC_URI[prost-build-0.12.2.sha256sum] = "1fa3d084c8704911bfefb2771be2f9b6c5c0da7343a71e0021ee3c665cada738" +SRC_URI[prost-derive-0.12.2.sha256sum] = "065717a5dfaca4a83d2fe57db3487b311365200000551d7a364e715dbf4346bc" +SRC_URI[prost-types-0.12.2.sha256sum] = "8339f32236f590281e2f6368276441394fcd1b2133b549cc895d0ae80f2f9a52" +SRC_URI[quote-1.0.35.sha256sum] = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" +SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +SRC_URI[redox_syscall-0.4.1.sha256sum] = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" +SRC_URI[regex-1.10.2.sha256sum] = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" +SRC_URI[regex-automata-0.4.3.sha256sum] = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" +SRC_URI[regex-syntax-0.8.2.sha256sum] = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" +SRC_URI[rtnetlink-0.14.0.sha256sum] = "bb5bbb61e037711ff30a3657ec537285b2e1ecb5427e4365d275164f0928c884" +SRC_URI[rustc-demangle-0.1.23.sha256sum] = "d626bb9dae77e28219937af045c257c28bfd3f69333c512553507f5f9798cb76" +SRC_URI[rustix-0.37.27.sha256sum] = "fea8ca367a3a01fe35e6943c400addf443c0f57670e6ec51196f71a4b8762dd2" +SRC_URI[rustix-0.38.28.sha256sum] = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" +SRC_URI[rustversion-1.0.14.sha256sum] = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" +SRC_URI[ryu-1.0.15.sha256sum] = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +SRC_URI[serde-1.0.194.sha256sum] = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773" +SRC_URI[serde-value-0.7.0.sha256sum] = "f3a1a3341211875ef120e117ea7fd5228530ae7e7036a779fdc9117be6b3282c" +SRC_URI[serde_derive-1.0.194.sha256sum] = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0" +SRC_URI[serde_json-1.0.111.sha256sum] = "176e46fa42316f18edd598015a5166857fc835ec732f5215eac6b7bdbf0a84f4" +SRC_URI[serde_path_to_error-0.1.14.sha256sum] = "4beec8bce849d58d06238cb50db2e1c417cfeafa4c63f692b15c82b7c80f8335" +SRC_URI[serde_repr-0.1.17.sha256sum] = "3081f5ffbb02284dda55132aa26daecedd7372a42417bbbab6f14ab7d6bb9145" +SRC_URI[sha1-0.10.6.sha256sum] = "e3bf829a2d51ab4a5ddf1352d8470c140cadc8301b2ae1789db023f01cedd6ba" +SRC_URI[sha2-0.10.8.sha256sum] = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" +SRC_URI[signal-hook-registry-1.4.1.sha256sum] = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" +SRC_URI[slab-0.4.9.sha256sum] = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" +SRC_URI[smallvec-1.11.2.sha256sum] = "4dccd0940a2dcdf68d092b8cbab7dc0ad8fa938bf95787e1b916b0e3d0e8e970" +SRC_URI[socket2-0.4.10.sha256sum] = "9f7916fc008ca5542385b89a3d3ce689953c143e9304a9bf8beec1de48994c0d" +SRC_URI[socket2-0.5.5.sha256sum] = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" +SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" +SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +SRC_URI[strum-0.25.0.sha256sum] = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" +SRC_URI[strum_macros-0.25.3.sha256sum] = "23dc1fa9ac9c169a78ba62f0b841814b7abae11bdd047b9c58f893439e309ea0" +SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +SRC_URI[syn-2.0.46.sha256sum] = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e" +SRC_URI[sync_wrapper-0.1.2.sha256sum] = "2047c6ded9c721764247e62cd3b03c09ffc529b2ba5b10ec482ae507a4a70160" +SRC_URI[sysctl-0.5.5.sha256sum] = "ec7dddc5f0fee506baf8b9fdb989e242f17e4b11c61dfbb0635b705217199eea" +SRC_URI[tempfile-3.9.0.sha256sum] = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" +SRC_URI[thiserror-1.0.50.sha256sum] = "f9a7210f5c9a7156bb50aa36aed4c95afb51df0df00713949448cf9e97d382d2" +SRC_URI[thiserror-impl-1.0.50.sha256sum] = "266b2e40bc00e5a6c09c3584011e08b06f123c00362c92b975ba9843aaaa14b8" +SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50" +SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" +SRC_URI[tokio-1.35.0.sha256sum] = "841d45b238a16291a4e1584e61820b8ae57d696cc5015c459c229ccc6990cc1c" +SRC_URI[tokio-io-timeout-1.2.0.sha256sum] = "30b74022ada614a1b4834de765f9bb43877f910cc8ce4be40e89042c9223a8bf" +SRC_URI[tokio-macros-2.2.0.sha256sum] = "5b8a1e28f2deaa14e508979454cb3a223b10b938b45af148bc0986de36f1923b" +SRC_URI[tokio-stream-0.1.14.sha256sum] = "397c988d37662c7dda6d2208364a706264bf3d6138b11d436cbac0ad38832842" +SRC_URI[tokio-util-0.7.10.sha256sum] = "5419f34732d9eb6ee4c3578b7989078579b7f039cbbb9ca2c4da015749371e15" +SRC_URI[toml_datetime-0.6.5.sha256sum] = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +SRC_URI[toml_edit-0.19.15.sha256sum] = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +SRC_URI[tonic-0.10.2.sha256sum] = "d560933a0de61cf715926b9cac824d4c883c2c43142f787595e48280c40a1d0e" +SRC_URI[tonic-build-0.10.2.sha256sum] = "9d021fc044c18582b9a2408cd0dd05b1596e3ecdb5c4df822bb0183545683889" +SRC_URI[tower-0.4.13.sha256sum] = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" +SRC_URI[tower-layer-0.3.2.sha256sum] = "c20c8dbed6283a09604c3e69b4b7eeb54e298b8a600d4d5ecb5ad39de609f1d0" +SRC_URI[tower-service-0.3.2.sha256sum] = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" +SRC_URI[tracing-0.1.40.sha256sum] = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" +SRC_URI[tracing-attributes-0.1.27.sha256sum] = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" +SRC_URI[tracing-core-0.1.32.sha256sum] = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" +SRC_URI[trust-dns-proto-0.22.0.sha256sum] = "4f7f83d1e4a0e4358ac54c5c3681e5d7da5efc5a7a632c90bb6d6669ddd9bc26" +SRC_URI[try-lock-0.2.4.sha256sum] = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" +SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" +SRC_URI[uds_windows-1.0.2.sha256sum] = "ce65604324d3cce9b966701489fbd0cf318cb1f7bd9dd07ac9a4ee6fb791930d" +SRC_URI[unicode-bidi-0.3.13.sha256sum] = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" +SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921" +SRC_URI[url-2.5.0.sha256sum] = "31e6302e3bb753d46e83516cae55ae196fc0c309407cf11ab35cc51a4c2a4633" +SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a" +SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" +SRC_URI[waker-fn-1.1.1.sha256sum] = "f3c4517f54858c779bbcbf228f4fca63d121bf85fbecb2dc578cdf4a39395690" +SRC_URI[walkdir-2.4.0.sha256sum] = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee" +SRC_URI[want-0.3.1.sha256sum] = "bfa7760aed19e106de2c7c0b581b509f2f25d3dacaf737cb82ac61bc6d760b0e" +SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" +SRC_URI[wasm-bindgen-0.2.88.sha256sum] = "7daec296f25a1bae309c0cd5c29c4b260e510e6d813c286b19eaadf409d40fce" +SRC_URI[wasm-bindgen-backend-0.2.88.sha256sum] = "e397f4664c0e4e428e8313a469aaa58310d302159845980fd23b0f22a847f217" +SRC_URI[wasm-bindgen-macro-0.2.88.sha256sum] = "5961017b3b08ad5f3fe39f1e79877f8ee7c23c5e5fd5eb80de95abc41f1f16b2" +SRC_URI[wasm-bindgen-macro-support-0.2.88.sha256sum] = "c5353b8dab669f5e10f5bd76df26a9360c748f054f862ff5f3f8aae0c7fb3907" +SRC_URI[wasm-bindgen-shared-0.2.88.sha256sum] = "0d046c5d029ba91a1ed14da14dca44b68bf2f124cfbaf741c54151fdb3e0750b" +SRC_URI[which-4.4.2.sha256sum] = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" +SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" +SRC_URI[winapi-util-0.1.6.sha256sum] = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" +SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" +SRC_URI[windows-core-0.51.1.sha256sum] = "f1f8cf84f35d2db49a46868f947758c7a1138116f7fac3bc844f43ade1292e64" +SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" +SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +SRC_URI[windows-targets-0.48.5.sha256sum] = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" +SRC_URI[windows-targets-0.52.0.sha256sum] = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +SRC_URI[windows_aarch64_gnullvm-0.48.5.sha256sum] = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +SRC_URI[windows_aarch64_gnullvm-0.52.0.sha256sum] = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" +SRC_URI[windows_aarch64_msvc-0.48.5.sha256sum] = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +SRC_URI[windows_aarch64_msvc-0.52.0.sha256sum] = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" +SRC_URI[windows_i686_gnu-0.48.5.sha256sum] = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +SRC_URI[windows_i686_gnu-0.52.0.sha256sum] = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" +SRC_URI[windows_i686_msvc-0.48.5.sha256sum] = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +SRC_URI[windows_i686_msvc-0.52.0.sha256sum] = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" +SRC_URI[windows_x86_64_gnu-0.48.5.sha256sum] = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +SRC_URI[windows_x86_64_gnu-0.52.0.sha256sum] = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" +SRC_URI[windows_x86_64_gnullvm-0.48.5.sha256sum] = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +SRC_URI[windows_x86_64_gnullvm-0.52.0.sha256sum] = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" +SRC_URI[windows_x86_64_msvc-0.48.5.sha256sum] = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +SRC_URI[windows_x86_64_msvc-0.52.0.sha256sum] = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" +SRC_URI[winnow-0.5.19.sha256sum] = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" +SRC_URI[xdg-home-1.0.0.sha256sum] = "2769203cd13a0c6015d515be729c526d041e9cf2c0cc478d57faee85f40c6dcd" +SRC_URI[zbus-3.14.1.sha256sum] = "31de390a2d872e4cd04edd71b425e29853f786dc99317ed72d73d6fcf5ebb948" +SRC_URI[zbus_macros-3.14.1.sha256sum] = "41d1794a946878c0e807f55a397187c11fc7a038ba5d868e7db4f3bd7760bc9d" +SRC_URI[zbus_names-2.6.0.sha256sum] = "fb80bb776dbda6e23d705cf0123c3b95df99c4ebeaec6c2599d4a5419902b4a9" +SRC_URI[zvariant-3.15.0.sha256sum] = "44b291bee0d960c53170780af148dca5fa260a63cdd24f1962fa82e03e53338c" +SRC_URI[zvariant_derive-3.15.0.sha256sum] = "934d7a7dfc310d6ee06c87ffe88ef4eca7d3e37bb251dece2ef93da8f17d8ecd" +SRC_URI[zvariant_utils-1.0.1.sha256sum] = "7234f0d811589db492d16893e3f21e8e2fd282e6d01b0cddee310322062cc200" diff --git a/recipes-containers/netavark/netavark_1.10.3.bb b/recipes-containers/netavark/netavark_1.10.3.bb new file mode 100644 index 00000000..b65b73e8 --- /dev/null +++ b/recipes-containers/netavark/netavark_1.10.3.bb @@ -0,0 +1,61 @@ +SUMMARY = "A container network stack" +HOMEPAGE = "https://github.com/containers/netavark" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +SRCREV = "d9f9fdc116ea3ed72a6eb4e59da33bf5d7c60b38" + +# It is possible to fetch the source using the crate fetcher instead: +#SRC_URI = "crate://crates.io/${BPN}/${PV}" +SRC_URI = "git://github.com/containers/netavark.git;protocol=https;branch=v1.10 \ + file://tests.patch \ + file://run-ptest" +require ${BPN}-crates.inc + +S = "${WORKDIR}/git" + +PACKAGECONFIG ?= "aardvark-dns" + +# From the documentation of netavark +# https://github.com/containers/netavark/blob/v1.1.0/DISTRO_PACKAGE.md#dependency-on-aardvark-dns +# The aardvark-dns will be installed by default with netavark, but +# netavark will be functional without it. +PACKAGECONFIG[aardvark-dns]= ",,, aardvark-dns" + +inherit cargo cargo-update-recipe-crates features_check ptest + +# Cargo installs the binary to bin so move it to where podman expects it +do_install:append() { + install -d ${D}${libexecdir} + mv ${D}${bindir} ${D}${libexecdir}/podman +} + +do_install_ptest() { + cp -r ${S}/test ${D}${PTEST_PATH} +} + +# rdepends on aardvark-dns which rdepends on slirp4netns +REQUIRED_DISTRO_FEATURES ?= "seccomp" + + +DEPENDS += "protobuf-c-native protobuf-c" + +# bind-utils is used to install dig +# procps-ps is necessary because the ps from busybox is +# not having the same behavior +# iputils is used because busybox ping behaves differently +RDEPENDS:${PN}-ptest += " \ + bash \ + bats \ + bind-utils \ + coreutils \ + dbus-daemon-proxy \ + iproute2 \ + iputils \ + jq \ + nmap \ + procps-ps \ + util-linux-nsenter \ + util-linux-unshare \ +" diff --git a/recipes-containers/oci-image-spec/oci-image-spec_git.bb b/recipes-containers/oci-image-spec/oci-image-spec_git.bb index 58057408..e5422cec 100644 --- a/recipes-containers/oci-image-spec/oci-image-spec_git.bb +++ b/recipes-containers/oci-image-spec/oci-image-spec_git.bb @@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=27ef03aa2da6e424307f102e8 SRCNAME = "image-spec" PKG_NAME = "github.com/opencontainers/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" +SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" -SRCREV = "bd4f8fcb0979a663d8b97a1d4d9b030b3d2ca1fa" -PV = "v1.0.1+git${SRCPV}" +SRCREV = "9615142d016838b5dfe7453f80af0be74feb5c7c" +PV = "v1.1.0-rc3+git" S = "${WORKDIR}/git" @@ -36,6 +36,6 @@ image_spec_file_sysroot_preprocess () { cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } -FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" +FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" CLEANBROKEN = "1" diff --git a/recipes-containers/oci-image-tools/files/0001-config-make-Config.User-mapping-errors-a-warning.patch b/recipes-containers/oci-image-tools/files/0001-config-make-Config.User-mapping-errors-a-warning.patch index 78d2b9d0..10371af3 100644 --- a/recipes-containers/oci-image-tools/files/0001-config-make-Config.User-mapping-errors-a-warning.patch +++ b/recipes-containers/oci-image-tools/files/0001-config-make-Config.User-mapping-errors-a-warning.patch @@ -7,15 +7,17 @@ Rather than throwing an error if we can't map a user to a uid, output a warning. We aren't actually running the code, but are just extracting it .. so the user not existing isn't an issue. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> --- image/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/import/image/config.go b/src/import/image/config.go +diff --git a/image/config.go b/image/config.go index d28b1bc4fe5f..37dfd1f14ef7 100644 ---- a/src/import/image/config.go -+++ b/src/import/image/config.go +--- a/image/config.go ++++ b/image/config.go @@ -106,7 +106,7 @@ func (c *config) runtimeSpec(rootfs string) (*specs.Spec, error) { s.Process.User.UID = uint32(uid) s.Process.User.GID = uint32(gid) diff --git a/recipes-containers/oci-image-tools/files/0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch b/recipes-containers/oci-image-tools/files/0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch index 7e0b2a11..90337aa4 100644 --- a/recipes-containers/oci-image-tools/files/0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch +++ b/recipes-containers/oci-image-tools/files/0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch @@ -8,15 +8,17 @@ build flags from our environemnt. Otherwise, we'll use the host settings for each and end up with a binary that cannot be run on the target. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -diff --git a/src/import/Makefile b/src/import/Makefile +diff --git a/Makefile b/Makefile index bacb341..1bfe021 100644 ---- a/src/import/Makefile -+++ b/src/import/Makefile +--- a/Makefile ++++ b/Makefile @@ -27,7 +27,7 @@ check-license: .PHONY: tool diff --git a/recipes-containers/oci-image-tools/oci-image-tools_git.bb b/recipes-containers/oci-image-tools/oci-image-tools_git.bb index 676f3cc4..ade6534d 100644 --- a/recipes-containers/oci-image-tools/oci-image-tools_git.bb +++ b/recipes-containers/oci-image-tools/oci-image-tools_git.bb @@ -1,23 +1,14 @@ HOMEPAGE = "https://github.com/opencontainers/image-tools" SUMMARY = "A collection of tools for working with the OCI image format specification" -LICENSE = "Apache-2" -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" - -DEPENDS = "\ - oci-image-spec \ - oci-runtime-spec \ - go-digest \ - go-errors \ - spf13-cobra \ - spf13-pflag \ - " - -SRC_URI = "git://github.com/opencontainers/image-tools.git \ +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" + +SRC_URI = "git://github.com/opencontainers/image-tools.git;branch=master;protocol=https;destsuffix=git/src/github.com/opencontainers/image-tools \ file://0001-config-make-Config.User-mapping-errors-a-warning.patch \ file://0001-tool-respect-GO-and-GOBUILDFLAGS-when-building.patch" -SRCREV = "93db3b16e6738bf9b8bee47d86ac93be5340838b" -PV = "0.2.0-dev+git${SRCPV}" +SRCREV = "11f9988298305d36f64248a6ee55318e60bf170b" +PV = "1.0.0-rc3+git" GO_IMPORT = "import" inherit goarch @@ -27,37 +18,34 @@ inherit go # go package. EXTRA_OEMAKE="BUILDTAGS=''" +S = "${WORKDIR}/git/src/github.com/opencontainers/image-tools" + +COMPATIBLE_HOST:riscv64 = "null" + do_compile() { export GOARCH="${TARGET_GOARCH}" - export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" - # Setup vendor directory so that it can be used in GOPATH. - # - # Go looks in a src directory under any directory in GOPATH but riddler - # uses 'vendor' instead of 'vendor/src'. We can fix this with a symlink. - # - # We also need to link in the ipallocator directory as that is not under - # a src directory. - ln -sfn . "${S}/src/import/vendor/src" - mkdir -p "${S}/src/import/vendor/src/github.com/opencontainers/image-tools/" - ln -sfn "${S}/src/import/image" "${S}/src/import/vendor/src/github.com/opencontainers/image-tools/image" - ln -sfn "${S}/src/import/version" "${S}/src/import/vendor/src/github.com/opencontainers/image-tools/version" - export GOPATH="${S}/src/import/vendor" + export GOROOT="${STAGING_LIBDIR}/go" + export GOPATH="${WORKDIR}/git/" # Pass the needed cflags/ldflags so that cgo # can find the needed headers files and libraries export CGO_ENABLED="1" export CFLAGS="" export LDFLAGS="" - export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - cd ${S}/src/import + export CGO_CFLAGS="${TARGET_CFLAGS}" + export CGO_LDFLAGS="${TARGET_LDFLAGS}" + export GO111MODULE=off + + export GOBUILDFLAGS="-trimpath" + + cd ${S} oe_runmake tool } do_install() { install -d ${D}/${sbindir} - install ${S}/src/import/oci-image-tool ${D}/${sbindir}/ + install ${S}/oci-image-tool ${D}/${sbindir}/ } -INSANE_SKIP_${PN} += "ldflags textrel" +INSANE_SKIP:${PN} += "ldflags textrel" diff --git a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb index c4083c09..6eccb148 100644 --- a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb +++ b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb @@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=b355a61a394a504dacde901c9 SRCNAME = "runtime-spec" PKG_NAME = "github.com/opencontainers/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME}" +SRC_URI = "git://${PKG_NAME};destsuffix=git/src/${PKG_NAME};branch=main;protocol=https" -SRCREV = "78ab98c0761136f84e6e21b24b4dcd0be68ab782" -PV = "v1.0.1+git${SRCPV}" +SRCREV = "720792f25ae6e9ee6b1332db698f37659e69ce8d" +PV = "v1.1.0-rc2+git" S = "${WORKDIR}/git" @@ -36,6 +36,6 @@ runtime_spec_file_sysroot_preprocess () { cp -r ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } -FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" +FILES:${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" CLEANBROKEN = "1" diff --git a/recipes-containers/oci-runtime-tools/files/0001-Revert-implement-add-set-function-for-hooks-items.patch b/recipes-containers/oci-runtime-tools/files/0001-Revert-implement-add-set-function-for-hooks-items.patch index 99a9310b..abfd0dfb 100644 --- a/recipes-containers/oci-runtime-tools/files/0001-Revert-implement-add-set-function-for-hooks-items.patch +++ b/recipes-containers/oci-runtime-tools/files/0001-Revert-implement-add-set-function-for-hooks-items.patch @@ -4,6 +4,9 @@ Date: Wed, 20 Sep 2017 23:28:52 -0400 Subject: [PATCH] Revert "implement add/set function for hooks items" This reverts commit df3a46feb971386f922c7c2c2822b88301f87cb0. + +Upstream-Status: Inappropriate [embedded specific] + --- cmd/oci-runtime-tool/generate.go | 12 ++++++------ generate/generate.go | 42 ++++++---------------------------------- diff --git a/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch b/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch new file mode 100644 index 00000000..06db99fd --- /dev/null +++ b/recipes-containers/oci-runtime-tools/files/0001-build-use-for-cross-compiler.patch @@ -0,0 +1,30 @@ +From b4ad9b2a57d6c736870657c06959ccc44b578f12 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 30 Jun 2020 23:47:08 -0400 +Subject: [PATCH] build: use for cross compiler + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + a/Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/Makefile +=================================================================== +--- oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68.orig/Makefile ++++ oci-runtime-tools-0.9.0+gitAUTOINC+0105384f68/Makefile +@@ -13,11 +13,11 @@ + all: tool runtimetest validation-executables + + tool: +- go build $(BUILD_FLAGS) -o oci-runtime-tool ./cmd/oci-runtime-tool ++ ${GO} build $(BUILD_FLAGS) -o oci-runtime-tool ./cmd/oci-runtime-tool + + .PHONY: runtimetest + runtimetest: +- go build $(STATIC_BUILD_FLAGS) -o runtimetest ./cmd/runtimetest ++ ${GO} build $(STATIC_BUILD_FLAGS) -o runtimetest ./cmd/runtimetest + + .PHONY: man + man: diff --git a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb index adbfc1ef..81bebfe2 100644 --- a/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb +++ b/recipes-containers/oci-runtime-tools/oci-runtime-tools_git.bb @@ -1,51 +1,53 @@ HOMEPAGE = "https://github.com/opencontainers/runtime-tools" SUMMARY = "oci-runtime-tool is a collection of tools for working with the OCI runtime specification" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=b355a61a394a504dacde901c958f662c" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b355a61a394a504dacde901c958f662c" -SRC_URI = "git://github.com/opencontainers/runtime-tools.git \ - file://0001-Revert-implement-add-set-function-for-hooks-items.patch \ +SRC_URI = "git://github.com/opencontainers/runtime-tools.git;branch=master;protocol=https;destsuffix=git/src/github.com/opencontainers/runtime-tools \ + file://0001-build-use-for-cross-compiler.patch \ " -SRCREV = "6e7da8148f4de2c9e9c9d3b345576898d4f412cb" -PV = "0.1.0+git${SRCPV}" +SRCREV = "0105384f68e16803891d0a17d9067b1def6a2778" +PV = "0.9.0+git" GO_IMPORT = "import" -INSANE_SKIP_${PN} += "ldflags textrel" +INSANE_SKIP:${PN} += "ldflags textrel" inherit goarch inherit go +S = "${WORKDIR}/git/src/github.com/opencontainers/runtime-tools" + do_compile() { export GOARCH="${TARGET_GOARCH}" - export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" - export GOPATH="${S}/src/import:${S}/src/import/vendor" + export GOPATH="${WORKDIR}/git/" + export GOROOT="${STAGING_LIBDIR}/go" # Pass the needed cflags/ldflags so that cgo # can find the needed headers files and libraries export CGO_ENABLED="1" export CFLAGS="" export LDFLAGS="" - export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - - # link fixups for compilation - rm -f ${S}/src/import/vendor/src - ln -sf ./ ${S}/src/import/vendor/src - mkdir -p ${S}/src/import/vendor/github.com/opencontainers/runtime-tools - ln -sf ../../../../generate ${S}/src/import/vendor/github.com/opencontainers/runtime-tools/generate - ln -sf ../../../../validate ${S}/src/import/vendor/github.com/opencontainers/runtime-tools/validate - ln -sf ../../../../cmd ${S}/src/import/vendor/github.com/opencontainers/runtime-tools/cmd - ln -sf ../../../../error ${S}/src/import/vendor/github.com/opencontainers/runtime-tools/error - ln -sf ../../../../specerror ${S}/src/import/vendor/github.com/opencontainers/runtime-tools/specerror - cd ${S}/src/import - - oe_runmake + export CGO_CFLAGS="${TARGET_CFLAGS}" + export CGO_LDFLAGS="${TARGET_LDFLAGS}" + export GO111MODULE=off + export GOFLAGS="-mod=vendor" + + # fixes: + # cannot find package runtime/cgo (using -importcfg) + # ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: + # cannot open file : open : no such file or directory + # export GO_BUILD_FLAGS="-a -pkgdir dontusecurrentpkgs" + export EXTRA_FLAGS="-trimpath" + + cd ${S} + + oe_runmake tool } do_install() { install -d ${D}/${sbindir} - install ${S}/src/import/oci-runtime-tool ${D}/${sbindir}/oci-runtime-tool + install ${S}/oci-runtime-tool ${D}/${sbindir}/oci-runtime-tool } deltask compile_ptest_base diff --git a/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch b/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch index 34f0c09e..388eda3d 100644 --- a/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch +++ b/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch @@ -3,6 +3,8 @@ From: Jason Wessel <jason.wessel@windriver.com> Date: Tue, 2 Jul 2019 20:51:08 +0000 Subject: [PATCH] Add additional cgroup mounts from root NS automatically +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Jason Wessel <jason.wessel@windriver.com> --- src/systemdhook.c | 45 +++++++++++++++++++++++++++++++++++++++++++++ diff --git a/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-configure-drop-selinux-support.patch b/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-configure-drop-selinux-support.patch index 510126e4..fc9236b5 100644 --- a/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-configure-drop-selinux-support.patch +++ b/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-configure-drop-selinux-support.patch @@ -3,6 +3,8 @@ From: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Tue, 8 Nov 2016 13:16:19 -0500 Subject: [PATCH] configure: drop selinux support +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> --- configure.ac | 1 - diff --git a/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-selinux-drop-selinux-support.patch b/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-selinux-drop-selinux-support.patch index a3ec57df..d2b19285 100644 --- a/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-selinux-drop-selinux-support.patch +++ b/recipes-containers/oci-systemd-hook/oci-systemd-hook/0001-selinux-drop-selinux-support.patch @@ -3,6 +3,8 @@ From: Bruce Ashfield <bruce.ashfield@windriver.com> Date: Tue, 8 Nov 2016 13:15:46 -0500 Subject: [PATCH] selinux: drop selinux support +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> --- src/systemdhook.c | 12 ------------ diff --git a/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb b/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb index 6734bffe..0d5ce5f5 100644 --- a/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb +++ b/recipes-containers/oci-systemd-hook/oci-systemd-hook_git.bb @@ -1,19 +1,19 @@ DESCRIPTION = "OCI systemd hook enables users to run systemd in docker and OCI" SECTION = "console/utils" -LICENSE = "GPLv3" +LICENSE = "GPL-3.0-only" LIC_FILES_CHKSUM = "file://LICENSE;md5=d32239bcb673463ab874e80d47fae504" PRIORITY = "optional" DEPENDS = "yajl util-linux" SRCREV = "05e692346ca73e022754332a7da641230dae2ffe" -SRC_URI = "git://github.com/projectatomic/oci-systemd-hook \ +SRC_URI = "git://github.com/projectatomic/oci-systemd-hook;branch=master;protocol=https \ file://0001-selinux-drop-selinux-support.patch \ file://0001-configure-drop-selinux-support.patch \ file://0001-Add-additional-cgroup-mounts-from-root-NS-automatica.patch \ " -PV = "0.2.0+git${SRCPV}" +PV = "0.2.0+git" S = "${WORKDIR}/git" inherit autotools pkgconfig @@ -32,5 +32,5 @@ do_install() { oe_runmake 'DESTDIR=${D}' install-exec-am } -FILES_${PN} += "${libexecdir}/oci/hooks.d/" +FILES:${PN} += "${libexecdir}/oci/hooks.d/" diff --git a/recipes-containers/podman-compose/podman-compose_0.1.5.bb b/recipes-containers/podman-compose/podman-compose_0.1.5.bb deleted file mode 100644 index 4015069a..00000000 --- a/recipes-containers/podman-compose/podman-compose_0.1.5.bb +++ /dev/null @@ -1,15 +0,0 @@ -DESCRIPTION = "An implementation of docker-compose with podman backend" -LICENSE = "GPLv2" -LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" - -inherit setuptools3 pypi - -SRC_URI = "git://github.com/containers/podman-compose.git" - -SRCREV = "f008986633879acf3f54848dabbf07cef8e9c68f" - -S = "${WORKDIR}/git" - -DEPENDS += "${PYTHON_PN}-pyyaml-native" - -RDEPENDS_${PN} += "${PYTHON_PN}-pyyaml" diff --git a/recipes-containers/podman-compose/podman-compose_1.0.6.bb b/recipes-containers/podman-compose/podman-compose_1.0.6.bb new file mode 100644 index 00000000..e055ee45 --- /dev/null +++ b/recipes-containers/podman-compose/podman-compose_1.0.6.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "An implementation of docker-compose with podman backend" +LICENSE = "GPL-2.0-only" +LIC_FILES_CHKSUM = "file://LICENSE;md5=b234ee4d69f5fce4486a80fdaf4a4263" + +inherit setuptools3 + +SRC_URI = "git://github.com/containers/podman-compose.git;branch=stable;protocol=https" + +SRCREV = "f6dbce36181c44d0d08b6f4ca166508542875ce1" + +S = "${WORKDIR}/git" + +DEPENDS += "python3-pyyaml-native" + +RDEPENDS:${PN} += "\ + python3-pyyaml \ + python3-dotenv \ +" diff --git a/recipes-containers/podman-tui/README b/recipes-containers/podman-tui/README new file mode 100644 index 00000000..661556c1 --- /dev/null +++ b/recipes-containers/podman-tui/README @@ -0,0 +1,6 @@ + +# to get the graphics to draw: + +a) export LC_ALL="en_CA.UTF-8" +b) don't run under screen + diff --git a/recipes-containers/podman-tui/podman-tui_git.bb b/recipes-containers/podman-tui/podman-tui_git.bb new file mode 100644 index 00000000..210f4f5b --- /dev/null +++ b/recipes-containers/podman-tui/podman-tui_git.bb @@ -0,0 +1,74 @@ +HOMEPAGE = "https://github.com/containers/podman-tui" +SUMMARY = "podman-tui is a Terminal User Interface to interact with podman" +DESCRIPTION = "podman-tui is a Terminal User Interface to interact with the podman v4. \ +podman bindings has been used to communicate with podman environment through rest api API (unix socket). \ + " + +inherit features_check +REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6" + +DEPENDS = " \ + libseccomp \ + libdevmapper \ + lvm2 \ + btrfs-tools \ + gpgme \ + libassuan \ + libgpg-error \ +" + +SRCREV_FORMAT = "podmantui_storage" +SRCREV_podmantui = "b4350927babdaa35fbf50424190683aeb9f5f66f" +SRCREV_storage = "246ba3062e8b551026aef2708eee747014ce5c52" +SRC_URI = " \ + git://github.com/containers/podman-tui;protocol=https;name=podmantui;branch=release-v0.17 \ +" +# Due to some other API changes, we can't directly import containers/storage at +# the right commit, so we instead extract a patch and apply it to the tree +#SRC_URI += "git://github.com/containers/storage;protocol=https;name=storage;branch=release-v0.17;destsuffix=git/src/import/vendor/github.com/containers/storage" + +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" + +GO_IMPORT = "import" + +S = "${WORKDIR}/git" + +PV = "v0.17.0+git" + +PODMAN_PKG = "github.com/containers/podman-tui" + +inherit go goarch +inherit pkgconfig + +COMPATIBLE_HOST = "^(?!mips).*" + +do_configure[noexec] = "1" + +BUILD_TAGS ?= "exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" + +do_compile() { + cd ${S}/src + + rm -rf .gopath + mkdir -p .gopath/src/"$(dirname "${PODMAN_PKG}")" + ln -sf ../../../../import/ .gopath/src/"${PODMAN_PKG}" + + cd ${S}/src/.gopath/src/"${PODMAN_PKG}" + + # Pass the needed cflags/ldflags so that cgo + # can find the needed headers files and libraries + export GOFLAGS="-mod=vendor" + + # oe_runmake BUILDTAGS="${BUILDTAGS}" + ${GO} build -trimpath -tags "$(BUILDTAGS)" ${GO_LDFLAGS} -o bin/podman-tui +} + +do_install() { + cd ${S}/src/.gopath/src/"${PODMAN_PKG}" + + install -d ${D}/${bindir} + install bin/podman-tui ${D}/${bindir}/ +} + +RDEPENDS:${PN} += "podman" diff --git a/recipes-containers/podman/README b/recipes-containers/podman/README new file mode 100644 index 00000000..213ac256 --- /dev/null +++ b/recipes-containers/podman/README @@ -0,0 +1,41 @@ +rootless podman +--------------- + +Basic configuration: + + https://developers.redhat.com/blog/2020/09/25/rootless-containers-with-podman-the-basics# + +% echo "user.max_user_namespaces=28633" > /etc/sysctl.d/userns.conf +% sysctl -p /etc/sysctl.d/userns.conf + +% useradd -c "yocto" yocto +% passwd yocto + +% su - yocto + +% podman pull alpine +% podman run alpine cat /etc/os-release +% podman images +% podman unshare cat /proc/self/uid_map + + +podman system service +--------------- + +The podman system service command creates a listening service that answers API +calls for Podman, it supports systemd socket activation. + +Test with docker-compose (v2): + +To be noticed, docker could NOT be installed together with podman, so +docker-compose should be built as a standalone tool, remove 'docker-plugin' +from its PACKAGECONFIG at build time: + +``` +PACKAGECONFIG:remove:pn-docker-compose = "docker-plugin" +``` + +% sudo systemctl start podman.socket +% git clone https://github.com/docker/awesome-compose.git +% cd awesome-compose/postgresql-pgadmin; source .env +% sudo docker-compose up -d diff --git a/recipes-containers/podman/podman/50-podman-rootless.conf b/recipes-containers/podman/podman/50-podman-rootless.conf new file mode 100644 index 00000000..aaede0e1 --- /dev/null +++ b/recipes-containers/podman/podman/50-podman-rootless.conf @@ -0,0 +1,6 @@ +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: MIT + +# User namespaces are required for rootless containers. +user.max_user_namespaces = 15000 diff --git a/recipes-containers/podman/podman/run-ptest b/recipes-containers/podman/podman/run-ptest new file mode 100644 index 00000000..108ff451 --- /dev/null +++ b/recipes-containers/podman/podman/run-ptest @@ -0,0 +1,13 @@ +#!/bin/sh + +# SPDX-FileCopyrightText: Huawei Inc. +# +# SPDX-License-Identifier: MIT + +# +# Podman system tests +# + +# The system tests don't need any go related variables. Dummy-define them to +# avoid useless warnings/errors. +GOOS=undefined GO=true BUILDTAGS= make localsystem diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb index 5db9ed2f..32de3f0c 100644 --- a/recipes-containers/podman/podman_git.bb +++ b/recipes-containers/podman/podman_git.bb @@ -6,57 +6,63 @@ DESCRIPTION = "Podman is a daemonless container engine for developing, \ `alias docker=podman`. \ " +inherit features_check +REQUIRED_DISTRO_FEATURES ?= "seccomp ipv6" + DEPENDS = " \ go-metalinter-native \ - go-md2man-native \ gpgme \ libseccomp \ ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ + gettext-native \ " -python __anonymous() { - msg = "" - # ERROR: Nothing PROVIDES 'libseccomp' (but meta-virtualization/recipes-containers/podman/ DEPENDS on or otherwise requires it). - # ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. - # Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'podman', 'libseccomp'] - if 'security' not in d.getVar('BBFILE_COLLECTIONS').split(): - msg += "Make sure meta-security should be present as it provides 'libseccomp'" - raise bb.parse.SkipRecipe(msg) -} - -SRCREV = "b7ce1157b00af09f4a09e39b377aa3abff46ee05" +SRCREV = "bb81e85a430fa95d23a15b77c717fd68bf06ebf2" SRC_URI = " \ - git://github.com/containers/libpod.git;branch=master \ + git://github.com/containers/libpod.git;branch=v5.0;protocol=https \ + ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \ + file://run-ptest \ " LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" +LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=3d9b931fa23ab1cacd0087f9e2ee12c0" GO_IMPORT = "import" S = "${WORKDIR}/git" -PV = "1.7.0+git${SRCREV}" +PV = "5.0.1+git" + +CVE_STATUS[CVE-2022-2989] = "fixed-version: fixed since v4.3.0" +CVE_STATUS[CVE-2023-0778] = "fixed-version: fixed since v4.5.0" PACKAGES =+ "${PN}-contrib" PODMAN_PKG = "github.com/containers/libpod" + +BUILDTAGS_EXTRA ?= "${@bb.utils.contains('VIRTUAL-RUNTIME_container_networking','cni','cni','',d)}" BUILDTAGS ?= "seccomp varlink \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)} \ -exclude_graphdriver_btrfs exclude_graphdriver_devicemapper" +exclude_graphdriver_btrfs exclude_graphdriver_devicemapper ${BUILDTAGS_EXTRA}" # overide LDFLAGS to allow podman to build without: "flag provided but not # defined: -Wl,-O1 export LDFLAGS="" +# https://github.com/llvm/llvm-project/issues/53999 +TOOLCHAIN = "gcc" + +# podmans Makefile expects BUILDFLAGS to be set but go.bbclass defines them in GOBUILDFLAGS +export BUILDFLAGS="${GOBUILDFLAGS}" + inherit go goarch -inherit systemd pkgconfig +inherit systemd pkgconfig ptest do_configure[noexec] = "1" EXTRA_OEMAKE = " \ PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir} \ ETCDIR=${sysconfdir} TMPFILESDIR=${nonarch_libdir}/tmpfiles.d \ - SYSTEMDDIR=${systemd_unitdir}/system USERSYSTEMDDIR=${systemd_unitdir}/user \ + SYSTEMDDIR=${systemd_unitdir}/system USERSYSTEMDDIR=${systemd_user_unitdir} \ " # remove 'docker' from the packageconfig if you don't want podman to @@ -78,8 +84,6 @@ do_compile() { cd ${S}/src/.gopath/src/"${PODMAN_PKG}" - oe_runmake cmd/podman/varlink/iopodman.go GO=go - # Pass the needed cflags/ldflags so that cgo # can find the needed headers files and libraries export GOARCH=${TARGET_GOARCH} @@ -87,25 +91,86 @@ do_compile() { export CGO_CFLAGS="${CFLAGS} --sysroot=${STAGING_DIR_TARGET}" export CGO_LDFLAGS="${LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - oe_runmake BUILDTAGS="${BUILDTAGS}" + # podman now builds go-md2man and requires the host/build details + export NATIVE_GOOS=${BUILD_GOOS} + export NATIVE_GOARCH=${BUILD_GOARCH} + + oe_runmake NATIVE_GOOS=${BUILD_GOOS} NATIVE_GOARCH=${BUILD_GOARCH} BUILDTAGS="${BUILDTAGS}" } do_install() { cd ${S}/src/.gopath/src/"${PODMAN_PKG}" + export GOARCH="${BUILD_GOARCH}" + export GOPATH="${S}/src/.gopath" + export GOROOT="${STAGING_DIR_NATIVE}/${nonarch_libdir}/${HOST_SYS}/go" + oe_runmake install DESTDIR="${D}" if ${@bb.utils.contains('PACKAGECONFIG', 'docker', 'true', 'false', d)}; then oe_runmake install.docker DESTDIR="${D}" fi + + # Silence docker emulation warnings. + mkdir -p ${D}/etc/containers + touch ${D}/etc/containers/nodocker + + if ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'true', 'false', d)}; then + install -d "${D}${sysconfdir}/sysctl.d" + install -m 0644 "${WORKDIR}/50-podman-rootless.conf" "${D}${sysconfdir}/sysctl.d" + fi +} + +do_install_ptest () { + cp ${S}/src/import/Makefile ${D}${PTEST_PATH} + install -d ${D}${PTEST_PATH}/test + cp -r ${S}/src/import/test/system ${D}${PTEST_PATH}/test + + # Some compatibility links for the Makefile assumptions. + install -d ${D}${PTEST_PATH}/bin + ln -s ${bindir}/podman ${D}${PTEST_PATH}/bin/podman + ln -s ${bindir}/podman-remote ${D}${PTEST_PATH}/bin/podman-remote } -FILES_${PN} += " \ +FILES:${PN} += " \ ${systemd_unitdir}/system/* \ - ${systemd_unitdir}/user/* \ + ${nonarch_libdir}/systemd/* \ + ${systemd_user_unitdir}/* \ ${nonarch_libdir}/tmpfiles.d/* \ + ${datadir}/user-tmpfiles.d/* \ ${sysconfdir}/cni \ " -RDEPENDS_${PN} += "conmon virtual/runc iptables cni skopeo" -RRECOMMENDS_${PN} += "slirp4netns" -RCONFLICTS_${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" +SYSTEMD_SERVICE:${PN} = "podman.service podman.socket" + +# The other option for this is "busybox", since meta-virt ensures +# that busybox is configured with nsenter +VIRTUAL-RUNTIME_base-utils-nsenter ?= "util-linux-nsenter" + +COMPATIBLE_HOST = "^(?!mips).*" + +RDEPENDS:${PN} += "\ + conmon ${VIRTUAL-RUNTIME_container_runtime} iptables ${VIRTUAL-RUNTIME_container_networking} skopeo ${VIRTUAL-RUNTIME_base-utils-nsenter} \ + ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'fuse-overlayfs slirp4netns', '', d)} \ +" +RRECOMMENDS:${PN} += "slirp4netns \ + kernel-module-xt-masquerade \ + kernel-module-xt-comment \ + kernel-module-xt-mark \ + kernel-module-xt-addrtype \ + kernel-module-xt-conntrack \ + kernel-module-xt-tcpudp \ + " +RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" + +RDEPENDS:${PN}-ptest += " \ + bash \ + bats \ + buildah \ + catatonit \ + coreutils \ + file \ + gnupg \ + jq \ + make \ + tar \ +" diff --git a/recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch b/recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch new file mode 100644 index 00000000..9c6c124c --- /dev/null +++ b/recipes-containers/riddler/files/0001-build-use-to-select-cross-compiler.patch @@ -0,0 +1,53 @@ +From 8ca4391a5954db168d513ba64c3791f63b044fbf Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 30 Jun 2020 23:58:22 -0400 +Subject: [PATCH] build: use to select cross compiler + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + git/Makefile | 10 +++++----- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git git/Makefile git/Makefile +index c6976af..f3c8d17 100644 +--- git/Makefile ++++ git/Makefile +@@ -10,11 +10,11 @@ all: clean build static fmt lint test vet + + build: + @echo "+ $@" +- @go build -tags "$(BUILDTAGS) cgo" . ++ @${GO} build ${GOBUILDFLAGS} -tags "$(BUILDTAGS) cgo" . + + static: + @echo "+ $@" +- CGO_ENABLED=1 go build -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o riddler . ++ CGO_ENABLED=1 ${GO} build ${GOBUILDFLAGS} -tags "$(BUILDTAGS) cgo static_build" -ldflags "-w -extldflags -static" -o riddler . + + fmt: + @echo "+ $@" +@@ -26,11 +26,11 @@ lint: + + test: fmt lint vet + @echo "+ $@" +- @go test -v -tags "$(BUILDTAGS) cgo" $(shell go list ./... | grep -v vendor) ++ @${GO} test -v -tags "$(BUILDTAGS) cgo" $(shell go list ./... | grep -v vendor) + + vet: + @echo "+ $@" +- @go vet $(shell go list ./... | grep -v vendor) ++ @${GO} vet $(shell go list ./... | grep -v vendor) + + clean: + @echo "+ $@" +@@ -38,4 +38,4 @@ clean: + + install: + @echo "+ $@" +- @go install -v . ++ @${GO} install -v . +-- +2.19.1 + diff --git a/recipes-containers/riddler/riddler_git.bb b/recipes-containers/riddler/riddler_git.bb index 08976060..2b2902b5 100644 --- a/recipes-containers/riddler/riddler_git.bb +++ b/recipes-containers/riddler/riddler_git.bb @@ -1,21 +1,24 @@ HOMEPAGE = "https://github.com/jfrazelle/riddler" SUMMARY = "Convert `docker inspect` to opencontainers (OCI compatible) runc spec." LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1" +LIC_FILES_CHKSUM = "file://LICENSE;md5=20ce4c6a4f32d6ee4a68e3a7506db3f1" + +SRC_URI = "git://github.com/jfrazelle/riddler;branch=master;protocol=https;destsuffix=git/src/github.com/jessfraz/riddler \ + file://0001-build-use-to-select-cross-compiler.patch \ + " -SRC_URI = "git://github.com/jfrazelle/riddler;branch=master" SRCREV = "23befa0b232877b5b502b828e24161d801bd67f6" -PV = "0.1.0+git${SRCPV}" -GO_IMPORT = "import" +PV = "0.1.0+git" -S = "${WORKDIR}/git" +S = "${WORKDIR}/git/src/github.com/jessfraz/riddler" +GO_IMPORT = "github.com/jessfraz/riddler" inherit goarch inherit go # In addition to hosts go does not like, we do not build for mips. # -COMPATIBLE_HOST_mipsarch = "null" +COMPATIBLE_HOST:mipsarch = "null" # This disables seccomp and apparmor, which are on by default in the # go package. @@ -23,32 +26,25 @@ EXTRA_OEMAKE="BUILDTAGS=''" do_compile() { export GOARCH="${TARGET_GOARCH}" - export GOROOT="${STAGING_LIBDIR_NATIVE}/${TARGET_SYS}/go" - # Setup vendor directory so that it can be used in GOPATH. - # - # Go looks in a src directory under any directory in GOPATH but riddler - # uses 'vendor' instead of 'vendor/src'. We can fix this with a symlink. - # - # We also need to link in the ipallocator directory as that is not under - # a src directory. - ln -sfn . "${S}/src/import/vendor/src" - mkdir -p "${S}/src/import/vendor/src/github.com/jessfraz/riddler" - ln -sfn "${S}/src/import/parse" "${S}/src/import/vendor/src/github.com/jessfraz/riddler/parse" - export GOPATH="${S}/src/import/vendor" + export GOROOT="${STAGING_LIBDIR}/go" + export GOPATH="${S}/src/import/vendor:${WORKDIR}/git/" # Pass the needed cflags/ldflags so that cgo # can find the needed headers files and libraries export CGO_ENABLED="1" export CFLAGS="" export LDFLAGS="" - export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - cd ${S}/src/import + export CGO_CFLAGS="${TARGET_CFLAGS}" + export CGO_LDFLAGS="${TARGET_LDFLAGS}" + export GO111MODULE=off + export GOBUILDFLAGS="-trimpath" + + cd ${S} oe_runmake static } do_install() { install -d ${D}/${sbindir} - install ${S}/src/import/riddler ${D}/${sbindir}/riddler + install ${S}/riddler ${D}/${sbindir}/riddler } diff --git a/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch index 94cbb4cb..9e5a8313 100644 --- a/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch +++ b/recipes-containers/runc/files/0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch @@ -1,35 +1,28 @@ -From d2c47a973f354ffd505bb4e809c59e57b543726d Mon Sep 17 00:00:00 2001 -From: Chen Qi <Qi.Chen@windriver.com> -Date: Tue, 6 Aug 2019 19:01:45 +0800 +From 0fe50d2ca4517f5e3070585040f35ace413acd44 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 24 Aug 2021 11:38:23 -0400 Subject: [PATCH] Makefile: respect GOBUILDFLAGS for runc and remove recvtty from static +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Chen Qi <Qi.Chen@windriver.com> +[bva: refreshed for release 1.0.2] +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) -diff --git a/Makefile b/Makefile -index 0f26a1c8..a0c6b40b 100644 ---- a/src/import/Makefile -+++ b/src/import/Makefile -@@ -30,7 +30,7 @@ SHELL := $(shell command -v bash 2>/dev/null) - .DEFAULT: runc - - runc: $(SOURCES) -- $(GO) build -buildmode=pie $(EXTRA_FLAGS) -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -tags "$(BUILDTAGS)" -o runc . -+ $(GO) build $(GOBUILDFLAGS) $(EXTRA_FLAGS) -ldflags "-X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -tags "$(BUILDTAGS)" -o runc . - - all: runc recvtty +Index: git/src/import/Makefile +=================================================================== +--- git.orig/src/import/Makefile ++++ git/src/import/Makefile +@@ -24,7 +24,7 @@ + GO_BUILDMODE := "-buildmode=pie" + endif + endif +-GO_BUILD := $(GO) build -trimpath $(GO_BUILDMODE) \ ++GO_BUILD := $(GO) build $(GOBUILDFLAGS) -trimpath $(GO_BUILDMODE) \ + $(EXTRA_FLAGS) -tags "$(BUILDTAGS)" \ + -ldflags "$(LDFLAGS_COMMON) $(EXTRA_LDFLAGS)" -@@ -41,7 +41,6 @@ contrib/cmd/recvtty/recvtty: $(SOURCES) - - static: $(SOURCES) - CGO_ENABLED=1 $(GO) build $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo static_build" -installsuffix netgo -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -o runc . -- CGO_ENABLED=1 $(GO) build $(EXTRA_FLAGS) -tags "$(BUILDTAGS) netgo osusergo static_build" -installsuffix netgo -ldflags "-w -extldflags -static -X main.gitCommit=${COMMIT} -X main.version=${VERSION} $(EXTRA_LDFLAGS)" -o contrib/cmd/recvtty/recvtty ./contrib/cmd/recvtty - - release: - script/release.sh -r release/$(VERSION) -v $(VERSION) --- -2.17.1 - diff --git a/recipes-containers/runc/files/0001-Only-allow-proc-mount-if-it-is-procfs.patch b/recipes-containers/runc/files/0001-Only-allow-proc-mount-if-it-is-procfs.patch deleted file mode 100644 index 5aca99e2..00000000 --- a/recipes-containers/runc/files/0001-Only-allow-proc-mount-if-it-is-procfs.patch +++ /dev/null @@ -1,201 +0,0 @@ -From d75b05441772417a0828465a9483f16287937724 Mon Sep 17 00:00:00 2001 -From: Michael Crosby <crosbymichael@gmail.com> -Date: Mon, 23 Sep 2019 16:45:45 -0400 -Subject: [PATCH] Only allow proc mount if it is procfs - -Fixes #2128 - -This allows proc to be bind mounted for host and rootless namespace usecases but -it removes the ability to mount over the top of proc with a directory. - -```bash -> sudo docker run --rm apparmor -docker: Error response from daemon: OCI runtime create failed: -container_linux.go:346: starting container process caused "process_linux.go:449: -container init caused \"rootfs_linux.go:58: mounting -\\\"/var/lib/docker/volumes/aae28ea068c33d60e64d1a75916cf3ec2dc3634f97571854c9ed30c8401460c1/_data\\\" -to rootfs -\\\"/var/lib/docker/overlay2/a6be5ae911bf19f8eecb23a295dec85be9a8ee8da66e9fb55b47c841d1e381b7/merged\\\" -at \\\"/proc\\\" caused -\\\"\\\\\\\"/var/lib/docker/overlay2/a6be5ae911bf19f8eecb23a295dec85be9a8ee8da66e9fb55b47c841d1e381b7/merged/proc\\\\\\\" -cannot be mounted because it is not of type proc\\\"\"": unknown. - -> sudo docker run --rm -v /proc:/proc apparmor - -docker-default (enforce) root 18989 0.9 0.0 1288 4 ? -Ss 16:47 0:00 sleep 20 -``` - -Signed-off-by: Michael Crosby <crosbymichael@gmail.com> - -Upstream-Status: Backport [https://github.com/opencontainers/runc/pull/2129/commits/331692baa7afdf6c186f8667cb0e6362ea0802b3] - -CVE: CVE-2019-16884 - -Signed-off-by: Chen Qi <Qi.Chen@windriver.com> ---- - libcontainer/container_linux.go | 4 +-- - libcontainer/rootfs_linux.go | 50 +++++++++++++++++++++++-------- - libcontainer/rootfs_linux_test.go | 8 ++--- - 3 files changed, 43 insertions(+), 19 deletions(-) - -diff --git a/libcontainer/container_linux.go b/libcontainer/container_linux.go -index 7e58e5e0..d51e35df 100644 ---- a/src/import/libcontainer/container_linux.go -+++ b/src/import/libcontainer/container_linux.go -@@ -19,7 +19,7 @@ import ( - "syscall" // only for SysProcAttr and Signal - "time" - -- "github.com/cyphar/filepath-securejoin" -+ securejoin "github.com/cyphar/filepath-securejoin" - "github.com/opencontainers/runc/libcontainer/cgroups" - "github.com/opencontainers/runc/libcontainer/configs" - "github.com/opencontainers/runc/libcontainer/intelrdt" -@@ -1160,7 +1160,7 @@ func (c *linuxContainer) makeCriuRestoreMountpoints(m *configs.Mount) error { - if err != nil { - return err - } -- if err := checkMountDestination(c.config.Rootfs, dest); err != nil { -+ if err := checkProcMount(c.config.Rootfs, dest, ""); err != nil { - return err - } - m.Destination = dest -diff --git a/libcontainer/rootfs_linux.go b/libcontainer/rootfs_linux.go -index f13b226e..5650b0ac 100644 ---- a/src/import/libcontainer/rootfs_linux.go -+++ b/src/import/libcontainer/rootfs_linux.go -@@ -13,7 +13,7 @@ import ( - "strings" - "time" - -- "github.com/cyphar/filepath-securejoin" -+ securejoin "github.com/cyphar/filepath-securejoin" - "github.com/mrunalp/fileutils" - "github.com/opencontainers/runc/libcontainer/cgroups" - "github.com/opencontainers/runc/libcontainer/configs" -@@ -197,7 +197,7 @@ func prepareBindMount(m *configs.Mount, rootfs string) error { - if dest, err = securejoin.SecureJoin(rootfs, m.Destination); err != nil { - return err - } -- if err := checkMountDestination(rootfs, dest); err != nil { -+ if err := checkProcMount(rootfs, dest, m.Source); err != nil { - return err - } - // update the mount with the correct dest after symlinks are resolved. -@@ -388,7 +388,7 @@ func mountToRootfs(m *configs.Mount, rootfs, mountLabel string, enableCgroupns b - if dest, err = securejoin.SecureJoin(rootfs, m.Destination); err != nil { - return err - } -- if err := checkMountDestination(rootfs, dest); err != nil { -+ if err := checkProcMount(rootfs, dest, m.Source); err != nil { - return err - } - // update the mount with the correct dest after symlinks are resolved. -@@ -435,12 +435,12 @@ func getCgroupMounts(m *configs.Mount) ([]*configs.Mount, error) { - return binds, nil - } - --// checkMountDestination checks to ensure that the mount destination is not over the top of /proc. -+// checkProcMount checks to ensure that the mount destination is not over the top of /proc. - // dest is required to be an abs path and have any symlinks resolved before calling this function. --func checkMountDestination(rootfs, dest string) error { -- invalidDestinations := []string{ -- "/proc", -- } -+// -+// if source is nil, don't stat the filesystem. This is used for restore of a checkpoint. -+func checkProcMount(rootfs, dest, source string) error { -+ const procPath = "/proc" - // White list, it should be sub directories of invalid destinations - validDestinations := []string{ - // These entries can be bind mounted by files emulated by fuse, -@@ -463,16 +463,40 @@ func checkMountDestination(rootfs, dest string) error { - return nil - } - } -- for _, invalid := range invalidDestinations { -- path, err := filepath.Rel(filepath.Join(rootfs, invalid), dest) -+ path, err := filepath.Rel(filepath.Join(rootfs, procPath), dest) -+ if err != nil { -+ return err -+ } -+ // pass if the mount path is located outside of /proc -+ if strings.HasPrefix(path, "..") { -+ return nil -+ } -+ if path == "." { -+ // an empty source is pasted on restore -+ if source == "" { -+ return nil -+ } -+ // only allow a mount on-top of proc if it's source is "proc" -+ isproc, err := isProc(source) - if err != nil { - return err - } -- if path != "." && !strings.HasPrefix(path, "..") { -- return fmt.Errorf("%q cannot be mounted because it is located inside %q", dest, invalid) -+ // pass if the mount is happening on top of /proc and the source of -+ // the mount is a proc filesystem -+ if isproc { -+ return nil - } -+ return fmt.Errorf("%q cannot be mounted because it is not of type proc", dest) - } -- return nil -+ return fmt.Errorf("%q cannot be mounted because it is inside /proc", dest) -+} -+ -+func isProc(path string) (bool, error) { -+ var s unix.Statfs_t -+ if err := unix.Statfs(path, &s); err != nil { -+ return false, err -+ } -+ return s.Type == unix.PROC_SUPER_MAGIC, nil - } - - func setupDevSymlinks(rootfs string) error { -diff --git a/libcontainer/rootfs_linux_test.go b/libcontainer/rootfs_linux_test.go -index d755984b..1bfe7c66 100644 ---- a/src/import/libcontainer/rootfs_linux_test.go -+++ b/src/import/libcontainer/rootfs_linux_test.go -@@ -10,7 +10,7 @@ import ( - - func TestCheckMountDestOnProc(t *testing.T) { - dest := "/rootfs/proc/sys" -- err := checkMountDestination("/rootfs", dest) -+ err := checkProcMount("/rootfs", dest, "") - if err == nil { - t.Fatal("destination inside proc should return an error") - } -@@ -18,7 +18,7 @@ func TestCheckMountDestOnProc(t *testing.T) { - - func TestCheckMountDestOnProcChroot(t *testing.T) { - dest := "/rootfs/proc/" -- err := checkMountDestination("/rootfs", dest) -+ err := checkProcMount("/rootfs", dest, "/proc") - if err != nil { - t.Fatal("destination inside proc when using chroot should not return an error") - } -@@ -26,7 +26,7 @@ func TestCheckMountDestOnProcChroot(t *testing.T) { - - func TestCheckMountDestInSys(t *testing.T) { - dest := "/rootfs//sys/fs/cgroup" -- err := checkMountDestination("/rootfs", dest) -+ err := checkProcMount("/rootfs", dest, "") - if err != nil { - t.Fatal("destination inside /sys should not return an error") - } -@@ -34,7 +34,7 @@ func TestCheckMountDestInSys(t *testing.T) { - - func TestCheckMountDestFalsePositive(t *testing.T) { - dest := "/rootfs/sysfiles/fs/cgroup" -- err := checkMountDestination("/rootfs", dest) -+ err := checkProcMount("/rootfs", dest, "") - if err != nil { - t.Fatal(err) - } --- -2.17.1 - diff --git a/recipes-containers/runc/runc-docker/0001-runc-Add-console-socket-dev-null.patch b/recipes-containers/runc/runc-docker/0001-runc-Add-console-socket-dev-null.patch index 48c1250d..cb0ddc37 100644 --- a/recipes-containers/runc/runc-docker/0001-runc-Add-console-socket-dev-null.patch +++ b/recipes-containers/runc/runc-docker/0001-runc-Add-console-socket-dev-null.patch @@ -7,16 +7,18 @@ This allows for setting up a detached session where you do not want to set the terminal to false in the config.json. More or less this is a runtime override. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Jason Wessel <jason.wessel@windriver.com> --- utils_linux.go | 5 +++++ 1 file changed, 5 insertions(+) -diff --git a/utils_linux.go b/utils_linux.go -index 8085f7fe..e6d31b35 100644 ---- a/src/import/utils_linux.go -+++ b/src/import/utils_linux.go -@@ -227,6 +227,11 @@ type runner struct { +Index: git/src/import/utils_linux.go +=================================================================== +--- git.orig/src/import/utils_linux.go ++++ git/src/import/utils_linux.go +@@ -267,6 +267,11 @@ } func (r *runner) run(config *specs.Process) (int, error) { @@ -25,9 +27,6 @@ index 8085f7fe..e6d31b35 100644 + r.consoleSocket = "" + config.Terminal = false + } - if err := r.checkTerminal(config); err != nil { - r.destroy() - return -1, err --- -2.11.0 - + var err error + defer func() { + if err != nil { diff --git a/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch b/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch index 0af74952..d3d1134b 100644 --- a/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch +++ b/recipes-containers/runc/runc-docker/0001-runc-docker-SIGUSR1-daemonize.patch @@ -23,6 +23,8 @@ is set. because it was blocking until runc performed everything it was required to perform. +Upstream-Status: Inappropriate [embedded specific] + Signed-off-by: Jason Wessel <jason.wessel@windriver.com> --- signals.go | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++---- @@ -33,15 +35,17 @@ Index: git/src/import/signals.go =================================================================== --- git.orig/src/import/signals.go +++ git/src/import/signals.go -@@ -6,6 +6,7 @@ +@@ -5,7 +5,9 @@ + import ( "os" "os/signal" - "syscall" // only for Signal -+ "strconv" ++ "syscall" // only for Signal ++ "strconv" "github.com/opencontainers/runc/libcontainer" "github.com/opencontainers/runc/libcontainer/system" -@@ -56,9 +57,6 @@ + "github.com/opencontainers/runc/libcontainer/utils" +@@ -55,9 +57,6 @@ func (h *signalHandler) forward(process *libcontainer.Process, tty *tty, detach bool) (int, error) { // make sure we know the pid of our main process so that we can return // after it dies. @@ -51,13 +55,14 @@ Index: git/src/import/signals.go pid1, err := process.Pid() if err != nil { -@@ -68,11 +66,60 @@ +@@ -67,12 +66,61 @@ if h.notifySocket != nil { if detach { - h.notifySocket.run(pid1) + _ = h.notifySocket.run(pid1) - return 0, nil } - go h.notifySocket.run(0) + _ = h.notifySocket.run(os.Getpid()) + go func() { _ = h.notifySocket.run(0) }() } + if (detach) { @@ -117,7 +122,7 @@ Index: git/src/import/utils_linux.go =================================================================== --- git.orig/src/import/utils_linux.go +++ git/src/import/utils_linux.go -@@ -347,7 +347,7 @@ +@@ -345,7 +345,7 @@ if err != nil { r.terminate(process) } @@ -125,4 +130,4 @@ Index: git/src/import/utils_linux.go + if (detach && os.Getenv("SIGUSR1_PARENT_PID") == "") { return 0, nil } - r.destroy() + if err == nil { diff --git a/recipes-containers/runc/runc-docker_git.bb b/recipes-containers/runc/runc-docker_git.bb index 8d810d01..8d078e85 100644 --- a/recipes-containers/runc/runc-docker_git.bb +++ b/recipes-containers/runc/runc-docker_git.bb @@ -2,12 +2,13 @@ include runc.inc # Note: this rev is before the required protocol field, update when all components # have been updated to match. -SRCREV_runc-docker = "425e105d5a03fabd737a126ad93d62a9eeede87f" -SRC_URI = "git://github.com/opencontainers/runc;nobranch=1;name=runc-docker \ +SRCREV_runc-docker = "a9833ff391a71b30069a6c3f816db113379a4346" +SRC_URI = "git://github.com/opencontainers/runc;branch=release-1.1;name=runc-docker;protocol=https \ file://0001-runc-Add-console-socket-dev-null.patch \ file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \ file://0001-runc-docker-SIGUSR1-daemonize.patch \ - file://0001-Only-allow-proc-mount-if-it-is-procfs.patch \ " -RUNC_VERSION = "1.0.0-rc8" +RUNC_VERSION = "1.1.12" + +CVE_PRODUCT = "runc" diff --git a/recipes-containers/runc/runc-opencontainers_git.bb b/recipes-containers/runc/runc-opencontainers_git.bb index 3a7e7aaf..188b8440 100644 --- a/recipes-containers/runc/runc-opencontainers_git.bb +++ b/recipes-containers/runc/runc-opencontainers_git.bb @@ -1,9 +1,12 @@ include runc.inc -SRCREV = "652297c7c7e6c94e8d064ad5916c32891a6fd388" +SRCREV = "a9833ff391a71b30069a6c3f816db113379a4346" SRC_URI = " \ - git://github.com/opencontainers/runc;branch=master \ + git://github.com/opencontainers/runc;branch=release-1.1;protocol=https \ file://0001-Makefile-respect-GOBUILDFLAGS-for-runc-and-remove-re.patch \ - file://0001-Only-allow-proc-mount-if-it-is-procfs.patch \ " -RUNC_VERSION = "1.0.0-rc8" +RUNC_VERSION = "1.1.12" + +CVE_PRODUCT = "runc" + +LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}" diff --git a/recipes-containers/runc/runc.inc b/recipes-containers/runc/runc.inc index 41ea41be..c8e74273 100644 --- a/recipes-containers/runc/runc.inc +++ b/recipes-containers/runc/runc.inc @@ -14,20 +14,31 @@ inherit go inherit goarch inherit pkgconfig -PACKAGECONFIG ??= "static" PACKAGECONFIG[seccomp] = "seccomp,,libseccomp" +PACKAGECONFIG[selinux] = "selinux,,libselinux" # This PACKAGECONFIG serves the purpose of whether building runc as static or not PACKAGECONFIG[static] = "" +PACKAGECONFIG ??= "static \ + ${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)} \ + " + + PROVIDES += "virtual/runc" -RPROVIDES_${PN} = "virtual/runc" +RPROVIDES:${PN} = "virtual-runc" GO_IMPORT = "import" LIBCONTAINER_PACKAGE="github.com/opencontainers/runc/libcontainer" do_configure[noexec] = "1" -EXTRA_OEMAKE="BUILDTAGS='${PACKAGECONFIG_CONFARGS}' GO=${GO}" + + +DISTRO_BUILDTAGS ?= "${@bb.utils.contains('DISTRO_FEATURES', 'seccomp', 'seccomp', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'selinux', 'selinux', '', d)}" + +EXTRA_OEMAKE="BUILDTAGS='${PACKAGECONFIG_CONFARGS} ${DISTRO_BUILDTAGS}' GO=${GO}" do_compile() { # Set GOPATH. See 'PACKAGERS.md'. Don't rely on diff --git a/recipes-containers/singularity/singularity/0001-Use-python3.patch b/recipes-containers/singularity/singularity/0001-Use-python3.patch new file mode 100644 index 00000000..5af21719 --- /dev/null +++ b/recipes-containers/singularity/singularity/0001-Use-python3.patch @@ -0,0 +1,150 @@ +From 758c1edc7bf3d2a023954f4fcc9ddf46fd370272 Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Thu, 21 May 2020 14:14:56 +0200 +Subject: [PATCH] Use python3 + +* without /usr/bin/python this just fails to configure with: + | checking for python... no + | configure: error: Please install python before installing. + | WARNING: exit code 1 from a shell command. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + configure.ac | 6 +++--- + etc/configure_transform.py | 2 +- + libexec/python/helpers/json/add.py | 2 +- + libexec/python/helpers/json/delete.py | 2 +- + libexec/python/helpers/json/dump.py | 2 +- + libexec/python/helpers/json/get.py | 2 +- + libexec/python/helpers/json/inspect.py | 2 +- + libexec/python/import.py | 2 +- + libexec/python/pull.py | 2 +- + libexec/python/shub/api.py | 2 +- + libexec/python/size.py | 2 +- + 11 files changed, 13 insertions(+), 13 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8ffa5ab32..71a1605b2 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -251,15 +251,15 @@ fi + # PYTHON + # --------------------------------------------------------------------- + +-AC_CHECK_PROG(PYTHON_CHECK,python,yes) ++AC_CHECK_PROG(PYTHON_CHECK,python3,yes) + if test x"$PYTHON_CHECK" != x"yes" ; then +- AC_MSG_ERROR([Please install python before installing.]) ++ AC_MSG_ERROR([Please install python3 before installing.]) + else + + PYTHON_MODULES="base64 datetime glob hashlib io itertools json math multiprocessing pickle pwd re shutil signal subprocess stat sys tarfile tempfile time" + for PYTHON_MODULE in $PYTHON_MODULES; do + AC_MSG_CHECKING([for the $PYTHON_MODULE python module]) +- python_module_result=`python -c "import $PYTHON_MODULE" 2>&1` ++ python_module_result=`python3 -c "import $PYTHON_MODULE" 2>&1` + if test -z "$python_module_result"; then + AC_MSG_RESULT([yes]) + else +diff --git a/etc/configure_transform.py b/etc/configure_transform.py +index a1ff5c427..9ec445d21 100755 +--- a/etc/configure_transform.py ++++ b/etc/configure_transform.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + # + # Copyright (c) 2017, SingularityWare, LLC. All rights reserved. + # +diff --git a/libexec/python/helpers/json/add.py b/libexec/python/helpers/json/add.py +index b24aec75a..22abbbeb9 100644 +--- a/libexec/python/helpers/json/add.py ++++ b/libexec/python/helpers/json/add.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/helpers/json/delete.py b/libexec/python/helpers/json/delete.py +index 0975e4e60..07e255228 100644 +--- a/libexec/python/helpers/json/delete.py ++++ b/libexec/python/helpers/json/delete.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/helpers/json/dump.py b/libexec/python/helpers/json/dump.py +index ddba06e4a..37a8edf70 100644 +--- a/libexec/python/helpers/json/dump.py ++++ b/libexec/python/helpers/json/dump.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/helpers/json/get.py b/libexec/python/helpers/json/get.py +index 355be9040..d1d822aea 100644 +--- a/libexec/python/helpers/json/get.py ++++ b/libexec/python/helpers/json/get.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/helpers/json/inspect.py b/libexec/python/helpers/json/inspect.py +index 65772a4ef..61c723495 100644 +--- a/libexec/python/helpers/json/inspect.py ++++ b/libexec/python/helpers/json/inspect.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/import.py b/libexec/python/import.py +index 2ec208417..1c58eda5c 100644 +--- a/libexec/python/import.py ++++ b/libexec/python/import.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/pull.py b/libexec/python/pull.py +index 1cd705c90..4431023f3 100644 +--- a/libexec/python/pull.py ++++ b/libexec/python/pull.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/shub/api.py b/libexec/python/shub/api.py +index 850d167e7..3c8313ad5 100644 +--- a/libexec/python/shub/api.py ++++ b/libexec/python/shub/api.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + +diff --git a/libexec/python/size.py b/libexec/python/size.py +index 34331fd27..99581ce52 100644 +--- a/libexec/python/size.py ++++ b/libexec/python/size.py +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python3 + + ''' + diff --git a/recipes-containers/singularity/singularity/0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch b/recipes-containers/singularity/singularity/0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch new file mode 100644 index 00000000..55ee83e4 --- /dev/null +++ b/recipes-containers/singularity/singularity/0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch @@ -0,0 +1,36 @@ +From 13ee3e016490e74868b64e3a07dcccf9feafebdf Mon Sep 17 00:00:00 2001 +From: Martin Jansa <Martin.Jansa@gmail.com> +Date: Tue, 30 Nov 2021 05:59:06 -0800 +Subject: [PATCH] configure.ac: drop 2nd AM_INIT_AUTOMAKE + +* automake-1.16.5 introduced in oe-core: + https://git.openembedded.org/openembedded-core/commit/?id=851167b3a41b1728407d331c1666827fb730daa1 + doesn't like this after: + http://git.savannah.gnu.org/cgit/automake.git/commit/?id=f4a3a70f69e1dbccb6578f39ef47835098a04624 + + and do_configure fails with: + configure.ac:38: error: AM_INIT_AUTOMAKE expanded multiple times + + There is no point in upstreaming this, because singularity-2.3.1 is very old and + whole autotools support is removed in version 3 (currently 3.8.5) with: + https://github.com/hpcng/singularity/commit/a06e3d13a822080d7a9bc55085ee1bb32026a96e + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> +--- + configure.ac | 7 +++---- + 1 file changed, 3 insertions(+), 4 deletions(-) + +diff --git a/configure.ac b/configure.ac +index 8ffa5ab32..a5a35c43a 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -35,7 +35,6 @@ AC_GNU_SOURCE + AC_PROG_INSTALL + AC_PROG_LIBTOOL + AC_PROG_CC +-AM_INIT_AUTOMAKE + AM_PROG_CC_C_O + AC_ENABLE_SHARED + AC_PROG_LIBTOOL(libtool) diff --git a/recipes-containers/singularity/singularity_git.bb b/recipes-containers/singularity/singularity_git.bb index a2653529..72171b39 100644 --- a/recipes-containers/singularity/singularity_git.bb +++ b/recipes-containers/singularity/singularity_git.bb @@ -1,20 +1,20 @@ # Skip QA check for library symbolic links (core issue is a packaging problem within # Singularity build / config: read up on the dev-so test for more info) -INSANE_SKIP_${PN} += "dev-so" +INSANE_SKIP:${PN} += "dev-so" -RDEPENDS_${PN} += "glibc python3 ca-certificates openssl bash e2fsprogs-mke2fs" -# Singularity expects to find python3 under the name python, therefore both -# cannot be installed at the same time. -RCONFLICTS_${PN} = "python" +RDEPENDS:${PN} += "python3 ca-certificates openssl bash e2fsprogs-mke2fs" -LICENSE = "BSD" +LICENSE = "BSD-3-Clause | Apache-2.0" LIC_FILES_CHKSUM = "file://COPYRIGHT.md;md5=be78c34e483dd7d8439358b1e024b294 \ file://LICENSE-LBNL.md;md5=45a007b527e1a9507aa7fa869f8d7ede \ file://LICENSE.md;md5=df4326b473db6424033f1d98a5645e30 \ file://debian/copyright;md5=ed267cf386d9b75ab1f27f407e935b10" -SRC_URI = "git://github.com/singularityware/singularity.git;protocol=https" -PV = "2.3.1+git${SRCPV}" +SRC_URI = "git://github.com/singularityware/singularity.git;protocol=https;branch=master \ + file://0001-Use-python3.patch \ + file://0001-configure.ac-drop-2nd-AM_INIT_AUTOMAKE.patch \ +" +PV = "2.3.1+git" SRCREV = "e214d4ebf0a1274b1c63b095fd55ae61c7e92947" S = "${WORKDIR}/git" @@ -22,12 +22,7 @@ S = "${WORKDIR}/git" inherit python3native autotools-brokensep EXTRA_OECONF = "--prefix=/usr/local" -pkg_postinst_${PN}() { - # Singularity requires "python" to resolve to "python3" within the commandline. - # This creates a symbolic link from python3 to python. A side-effect of this is - # that scripts which expect Python 2 may fail to run correctly. - ln -sr $D${bindir}/python3 $D${bindir}/python - +pkg_postinst:${PN}() { # python3 expects CA certificates to be installed in a different place to where # they are actually installed. These lines link the two locations. rm -r $D${libdir}/ssl/certs diff --git a/recipes-containers/skopeo/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch b/recipes-containers/skopeo/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch new file mode 100644 index 00000000..5d313e73 --- /dev/null +++ b/recipes-containers/skopeo/files/0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch @@ -0,0 +1,28 @@ +From 7037cb27718fe23541885684fdacec9c52ee0e30 Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Tue, 13 Sep 2022 11:55:45 -0400 +Subject: [PATCH] makefile: add GOBUILDFLAGS to go build call + +We may need to specify things like -trimpath, so add $(GOBUILDFLAGS) +to allow them to be passed from the recipe to the Makefile. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + src/import/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: git/src/import/Makefile +=================================================================== +--- git.orig/Makefile ++++ git/Makefile +@@ -126,7 +126,7 @@ + # Build w/o using containers + .PHONY: bin/skopeo + bin/skopeo: +- $(GO) build ${GO_DYN_FLAGS} ${SKOPEO_LDFLAGS} -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o $@ ./cmd/skopeo ++ $(GO) build $(GOBUILDFLAGS) ${GO_DYN_FLAGS} ${SKOPEO_LDFLAGS} -gcflags "$(GOGCFLAGS)" -tags "$(BUILDTAGS)" -o $@ ./cmd/skopeo + bin/skopeo.%: + GOOS=$(word 2,$(subst ., ,$@)) GOARCH=$(word 3,$(subst ., ,$@)) $(GO) build ${SKOPEO_LDFLAGS} -tags "containers_image_openpgp $(BUILDTAGS)" -o $@ ./cmd/skopeo + local-cross: bin/skopeo.darwin.amd64 bin/skopeo.linux.arm bin/skopeo.linux.arm64 bin/skopeo.windows.386.exe bin/skopeo.windows.amd64.exe diff --git a/recipes-containers/skopeo/files/storage.conf b/recipes-containers/skopeo/files/storage.conf deleted file mode 100644 index 818cfe8f..00000000 --- a/recipes-containers/skopeo/files/storage.conf +++ /dev/null @@ -1,133 +0,0 @@ -# This file is is the configuration file for all tools -# that use the containers/storage library. -# See man 5 containers-storage.conf for more information -# The "container storage" table contains all of the server options. -[storage] - -# Default Storage Driver -driver = "overlay" - -# Temporary storage location -runroot = "/var/run/containers/storage" - -# Primary Read/Write location of container storage -graphroot = "/var/lib/containers/storage" - -[storage.options] -# Storage options to be passed to underlying storage drivers - -# AdditionalImageStores is used to pass paths to additional Read/Only image stores -# Must be comma separated list. -additionalimagestores = [ -] - -# Size is used to set a maximum size of the container image. Only supported by -# certain container storage drivers. -size = "" - -# Path to an helper program to use for mounting the file system instead of mounting it -# directly. -#mount_program = "/usr/bin/fuse-overlayfs" - -# OverrideKernelCheck tells the driver to ignore kernel checks based on kernel version -override_kernel_check = "true" - -# mountopt specifies comma separated list of extra mount options -mountopt = "nodev" - -# Remap-UIDs/GIDs is the mapping from UIDs/GIDs as they should appear inside of -# a container, to UIDs/GIDs as they should appear outside of the container, and -# the length of the range of UIDs/GIDs. Additional mapped sets can be listed -# and will be heeded by libraries, but there are limits to the number of -# mappings which the kernel will allow when you later attempt to run a -# container. -# -# remap-uids = 0:1668442479:65536 -# remap-gids = 0:1668442479:65536 - -# Remap-User/Group is a name which can be used to look up one or more UID/GID -# ranges in the /etc/subuid or /etc/subgid file. Mappings are set up starting -# with an in-container ID of 0 and the a host-level ID taken from the lowest -# range that matches the specified name, and using the length of that range. -# Additional ranges are then assigned, using the ranges which specify the -# lowest host-level IDs first, to the lowest not-yet-mapped container-level ID, -# until all of the entries have been used for maps. -# -# remap-user = "storage" -# remap-group = "storage" - -[storage.options.thinpool] -# Storage Options for thinpool - -# autoextend_percent determines the amount by which pool needs to be -# grown. This is specified in terms of % of pool size. So a value of 20 means -# that when threshold is hit, pool will be grown by 20% of existing -# pool size. -# autoextend_percent = "20" - -# autoextend_threshold determines the pool extension threshold in terms -# of percentage of pool size. For example, if threshold is 60, that means when -# pool is 60% full, threshold has been hit. -# autoextend_threshold = "80" - -# basesize specifies the size to use when creating the base device, which -# limits the size of images and containers. -# basesize = "10G" - -# blocksize specifies a custom blocksize to use for the thin pool. -# blocksize="64k" - -# directlvm_device specifies a custom block storage device to use for the -# thin pool. Required if you setup devicemapper. -# directlvm_device = "" - -# directlvm_device_force wipes device even if device already has a filesystem. -# directlvm_device_force = "True" - -# fs specifies the filesystem type to use for the base device. -# fs="xfs" - -# log_level sets the log level of devicemapper. -# 0: LogLevelSuppress 0 (Default) -# 2: LogLevelFatal -# 3: LogLevelErr -# 4: LogLevelWarn -# 5: LogLevelNotice -# 6: LogLevelInfo -# 7: LogLevelDebug -# log_level = "7" - -# min_free_space specifies the min free space percent in a thin pool require for -# new device creation to succeed. Valid values are from 0% - 99%. -# Value 0% disables -# min_free_space = "10%" - -# mkfsarg specifies extra mkfs arguments to be used when creating the base. -# device. -# mkfsarg = "" - -# use_deferred_removal marks devicemapper block device for deferred removal. -# If the thinpool is in use when the driver attempts to remove it, the driver -# tells the kernel to remove it as soon as possible. Note this does not free -# up the disk space, use deferred deletion to fully remove the thinpool. -# use_deferred_removal = "True" - -# use_deferred_deletion marks thinpool device for deferred deletion. -# If the device is busy when the driver attempts to delete it, the driver -# will attempt to delete device every 30 seconds until successful. -# If the program using the driver exits, the driver will continue attempting -# to cleanup the next time the driver is used. Deferred deletion permanently -# deletes the device and all data stored in device will be lost. -# use_deferred_deletion = "True" - -# xfs_nospace_max_retries specifies the maximum number of retries XFS should -# attempt to complete IO when ENOSPC (no space) error is returned by -# underlying storage device. -# xfs_nospace_max_retries = "0" - -# If specified, use OSTree to deduplicate files with the overlay backend -ostree_repo = "" - -# Set to skip a PRIVATE bind mount on the storage home directory. Only supported by -# certain container storage drivers -skip_mount_home = "false" diff --git a/recipes-containers/skopeo/skopeo_git.bb b/recipes-containers/skopeo/skopeo_git.bb index f5a62313..5083b658 100644 --- a/recipes-containers/skopeo/skopeo_git.bb +++ b/recipes-containers/skopeo/skopeo_git.bb @@ -1,39 +1,46 @@ HOMEPAGE = "https://github.com/containers/skopeo" SUMMARY = "Work with remote images registries - retrieving information, images, signing content" LICENSE = "Apache-2.0" -LIC_FILES_CHKSUM = "file://src/import/LICENSE;md5=7e611105d3e369954840a6668c438584" +LIC_FILES_CHKSUM = "file://LICENSE;md5=7e611105d3e369954840a6668c438584" DEPENDS = " \ gpgme \ - multipath-tools \ + libdevmapper \ + lvm2 \ btrfs-tools \ glib-2.0 \ - ostree \ " inherit go -RDEPENDS_${PN} = " \ +COMPATIBLE_HOST = "^(?!mips).*" + +RDEPENDS:${PN} = " \ gpgme \ libgpg-error \ libassuan \ " SRC_URI = " \ - git://github.com/containers/skopeo \ - file://storage.conf \ - file://registries.conf \ + git://github.com/containers/skopeo;branch=release-1.14;protocol=https;destsuffix=git/src/github.com/containers/skopeo \ + file://0001-makefile-add-GOBUILDFLAGS-to-go-build-call.patch \ " -SRCREV = "1cf1e06582142c522543560f2bc6d6756696e8ad" -PV = "v0.1.39-dev+git${SRCPV}" +SRCREV = "1c2ab995059dd011aad74e2c37305d636ebd2675" +PV = "v1.14.2+git" GO_IMPORT = "import" -S = "${WORKDIR}/git" +S = "${WORKDIR}/git/src/github.com/containers/skopeo" inherit goarch inherit pkgconfig +inherit container-host + +# https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10214 +# https://github.com/containers/image/issues/654 +CVE_STATUS[CVE-2019-10214] = "fixed-version: This CVE was fixed in the container image go library skopeo is using." + # This disables seccomp and apparmor, which are on by default in the # go package. EXTRA_OEMAKE="BUILDTAGS=''" @@ -41,40 +48,44 @@ EXTRA_OEMAKE="BUILDTAGS=''" do_compile() { export GOARCH="${TARGET_GOARCH}" - # Setup vendor directory so that it can be used in GOPATH. - # - # Go looks in a src directory under any directory in GOPATH but riddler - # uses 'vendor' instead of 'vendor/src'. We can fix this with a symlink. - # - # We also need to link in the ipallocator directory as that is not under - # a src directory. - ln -sfn . "${S}/src/import/vendor/src" - mkdir -p "${S}/src/import/vendor/src/github.com/projectatomic/skopeo" - ln -sfn "${S}/src/import/skopeo" "${S}/src/import/vendor/src/github.com/projectatomic/skopeo" - ln -sfn "${S}/src/import/version" "${S}/src/import/vendor/src/github.com/projectatomic/skopeo/version" - export GOPATH="${S}/src/import/vendor" + export GOPATH="${S}/src/import/.gopath:${S}/src/import/vendor:${STAGING_DIR_TARGET}/${prefix}/local/go:${WORKDIR}/git/" + cd ${S} # Pass the needed cflags/ldflags so that cgo # can find the needed headers files and libraries export CGO_ENABLED="1" export CFLAGS="" export LDFLAGS="" - export CGO_CFLAGS="${BUILDSDK_CFLAGS} --sysroot=${STAGING_DIR_TARGET}" - export CGO_LDFLAGS="${BUILDSDK_LDFLAGS} --sysroot=${STAGING_DIR_TARGET}" - cd ${S}/src/import + export CGO_CFLAGS="${TARGET_CFLAGS}" + export CGO_LDFLAGS="${TARGET_LDFLAGS}" - oe_runmake binary-local + export GO111MODULE=off + export GOBUILDFLAGS="-trimpath" + export EXTRA_LDFLAGS="-s -w" + + oe_runmake bin/skopeo } do_install() { install -d ${D}/${sbindir} install -d ${D}/${sysconfdir}/containers - install ${S}/src/import/skopeo ${D}/${sbindir}/ - install ${S}/src/import/default-policy.json ${D}/${sysconfdir}/containers/policy.json + install ${S}/bin/skopeo ${D}/${sbindir}/ +} - install ${WORKDIR}/storage.conf ${D}/${sysconfdir}/containers/storage.conf - install ${WORKDIR}/registries.conf ${D}/${sysconfdir}/containers/registries.conf +do_install:append:class-native() { + create_cmdline_wrapper ${D}/${sbindir}/skopeo \ + --policy ${sysconfdir}/containers/policy.json + + create_wrapper ${D}/${sbindir}/skopeo.real \ + LD_LIBRARY_PATH=${STAGING_LIBDIR_NATIVE} +} + +do_install:append:class-nativesdk() { + create_cmdline_wrapper ${D}/${sbindir}/skopeo \ + --policy ${sysconfdir}/containers/policy.json } -INSANE_SKIP_${PN} += "ldflags" +INSANE_SKIP:${PN} += "ldflags already-stripped" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-containers/sloci-image/sloci-image-native_git.bb b/recipes-containers/sloci-image/sloci-image-native_git.bb deleted file mode 100644 index 56e8e0f1..00000000 --- a/recipes-containers/sloci-image/sloci-image-native_git.bb +++ /dev/null @@ -1,22 +0,0 @@ -SUMMARY = "A simple CLI tool for packing rootfs into a single-layer OCI image" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://git/LICENSE;md5=948cd8e59069fad992b0469af9ad7966" -SRC_URI = "git://github.com/jirutka/sloci-image.git" - -DEPENDS = "" - -SRCREV = "4015e49763e5a738026a5bbfcf32b38b5a4fa650" -PV = "v0.1.0+git${SRCPV}" - -inherit native - -S = "${WORKDIR}" - -do_compile() { - : -} - -do_install() { - cd ${S}/git - make PREFIX="${exec_prefix}" DESTDIR=${D} install -} diff --git a/recipes-containers/sloci-image/sloci-image/0001-sloci-image-fix-variant-quoting.patch b/recipes-containers/sloci-image/sloci-image/0001-sloci-image-fix-variant-quoting.patch new file mode 100644 index 00000000..85aa6205 --- /dev/null +++ b/recipes-containers/sloci-image/sloci-image/0001-sloci-image-fix-variant-quoting.patch @@ -0,0 +1,44 @@ +From 55aebd87ee81f851d088beea8688e3e599c2bced Mon Sep 17 00:00:00 2001 +From: Bruce Ashfield <bruce.ashfield@gmail.com> +Date: Fri, 17 Jul 2020 14:40:12 -0400 +Subject: [PATCH] sloci-image: fix variant quoting + +Bash doesn't deal very well with the quoted "variant" in the +output of the oci-image-index. We can calculate the string at +the top of the function, and just use it as a whole to avoid +needing to figure out the quote escaping. + +No changes in the output, except a properly quoted "variant" +when a variant is defined. + +Upstream-Status: Inappropriate [embedded specific] + +Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com> +--- + sloci-image | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/sloci-image b/sloci-image +index be8e79a..e0dc469 100755 +--- a/sloci-image ++++ b/sloci-image +@@ -298,6 +298,7 @@ oci_image_config() { + # $1: digest of the image manifest json (must be in blobs directory) + oci_image_index() { + local manifest_digest="$1" ++ local variant_string=" \"variant\": $(json_string "$CFG_ARCH_VARIANT")," + + cat <<-EOF + { +@@ -309,7 +310,7 @@ oci_image_index() { + "digest": "$manifest_digest", + "platform": { + "architecture": "$(oci_arch $CFG_ARCH)", +- ${CFG_ARCH_VARIANT:+"\"variant\": $(json_string "$CFG_ARCH_VARIANT"),"} ++ ${CFG_ARCH_VARIANT:+$variant_string} + "os": "$CFG_OS" + }, + "annotations": { +-- +2.19.1 + diff --git a/recipes-containers/sloci-image/sloci-image_git.bb b/recipes-containers/sloci-image/sloci-image_git.bb new file mode 100644 index 00000000..4bbf06e2 --- /dev/null +++ b/recipes-containers/sloci-image/sloci-image_git.bb @@ -0,0 +1,27 @@ +SUMMARY = "A simple CLI tool for packing rootfs into a single-layer OCI image" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=948cd8e59069fad992b0469af9ad7966" +SRC_URI = "git://github.com/jirutka/sloci-image.git;branch=master;protocol=https \ + file://0001-sloci-image-fix-variant-quoting.patch \ + " + + +DEPENDS = "" + +SRCREV = "4015e49763e5a738026a5bbfcf32b38b5a4fa650" +PV = "v0.1.0+git" + +S = "${WORKDIR}/git" + +do_compile() { + : +} + +do_install() { + cd ${S} + make PREFIX="${exec_prefix}" DESTDIR=${D} install +} + +CLEANBROKEN = "1" + +BBCLASSEXTEND = "native nativesdk" diff --git a/recipes-containers/tini/tini/0001-tini.c-a-function-declaration-without-a-prototype-is.patch b/recipes-containers/tini/tini/0001-tini.c-a-function-declaration-without-a-prototype-is.patch new file mode 100644 index 00000000..8834f175 --- /dev/null +++ b/recipes-containers/tini/tini/0001-tini.c-a-function-declaration-without-a-prototype-is.patch @@ -0,0 +1,74 @@ +From 66d0b5fd94fafe1e15bf21a1b73618ca23de078f Mon Sep 17 00:00:00 2001 +From: Jose Quaresma <jose.quaresma@foundries.io> +Date: Fri, 23 Sep 2022 16:31:33 +0000 +Subject: [PATCH] tini.c: a function declaration without a prototype is + deprecated in all versions of C + +| /srv/oe/build/tmp-lmp/work/corei7-64-lmp-linux/tini/0.19.0-r0/git/src/tini.c:150:18: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] +| int isolate_child() { +| ^ +| void +| /srv/oe/build/tmp-lmp/work/corei7-64-lmp-linux/tini/0.19.0-r0/git/src/tini.c:395:14: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] +| int parse_env() { +| ^ +| void +| /srv/oe/build/tmp-lmp/work/corei7-64-lmp-linux/tini/0.19.0-r0/git/src/tini.c:416:24: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] +| int register_subreaper () { +| ^ +| void +| /srv/oe/build/tmp-lmp/work/corei7-64-lmp-linux/tini/0.19.0-r0/git/src/tini.c:434:19: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] +| void reaper_check () { +| ^ +| void +| 4 errors generated. + +Upstream-Status: Submitted [https://github.com/krallin/tini/pull/198] + +Signed-off-by: Jose Quaresma <jose.quaresma@foundries.io> +--- + src/tini.c | 8 ++++---- + 1 file changed, 4 insertions(+), 4 deletions(-) + +diff --git a/src/tini.c b/src/tini.c +index 2c873f9..7914d3a 100644 +--- a/src/tini.c ++++ b/src/tini.c +@@ -147,7 +147,7 @@ int restore_signals(const signal_configuration_t* const sigconf_ptr) { + return 0; + } + +-int isolate_child() { ++int isolate_child(void) { + // Put the child into a new process group. + if (setpgid(0, 0) < 0) { + PRINT_FATAL("setpgid failed: %s", strerror(errno)); +@@ -392,7 +392,7 @@ int parse_args(const int argc, char* const argv[], char* (**child_args_ptr_ptr)[ + return 0; + } + +-int parse_env() { ++int parse_env(void) { + #if HAS_SUBREAPER + if (getenv(SUBREAPER_ENV_VAR) != NULL) { + subreaper++; +@@ -413,7 +413,7 @@ int parse_env() { + + + #if HAS_SUBREAPER +-int register_subreaper () { ++int register_subreaper (void) { + if (subreaper > 0) { + if (prctl(PR_SET_CHILD_SUBREAPER, 1)) { + if (errno == EINVAL) { +@@ -431,7 +431,7 @@ int register_subreaper () { + #endif + + +-void reaper_check () { ++void reaper_check (void) { + /* Check that we can properly reap zombies */ + #if HAS_SUBREAPER + int bit = 0; +-- +2.34.1 + diff --git a/recipes-containers/tini/tini_0.18.0.bb b/recipes-containers/tini/tini_0.19.0.bb index 373d886a..fd90f620 100644 --- a/recipes-containers/tini/tini_0.18.0.bb +++ b/recipes-containers/tini/tini_0.19.0.bb @@ -4,10 +4,11 @@ DESCRIPTION = "Tini is the simplest init you could think of. All Tini does is \ spawn a single child (Tini is meant to be run in a container), and wait for \ it to exit all the while reaping zombies and performing signal forwarding. " -SRCREV = "fec3683b971d9c3ef73f284f176672c44b448662" +SRCREV = "b9f42a0e7bb46efea0c9e3d8610c96ab53b467f8" SRC_URI = " \ - git://github.com/krallin/tini.git \ + git://github.com/krallin/tini.git;branch=master;protocol=https \ file://0001-Do-not-strip-the-output-binary-allow-yocto-to-do-thi.patch \ + file://0001-tini.c-a-function-declaration-without-a-prototype-is.patch \ " LICENSE = "MIT" @@ -18,7 +19,7 @@ S = "${WORKDIR}/git" BBCLASSEXTEND = "native" # tini links with -static, so no PIE for us -SECURITY_CFLAGS_pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" +SECURITY_CFLAGS:pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" inherit cmake @@ -29,4 +30,4 @@ do_install() { # Tini is the currently the provider for docker-init PROVIDES += "docker-init" -RPROVIDES_${PN} = "docker-init" +RPROVIDES:${PN} = "docker-init" diff --git a/recipes-containers/umoci/umoci_git.bb b/recipes-containers/umoci/umoci_git.bb new file mode 100644 index 00000000..2ed0af7d --- /dev/null +++ b/recipes-containers/umoci/umoci_git.bb @@ -0,0 +1,85 @@ +HOMEPAGE = "https://github.com/openSUSE/umoci" +SUMMARY = "umoci modifies Open Container images" +LICENSE = "Apache-2.0" +LIC_FILES_CHKSUM = "file://COPYING;md5=3b83ef96387f14655fc854ddc3c6bd57" + +RDEPENDS:${PN} = "skopeo" +RDEPENDS:${PN}:class-native = "" + +SRCREV_umoci = "33ec00665c66321f1b1f34ca7e6f370ac35c1233" +SRC_URI = "git://github.com/opencontainers/umoci.git;branch=main;name=umoci;destsuffix=github.com/opencontainers/umoci;protocol=https \ + " + +PV = "v0.4.7+git" +S = "${WORKDIR}/github.com/opencontainers/umoci" +GO_IMPORT = "github.com/opencontainers/umoci" + +inherit goarch +inherit go + +COMPATIBLE_HOST = "^(?!mips).*" + +# This disables seccomp and apparmor, which are on by default in the +# go package. +EXTRA_OEMAKE="BUILDTAGS=''" + + +do_compile:class-native () { + export GOARCH="${BUILD_GOARCH}" + + # Pass the needed cflags/ldflags so that cgo can find the needed headers files and libraries + export CGO_ENABLED="1" + export CFLAGS="${BUILD_CFLAGS}" + export LDFLAGS="${BUILD_LDFLAGS}" + export CGO_CFLAGS="${BUILD_CFLAGS}" + + # as of go 1.15.5, there are some flags the CGO doesn't like. Rather than + # clearing them all, we sed away the ones we don't want. + # export CGO_LDFLAGS="$(echo ${BUILD_LDFLAGS} | sed 's/-Wl,-O1//g' | sed 's/-Wl,--dynamic-linker.*?( \|$\)//g')" + export CC="${BUILD_CC}" + export LD="${BUILD_LD}" + + export GOPATH="${WORKDIR}/git/" + export GO111MODULE=off + + export STATIC_BUILD_FLAGS="-trimpath" + + cd ${S} + + # why static ? patchelf will be run on dynamic binaries and it breaks + # the executable (coredump) + # https://forum.snapcraft.io/t/patchelf-broke-my-binary/4928 + # https://github.com/NixOS/patchelf/issues/146 + oe_runmake umoci.static + + # so the common install can find our binary + cp umoci.static umoci +} + +do_compile() { + export GOARCH="${TARGET_GOARCH}" + export GOPATH="${WORKDIR}/git/" + + # Pass the needed cflags/ldflags so that cgo + # can find the needed headers files and libraries + export CGO_ENABLED="1" + export CFLAGS="" + export LDFLAGS="" + export CGO_CFLAGS="${TARGET_CFLAGS}" + export CGO_LDFLAGS="${TARGET_LDFLAGS}" + + export GO111MODULE=off + + export BUILD_FLAGS="-trimpath" + cd ${S} + + oe_runmake umoci +} + +do_install() { + install -d ${D}/${sbindir} + install ${S}/umoci ${D}/${sbindir} +} + +INSANE_SKIP:${PN} += "ldflags already-stripped" +BBCLASSEXTEND = "native nativesdk" |