| # third_party external repositories |
| |
| github_repository = use_repo_rule("//build/github_repository:def.bzl", "github_repository") |
| |
| github_repository( |
| name = "edk2", |
| build_file = "//third_party/edk2:edk2.bzl", |
| integrity = "sha256-AbL7G1i/RNxE8U4vibfQKYaf9cHa4XCOjiO2AHQ8DVc=", |
| owner = "tianocore", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/edk2/patches:disable-werror.patch", |
| "//third_party/edk2/patches:remove-brotli-build.patch", |
| ], |
| ref = "fbe0805b2091393406952e84724188f8c1941837", # stable202502 |
| repo = "edk2", |
| submodule_info = { |
| "CryptoPkg/Library/OpensslLib/openssl": "{\"name\":\"openssl\",\"path\":\"CryptoPkg\\/Library\\/OpensslLib\\/openssl\",\"sha\":\"98acb6b02839c609ef5b837794e08d906d965335\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/CryptoPkg\\/Library\\/OpensslLib\\/openssl?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/openssl\\/openssl\\/tree\\/98acb6b02839c609ef5b837794e08d906d965335\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/openssl\\/openssl\\/git\\/trees\\/98acb6b02839c609ef5b837794e08d906d965335\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/openssl\\/openssl\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/CryptoPkg\\/Library\\/OpensslLib\\/openssl?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/openssl\\/openssl\\/git\\/trees\\/98acb6b02839c609ef5b837794e08d906d965335\",\"html\":\"https:\\/\\/github.com\\/openssl\\/openssl\\/tree\\/98acb6b02839c609ef5b837794e08d906d965335\"}}", |
| "UnitTestFrameworkPkg/Library/CmockaLib/cmocka": "{\"name\":\"cmocka\",\"path\":\"UnitTestFrameworkPkg\\/Library\\/CmockaLib\\/cmocka\",\"sha\":\"1cc9cde3448cdd2e000886a26acf1caac2db7cf1\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/UnitTestFrameworkPkg\\/Library\\/CmockaLib\\/cmocka?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/tianocore\\/edk2-cmocka\\/tree\\/1cc9cde3448cdd2e000886a26acf1caac2db7cf1\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2-cmocka\\/git\\/trees\\/1cc9cde3448cdd2e000886a26acf1caac2db7cf1\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/tianocore\\/edk2-cmocka.git\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/UnitTestFrameworkPkg\\/Library\\/CmockaLib\\/cmocka?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2-cmocka\\/git\\/trees\\/1cc9cde3448cdd2e000886a26acf1caac2db7cf1\",\"html\":\"https:\\/\\/github.com\\/tianocore\\/edk2-cmocka\\/tree\\/1cc9cde3448cdd2e000886a26acf1caac2db7cf1\"}}", |
| "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma": "{\"name\":\"oniguruma\",\"path\":\"MdeModulePkg\\/Universal\\/RegularExpressionDxe\\/oniguruma\",\"sha\":\"abfc8ff81df4067f309032467785e06975678f0d\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdeModulePkg\\/Universal\\/RegularExpressionDxe\\/oniguruma?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/kkos\\/oniguruma\\/tree\\/abfc8ff81df4067f309032467785e06975678f0d\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/kkos\\/oniguruma\\/git\\/trees\\/abfc8ff81df4067f309032467785e06975678f0d\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/kkos\\/oniguruma\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdeModulePkg\\/Universal\\/RegularExpressionDxe\\/oniguruma?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/kkos\\/oniguruma\\/git\\/trees\\/abfc8ff81df4067f309032467785e06975678f0d\",\"html\":\"https:\\/\\/github.com\\/kkos\\/oniguruma\\/tree\\/abfc8ff81df4067f309032467785e06975678f0d\"}}", |
| "MdeModulePkg/Library/BrotliCustomDecompressLib/brotli": "{\"name\":\"brotli\",\"path\":\"MdeModulePkg\\/Library\\/BrotliCustomDecompressLib\\/brotli\",\"sha\":\"f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdeModulePkg\\/Library\\/BrotliCustomDecompressLib\\/brotli?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/google\\/brotli\\/tree\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/google\\/brotli\\/git\\/trees\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/google\\/brotli\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdeModulePkg\\/Library\\/BrotliCustomDecompressLib\\/brotli?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/google\\/brotli\\/git\\/trees\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"html\":\"https:\\/\\/github.com\\/google\\/brotli\\/tree\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\"}}", |
| "BaseTools/Source/C/BrotliCompress/brotli": "{\"name\":\"brotli\",\"path\":\"BaseTools\\/Source\\/C\\/BrotliCompress\\/brotli\",\"sha\":\"f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/BaseTools\\/Source\\/C\\/BrotliCompress\\/brotli?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/google\\/brotli\\/tree\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/google\\/brotli\\/git\\/trees\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/google\\/brotli\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/BaseTools\\/Source\\/C\\/BrotliCompress\\/brotli?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/google\\/brotli\\/git\\/trees\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\",\"html\":\"https:\\/\\/github.com\\/google\\/brotli\\/tree\\/f4153a09f87cbb9c826d8fc12c74642bb2d879ea\"}}", |
| "RedfishPkg/Library/JsonLib/jansson": "{\"name\":\"jansson\",\"path\":\"RedfishPkg\\/Library\\/JsonLib\\/jansson\",\"sha\":\"e9ebfa7e77a6bee77df44e096b100e7131044059\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/RedfishPkg\\/Library\\/JsonLib\\/jansson?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/akheron\\/jansson\\/tree\\/e9ebfa7e77a6bee77df44e096b100e7131044059\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/akheron\\/jansson\\/git\\/trees\\/e9ebfa7e77a6bee77df44e096b100e7131044059\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/akheron\\/jansson\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/RedfishPkg\\/Library\\/JsonLib\\/jansson?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/akheron\\/jansson\\/git\\/trees\\/e9ebfa7e77a6bee77df44e096b100e7131044059\",\"html\":\"https:\\/\\/github.com\\/akheron\\/jansson\\/tree\\/e9ebfa7e77a6bee77df44e096b100e7131044059\"}}", |
| "UnitTestFrameworkPkg/Library/GoogleTestLib/googletest": "{\"name\":\"googletest\",\"path\":\"UnitTestFrameworkPkg\\/Library\\/GoogleTestLib\\/googletest\",\"sha\":\"86add13493e5c881d7e4ba77fb91c1f57752b3a4\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/UnitTestFrameworkPkg\\/Library\\/GoogleTestLib\\/googletest?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/google\\/googletest\\/tree\\/86add13493e5c881d7e4ba77fb91c1f57752b3a4\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/google\\/googletest\\/git\\/trees\\/86add13493e5c881d7e4ba77fb91c1f57752b3a4\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/google\\/googletest.git\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/UnitTestFrameworkPkg\\/Library\\/GoogleTestLib\\/googletest?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/google\\/googletest\\/git\\/trees\\/86add13493e5c881d7e4ba77fb91c1f57752b3a4\",\"html\":\"https:\\/\\/github.com\\/google\\/googletest\\/tree\\/86add13493e5c881d7e4ba77fb91c1f57752b3a4\"}}", |
| "UnitTestFrameworkPkg/Library/SubhookLib/subhook": "{\"name\":\"subhook\",\"path\":\"UnitTestFrameworkPkg\\/Library\\/SubhookLib\\/subhook\",\"sha\":\"83d4e1ebef3588fae48b69a7352cc21801cb70bc\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/UnitTestFrameworkPkg\\/Library\\/SubhookLib\\/subhook?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/tianocore\\/edk2-subhook\\/tree\\/83d4e1ebef3588fae48b69a7352cc21801cb70bc\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2-subhook\\/git\\/trees\\/83d4e1ebef3588fae48b69a7352cc21801cb70bc\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/tianocore\\/edk2-subhook.git\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/UnitTestFrameworkPkg\\/Library\\/SubhookLib\\/subhook?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2-subhook\\/git\\/trees\\/83d4e1ebef3588fae48b69a7352cc21801cb70bc\",\"html\":\"https:\\/\\/github.com\\/tianocore\\/edk2-subhook\\/tree\\/83d4e1ebef3588fae48b69a7352cc21801cb70bc\"}}", |
| "MdePkg/Library/BaseFdtLib/libfdt": "{\"name\":\"libfdt\",\"path\":\"MdePkg\\/Library\\/BaseFdtLib\\/libfdt\",\"sha\":\"cfff805481bdea27f900c32698171286542b8d3c\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdePkg\\/Library\\/BaseFdtLib\\/libfdt?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/devicetree-org\\/pylibfdt\\/tree\\/cfff805481bdea27f900c32698171286542b8d3c\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/devicetree-org\\/pylibfdt\\/git\\/trees\\/cfff805481bdea27f900c32698171286542b8d3c\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/devicetree-org\\/pylibfdt.git\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdePkg\\/Library\\/BaseFdtLib\\/libfdt?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/devicetree-org\\/pylibfdt\\/git\\/trees\\/cfff805481bdea27f900c32698171286542b8d3c\",\"html\":\"https:\\/\\/github.com\\/devicetree-org\\/pylibfdt\\/tree\\/cfff805481bdea27f900c32698171286542b8d3c\"}}", |
| "MdePkg/Library/MipiSysTLib/mipisyst": "{\"name\":\"mipisyst\",\"path\":\"MdePkg\\/Library\\/MipiSysTLib\\/mipisyst\",\"sha\":\"370b5944c046bab043dd8b133727b2135af7747a\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdePkg\\/Library\\/MipiSysTLib\\/mipisyst?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/MIPI-Alliance\\/public-mipi-sys-t\\/tree\\/370b5944c046bab043dd8b133727b2135af7747a\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/MIPI-Alliance\\/public-mipi-sys-t\\/git\\/trees\\/370b5944c046bab043dd8b133727b2135af7747a\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/MIPI-Alliance\\/public-mipi-sys-t.git\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/MdePkg\\/Library\\/MipiSysTLib\\/mipisyst?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/MIPI-Alliance\\/public-mipi-sys-t\\/git\\/trees\\/370b5944c046bab043dd8b133727b2135af7747a\",\"html\":\"https:\\/\\/github.com\\/MIPI-Alliance\\/public-mipi-sys-t\\/tree\\/370b5944c046bab043dd8b133727b2135af7747a\"}}", |
| "CryptoPkg/Library/MbedTlsLib/mbedtls": "{\"name\":\"mbedtls\",\"path\":\"CryptoPkg\\/Library\\/MbedTlsLib\\/mbedtls\",\"sha\":\"8c89224991adff88d53cd380f42a2baa36f91454\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/CryptoPkg\\/Library\\/MbedTlsLib\\/mbedtls?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/ARMmbed\\/mbedtls\\/tree\\/8c89224991adff88d53cd380f42a2baa36f91454\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/ARMmbed\\/mbedtls\\/git\\/trees\\/8c89224991adff88d53cd380f42a2baa36f91454\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/ARMmbed\\/mbedtls\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/CryptoPkg\\/Library\\/MbedTlsLib\\/mbedtls?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/ARMmbed\\/mbedtls\\/git\\/trees\\/8c89224991adff88d53cd380f42a2baa36f91454\",\"html\":\"https:\\/\\/github.com\\/ARMmbed\\/mbedtls\\/tree\\/8c89224991adff88d53cd380f42a2baa36f91454\"}}", |
| "SecurityPkg/DeviceSecurity/SpdmLib/libspdm": "{\"name\":\"libspdm\",\"path\":\"SecurityPkg\\/DeviceSecurity\\/SpdmLib\\/libspdm\",\"sha\":\"98ef964e1e9a0c39c7efb67143d3a13a819432e0\",\"size\":0,\"url\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/SecurityPkg\\/DeviceSecurity\\/SpdmLib\\/libspdm?ref=fbe0805b2091393406952e84724188f8c1941837\",\"html_url\":\"https:\\/\\/github.com\\/DMTF\\/libspdm\\/tree\\/98ef964e1e9a0c39c7efb67143d3a13a819432e0\",\"git_url\":\"https:\\/\\/api.github.com\\/repos\\/DMTF\\/libspdm\\/git\\/trees\\/98ef964e1e9a0c39c7efb67143d3a13a819432e0\",\"download_url\":null,\"type\":\"submodule\",\"submodule_git_url\":\"https:\\/\\/github.com\\/DMTF\\/libspdm.git\",\"_links\":{\"self\":\"https:\\/\\/api.github.com\\/repos\\/tianocore\\/edk2\\/contents\\/SecurityPkg\\/DeviceSecurity\\/SpdmLib\\/libspdm?ref=fbe0805b2091393406952e84724188f8c1941837\",\"git\":\"https:\\/\\/api.github.com\\/repos\\/DMTF\\/libspdm\\/git\\/trees\\/98ef964e1e9a0c39c7efb67143d3a13a819432e0\",\"html\":\"https:\\/\\/github.com\\/DMTF\\/libspdm\\/tree\\/98ef964e1e9a0c39c7efb67143d3a13a819432e0\"}}", |
| }, |
| submodules = { |
| "CryptoPkg/Library/OpensslLib/openssl": "sha256-MvIqVMARnJx7foEjQtEtIrOb3mHEYDi/QB56NW5MdFQ=", |
| "UnitTestFrameworkPkg/Library/CmockaLib/cmocka": "sha256-Wc1LgauvrjXZSsXZHPSuWwUSLmiHE81ttR5eTO9HHY8=", |
| "MdeModulePkg/Universal/RegularExpressionDxe/oniguruma": "sha256-7ql3OA67GHHV3jjE9/FUQu5pDJC995BZDZMKa780fyg=", |
| "MdeModulePkg/Library/BrotliCustomDecompressLib/brotli": "sha256-bWyszgUIa33r51EnQV/5w2YYSfVk/i9fOwOD1Iqk7Xc=", |
| "BaseTools/Source/C/BrotliCompress/brotli": "sha256-bWyszgUIa33r51EnQV/5w2YYSfVk/i9fOwOD1Iqk7Xc=", |
| "RedfishPkg/Library/JsonLib/jansson": "sha256-55NcDZHW0i9t7nEKJrI+Io7MT+jvfo91ZVjDWZ9ow7Q=", |
| "UnitTestFrameworkPkg/Library/GoogleTestLib/googletest": "sha256-PDCVSIuTaxRTjcpk1+aLzeCaihjSoypHtZh37/A0BAM=", |
| "UnitTestFrameworkPkg/Library/SubhookLib/subhook": "sha256-9lsubdME4ZGF11FlK9XrxyqB1QO/VCA3rLNFDkOrwJU=", |
| "MdePkg/Library/BaseFdtLib/libfdt": "sha256-EZORD0df3gfzzU/hwaNT1puM7bV0lnE0g4/NyCCNIk4=", |
| "MdePkg/Library/MipiSysTLib/mipisyst": "sha256-n9o7mng0OrK+bwbOY5ZTbn4GWrrCm0fI6y5Cy7TE8As=", |
| "CryptoPkg/Library/MbedTlsLib/mbedtls": "sha256-tcfnxU4BPBaPSq4DblmRJ4XxG0ruvVf2FloU6Hm5qCw=", |
| "SecurityPkg/DeviceSecurity/SpdmLib/libspdm": "sha256-Y0y98QvK8y80RrG/i+fopgzs0elQDlEvAePBW3TLz9M=", |
| }, |
| ) |
| |
| http_archive = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") |
| |
| http_file = use_repo_rule("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file") |
| |
| # Used by tests in cloud/takeover |
| http_file( |
| name = "debian_11_cloudimage", |
| integrity = "sha256-FMruxoujEpoRWptXOW0I3AlzzJ9WnOBJIy19FddorUE=", |
| urls = [ |
| "https://cloud.debian.org/images/cloud/bullseye/20230124-1270/debian-11-genericcloud-amd64-20230124-1270.qcow2", |
| ], |
| ) |
| |
| # Used to include staticcheck as nogo analyzer |
| http_archive( |
| name = "com_github_sluongng_nogo_analyzer", |
| integrity = "sha256-Dca16GCU0IHgW80MPkH8J1ojmMZOVFN2FmE5QSGB8VA=", |
| strip_prefix = "nogo-analyzer-0.0.3", |
| urls = [ |
| "https://github.com/sluongng/nogo-analyzer/archive/refs/tags/v0.0.3.tar.gz", |
| ], |
| ) |
| |
| # CockroachDB repository used for linter passes. |
| COCKROACH_VERSION = "22.1.6" |
| |
| http_archive( |
| name = "com_github_cockroachdb_cockroach", |
| integrity = "sha256-bDVo7yRM5rh0aU7u7Lg+1PXV3/bPA3yVLs3naCimxQI=", |
| strip_prefix = "cockroach-" + COCKROACH_VERSION, |
| urls = [ |
| "https://github.com/cockroachdb/cockroach/archive/v%s.tar.gz" % COCKROACH_VERSION, |
| ], |
| ) |
| |
| # Derived from Mozilla NSS, currently needed for containerd to be able to pull images |
| http_file( |
| name = "cacerts", |
| integrity = "sha256-o/Mowh453dHyvhzqQ6wN7IGeqiCpBCXX2pAaEVMbOqU=", |
| urls = ["https://curl.se/ca/cacert-2024-12-31.pem"], |
| ) |
| |
| # ini.h, a tiny ini parser library |
| INIH_VERSION = "r53" |
| |
| http_archive( |
| name = "inih", |
| build_file = "//third_party/inih:inih.bzl", |
| integrity = "sha256-AbA2b9/fY2PvwHDC+Fbxr6M+emVGVIutpUVq2UpRYkE=", |
| strip_prefix = "inih-" + INIH_VERSION, |
| urls = ["https://github.com/benhoyt/inih/archive/%s.tar.gz" % INIH_VERSION], |
| ) |
| |
| GPERF_VERSION = "de9373c2d48a3edf29862eb8be44764a7f7d24c6" |
| |
| http_archive( |
| name = "gperf", |
| integrity = "sha256-xHLG+LYlXSuNG1rNvXwgjoSSG/FAZ9fu2WT4rTvnJkU=", |
| strip_prefix = "gperf-" + GPERF_VERSION, |
| urls = ["https://github.com/monogon-dev/gperf/archive/%s.tar.gz" % GPERF_VERSION], |
| ) |
| |
| LINUX_VERSION = "6.12.15" |
| |
| http_archive( |
| name = "linux", |
| build_file = "//third_party/linux:linux.bzl", |
| integrity = "sha256-X/W9hOoOIsU0NzAttdOU0Kkti4saiM4g0QmCmOn3Ywo=", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/linux/patches:0001-block-partition-expose-PARTUUID-through-uevent.patch", |
| "//third_party/linux/patches:disable-static-ifs.patch", |
| "//third_party/linux/patches:enable-pmsg.patch", |
| "//third_party/linux/patches:lacp_fix.patch", |
| "//third_party/linux/patches:fb-devs-knob.patch", |
| ], |
| strip_prefix = "linux-" + LINUX_VERSION, |
| urls = ["https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-%s.tar.xz" % LINUX_VERSION], |
| ) |
| |
| LINUX_FIRMWARE_VERSION = "20240909" |
| |
| http_archive( |
| name = "linux-firmware", |
| build_file = "//third_party/linux-firmware:linux-firmware.bzl", |
| integrity = "sha256-k+m2riJAZhY5yHT1/Dj2d9GK/jZbF6E/7mtPxPukLBA=", |
| strip_prefix = "linux-firmware-" + LINUX_FIRMWARE_VERSION, |
| urls = ["https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/snapshot/linux-firmware-%s.tar.gz" % LINUX_FIRMWARE_VERSION], |
| ) |
| |
| INTEL_UCODE_VERSION = "20240910" |
| |
| http_archive( |
| name = "intel_ucode", |
| build_file = "//third_party/intel_ucode:intel_ucode.bzl", |
| integrity = "sha256-i3WC6sfpppE1bhizvcvHstsJSU4EDsmApKX7bQ2iYb8=", |
| strip_prefix = "Intel-Linux-Processor-Microcode-Data-Files-microcode-" + INTEL_UCODE_VERSION, |
| urls = ["https://github.com/intel/Intel-Linux-Processor-Microcode-Data-Files/archive/refs/tags/microcode-%s.tar.gz" % INTEL_UCODE_VERSION], |
| ) |
| |
| MUSL_VERSION = "1.1.24" |
| |
| http_archive( |
| name = "musl", |
| build_file = "//third_party/musl:musl.bzl", |
| integrity = "sha256-E3DJqBKyzyp9koAlEMygBYzDfmanvt1wBR8KNAFQIqM=", |
| strip_prefix = "musl-" + MUSL_VERSION, |
| urls = ["https://www.musl-libc.org/releases/musl-%s.tar.gz" % MUSL_VERSION], |
| ) |
| |
| UTIL_LINUX_VERSION = "2.36.2" |
| |
| http_archive( |
| name = "util_linux", |
| build_file = "//third_party/util-linux:util-linux.bzl", |
| integrity = "sha256-CEvG+b1Hm/146JJOY/hbsXlTaBvx2tJA5NhgGiEpTQs=", |
| patch_args = ["-p1"], |
| patches = ["//third_party/util-linux/patches:bazel_cc_fix.patch"], |
| strip_prefix = "util-linux-" + UTIL_LINUX_VERSION, |
| urls = ["https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/snapshot/util-linux-%s.tar.gz" % UTIL_LINUX_VERSION], |
| ) |
| |
| URCU_VERSION = "0.14.0" |
| |
| http_archive( |
| name = "urcu", |
| build_file = "//third_party/urcu:urcu.bzl", |
| integrity = "sha256-QvtRKaP//lpLeQ3+HqOnNMae4JX++/ZJMmJpu6lMJi0=", |
| patch_args = ["-p1"], |
| patches = ["//third_party/urcu/patches:generated-files.patch"], |
| strip_prefix = "userspace-rcu-" + URCU_VERSION, |
| urls = ["https://github.com/urcu/userspace-rcu/archive/refs/tags/v%s.tar.gz" % URCU_VERSION], |
| ) |
| |
| XFSPROGS_VERSION = "6.9.0" |
| |
| http_archive( |
| name = "xfsprogs", |
| build_file = "//third_party/xfsprogs:xfsprogs.bzl", |
| integrity = "sha256-/nIGlou9gXd1S6cy9jn4Ubacj3CsX5a7DhgtiGZBQL8=", |
| patch_args = ["-p1"], |
| patches = ["//third_party/xfsprogs/patches:bazel_cc_fix.patch"], |
| strip_prefix = "xfsprogs-dev-" + XFSPROGS_VERSION, |
| urls = ["https://git.kernel.org/pub/scm/fs/xfs/xfsprogs-dev.git/snapshot/xfsprogs-dev-%s.tar.gz" % XFSPROGS_VERSION], |
| ) |
| |
| # NOTE: Remember to update seccomp.bzl's seccomp.h template rule |
| # with the correct version. |
| SECCOMP_VERSION = "2.5.1" |
| |
| http_archive( |
| name = "seccomp", |
| build_file = "//third_party/seccomp:seccomp.bzl", |
| integrity = "sha256-dq1U4x0UOzmpkINWQEUhKpZeAmoQEKdC7deT0m1pmCk=", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/seccomp/patches:bazel_cc_fix.patch", |
| "//third_party/seccomp/patches:fix_generated_includes.patch", |
| ], |
| strip_prefix = "libseccomp-" + SECCOMP_VERSION, |
| # We cannot use the actual release tarball as it contains files generated incorrectly for our environment |
| urls = ["https://github.com/seccomp/libseccomp/archive/v%s.tar.gz" % SECCOMP_VERSION], |
| ) |
| |
| # ONCHANGE(//third_party/chrony:chrony.bzl): version needs to be kept in sync |
| CHRONY_VERSION = "4.1" |
| |
| http_archive( |
| name = "chrony", |
| build_file = "//third_party/chrony:chrony.bzl", |
| integrity = "sha256-7Xby0/k0esYiGpGtS9VT3QVlrBiM10kNCAHQj3FxFkw=", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/chrony/patches:disable_defaults.patch", |
| "//third_party/chrony/patches:support_fixed_uids.patch", |
| ], |
| strip_prefix = "chrony-" + CHRONY_VERSION, |
| urls = ["https://chrony-project.org/releases/chrony-%s.tar.gz" % CHRONY_VERSION], |
| ) |
| |
| CAP_VERSION = "1.2.55" |
| |
| http_archive( |
| name = "cap", |
| build_file = "//third_party/cap:cap.bzl", |
| integrity = "sha256-4pMiAy6pTpBpauLRdTDtyRTHF2UjLuj9T944umOcslY=", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/cap/patches:add_go_codegen.patch", |
| ], |
| strip_prefix = "libcap-cap/v%s/libcap" % CAP_VERSION, |
| urls = ["https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-cap/v%s.tar.gz" % CAP_VERSION], |
| ) |
| |
| GNUEFI_VERSION = "3.0.14" |
| |
| http_archive( |
| name = "gnuefi", |
| build_file = "//third_party/gnuefi:gnuefi.bzl", |
| integrity = "sha256-V4XneCX+xeZm5MINeqqa9M2VI1GywJWTlydE/oQ2+Vc=", |
| strip_prefix = "gnu-efi-%s" % GNUEFI_VERSION, |
| urls = ["https://github.com/ncroxon/gnu-efi/archive/refs/tags/%s.tar.gz" % GNUEFI_VERSION], |
| ) |
| |
| # Developed in the systemd monorepo, pinned to master as there have been a bunch of critical fixes for the |
| # EFI stub since 249. |
| EFISTUB_VERSION = "927ebebe588970fa2dd082a0daaef246229f009b" |
| |
| http_archive( |
| name = "efistub", |
| build_file = "//third_party/efistub:efistub.bzl", |
| integrity = "sha256-Epun4Cq5/ThCDKFoqFZaI+0Xb5wq+B0JMSkx3VsHR+0=", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/efistub/patches:use-local-uchar.patch", |
| "//third_party/efistub/patches:ab-slot-handling.patch", |
| ], |
| strip_prefix = "systemd-%s" % EFISTUB_VERSION, |
| urls = ["https://github.com/systemd/systemd/archive/%s.zip" % EFISTUB_VERSION], |
| ) |
| |
| LIBPG_QUERY_VERSION = "15-4.2.3" |
| |
| http_archive( |
| name = "libpg_query", |
| build_file = "//third_party/libpg_query:libpg_query.bzl", |
| integrity = "sha256-i4INY0QrFnfOTw3yqVs/r9vFIKgpAd74EhdVnsTfnms=", |
| strip_prefix = "libpg_query-" + LIBPG_QUERY_VERSION, |
| urls = ["https://github.com/pganalyze/libpg_query/archive/refs/tags/%s.tar.gz" % LIBPG_QUERY_VERSION], |
| ) |
| |
| DOSFSTOOLS_VERSION = "c888797b1d84ffbb949f147e3116e8bfb2e145a7" |
| |
| http_archive( |
| name = "com_github_dosfstools_dosfstools", |
| build_file = "//third_party/dosfstools:dosfstools.bzl", |
| integrity = "sha256-SkC0iMDCWcEftUeD/G8B5e6RJYK7SdM9DRGxH4WkLo0=", |
| strip_prefix = "dosfstools-" + DOSFSTOOLS_VERSION, |
| urls = ["https://github.com/dosfstools/dosfstools/archive/%s.zip" % DOSFSTOOLS_VERSION], |
| ) |
| |
| # master at 2024/01/09 (0.10.0 prerelease). |
| LIBTPMS_VERSION = "93a827aeccd3ab2178281571b1545dcfffa2991b" |
| |
| http_archive( |
| name = "libtpms", |
| integrity = "sha256-5QnguhCfd9pRe15YqfCTvrBAUl5r5R3gbRFTyCeMcNE=", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/libtpms/patches:0001-boringssl-compat-new-SHA-types.patch", |
| "//third_party/libtpms/patches:0002-boringssl-compat-removed-const_DES_cblock.patch", |
| "//third_party/libtpms/patches:0003-boringssl-compat-removed-EC_POINTs_mul.patch", |
| "//third_party/libtpms/patches:0004-boringssl-compat-removed-camellia-support.patch", |
| "//third_party/libtpms/patches:0005-boringssl-compat-remove-constant-time-flags-UNSAFE.patch", |
| "//third_party/libtpms/patches:0006-bazel-support-implement.patch", |
| ], |
| strip_prefix = "libtpms-" + LIBTPMS_VERSION, |
| urls = ["https://github.com/stefanberger/libtpms/archive/%s.tar.gz" % LIBTPMS_VERSION], |
| ) |
| |
| # master at 2024/06/04 |
| SWTPM_VERSION = "0c9a6c4a12a63b86ab472e69e95bd75853d4fa96" |
| |
| http_archive( |
| name = "swtpm", |
| integrity = "sha256-Fp3bE5WX+oCOES1FJFdEXHntUhuzT5mQZtIN6SFAVs4=", |
| patch_args = ["-p1"], |
| patches = [ |
| "//third_party/swtpm/patches:0001-bazel-compat-glib.h-glib-glib.h.patch", |
| "//third_party/swtpm/patches:0002-swtpm_localca-replace-gmp-mpz-dependency-with-boring.patch", |
| "//third_party/swtpm/patches:0003-swtpm_setup-replace-dep-on-JSON-GLib-with-sheredom-j.patch", |
| "//third_party/swtpm/patches:0004-bazel-support-implement.patch", |
| ], |
| strip_prefix = "swtpm-" + SWTPM_VERSION, |
| urls = ["https://github.com/stefanberger/swtpm/archive/%s.tar.gz" % SWTPM_VERSION], |
| ) |