From 084da225db7f78426f7696f69796d04fcc49bfdd Mon Sep 17 00:00:00 2001 From: Alfredo Garcia Date: Wed, 17 Apr 2024 15:41:59 -0300 Subject: [PATCH] Release v0.1.15 (#141) * remove current zcash * Squashed 'depend/zcash/' content from commit 889162ccf git-subtree-dir: depend/zcash git-subtree-split: 889162ccf3e0c2de4fda7aceec35dc3769c19131 * apply patch * update dependencies --- CHANGELOG.md | 10 +- Cargo.lock | 56 +- Cargo.toml | 8 +- depend/zcash/.github/workflows/audits.yml | 9 +- depend/zcash/.github/workflows/book.yml | 5 +- depend/zcash/.github/workflows/build.yml | 122 - depend/zcash/.github/workflows/ci.yml | 284 +++ depend/zcash/.github/workflows/lints.yml | 10 +- depend/zcash/Cargo.lock | 663 ++--- depend/zcash/README.md | 2 +- depend/zcash/configure.ac | 2 +- .../buildbot/Dockerfile-bbworker.apt | 42 - .../buildbot/Dockerfile-bbworker.arch | 35 - .../buildbot/Dockerfile-build-python.apt | 30 - .../ci-builders/buildbot/Dockerfile-build.apt | 9 - .../buildbot/Dockerfile-build.arch | 23 - .../buildbot/Dockerfile-gitian.apt | 8 - .../contrib/ci-builders/buildbot/README.md | 41 - .../ci-builders/buildbot/apt-package-list.txt | 23 - .../buildbot/bbworker-buildbot.tac | 40 - .../buildbot/bbworker-requirements.txt | 9 - .../ci-builders/buildbot/docker-build.sh | 56 - .../ci-builders/tekton/Dockerfile-build.apt | 9 - .../ci-builders/tekton/Dockerfile-build.arch | 14 - .../tekton/Dockerfile-tekton-worker | 11 - .../contrib/ci-builders/tekton/README.md | 34 - .../tekton/apt-package-tekton-list.txt | 24 - .../ci-builders/tekton/docker-build.sh | 53 - .../ci-builders/tekton/requirements.txt | 8 - .../ci-builders/tekton/tekton-labs/README.md | 89 - .../tekton-dashboard-readonly-v0.27.0.yaml | 334 --- .../releases/tekton-pipeline-v0.37.0.yaml | 2222 ----------------- .../tekton-labs/tasks/zcash-build-bench.yml | 218 -- .../tekton-labs/tasks/zcash-build-test.yml | 57 - .../tekton/tekton-labs/tasks/zcash-build.yml | 51 - depend/zcash/contrib/ci-workers/README.md | 62 - depend/zcash/contrib/ci-workers/ansible.cfg | 2 - depend/zcash/contrib/ci-workers/files/bashrc | 2 - depend/zcash/contrib/ci-workers/grind.yml | 27 - .../contrib/ci-workers/tasks/install-brew.yml | 10 - .../contrib/ci-workers/tasks/install-pip.yml | 8 - .../templates/buildbot-worker.plist.j2 | 23 - .../templates/buildbot-worker.service.j2 | 17 - .../contrib/ci-workers/templates/host.ec2.j2 | 1 - .../contrib/ci-workers/templates/host.j2 | 3 - depend/zcash/contrib/ci-workers/unix.yml | 209 -- .../contrib/ci-workers/vars/Archlinux.yml | 7 - .../zcash/contrib/ci-workers/vars/CentOS.yml | 13 - .../zcash/contrib/ci-workers/vars/Debian.yml | 6 - .../zcash/contrib/ci-workers/vars/Fedora.yml | 11 - .../zcash/contrib/ci-workers/vars/FreeBSD.yml | 10 - .../zcash/contrib/ci-workers/vars/MacOSX.yml | 6 - .../zcash/contrib/ci-workers/vars/Ubuntu.yml | 4 - .../contrib/ci-workers/vars/buildbot.yml | 5 - .../zcash/contrib/ci-workers/vars/default.yml | 53 - depend/zcash/contrib/debian/changelog | 12 + depend/zcash/contrib/debian/copyright | 421 +++- .../gitian-linux-parallel.yml | 2 +- .../gitian-descriptors/gitian-linux.yml | 2 +- depend/zcash/depends/packages/bdb.mk | 6 +- .../zcash/depends/packages/native_ccache.mk | 4 +- depend/zcash/depends/packages/native_cmake.mk | 4 +- .../depends/packages/native_cxxbridge.mk | 6 +- depend/zcash/depends/packages/utfcpp.mk | 4 +- depend/zcash/depends/packages/zeromq.mk | 10 +- .../patches/native_cxxbridge/Cargo.lock | 88 +- .../zeromq/check_snprintf_return.patch | 48 - .../zeromq/stats_proxy-missing-braces.diff | 13 + .../zeromq/use-snprintf-not-sprintf.patch | 249 -- .../zeromq/windows-unused-variables.diff | 17 - depend/zcash/doc/authors.md | 8 +- .../doc/book/src/user/release-support.md | 5 +- depend/zcash/doc/man/zcash-cli.1 | 6 +- depend/zcash/doc/man/zcash-tx.1 | 6 +- depend/zcash/doc/man/zcashd-wallet-tool.1 | 4 +- depend/zcash/doc/man/zcashd.1 | 6 +- .../release-notes/release-notes-5.8.0-rc1.md | 36 + .../doc/release-notes/release-notes-5.8.0.md | 45 + depend/zcash/qa/supply-chain/audits.toml | 657 +++++ depend/zcash/qa/supply-chain/config.toml | 114 +- depend/zcash/qa/supply-chain/imports.lock | 218 +- depend/zcash/qa/zcash/postponed-updates.txt | 74 +- depend/zcash/src/clientversion.h | 2 +- depend/zcash/src/deprecation.h | 2 +- 84 files changed, 2212 insertions(+), 4947 deletions(-) delete mode 100644 depend/zcash/.github/workflows/build.yml create mode 100644 depend/zcash/.github/workflows/ci.yml delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.apt delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.arch delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build-python.apt delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.apt delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.arch delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/Dockerfile-gitian.apt delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/README.md delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/apt-package-list.txt delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/bbworker-buildbot.tac delete mode 100644 depend/zcash/contrib/ci-builders/buildbot/bbworker-requirements.txt delete mode 100755 depend/zcash/contrib/ci-builders/buildbot/docker-build.sh delete mode 100644 depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.apt delete mode 100644 depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.arch delete mode 100644 depend/zcash/contrib/ci-builders/tekton/Dockerfile-tekton-worker delete mode 100644 depend/zcash/contrib/ci-builders/tekton/README.md delete mode 100644 depend/zcash/contrib/ci-builders/tekton/apt-package-tekton-list.txt delete mode 100755 depend/zcash/contrib/ci-builders/tekton/docker-build.sh delete mode 100644 depend/zcash/contrib/ci-builders/tekton/requirements.txt delete mode 100644 depend/zcash/contrib/ci-builders/tekton/tekton-labs/README.md delete mode 100644 depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-dashboard-readonly-v0.27.0.yaml delete mode 100644 depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-pipeline-v0.37.0.yaml delete mode 100644 depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-bench.yml delete mode 100644 depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-test.yml delete mode 100644 depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build.yml delete mode 100644 depend/zcash/contrib/ci-workers/README.md delete mode 100644 depend/zcash/contrib/ci-workers/ansible.cfg delete mode 100644 depend/zcash/contrib/ci-workers/files/bashrc delete mode 100644 depend/zcash/contrib/ci-workers/grind.yml delete mode 100644 depend/zcash/contrib/ci-workers/tasks/install-brew.yml delete mode 100644 depend/zcash/contrib/ci-workers/tasks/install-pip.yml delete mode 100644 depend/zcash/contrib/ci-workers/templates/buildbot-worker.plist.j2 delete mode 100644 depend/zcash/contrib/ci-workers/templates/buildbot-worker.service.j2 delete mode 100644 depend/zcash/contrib/ci-workers/templates/host.ec2.j2 delete mode 100644 depend/zcash/contrib/ci-workers/templates/host.j2 delete mode 100644 depend/zcash/contrib/ci-workers/unix.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/Archlinux.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/CentOS.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/Debian.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/Fedora.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/FreeBSD.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/MacOSX.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/Ubuntu.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/buildbot.yml delete mode 100644 depend/zcash/contrib/ci-workers/vars/default.yml delete mode 100644 depend/zcash/depends/patches/zeromq/check_snprintf_return.patch create mode 100644 depend/zcash/depends/patches/zeromq/stats_proxy-missing-braces.diff delete mode 100644 depend/zcash/depends/patches/zeromq/use-snprintf-not-sprintf.patch delete mode 100644 depend/zcash/depends/patches/zeromq/windows-unused-variables.diff create mode 100644 depend/zcash/doc/release-notes/release-notes-5.8.0-rc1.md create mode 100644 depend/zcash/doc/release-notes/release-notes-5.8.0.md diff --git a/CHANGELOG.md b/CHANGELOG.md index b9d135b5d..501b4098a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] - ReleaseDate +## [0.1.15] - 2024-04-11 + +### Changed +- Update `depend/zcash` to version 5.8.0 which includes updated dependencies +- Update other dependencies to match Zebra +- Restore Windows support ## [0.1.14] - 2023-10-18 @@ -95,8 +101,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Updated `bindgen` to a non yanked version -[Unreleased]: https://github.com/ZcashFoundation/zcash_script/compare/v0.1.14...HEAD -[0.1.14]: https://github.com/ZcashFoundation/zcash_script/compare/v0.1.14...v0.1.14 +[Unreleased]: https://github.com/ZcashFoundation/zcash_script/compare/v0.1.15...HEAD +[0.1.15]: https://github.com/ZcashFoundation/zcash_script/compare/v0.1.14...v0.1.15 [0.1.14]: https://github.com/ZcashFoundation/zcash_script/compare/v0.1.13...v0.1.14 [0.1.13]: https://github.com/ZcashFoundation/zcash_script/compare/v0.1.12...v0.1.13 [0.1.12]: https://github.com/ZcashFoundation/zcash_script/compare/v0.1.11...v0.1.12 diff --git a/Cargo.lock b/Cargo.lock index ec667537d..71a4d9711 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -114,7 +114,7 @@ dependencies = [ "regex", "rustc-hash", "shlex", - "syn 2.0.35", + "syn 2.0.58", "which", ] @@ -412,9 +412,9 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.107" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe98ba1789d56fb3db3bee5e032774d4f421b685de7ba703643584ba24effbe" +checksum = "048948e14bc2c2652ec606c8e3bb913407f0187288fb351a0b2d972beaf12070" dependencies = [ "cc", "cxxbridge-flags", @@ -431,24 +431,24 @@ dependencies = [ "codespan-reporting", "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] name = "cxxbridge-flags" -version = "1.0.107" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20888d9e1d2298e2ff473cee30efe7d5036e437857ab68bbfea84c74dba91da2" +checksum = "af40b0467c68d3d9fb7550ef984edc8ad47252f703ef0f1f2d1052e0e4af8793" [[package]] name = "cxxbridge-macro" -version = "1.0.107" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fa16a70dd58129e4dfffdff535fb1bce66673f7bbeec4a5a1765a504e1ccd84" +checksum = "7743446286141c9f6d4497c493c01234eb848e14d2e20866ae9811eae0630cb9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] @@ -853,7 +853,7 @@ checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] @@ -1041,14 +1041,14 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] name = "proc-macro2" -version = "1.0.67" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" +checksum = "e835ff2298f5721608eb1a980ecaee1aef2c132bf95ecc026a11b7bf3c01c02e" dependencies = [ "unicode-ident", ] @@ -1081,9 +1081,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quote" -version = "1.0.33" +version = "1.0.36" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" dependencies = [ "proc-macro2", ] @@ -1326,7 +1326,7 @@ checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] @@ -1377,9 +1377,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.35" +version = "2.0.58" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "59bf04c28bee9043ed9ea1e41afc0552288d3aba9c6efdd78903b802926f4879" +checksum = "44cfb93f38070beee36b3fef7d4f5a16f27751d94b187b666a5cc5e9b0d30687" dependencies = [ "proc-macro2", "quote", @@ -1431,7 +1431,7 @@ checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] @@ -1469,7 +1469,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] @@ -1584,7 +1584,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", "wasm-bindgen-shared", ] @@ -1606,7 +1606,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -1788,9 +1788,9 @@ dependencies = [ [[package]] name = "zcash_primitives" -version = "0.13.0-rc.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc4391d9325e0a51a7cbff02b5c4b5472d66087bd9c903ddb12dea7ec22f3e0" +checksum = "d17e4c94ca8d69d2fcf2be97522da5732a580eb2125cda3b150761952f8df8e6" dependencies = [ "aes", "bip0039", @@ -1825,9 +1825,9 @@ dependencies = [ [[package]] name = "zcash_proofs" -version = "0.13.0-rc.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48f22eff3bdc382327ef28f809024ddc89ec6d903ba71be629b2cbea34afdda2" +checksum = "df0c99f65a840ff256c106b28d67d702d9759d206112473d4982c92003262406" dependencies = [ "bellman", "blake2b_simd", @@ -1898,7 +1898,7 @@ checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] [[package]] @@ -1918,5 +1918,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.35", + "syn 2.0.58", ] diff --git a/Cargo.toml b/Cargo.toml index 1c1328bfe..d8c8a842e 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -57,7 +57,7 @@ blake2s_simd = "1" bls12_381 = "0.8" byteorder = "1" crossbeam-channel = "0.5" -cxx = { version = "=1.0.107", features = ["c++17"] } +cxx = { version = "=1.0.113", features = ["c++17"] } group = "0.13" incrementalmerkletree = "0.5" jubjub = "0.10" @@ -72,8 +72,8 @@ tracing = "0.1" zcash_address = "0.3" zcash_encoding = "0.2" zcash_note_encryption = "0.4" -zcash_primitives = { version = "=0.13.0-rc.1", features = ["temporary-zcashd", "transparent-inputs"] } -zcash_proofs = { version = "=0.13.0-rc.1", features = ["directories"] } +zcash_primitives = { version = "=0.13.0", features = ["temporary-zcashd", "transparent-inputs"] } +zcash_proofs = { version = "=0.13.0", features = ["directories"] } bridgetree = "0.4" rand = "0.8" @@ -100,7 +100,7 @@ syn = { version = "1.0.109", features = ["full", "printing"] } hex = ">= 0.4.3" lazy_static = "1.4.0" incrementalmerkletree = { version = "0.5", features = ["test-dependencies"] } -zcash_primitives = { version = "=0.13.0-rc.1", features = ["temporary-zcashd", "transparent-inputs", "test-dependencies"] } +zcash_primitives = { version = "=0.13.0", features = ["temporary-zcashd", "transparent-inputs", "test-dependencies"] } [[package.metadata.release.pre-release-replacements]] file = "CHANGELOG.md" diff --git a/depend/zcash/.github/workflows/audits.yml b/depend/zcash/.github/workflows/audits.yml index 648a1f0b9..29b54f5c7 100644 --- a/depend/zcash/.github/workflows/audits.yml +++ b/depend/zcash/.github/workflows/audits.yml @@ -1,6 +1,9 @@ name: Audits -on: [push, pull_request] +on: + pull_request: + push: + branches: master permissions: contents: read @@ -10,7 +13,7 @@ jobs: name: Vet Rust dependencies runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dtolnay/rust-toolchain@stable id: toolchain - run: rustup override set ${{steps.toolchain.outputs.name}} @@ -21,7 +24,7 @@ jobs: name: Check licenses runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: EmbarkStudios/cargo-deny-action@v1 with: command: check licenses diff --git a/depend/zcash/.github/workflows/book.yml b/depend/zcash/.github/workflows/book.yml index fac308c59..cc4ecb90b 100644 --- a/depend/zcash/.github/workflows/book.yml +++ b/depend/zcash/.github/workflows/book.yml @@ -13,7 +13,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable + id: toolchain + - run: rustup override set ${{steps.toolchain.outputs.name}} - name: Setup mdBook uses: peaceiris/actions-mdbook@v1 diff --git a/depend/zcash/.github/workflows/build.yml b/depend/zcash/.github/workflows/build.yml deleted file mode 100644 index 56acba155..000000000 --- a/depend/zcash/.github/workflows/build.yml +++ /dev/null @@ -1,122 +0,0 @@ -name: Build - -on: [push, pull_request] - -jobs: - build: - name: Tier ${{ matrix.tier }} platform ${{ matrix.platform }} - runs-on: ${{ matrix.os }} - continue-on-error: ${{ matrix.tier == 3 }} - strategy: - matrix: - include: - - name: ubuntu-20.04 - tier: 1 - platform: Ubuntu 20.04 - os: ubuntu-20.04 - - - name: ubuntu-22.04 - tier: 3 - platform: Ubuntu 22.04 - os: ubuntu-22.04 - - - name: macos-11 - tier: 3 - platform: macOS Big Sur 11 - os: macos-11 - brew_deps: > - autoconf - automake - coreutils - libtool - pkgconfig - - - name: mingw32 - tier: 3 - platform: Windows (64-bit MinGW) - os: ubuntu-latest - cross_deps: > - mingw-w64 - host: HOST=x86_64-w64-mingw32 - - - name: aarch64-linux - tier: 3 - platform: ARM64 Linux - os: ubuntu-latest - cross_deps: > - g++-aarch64-linux-gnu - host: HOST=aarch64-linux-gnu - - steps: - - uses: actions/checkout@v3 - - - name: Install Homebrew build dependencies - if: matrix.brew_deps != '' - run: brew install ${{ matrix.brew_deps }} - - - name: Install cross-compilation build dependencies - if: matrix.cross_deps != '' - run: sudo apt update && sudo apt install ${{ matrix.cross_deps }} - - - name: Configure MinGW to use POSIX variant - if: matrix.name == 'mingw32' - run: | - sudo update-alternatives --set x86_64-w64-mingw32-gcc $(update-alternatives --query x86_64-w64-mingw32-gcc | grep Alternative | grep posix | cut -d' ' -f2) - sudo update-alternatives --set x86_64-w64-mingw32-g++ $(update-alternatives --query x86_64-w64-mingw32-g++ | grep Alternative | grep posix | cut -d' ' -f2) - - - name: Cache built dependencies - uses: actions/cache@v3 - with: - path: depends/built - key: ${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}-${{ hashFiles('depends/packages/*.mk', 'depends/patches/**/*') }} - restore-keys: | - ${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}- - - - name: Prepare ccache timestamp - id: ccache_cache_timestamp - shell: bash - run: echo "timestamp=$(date +'%Y-%m-%d-%H;%M;%S')" >> "$GITHUB_OUTPUT" - - - name: Cache ccache files - uses: actions/cache@v3 - with: - path: ~/.cache/ccache - key: ${{ matrix.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }} - restore-keys: | - ${{ matrix.name }}-ccache- - - - name: Get the number of available processing cores - id: nproc - shell: bash - run: echo "count=$(nproc 2> /dev/null || sysctl -n hw.logicalcpu)" >> "$GITHUB_OUTPUT" - - - name: Build zcashd - id: build - run: > - ${{ matrix.host }} - ./zcutil/build.sh - -j"${{ steps.nproc.outputs.count }}" - - - name: Build zcashd with libraries enabled - if: ${{ always() && steps.build.outcome == 'success' }} - run: > - CONFIGURE_FLAGS="--with-libs" - ${{ matrix.host }} - ./zcutil/build.sh - -j"${{ steps.nproc.outputs.count }}" - - - name: Build zcashd with wallet disabled - if: ${{ always() && steps.build.outcome == 'success' }} - run: > - CONFIGURE_FLAGS="--disable-wallet" - ${{ matrix.host }} - ./zcutil/build.sh - -j"${{ steps.nproc.outputs.count }}" - - - name: Build zcashd with mining disabled - if: ${{ always() && steps.build.outcome == 'success' }} - run: > - CONFIGURE_FLAGS="--disable-mining" - ${{ matrix.host }} - ./zcutil/build.sh - -j"${{ steps.nproc.outputs.count }}" diff --git a/depend/zcash/.github/workflows/ci.yml b/depend/zcash/.github/workflows/ci.yml new file mode 100644 index 000000000..8c0992533 --- /dev/null +++ b/depend/zcash/.github/workflows/ci.yml @@ -0,0 +1,284 @@ +name: CI + +on: + pull_request: + push: + branches: master + +jobs: + matrices: + name: Define CI matrix + runs-on: ubuntu-latest + strategy: + matrix: + cfg: + - data: + - name: ubuntu-20.04 + tier: 1 + platform: Ubuntu 20.04 + build_os: ubuntu-20.04-8cores + test_os: ubuntu-20.04 + + - name: ubuntu-22.04 + tier: 3 + platform: Ubuntu 22.04 + build_os: ubuntu-22.04-8cores + test_os: ubuntu-22.04 + + - name: macos-11 + tier: 3 + platform: macOS Big Sur 11 + build_os: macos-11 + test_os: macos-11 + brew_deps: > + autoconf + automake + coreutils + libtool + pkgconfig + + - name: mingw32 + tier: 3 + platform: Windows (64-bit MinGW) + build_os: ubuntu-22.04-8cores + test_os: windows-latest + cross_deps: > + mingw-w64 + host: HOST=x86_64-w64-mingw32 + file_ext: ".exe" + + - name: aarch64-linux + tier: 3 + platform: ARM64 Linux + build_os: ubuntu-22.04-8cores + cross_deps: > + g++-aarch64-linux-gnu + host: HOST=aarch64-linux-gnu + + outputs: + build_matrix: ${{ steps.set-matrices.outputs.build_matrix }} + test_matrix: ${{ steps.set-matrices.outputs.test_matrix }} + test_names: ${{ steps.set-matrices.outputs.test_names }} + steps: + - id: set-matrices + env: + CFG: ${{ toJSON(matrix.cfg) }} + run: | + jq -r -n 'env.CFG | fromjson | @json "build_matrix=\(.data)"' >> $GITHUB_OUTPUT + jq -r -n 'env.CFG | fromjson | [.data[] | select(.test_os)] | @json "test_matrix=\(.)"' >> $GITHUB_OUTPUT + jq -r -n 'env.CFG | fromjson | [.data[] | select(.test_os) | .name] | @json "test_names=\(.)"' >> $GITHUB_OUTPUT + + build: + name: Build tier ${{ matrix.tier }} platform ${{ matrix.platform }} + needs: matrices + runs-on: ${{ matrix.build_os }} + continue-on-error: ${{ matrix.tier == 3 }} + strategy: + matrix: + include: ${{ fromJson(needs.matrices.outputs.build_matrix) }} + + steps: + - uses: actions/checkout@v4 + + - name: Install Homebrew build dependencies + if: matrix.brew_deps != '' + run: brew install ${{ matrix.brew_deps }} + + - name: Install cross-compilation build dependencies + if: matrix.cross_deps != '' + run: sudo apt update && sudo apt install ${{ matrix.cross_deps }} + + - name: Configure MinGW to use POSIX variant + if: matrix.name == 'mingw32' + run: | + sudo update-alternatives --set x86_64-w64-mingw32-gcc $(update-alternatives --query x86_64-w64-mingw32-gcc | grep Alternative | grep posix | cut -d' ' -f2) + sudo update-alternatives --set x86_64-w64-mingw32-g++ $(update-alternatives --query x86_64-w64-mingw32-g++ | grep Alternative | grep posix | cut -d' ' -f2) + + - name: Cache built dependencies + uses: actions/cache@v3 + with: + path: depends/built + key: ${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}-${{ hashFiles('depends/packages/*.mk', 'depends/patches/**/*') }} + restore-keys: | + ${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}- + + - name: Prepare ccache timestamp + id: ccache_cache_timestamp + shell: bash + run: echo "timestamp=$(date +'%Y-%m-%d-%H;%M;%S')" >> "$GITHUB_OUTPUT" + + - name: Cache ccache files + uses: actions/cache@v3 + with: + path: ${{ runner.os == 'macOS' && '~/Library/Caches/ccache' || '~/.cache/ccache' }} + key: ${{ matrix.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }} + restore-keys: | + ${{ matrix.name }}-ccache- + + - name: Get the number of available processing cores + id: nproc + shell: bash + run: echo "count=$(nproc 2> /dev/null || sysctl -n hw.logicalcpu)" >> "$GITHUB_OUTPUT" + + - name: Build zcashd + id: build + run: > + ${{ matrix.host }} + ./zcutil/build.sh + -j"${{ steps.nproc.outputs.count }}" + + - name: Upload zcashd artifact + uses: actions/upload-artifact@v3 + with: + name: zcashd-${{ matrix.name }} + path: | + ${{ format('src/zcash-cli{0}', matrix.file_ext) }} + ${{ format('src/zcashd{0}', matrix.file_ext) }} + + - name: Upload zcash-btest artifact + if: matrix.test_os != '' + uses: actions/upload-artifact@v3 + with: + name: zcash-btest-${{ matrix.name }} + path: ${{ format('src/test/test_bitcoin{0}', matrix.file_ext) }} + + - name: Upload zcash-gtest artifact + if: matrix.test_os != '' + uses: actions/upload-artifact@v3 + with: + name: zcash-gtest-${{ matrix.name }} + path: ${{ format('src/zcash-gtest{0}', matrix.file_ext) }} + + bitrot: + name: Bitrot check tier ${{ matrix.tier }} platform ${{ matrix.platform }} + needs: [matrices, build] + runs-on: ${{ matrix.build_os }} + continue-on-error: ${{ matrix.tier == 3 }} + strategy: + matrix: + include: ${{ fromJson(needs.matrices.outputs.build_matrix) }} + + steps: + - uses: actions/checkout@v4 + + - name: Install Homebrew build dependencies + if: matrix.brew_deps != '' + run: brew install ${{ matrix.brew_deps }} + + - name: Install cross-compilation build dependencies + if: matrix.cross_deps != '' + run: sudo apt update && sudo apt install ${{ matrix.cross_deps }} + + - name: Configure MinGW to use POSIX variant + if: matrix.name == 'mingw32' + run: | + sudo update-alternatives --set x86_64-w64-mingw32-gcc $(update-alternatives --query x86_64-w64-mingw32-gcc | grep Alternative | grep posix | cut -d' ' -f2) + sudo update-alternatives --set x86_64-w64-mingw32-g++ $(update-alternatives --query x86_64-w64-mingw32-g++ | grep Alternative | grep posix | cut -d' ' -f2) + + - name: Cache built dependencies + uses: actions/cache@v3 + with: + path: depends/built + key: ${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}-${{ hashFiles('depends/packages/*.mk', 'depends/patches/**/*') }} + restore-keys: | + ${{ matrix.name }}-built-${{ hashFiles('depends/Makefile', 'depends/funcs.mk') }}- + + - name: Prepare ccache timestamp + id: ccache_cache_timestamp + shell: bash + run: echo "timestamp=$(date +'%Y-%m-%d-%H;%M;%S')" >> "$GITHUB_OUTPUT" + + - name: Cache ccache files + uses: actions/cache@v3 + with: + path: ${{ runner.os == 'macOS' && '~/Library/Caches/ccache' || '~/.cache/ccache' }} + key: ${{ matrix.name }}-ccache-${{ steps.ccache_cache_timestamp.outputs.timestamp }} + restore-keys: | + ${{ matrix.name }}-ccache- + + - name: Get the number of available processing cores + id: nproc + shell: bash + run: echo "count=$(nproc 2> /dev/null || sysctl -n hw.logicalcpu)" >> "$GITHUB_OUTPUT" + + - name: Build zcashd with libraries enabled + run: > + CONFIGURE_FLAGS="--with-libs" + ${{ matrix.host }} + ./zcutil/build.sh + -j"${{ steps.nproc.outputs.count }}" + + - name: Build zcashd with wallet disabled + run: > + CONFIGURE_FLAGS="--disable-wallet" + ${{ matrix.host }} + ./zcutil/build.sh + -j"${{ steps.nproc.outputs.count }}" + + - name: Build zcashd with mining disabled + run: > + CONFIGURE_FLAGS="--disable-mining" + ${{ matrix.host }} + ./zcutil/build.sh + -j"${{ steps.nproc.outputs.count }}" + + test-btest: + name: Boost.Test tier ${{ matrix.tier }} platform ${{ matrix.platform }} + needs: [matrices, build] + runs-on: ${{ matrix.test_os }} + continue-on-error: ${{ matrix.tier != 1 }} + strategy: + matrix: + include: ${{ fromJson(needs.matrices.outputs.test_matrix) }} + steps: + - name: Download zcash-btest artifact + uses: actions/download-artifact@v3 + with: + name: zcash-btest-${{ matrix.name }} + - name: Make artifact executable + if: runner.os != 'Windows' + run: chmod +x ${{ format('./test_bitcoin{0}', matrix.file_ext) }} + - name: Run Boost.Tests + run: ${{ format('./test_bitcoin{0}', matrix.file_ext) }} -p + + test-gtest: + name: GoogleTest tier ${{ matrix.tier }} platform ${{ matrix.platform }} - shard ${{ matrix.gtest_shards }} + needs: [matrices, build] + runs-on: ${{ matrix.test_os }} + continue-on-error: ${{ matrix.tier != 1 }} + strategy: + matrix: + name: ${{ fromJson(needs.matrices.outputs.test_names) }} + shard_index: [0, 1] + include: ${{ fromJson(needs.matrices.outputs.test_matrix) }} + steps: + - name: Download zcash-gtest artifact + uses: actions/download-artifact@v3 + with: + name: zcash-gtest-${{ matrix.name }} + - name: Make artifact executable + if: runner.os != 'Windows' + run: chmod +x ${{ format('./zcash-gtest{0}', matrix.file_ext) }} + - name: Get environment variables + id: env + shell: bash + run: | + echo "appdata=$APPDATA" >> "$GITHUB_OUTPUT" + echo "home=$HOME" >> "$GITHUB_OUTPUT" + - name: Download Sprout parameters + uses: carlosperate/download-file-action@v2.0.1 + with: + file-url: "https://download.z.cash/downloads/sprout-groth16.params" + location: > + ${{ + runner.os == 'Windows' && steps.env.outputs.appdata || steps.env.outputs.home + }}${{ + runner.os == 'macOS' && '/Library/Application Support/' || '/' + }}${{ + runner.os == 'Linux' && '.zcash-params' || 'ZcashParams' + }} + - name: Run GoogleTests + env: + GTEST_TOTAL_SHARDS: 2 + GTEST_SHARD_INDEX: ${{ matrix.shard_index }} + run: ${{ format('./zcash-gtest{0}', matrix.file_ext) }} diff --git a/depend/zcash/.github/workflows/lints.yml b/depend/zcash/.github/workflows/lints.yml index fb721706d..3218cc693 100644 --- a/depend/zcash/.github/workflows/lints.yml +++ b/depend/zcash/.github/workflows/lints.yml @@ -8,7 +8,7 @@ jobs: name: Scripted diffs runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.pull_request.head.sha }} @@ -19,7 +19,7 @@ jobs: name: General runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: sudo python3 -m pip install yq @@ -66,7 +66,7 @@ jobs: name: Python runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: sudo python3 -m pip install pyflakes @@ -82,7 +82,7 @@ jobs: name: Clippy (MSRV) runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run clippy uses: actions-rs/clippy-check@v1 with: @@ -94,5 +94,5 @@ jobs: name: Rustfmt runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - run: cargo fmt -- --check diff --git a/depend/zcash/Cargo.lock b/depend/zcash/Cargo.lock index 36d826b65..f3bdc2f58 100644 --- a/depend/zcash/Cargo.lock +++ b/depend/zcash/Cargo.lock @@ -40,20 +40,21 @@ dependencies = [ [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "77c3a9648d43b9cd48db467b3f87fdd6e146bcc88ab0180006cef2179fe11d01" dependencies = [ "cfg-if", "once_cell", "version_check", + "zerocopy", ] [[package]] name = "aho-corasick" -version = "1.0.5" +version = "1.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" +checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0" dependencies = [ "memchr", ] @@ -66,9 +67,9 @@ checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "anyhow" -version = "1.0.75" +version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4668cab20f66d8d020e1fbc0ebe47217433c1b6c8f2040faf858554e394ace6" +checksum = "080e9890a082662b09c1ad45f567faeeb47f22b5fb23895fbe1e651e718e25ca" [[package]] name = "arrayref" @@ -105,9 +106,9 @@ dependencies = [ [[package]] name = "base64" -version = "0.21.4" +version = "0.21.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" +checksum = "35636a1494ede3b646cc98f74f8e62c773a38a659ebc777a2cf26b9b74171df9" [[package]] name = "base64ct" @@ -179,9 +180,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bitvec" @@ -272,9 +273,9 @@ checksum = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" [[package]] name = "byteorder" -version = "1.4.3" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" [[package]] name = "bytes" @@ -354,6 +355,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "const-oid" +version = "0.9.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2459377285ad874054d797f3ccebf984978aa39129f6eafde5cdc8315b612f8" + [[package]] name = "constant_time_eq" version = "0.3.0" @@ -362,18 +369,18 @@ checksum = "f7144d30dcf0fafbce74250a3963025d8d52177934239851c917d29f1df280c2" [[package]] name = "cpufeatures" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" +checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" dependencies = [ "libc", ] [[package]] name = "crossbeam-channel" -version = "0.5.8" +version = "0.5.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200" +checksum = "82a9b73a36529d9c47029b9fb3a6f0ea3cc916a261195352ba19e770fc1748b2" dependencies = [ "cfg-if", "crossbeam-utils", @@ -381,9 +388,9 @@ dependencies = [ [[package]] name = "crossbeam-deque" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef" +checksum = "fca89a0e215bab21874660c67903c5f143333cab1da83d041c7ded6053774751" dependencies = [ "cfg-if", "crossbeam-epoch", @@ -392,22 +399,20 @@ dependencies = [ [[package]] name = "crossbeam-epoch" -version = "0.9.15" +version = "0.9.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ae211234986c545741a7dc064309f67ee1e5ad243d0e48335adc0484d960bcc7" +checksum = "0e3681d554572a651dda4186cd47240627c3d0114d45a95f6ad27f2f22e7548d" dependencies = [ "autocfg", "cfg-if", "crossbeam-utils", - "memoffset", - "scopeguard", ] [[package]] name = "crossbeam-utils" -version = "0.8.16" +version = "0.8.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a22b2d63d4d1dc0b7f1b6b2747dd0088008a9be28b6ddf0b1e7d335e3037294" +checksum = "c3a430a770ebd84726f584a90ee7f020d28db52c6d02138900f22341f866d39c" dependencies = [ "cfg-if", ] @@ -430,9 +435,9 @@ dependencies = [ [[package]] name = "curve25519-dalek" -version = "4.1.0" +version = "4.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622178105f911d937a42cdb140730ba4a3ed2becd8ae6ce39c7d28b5d75d4588" +checksum = "e89b8c6a2e4b1f45971ad09761aafb85514a84744b67a95e32c3cc1352d1f65c" dependencies = [ "cfg-if", "cpufeatures", @@ -447,20 +452,20 @@ dependencies = [ [[package]] name = "curve25519-dalek-derive" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" +checksum = "f46882e17999c6cc590af592290432be3bce0428cb0d5f8b6715e4dc7b383eb3" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", ] [[package]] name = "cxx" -version = "1.0.107" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe98ba1789d56fb3db3bee5e032774d4f421b685de7ba703643584ba24effbe" +checksum = "048948e14bc2c2652ec606c8e3bb913407f0187288fb351a0b2d972beaf12070" dependencies = [ "cc", "cxxbridge-flags", @@ -470,26 +475,39 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.107" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20888d9e1d2298e2ff473cee30efe7d5036e437857ab68bbfea84c74dba91da2" +checksum = "af40b0467c68d3d9fb7550ef984edc8ad47252f703ef0f1f2d1052e0e4af8793" [[package]] name = "cxxbridge-macro" -version = "1.0.107" +version = "1.0.113" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fa16a70dd58129e4dfffdff535fb1bce66673f7bbeec4a5a1765a504e1ccd84" +checksum = "7743446286141c9f6d4497c493c01234eb848e14d2e20866ae9811eae0630cb9" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", +] + +[[package]] +name = "der" +version = "0.7.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fffa369a668c8af7dbf8b5e56c9f744fbd399949ed171606040001947de40b1c" +dependencies = [ + "const-oid", + "zeroize", ] [[package]] name = "deranged" -version = "0.3.8" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +checksum = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" +dependencies = [ + "powerfmt", +] [[package]] name = "digest" @@ -524,10 +542,11 @@ dependencies = [ [[package]] name = "ed25519" -version = "2.2.2" +version = "2.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60f6d271ca33075c88028be6f04d502853d63a5ece419d269c15315d4fc1cf1d" +checksum = "115531babc129696a58c64a4fef0a8bf9e9698629fb97e9e40767d235cfbcd53" dependencies = [ + "pkcs8", "serde", "signature", ] @@ -540,7 +559,7 @@ checksum = "7d9ce6874da5d4415896cd45ffbc4d1cfc0c4f9c079427bd870742c30f2f65a9" dependencies = [ "curve25519-dalek", "ed25519", - "hashbrown 0.14.0", + "hashbrown 0.14.3", "hex", "rand_core", "serde", @@ -572,23 +591,12 @@ checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" -dependencies = [ - "errno-dragonfly", - "libc", - "windows-sys", -] - -[[package]] -name = "errno-dragonfly" -version = "0.1.2" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf" +checksum = "a258e46cdc063eb8519c00b9fc845fc47bcfca4130e2f08e88665ceda8474245" dependencies = [ - "cc", "libc", + "windows-sys 0.52.0", ] [[package]] @@ -602,9 +610,9 @@ dependencies = [ [[package]] name = "fastrand" -version = "2.0.0" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" +checksum = "25cbce373ec4653f1a01a31e8a5e5ec0c622dc27ff9c4e6606eefef5cbbed4a5" [[package]] name = "ff" @@ -619,9 +627,9 @@ dependencies = [ [[package]] name = "fiat-crypto" -version = "0.2.1" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0870c84016d4b481be5c9f323c24f65e31e901ae618f0e80f4308fb00de1d2d" +checksum = "27573eac26f4dd11e2b1916c3fe1baa56407c83c71a773a8ba17ec0bca03b6b7" [[package]] name = "fixed-hash" @@ -663,30 +671,30 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" [[package]] name = "futures-channel" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2" +checksum = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" dependencies = [ "futures-core", ] [[package]] name = "futures-core" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c" +checksum = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" [[package]] name = "futures-task" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65" +checksum = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" [[package]] name = "futures-util" -version = "0.3.28" +version = "0.3.30" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533" +checksum = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" dependencies = [ "futures-core", "futures-task", @@ -706,9 +714,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.10" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be4136b2a15dd319360be1c07d9933517ccf0be8f16bf62a3bee4f0d618df427" +checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" dependencies = [ "cfg-if", "libc", @@ -717,9 +725,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.28.0" +version = "0.28.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" +checksum = "4271d37baee1b8c7e4b708028c57d816cf9d2434acb33a549475f78c181f6253" [[package]] name = "group" @@ -810,9 +818,9 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.0" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash", "allocator-api2", @@ -833,9 +841,9 @@ dependencies = [ [[package]] name = "hermit-abi" -version = "0.3.2" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "443144c8cdadd93ebf52ddb4056d257f5b52c04d3c804e657d19eb73fc33668b" +checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7" [[package]] name = "hex" @@ -858,14 +866,14 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" dependencies = [ - "windows-sys", + "windows-sys 0.48.0", ] [[package]] name = "http" -version = "0.2.9" +version = "0.2.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd6effc99afb63425aff9b05836f029929e345a6148a14b7ecd5ab67af944482" +checksum = "8947b1a6fad4393052c7ba1f4cd97bed3e953a95c79c92ad9b051a04611d9fbb" dependencies = [ "bytes", "fnv", @@ -874,9 +882,9 @@ dependencies = [ [[package]] name = "http-body" -version = "0.4.5" +version = "0.4.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5f38f16d184e36f2408a55281cd658ecbd3ca05cce6d6510a176eca393e26d1" +checksum = "7ceab25649e9960c0311ea418d17bee82c0dcec1bd053b5f9a66e265a693bed2" dependencies = [ "bytes", "http", @@ -897,9 +905,9 @@ checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "hyper" -version = "0.14.27" +version = "0.14.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ffb1cfd654a8219eaef89881fdb3bb3b1cdc5fa75ded05d6933b2b382e395468" +checksum = "bf96e135eb83a2a8ddf766e426a841d8ddd7449d5f00d34ea02b41d2f19eef80" dependencies = [ "bytes", "futures-channel", @@ -911,7 +919,7 @@ dependencies = [ "httpdate", "itoa", "pin-project-lite", - "socket2 0.4.9", + "socket2", "tokio", "tower-service", "tracing", @@ -960,12 +968,12 @@ dependencies = [ [[package]] name = "indexmap" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" dependencies = [ "equivalent", - "hashbrown 0.14.0", + "hashbrown 0.14.3", ] [[package]] @@ -979,21 +987,21 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6" +checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "js-sys" -version = "0.3.64" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c5f195fe497f702db0f318b07fdd68edb16955aed830df8363d837542f8f935a" +checksum = "cee9c64da59eae3b50095c18d3e74f8b73c0b86d2792824ff01bbce68ba229ca" dependencies = [ "wasm-bindgen", ] @@ -1014,11 +1022,11 @@ dependencies = [ [[package]] name = "known-folders" -version = "1.0.1" +version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2b6f1427d9c43b1cce87434c4d9eca33f43bdbb6246a762aa823a582f74c1684" +checksum = "4397c789f2709d23cfcb703b316e0766a8d4b17db2d47b0ab096ef6047cae1d8" dependencies = [ - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -1032,15 +1040,26 @@ dependencies = [ [[package]] name = "libc" -version = "0.2.148" +version = "0.2.151" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" +checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" [[package]] name = "libm" -version = "0.2.7" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4" +checksum = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" + +[[package]] +name = "libredox" +version = "0.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85c833ca1e66078851dba29046874e38f08b2c883700aa29a03ddd3b23814ee8" +dependencies = [ + "bitflags 2.4.1", + "libc", + "redox_syscall", +] [[package]] name = "librustzcash" @@ -1114,9 +1133,9 @@ dependencies = [ [[package]] name = "linux-raw-sys" -version = "0.4.7" +version = "0.4.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128" +checksum = "c4cd1a83af159aa67994778be9070f0ae1bd732942279cabb14f86f986a21456" [[package]] name = "log" @@ -1154,18 +1173,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.6.3" +version = "2.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" - -[[package]] -name = "memoffset" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a634b1c61a95585bd15607c6ab0c4e5b226e695ff2800ba0cdccddf208c406c" -dependencies = [ - "autocfg", -] +checksum = "523dc4f511e55ab87b694dc30d0f820d60906ef06413f93d4d7a1385599cc149" [[package]] name = "memuse" @@ -1189,9 +1199,9 @@ dependencies = [ [[package]] name = "metrics-exporter-prometheus" -version = "0.12.1" +version = "0.12.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8a4964177ddfdab1e3a2b37aec7cf320e14169abb0ed73999f558136409178d5" +checksum = "1d4fa7ce7c4862db464a37b0b31d89bca874562f034bd7993895572783d02950" dependencies = [ "base64", "hyper", @@ -1207,13 +1217,13 @@ dependencies = [ [[package]] name = "metrics-macros" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ddece26afd34c31585c74a4db0630c376df271c285d682d1e55012197830b6df" +checksum = "38b4faf00617defe497754acde3024865bc143d44a86799b24e191ecff91354f" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", ] [[package]] @@ -1249,13 +1259,13 @@ dependencies = [ [[package]] name = "mio" -version = "0.8.8" +version = "0.8.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "927a765cd3fc26206e66b296465fa9d3e5ab003e651c1b3c060e7956d96b19d2" +checksum = "8f3d0b296e374a4e6f3c7b0a1f5a51d748a0d34c85e7dc48fc3fa9a87657fe09" dependencies = [ "libc", "wasi", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -1318,9 +1328,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.16" +version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" +checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" dependencies = [ "autocfg", "libm", @@ -1347,9 +1357,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "opaque-debug" @@ -1403,9 +1413,9 @@ dependencies = [ [[package]] name = "parity-scale-codec" -version = "3.6.5" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0dec8a8073036902368c2cdc0387e85ff9a37054d7e7c98e592145e0c92cd4fb" +checksum = "881331e34fa842a2fb61cc2db9643a8fedc615e47cfcc52597d1af0db9a7e8fe" dependencies = [ "arrayvec", "bitvec", @@ -1417,9 +1427,9 @@ dependencies = [ [[package]] name = "parity-scale-codec-derive" -version = "3.6.5" +version = "3.6.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "312270ee71e1cd70289dacf597cab7b207aa107d2f28191c2ae45b2ece18a260" +checksum = "be30eaf4b0a9fba5336683b38de57bb86d179a35862ba6bfcf57625d006bde5b" dependencies = [ "proc-macro-crate", "proc-macro2", @@ -1513,11 +1523,21 @@ version = "0.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" +[[package]] +name = "pkcs8" +version = "0.10.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f950b2377845cebe5cf8b5165cb3cc1a5e0fa5cfa3e1f7f55707d8fd82e0a7b7" +dependencies = [ + "der", + "spki", +] + [[package]] name = "platforms" -version = "3.1.2" +version = "3.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4503fa043bf02cee09a9582e9554b4c6403b2ef55e4612e96561d294419429f8" +checksum = "626dec3cac7cc0e1577a2ec3fc496277ec2baa084bebad95bb6fdbfae235f84c" [[package]] name = "poly1305" @@ -1532,9 +1552,15 @@ dependencies = [ [[package]] name = "portable-atomic" -version = "1.4.3" +version = "1.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7170ef9988bc169ba16dd36a7fa041e5c4cbeb6a35b76d4c03daded371eae7c0" + +[[package]] +name = "powerfmt" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" +checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" [[package]] name = "ppv-lite86" @@ -1555,38 +1581,38 @@ dependencies = [ [[package]] name = "proc-macro-crate" -version = "1.3.1" +version = "2.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919" +checksum = "97dc5fea232fc28d2f597b37c4876b348a40e33f3b02cc975c8d006d78d94b1a" dependencies = [ - "once_cell", + "toml_datetime", "toml_edit", ] [[package]] name = "proc-macro2" -version = "1.0.67" +version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" +checksum = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db" dependencies = [ "unicode-ident", ] [[package]] name = "proptest" -version = "1.2.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4e35c06b98bf36aba164cc17cb25f7e232f5c4aeea73baa14b8a9f0d92dbfa65" +checksum = "31b476131c3c86cb68032fdc5cb6d5a1045e3e42d96b69fa599fd77701e1f5bf" dependencies = [ "bit-set", - "bitflags 1.3.2", - "byteorder", + "bit-vec", + "bitflags 2.4.1", "lazy_static", "num-traits", "rand", "rand_chacha", "rand_xorshift", - "regex-syntax 0.6.29", + "regex-syntax 0.8.2", "rusty-fork", "tempfile", "unarray", @@ -1616,9 +1642,9 @@ checksum = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -1679,9 +1705,9 @@ dependencies = [ [[package]] name = "rayon" -version = "1.7.0" +version = "1.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b" +checksum = "9c27db03db7734835b3f53954b534c91069375ce6ccaa2e065441e07d9b6cdb1" dependencies = [ "either", "rayon-core", @@ -1689,14 +1715,12 @@ dependencies = [ [[package]] name = "rayon-core" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d" +checksum = "5ce3fb6ad83f861aac485e76e1985cd109d9a3713802152be56c3b1f0e0658ed" dependencies = [ - "crossbeam-channel", "crossbeam-deque", "crossbeam-utils", - "num_cpus", ] [[package]] @@ -1732,43 +1756,34 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.2.16" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a" -dependencies = [ - "bitflags 1.3.2", -] - -[[package]] -name = "redox_syscall" -version = "0.3.5" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29" +checksum = "4722d768eff46b75989dd134e5c353f0d6296e5aaa3132e776cbdb56be7731aa" dependencies = [ "bitflags 1.3.2", ] [[package]] name = "redox_users" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b" +checksum = "a18479200779601e498ada4e8c1e1f50e3ee19deb0259c25825a98b5603b2cb4" dependencies = [ "getrandom", - "redox_syscall 0.2.16", + "libredox", "thiserror", ] [[package]] name = "regex" -version = "1.9.5" +version = "1.10.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47" +checksum = "380b951a9c5e80ddfd6136919eef32310721aa4aacd4889a8d39124b026ab343" dependencies = [ "aho-corasick", "memchr", - "regex-automata 0.3.8", - "regex-syntax 0.7.5", + "regex-automata 0.4.3", + "regex-syntax 0.8.2", ] [[package]] @@ -1782,13 +1797,13 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.8" +version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795" +checksum = "5f804c7828047e88b2d32e2d7fe5a105da8ee3264f01902f796c8e067dc2483f" dependencies = [ "aho-corasick", "memchr", - "regex-syntax 0.7.5", + "regex-syntax 0.8.2", ] [[package]] @@ -1799,9 +1814,9 @@ checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1" [[package]] name = "regex-syntax" -version = "0.7.5" +version = "0.8.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" +checksum = "c08c74e62047bb2de4ff487b251e4a92e24f48745648451635cec7d591162d9f" [[package]] name = "ring" @@ -1850,15 +1865,15 @@ dependencies = [ [[package]] name = "rustix" -version = "0.38.13" +version = "0.38.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7db8590df6dfcd144d22afd1b83b36c21a18d7cbc1dc4bb5295a8712e9eb662" +checksum = "72e572a5e8ca657d7366229cdde4bd14c4eb5499a9573d4d366fe1b599daa316" dependencies = [ - "bitflags 2.4.0", + "bitflags 2.4.1", "errno", "libc", "linux-raw-sys", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -1875,15 +1890,9 @@ dependencies = [ [[package]] name = "ryu" -version = "1.0.15" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" - -[[package]] -name = "scopeguard" -version = "1.2.0" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "secp256k1" @@ -1914,35 +1923,35 @@ dependencies = [ [[package]] name = "semver" -version = "1.0.18" +version = "1.0.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" [[package]] name = "serde" -version = "1.0.188" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" +checksum = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.188" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" +checksum = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", ] [[package]] name = "serde_json" -version = "1.0.107" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" +checksum = "6fbd975230bada99c8bb618e0c365c2eefa219158d5c6c29610fd09ff1833257" dependencies = [ "itoa", "ryu", @@ -1951,9 +1960,9 @@ dependencies = [ [[package]] name = "sha2" -version = "0.10.7" +version = "0.10.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" +checksum = "793db75ad2bcafc3ffa7c68b215fee268f537982cd901d132f89c6343f3a3dc8" dependencies = [ "cfg-if", "cpufeatures", @@ -1962,18 +1971,21 @@ dependencies = [ [[package]] name = "sharded-slab" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "900fba806f70c630b0a382d0d825e17a0f19fcd059a2ade1ff237bcddf446b31" +checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6" dependencies = [ "lazy_static", ] [[package]] name = "signature" -version = "2.1.0" +version = "2.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5e1788eed21689f9cf370582dfc467ef36ed9c707f073528ddafa8d83e3b8500" +checksum = "77549399552de45a898a580c1b41d445bf730df867cc44e6c0233bbc4b8329de" +dependencies = [ + "rand_core", +] [[package]] name = "siphasher" @@ -1989,22 +2001,12 @@ checksum = "68a406c1882ed7f29cd5e248c9848a80e7cb6ae0fea82346d2746f2f941c07e1" [[package]] name = "socket2" -version = "0.4.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" -dependencies = [ - "libc", - "winapi", -] - -[[package]] -name = "socket2" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" +checksum = "7b5fac59a5cb5dd637972e5fca70daf0523c9067fcdc4842f053dae04a18f8e9" dependencies = [ "libc", - "windows-sys", + "windows-sys 0.48.0", ] [[package]] @@ -2013,6 +2015,16 @@ version = "0.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "6e63cff320ae2c57904679ba7cb63280a3dc4613885beafb148ee7bf9aa9042d" +[[package]] +name = "spki" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d91ed6c858b01f942cd56b37a94b3e0a1798290327d1236e4d9cf4eaca44d29d" +dependencies = [ + "base64ct", + "der", +] + [[package]] name = "static_assertions" version = "1.1.0" @@ -2038,9 +2050,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.33" +version = "2.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9caece70c63bfba29ec2fed841a09851b14a235c60010fa4de58089b6c025668" +checksum = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e" dependencies = [ "proc-macro2", "quote", @@ -2055,15 +2067,15 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" [[package]] name = "tempfile" -version = "3.8.0" +version = "3.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" +checksum = "01ce4141aa927a6d1bd34a041795abd0db1cccba5d5f24b009f694bdf3a1f3fa" dependencies = [ "cfg-if", "fastrand", - "redox_syscall 0.3.5", + "redox_syscall", "rustix", - "windows-sys", + "windows-sys 0.52.0", ] [[package]] @@ -2081,22 +2093,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.48" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9d6d7a740b8a666a7e828dd00da9c0dc290dff53154ea77ac109281de90589b7" +checksum = "d54378c645627613241d077a3a79db965db602882668f9136ac42af9ecb730ad" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.48" +version = "1.0.56" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35" +checksum = "fa0faa943b50f3db30a20aa7e265dbc66076993efed8463e8de414e5d06d3471" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", ] [[package]] @@ -2111,12 +2123,13 @@ dependencies = [ [[package]] name = "time" -version = "0.3.28" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" +checksum = "f657ba42c3f86e7680e53c8cd3af8abbe56b5491790b46e22e19c0d57463583e" dependencies = [ "deranged", "itoa", + "powerfmt", "serde", "time-core", "time-macros", @@ -2124,15 +2137,15 @@ dependencies = [ [[package]] name = "time-core" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" +checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" [[package]] name = "time-macros" -version = "0.2.14" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572" +checksum = "26197e33420244aeb70c3e8c78376ca46571bc4e701e4791c2cd9f57dcb3a43f" dependencies = [ "time-core", ] @@ -2154,16 +2167,16 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.32.0" +version = "1.35.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" +checksum = "c89b4efa943be685f629b149f53829423f8f5531ea21249408e8e2f8671ec104" dependencies = [ "backtrace", "libc", "mio", "pin-project-lite", - "socket2 0.5.4", - "windows-sys", + "socket2", + "windows-sys 0.48.0", ] [[package]] @@ -2174,11 +2187,11 @@ checksum = "7cda73e2f1397b1262d6dfdcef8aafae14d1de7748d66822d3bfeeb6d03e5e4b" [[package]] name = "toml_edit" -version = "0.19.15" +version = "0.20.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b5bb770da30e5cbfde35a2d7b9b8a2c4b8ef89548a7a6aeab5c9a576e3e7421" +checksum = "396e4d48bbb2b7554c944bde63101b5ae446cff6ec4a24227428f15eb72ef338" dependencies = [ - "indexmap 2.0.0", + "indexmap 2.1.0", "toml_datetime", "winnow", ] @@ -2191,11 +2204,10 @@ checksum = "b6bc1c9ce2b5135ac7f93c72918fc37feb872bdc6a5533a8b85eb4b86bfdae52" [[package]] name = "tracing" -version = "0.1.37" +version = "0.1.40" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ce8c33a8d48bd45d624a6e523445fd21ec13d3653cd51f681abf67418f54eb8" +checksum = "c3523ab5a71916ccf420eebdf5521fcef02141234bbc0b8a49f2fdc4544364ef" dependencies = [ - "cfg-if", "pin-project-lite", "tracing-attributes", "tracing-core", @@ -2203,31 +2215,32 @@ dependencies = [ [[package]] name = "tracing-appender" -version = "0.2.2" +version = "0.2.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09d48f71a791638519505cefafe162606f706c25592e4bde4d97600c0195312e" +checksum = "3566e8ce28cc0a3fe42519fc80e6b4c943cc4c8cef275620eb8dac2d3d4e06cf" dependencies = [ "crossbeam-channel", + "thiserror", "time", "tracing-subscriber", ] [[package]] name = "tracing-attributes" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" +checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", ] [[package]] name = "tracing-core" -version = "0.1.31" +version = "0.1.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0955b8137a1df6f1a2e9a37d8a6656291ff0297c1a97c24e0d8425fe2312f79a" +checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54" dependencies = [ "once_cell", "valuable", @@ -2235,9 +2248,9 @@ dependencies = [ [[package]] name = "tracing-subscriber" -version = "0.3.17" +version = "0.3.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30a651bc37f915e81f087d86e62a18eec5f79550c7faff886f7090b4ea757c77" +checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b" dependencies = [ "matchers", "nu-ansi-term", @@ -2252,9 +2265,9 @@ dependencies = [ [[package]] name = "try-lock" -version = "0.2.4" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" +checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "typenum" @@ -2399,9 +2412,9 @@ checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" [[package]] name = "wasm-bindgen" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7706a72ab36d8cb1f80ffbf0e071533974a60d0a308d01a5d0375bf60499a342" +checksum = "0ed0d4f68a3015cc185aff4db9506a015f4b96f95303897bfa23f846db54064e" dependencies = [ "cfg-if", "wasm-bindgen-macro", @@ -2409,24 +2422,24 @@ dependencies = [ [[package]] name = "wasm-bindgen-backend" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ef2b6d3c510e9625e5fe6f509ab07d66a760f0885d858736483c32ed7809abd" +checksum = "1b56f625e64f3a1084ded111c4d5f477df9f8c92df113852fa5a374dbda78826" dependencies = [ "bumpalo", "log", "once_cell", "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-macro" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dee495e55982a3bd48105a7b947fd2a9b4a8ae3010041b9e0faab3f9cd028f1d" +checksum = "0162dbf37223cd2afce98f3d0785506dcb8d266223983e4b5b525859e6e182b2" dependencies = [ "quote", "wasm-bindgen-macro-support", @@ -2434,28 +2447,28 @@ dependencies = [ [[package]] name = "wasm-bindgen-macro-support" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" +checksum = "f0eb82fcb7930ae6219a7ecfd55b217f5f0893484b7a13022ebb2b2bf20b5283" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", "wasm-bindgen-backend", "wasm-bindgen-shared", ] [[package]] name = "wasm-bindgen-shared" -version = "0.2.87" +version = "0.2.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +checksum = "7ab9b36309365056cd639da3134bf87fa8f3d86008abf99e612384a6eecd459f" [[package]] name = "web-sys" -version = "0.3.64" +version = "0.3.66" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +checksum = "50c24a44ec86bb68fbecd1b3efed7e85ea5621b39b35ef2766b66cd984f8010f" dependencies = [ "js-sys", "wasm-bindgen", @@ -2501,7 +2514,16 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets", + "windows-targets 0.48.5", +] + +[[package]] +name = "windows-sys" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" +dependencies = [ + "windows-targets 0.52.0", ] [[package]] @@ -2510,13 +2532,28 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm", - "windows_aarch64_msvc", - "windows_i686_gnu", - "windows_i686_msvc", - "windows_x86_64_gnu", - "windows_x86_64_gnullvm", - "windows_x86_64_msvc", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", +] + +[[package]] +name = "windows-targets" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a18201040b24831fbb9e4eb208f8892e1f50a37feb53cc7ff887feb8f50e7cd" +dependencies = [ + "windows_aarch64_gnullvm 0.52.0", + "windows_aarch64_msvc 0.52.0", + "windows_i686_gnu 0.52.0", + "windows_i686_msvc 0.52.0", + "windows_x86_64_gnu 0.52.0", + "windows_x86_64_gnullvm 0.52.0", + "windows_x86_64_msvc 0.52.0", ] [[package]] @@ -2525,47 +2562,89 @@ version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" +[[package]] +name = "windows_aarch64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb7764e35d4db8a7921e09562a0304bf2f93e0a51bfccee0bd0bb0b666b015ea" + [[package]] name = "windows_aarch64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" +[[package]] +name = "windows_aarch64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbaa0368d4f1d2aaefc55b6fcfee13f41544ddf36801e793edbbfd7d7df075ef" + [[package]] name = "windows_i686_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" +[[package]] +name = "windows_i686_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a28637cb1fa3560a16915793afb20081aba2c92ee8af57b4d5f28e4b3e7df313" + [[package]] name = "windows_i686_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" +[[package]] +name = "windows_i686_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ffe5e8e31046ce6230cc7215707b816e339ff4d4d67c65dffa206fd0f7aa7b9a" + [[package]] name = "windows_x86_64_gnu" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" +[[package]] +name = "windows_x86_64_gnu" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d6fa32db2bc4a2f5abeacf2b69f7992cd09dca97498da74a151a3132c26befd" + [[package]] name = "windows_x86_64_gnullvm" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" +[[package]] +name = "windows_x86_64_gnullvm" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a657e1e9d3f514745a572a6846d3c7aa7dbe1658c056ed9c3344c4109a6949e" + [[package]] name = "windows_x86_64_msvc" version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" +[[package]] +name = "windows_x86_64_msvc" +version = "0.52.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dff9641d1cd4be8d1a070daf9e3773c5f67e78b4d9d42263020c057706765c04" + [[package]] name = "winnow" -version = "0.5.15" +version = "0.5.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7c2e3184b9c4e92ad5167ca73039d0c42476302ab603e2fec4487511f38ccefc" +checksum = "97a4882e6b134d6c28953a387571f1acdd3496830d5e36c5e3a1075580ea641c" dependencies = [ "memchr", ] @@ -2633,9 +2712,9 @@ dependencies = [ [[package]] name = "zcash_primitives" -version = "0.13.0-rc.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0cc4391d9325e0a51a7cbff02b5c4b5472d66087bd9c903ddb12dea7ec22f3e0" +checksum = "d17e4c94ca8d69d2fcf2be97522da5732a580eb2125cda3b150761952f8df8e6" dependencies = [ "aes", "bip0039", @@ -2670,9 +2749,9 @@ dependencies = [ [[package]] name = "zcash_proofs" -version = "0.13.0-rc.1" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "48f22eff3bdc382327ef28f809024ddc89ec6d903ba71be629b2cbea34afdda2" +checksum = "df0c99f65a840ff256c106b28d67d702d9759d206112473d4982c92003262406" dependencies = [ "bellman", "blake2b_simd", @@ -2689,11 +2768,31 @@ dependencies = [ "zcash_primitives", ] +[[package]] +name = "zerocopy" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74d4d3961e53fa4c9a25a8637fc2bfaf2595b3d3ae34875568a5cf64787716be" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9ce1b18ccd8e73a9321186f97e46f9f04b778851177567b1975109d26a08d2a6" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.46", +] + [[package]] name = "zeroize" -version = "1.6.0" +version = "1.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" +checksum = "525b4ec142c6b68a2d10f01f7bbf6755599ca3f81ea53b8431b7dd348f5fdb2d" dependencies = [ "zeroize_derive", ] @@ -2706,5 +2805,5 @@ checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" dependencies = [ "proc-macro2", "quote", - "syn 2.0.33", + "syn 2.0.46", ] diff --git a/depend/zcash/README.md b/depend/zcash/README.md index 24d0f1663..01a040613 100644 --- a/depend/zcash/README.md +++ b/depend/zcash/README.md @@ -1,4 +1,4 @@ -Zcash 5.7.0 +Zcash 5.8.0 =========== diff --git a/depend/zcash/configure.ac b/depend/zcash/configure.ac index aa8bb044c..9e50a3fcf 100644 --- a/depend/zcash/configure.ac +++ b/depend/zcash/configure.ac @@ -1,7 +1,7 @@ dnl require autoconf 2.60 (AS_ECHO/AS_ECHO_N) AC_PREREQ([2.60]) define(_CLIENT_VERSION_MAJOR, 5) -define(_CLIENT_VERSION_MINOR, 7) +define(_CLIENT_VERSION_MINOR, 8) define(_CLIENT_VERSION_REVISION, 0) define(_CLIENT_VERSION_BUILD, 50) define(_ZC_BUILD_VAL, m4_if(m4_eval(_CLIENT_VERSION_BUILD < 25), 1, m4_incr(_CLIENT_VERSION_BUILD), m4_eval(_CLIENT_VERSION_BUILD < 50), 1, m4_eval(_CLIENT_VERSION_BUILD - 24), m4_eval(_CLIENT_VERSION_BUILD == 50), 1, , m4_eval(_CLIENT_VERSION_BUILD - 50))) diff --git a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.apt b/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.apt deleted file mode 100644 index 40ee4b8a4..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.apt +++ /dev/null @@ -1,42 +0,0 @@ -ARG FROMBASEOS -ARG FROMBASEOS_BUILD_TAG=latest -FROM electriccoinco/zcashd-build-$FROMBASEOS$FROMBASEOS_BUILD_TAG - -ARG DUMBINIT_VERSION=1.2.2 -RUN wget -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v${DUMBINIT_VERSION}/dumb-init_${DUMBINIT_VERSION}_amd64 -RUN chmod +x /usr/bin/dumb-init - -# Buildbot user -ARG BUILDBOT_USER=zcbbworker -ARG BUILDBOT_UID=2001 -RUN useradd --home-dir /home/$BUILDBOT_USER \ - --shell /bin/bash \ - --create-home \ - --uid $BUILDBOT_UID\ - $BUILDBOT_USER - -USER $BUILDBOT_USER -WORKDIR /home/$BUILDBOT_USER - -ADD bbworker-requirements.txt requirements.txt -RUN python -m venv venv \ - && . venv/bin/activate \ - && python -m pip install wheel \ - && python -m pip install -r requirements.txt - -# Buildbot worker -ARG BASEOS -ENV BUILDBOT_WORKER_NAME=$BASEOS-docker -ENV BUILDBOT_WORKER_PASS=thisgetssetwhenpodisstarted -ENV BUILDBOT_MASTER_HOST=dev-ci.z.cash -ENV BUILDBOT_MASTER_PORT=9899 - -WORKDIR /home/$BUILDBOT_USER -RUN venv/bin/buildbot-worker create-worker $BUILDBOT_WORKER_NAME \ - $BUILDBOT_MASTER_HOST:$BUILDBOT_MASTER_PORT \ - $BUILDBOT_WORKER_NAME $BUILDBOT_WORKER_PASS \ - && echo "OS: $BASEOS" > $BUILDBOT_WORKER_NAME/info/host -ADD bbworker-buildbot.tac $BUILDBOT_WORKER_NAME/buildbot.tac - -WORKDIR /home/$BUILDBOT_USER/$BUILDBOT_WORKER_NAME -CMD ["/usr/bin/dumb-init", "../venv/bin/twistd", "--pidfile=", "-ny", "buildbot.tac"] diff --git a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.arch b/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.arch deleted file mode 100644 index c3e6ff9d7..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-bbworker.arch +++ /dev/null @@ -1,35 +0,0 @@ -FROM electriccoinco/zcashd-build-arch - -# Buildbot user -ARG BUILDBOT_USER=zcbbworker -ARG BUILDBOT_UID=2001 -RUN useradd --home-dir /home/$BUILDBOT_USER \ - --shell /bin/bash \ - --create-home \ - --uid $BUILDBOT_UID\ - $BUILDBOT_USER - -USER $BUILDBOT_USER -WORKDIR /home/$BUILDBOT_USER - -ADD bbworker-requirements.txt requirements.txt -RUN python -m venv venv \ - && . venv/bin/activate \ - && python -m pip install wheel \ - && python -m pip install -r requirements.txt - -# Buildbot worker -ARG BUILDBOT_WORKER_NAME=arch-docker -ARG BUILDBOT_WORKER_PASS=thisgetssetwhenpodisstarted -ARG BUILDBOT_MASTER_HOST=dev-ci.z.cash -ARG BUILDBOT_MASTER_PORT=9899 - -WORKDIR /home/$BUILDBOT_USER -RUN venv/bin/buildbot-worker create-worker $BUILDBOT_WORKER_NAME \ - $BUILDBOT_MASTER_HOST:$BUILDBOT_MASTER_PORT \ - $BUILDBOT_WORKER_NAME $BUILDBOT_WORKER_PASS \ - && echo "OS: Centos 8" > $BUILDBOT_WORKER_NAME/info/host -ADD bbworker-buildbot.tac $BUILDBOT_WORKER_NAME/buildbot.tac - -WORKDIR /home/$BUILDBOT_USER/$BUILDBOT_WORKER_NAME -CMD ["/usr/bin/dumb-init", "../venv/bin/twistd", "--pidfile=", "-ny", "buildbot.tac"] diff --git a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build-python.apt b/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build-python.apt deleted file mode 100644 index 8b73e9bb7..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build-python.apt +++ /dev/null @@ -1,30 +0,0 @@ -ARG FROMBASEOS -ARG FROMBASEOS_BUILD_TAG -FROM $FROMBASEOS:$FROMBASEOS_BUILD_TAG -ARG DEBIAN_FRONTEND=noninteractive - -ADD apt-package-list.txt /tmp/apt-package-list.txt -RUN apt-get update \ - && apt-get install -y $(tr "\n" " " < /tmp/apt-package-list.txt) \ - && update-alternatives --install /usr/bin/python python /usr/bin/python3 1 - -ARG PYTHONVERSION=3.7.5 -RUN apt-get install -y \ - build-essential \ - zlib1g-dev \ - libncurses5-dev \ - libgdbm-dev \ - libnss3-dev \ - libssl-dev \ - libreadline-dev \ - libffi-dev \ - curl -WORKDIR /tmp -RUN curl https://www.python.org/ftp/python/$PYTHONVERSION/Python-$PYTHONVERSION.tar.xz -o python.tar.xz \ - && tar -xf python.tar.xz \ - && cd Python-$PYTHONVERSION \ - && ./configure --enable-optimizations \ - && make -j 8 \ - && make altinstall \ - && update-alternatives --install /usr/bin/python python /usr/local/bin/python3.7 1 -RUN update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.7 1 \ No newline at end of file diff --git a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.apt b/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.apt deleted file mode 100644 index 3b7fd9541..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.apt +++ /dev/null @@ -1,9 +0,0 @@ -ARG FROMBASEOS -ARG FROMBASEOS_BUILD_TAG -FROM $FROMBASEOS:$FROMBASEOS_BUILD_TAG -ARG DEBIAN_FRONTEND=noninteractive - -ADD apt-package-list.txt /tmp/apt-package-list.txt -RUN apt-get update \ - && apt-get install -y $(tr "\n" " " < /tmp/apt-package-list.txt) \ - && update-alternatives --install /usr/bin/python python /usr/bin/python3 1 diff --git a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.arch b/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.arch deleted file mode 100644 index c75f5a190..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-build.arch +++ /dev/null @@ -1,23 +0,0 @@ -ARG ARCHLINUX_TAG -FROM archlinux:$ARCHLINUX_TAG - -RUN pacman -Syyu --noconfirm \ - && pacman -S --noconfirm \ - base-devel \ - git \ - python3 \ - python-pip \ - wget - -RUN wget -O /usr/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64 -RUN chmod +x /usr/bin/dumb-init -RUN python -m pip install virtualenv -# AUR for libtinfo5 Source: https://dev.to/cloudx/testing-our-package-build-in-the-docker-world-34p0 -RUN useradd builduser -m \ - && passwd -d builduser \ - && cd /home/builduser \ - && git clone "https://aur.archlinux.org/ncurses5-compat-libs.git" ncurses5-compat-libs \ - && chown builduser -R ncurses5-compat-libs \ - && (printf 'builduser ALL=(ALL) ALL\n' | tee -a /etc/sudoers) \ - && sudo -u builduser bash -c 'gpg --keyserver pool.sks-keyservers.net --recv-keys 702353E0F7E48EDB' \ - && sudo -u builduser bash -c 'cd ~/ncurses5-compat-libs && makepkg -si --noconfirm' \ No newline at end of file diff --git a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-gitian.apt b/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-gitian.apt deleted file mode 100644 index 5ca2a8757..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/Dockerfile-gitian.apt +++ /dev/null @@ -1,8 +0,0 @@ -ARG FROMBASEOS -ARG FROMBASEOS_BUILD_TAG=latest -FROM electriccoinco/zcashd-build-$FROMBASEOS$FROMBASEOS_BUILD_TAG - -RUN useradd -ms /bin/bash -U debian -USER debian:debian -WORKDIR /home/debian -CMD ["sleep", "infinity"] \ No newline at end of file diff --git a/depend/zcash/contrib/ci-builders/buildbot/README.md b/depend/zcash/contrib/ci-builders/buildbot/README.md deleted file mode 100644 index e0a3275c4..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/README.md +++ /dev/null @@ -1,41 +0,0 @@ -# zcashd ci Docker images - -These Dockerfiles can be used to build zcashd. - -The current objective is to build a base image for each distribution that includes the system packages to build zcashd. From `build` images, more targeted images are created. - -The process is meant to be automated, but an example `docker-build.sh` script is included. - - -## build images -`apt-package-list.txt` contains the required packages for debian based systems. - -`Dockerfile-build.apt` uses that file, and some build time arguments, to build apt based build images. - -Currently available images are hosted at -https://hub.docker.com/r/electriccoinco/zcashd-build/tags - - -## gitian images - -`Dockerfile-gitian.apt` uses the build images to generate images for use with [gitian-builder](https://github.com/devrandom/gitian-builder) - -Currently available images are hosted at https://hub.docker.com/r/electriccoinco/zcashd-gitian/tags - - -## bbworker images - -`Dockerfile-bbworker.apt` uses the build images for use with [buildbot](https://buildbot.net) - -- bbworker-buildbot.tac is a required worker boot file (most is overridden at instancitation) -- bbworker-requirements.txt is the python package requirements for the buildbot worker - -Currently available images are hosted at https://hub.docker.com/r/electriccoinco/zcashd-bbworker/tags - - -### Stand alone, best effort images - -Additional buildbot workers for Centos8 and Arch. - -- Dockerfile-bbworker.arch - diff --git a/depend/zcash/contrib/ci-builders/buildbot/apt-package-list.txt b/depend/zcash/contrib/ci-builders/buildbot/apt-package-list.txt deleted file mode 100644 index 484f31953..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/apt-package-list.txt +++ /dev/null @@ -1,23 +0,0 @@ -autoconf -bsdmainutils -build-essential -cmake -curl -g++-aarch64-linux-gnu -git -lcov -libcap-dev -libffi-dev -libtinfo5 -libtool -libssl-dev -libz-dev -libbz2-dev -mingw-w64 -pkg-config -python3 -python3-dev -python3-venv -valgrind -wget -zstd diff --git a/depend/zcash/contrib/ci-builders/buildbot/bbworker-buildbot.tac b/depend/zcash/contrib/ci-builders/buildbot/bbworker-buildbot.tac deleted file mode 100644 index 477ae27d3..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/bbworker-buildbot.tac +++ /dev/null @@ -1,40 +0,0 @@ -import fnmatch -import os -import sys - -from twisted.application import service -from twisted.python.log import FileLogObserver -from twisted.python.log import ILogObserver - -from buildbot_worker.bot import Worker - -# setup worker -basedir = os.environ.get("BUILDBOT_BASEDIR", - os.path.abspath(os.path.dirname(__file__))) -application = service.Application('buildbot-worker') - - -application.setComponent(ILogObserver, FileLogObserver(sys.stdout).emit) -# and worker on the same process! -buildmaster_host = os.environ.get("BUILDMASTER", 'localhost') -port = int(os.environ.get("BUILDMASTER_PORT", 9989)) -workername = os.environ.get("WORKERNAME", 'docker') -passwd = os.environ.get("WORKERPASS") - -# delete the password from the environ so that it is not leaked in the log -blacklist = os.environ.get("WORKER_ENVIRONMENT_BLACKLIST", "WORKERPASS").split() -for name in list(os.environ.keys()): - for toremove in blacklist: - if fnmatch.fnmatch(name, toremove): - del os.environ[name] - -keepalive = 600 -umask = None -maxdelay = 300 -allow_shutdown = None -maxretries = 10 - -s = Worker(buildmaster_host, port, workername, passwd, basedir, - keepalive, umask=umask, maxdelay=maxdelay, - allow_shutdown=allow_shutdown, maxRetries=maxretries) -s.setServiceParent(application) diff --git a/depend/zcash/contrib/ci-builders/buildbot/bbworker-requirements.txt b/depend/zcash/contrib/ci-builders/buildbot/bbworker-requirements.txt deleted file mode 100644 index 012268cae..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/bbworker-requirements.txt +++ /dev/null @@ -1,9 +0,0 @@ -buildbot-worker -pyblake2 -pyflakes -pyutil -pyzmq -requests -simplejson -twisted[tls] -wheel diff --git a/depend/zcash/contrib/ci-builders/buildbot/docker-build.sh b/depend/zcash/contrib/ci-builders/buildbot/docker-build.sh deleted file mode 100755 index a3d4599c3..000000000 --- a/depend/zcash/contrib/ci-builders/buildbot/docker-build.sh +++ /dev/null @@ -1,56 +0,0 @@ -#!/usr/bin/env bash - -export LC_ALL=C -set -exo pipefail - -# Debian 9 -docker build . -f Dockerfile-build-python.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=9 -t electriccoinco/zcashd-build-debian9 -docker push electriccoinco/zcashd-build-debian9 -docker build . -f Dockerfile-bbworker.apt --build-arg BASEOS=debian --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=9 -t electriccoinco/zcashd-bbworker-debian9 -docker push electriccoinco/zcashd-bbworker-debian9 - -# Debian 10 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=10 -t electriccoinco/zcashd-build-debian10 -docker push electriccoinco/zcashd-build-debian10 -docker build . -f Dockerfile-gitian.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=10 -t electriccoinco/zcashd-gitian-debian10 -docker push electriccoinco/zcashd-gitian-debian10 -docker build . -f Dockerfile-bbworker.apt --build-arg BASEOS=debian --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=10 -t electriccoinco/zcashd-bbworker-debian10 -docker push electriccoinco/zcashd-bbworker-debian10 - -# Debian 11 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=bullseye -t electriccoinco/zcashd-build-debian11 -docker push electriccoinco/zcashd-build-debian11 -docker build . -f Dockerfile-gitian.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=bullseye -t electriccoinco/zcashd-gitian-debian11 -docker push electriccoinco/zcashd-gitian-debian11 -docker build . -f Dockerfile-bbworker.apt --build-arg BASEOS=debian --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=bullseye -t electriccoinco/zcashd-bbworker-debian11 -docker push electriccoinco/zcashd-bbworker-debian11 - -# Ubuntu 16.04 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=16.04 -t electriccoinco/zcashd-build-ubuntu1604 -docker push electriccoinco/zcashd-build-ubuntu1604 -docker build . -f Dockerfile-gitian.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=1604 -t electriccoinco/zcashd-gitian-ubuntu1604 -docker push electriccoinco/zcashd-gitian-ubuntu1604 -docker build . -f Dockerfile-bbworker.apt --build-arg BASEOS=ubuntu --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=1604 -t electriccoinco/zcashd-bbworker-ubuntu1604 -docker push electriccoinco/zcashd-bbworker-ubuntu1604 - -# Ubuntu 18.04 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=18.04 -t electriccoinco/zcashd-build-ubuntu1804 -docker push electriccoinco/zcashd-build-ubuntu1804 -docker build . -f Dockerfile-gitian.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=1804 -t electriccoinco/zcashd-gitian-ubuntu1804 -docker push electriccoinco/zcashd-gitian-ubuntu1804 -docker build . -f Dockerfile-bbworker.apt --build-arg BASEOS=ubuntu --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=1804 -t electriccoinco/zcashd-bbworker-ubuntu1804 -docker push electriccoinco/zcashd-bbworker-ubuntu1804 - -# Ubuntu 20.04 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=20.04 -t electriccoinco/zcashd-build-ubuntu2004 -docker push electriccoinco/zcashd-build-ubuntu2004 -docker build . -f Dockerfile-gitian.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=2004 -t electriccoinco/zcashd-gitian-ubuntu2004 -docker push electriccoinco/zcashd-gitian-ubuntu2004 -docker build . -f Dockerfile-bbworker.apt --build-arg BASEOS=ubuntu --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=2004 -t electriccoinco/zcashd-bbworker-ubuntu2004 -docker push electriccoinco/zcashd-bbworker-ubuntu2004 - -# Arch 20200908 -docker build . -f Dockerfile-build.arch --build-arg ARCHLINUX_TAG=20200908 -t electriccoinco/zcashd-build-arch -docker build . -f Dockerfile-bbworker.arch -t electriccoinco/zcashd-bbworker-arch -docker push electriccoinco/zcashd-build-arch -docker push electriccoinco/zcashd-bbworker-arch \ No newline at end of file diff --git a/depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.apt b/depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.apt deleted file mode 100644 index 3b7fd9541..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.apt +++ /dev/null @@ -1,9 +0,0 @@ -ARG FROMBASEOS -ARG FROMBASEOS_BUILD_TAG -FROM $FROMBASEOS:$FROMBASEOS_BUILD_TAG -ARG DEBIAN_FRONTEND=noninteractive - -ADD apt-package-list.txt /tmp/apt-package-list.txt -RUN apt-get update \ - && apt-get install -y $(tr "\n" " " < /tmp/apt-package-list.txt) \ - && update-alternatives --install /usr/bin/python python /usr/bin/python3 1 diff --git a/depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.arch b/depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.arch deleted file mode 100644 index f1a1666b2..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/Dockerfile-build.arch +++ /dev/null @@ -1,14 +0,0 @@ -ARG FROMBASEOS -ARG FROMBASEOS_BUILD_TAG -FROM $FROMBASEOS:$FROMBASEOS_BUILD_TAG - -RUN pacman -Syyu --noconfirm \ - && pacman -S --noconfirm \ - base-devel \ - git \ - python3 \ - python-pip \ - ncurses \ - wget - -RUN sudo link /lib/libtinfo.so.6 /lib/libtinfo.so.5 diff --git a/depend/zcash/contrib/ci-builders/tekton/Dockerfile-tekton-worker b/depend/zcash/contrib/ci-builders/tekton/Dockerfile-tekton-worker deleted file mode 100644 index 6e880dd46..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/Dockerfile-tekton-worker +++ /dev/null @@ -1,11 +0,0 @@ -ARG FROMBASEOS -ARG FROMBASEOS_BUILD_TAG -FROM electriccoinco/zcashd-build-$FROMBASEOS$FROMBASEOS_BUILD_TAG - -ADD requirements.txt requirements.txt -RUN python -m venv venv \ - && . venv/bin/activate \ - && pip install --upgrade pip \ - && python -m pip install -r requirements.txt - -ADD ./zcash-params /home/.zcash-params diff --git a/depend/zcash/contrib/ci-builders/tekton/README.md b/depend/zcash/contrib/ci-builders/tekton/README.md deleted file mode 100644 index 3d9fd3785..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/README.md +++ /dev/null @@ -1,34 +0,0 @@ -# zcashd ci Docker images - -These Dockerfiles can be used to build zcashd. - -The current objective is to build a base image for each distribution that includes the system packages to build zcashd. From `build` images, more targeted images are created. - -The process is meant to be automated, but an example `docker-build.sh` script is included. - - -## build images -`apt-package-tekton-list.txt` contains the required packages for debian based systems. - -`Dockerfile-build.apt` uses that file, and some build time arguments, to build apt based build images. - -Currently available images are hosted at -https://hub.docker.com/r/electriccoinco/zcashd-build/tags - - - -## Tekton worker images - -`Dockerfile-tekton-worker` uses the above build images as a base and layers on toolchains needed for testing - -- requirements.txt is the python package requirements for the tekton worker - -Currently available images are hosted at https://hub.docker.com/r/electriccoinco - - -### Stand alone, best effort images - -Additional Tekton base builders for Centos8 and Arch. Can be used with `Dockerfile-tekton-worker` to create Tekton workers. - -- Dockerfile-build.arch - diff --git a/depend/zcash/contrib/ci-builders/tekton/apt-package-tekton-list.txt b/depend/zcash/contrib/ci-builders/tekton/apt-package-tekton-list.txt deleted file mode 100644 index 002363de3..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/apt-package-tekton-list.txt +++ /dev/null @@ -1,24 +0,0 @@ -autoconf -bsdmainutils -build-essential -cmake -curl -g++-aarch64-linux-gnu -git -lcov -libcap-dev -libffi-dev -libtinfo5 -libtool -libssl-dev -libz-dev -libbz2-dev -mingw-w64 -pkg-config -python3 -python3-pip -python3-dev -python3-venv -valgrind -wget -zstd diff --git a/depend/zcash/contrib/ci-builders/tekton/docker-build.sh b/depend/zcash/contrib/ci-builders/tekton/docker-build.sh deleted file mode 100755 index ab722262f..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/docker-build.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/usr/bin/env bash - -export LC_ALL=C -set -exo pipefail - -# Debian 9 -docker build . -f Dockerfile-build-python.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=9 -t electriccoinco/zcashd-build-debian9 -docker push electriccoinco/zcashd-build-debian9 - -docker build . -f Dockerfile-tekton-worker --build-arg BASEOS=debian --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=9 -t electriccoinco/zcashd-worker-debian9 -docker push electriccoinco/zcashd-worker-debian9 - -# Debian 10 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=10 -t electriccoinco/zcashd-build-debian10 -docker push electriccoinco/zcashd-build-debian10 - -docker build . -f Dockerfile-tekton-worker --build-arg BASEOS=debian --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=10 -t electriccoinco/zcashd-worker-debian10 -docker push electriccoinco/zcashd-worker-debian10 - -# Debian 11 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=bullseye -t electriccoinco/zcashd-build-debian11 -docker push electriccoinco/zcashd-build-debian11 - -docker build . -f Dockerfile-tekton-worker --build-arg FROMBASEOS=debian --build-arg FROMBASEOS_BUILD_TAG=11 -t electriccoinco/zcashd-worker-debian11 -docker push electriccoinco/zcashd-worker-debian11 - -# Ubuntu 16.04 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=16.04 -t electriccoinco/zcashd-build-ubuntu1604 -docker push electriccoinco/zcashd-build-ubuntu1604 - -docker build . -f Dockerfile-tekton-worker --build-arg BASEOS=ubuntu --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=1604 -t electriccoinco/zcashd-worker-ubuntu1604 -docker push electriccoinco/zcashd-worker-ubuntu1604 - -# Ubuntu 18.04 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=18.04 -t electriccoinco/zcashd-build-ubuntu1804 -docker push electriccoinco/zcashd-build-ubuntu1804 - -docker build . -f Dockerfile-tekton-worker --build-arg BASEOS=ubuntu --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=1804 -t electriccoinco/zcashd-worker-ubuntu1804 -docker push electriccoinco/zcashd-worker-ubuntu1804 - -# Ubuntu 20.04 -docker build . -f Dockerfile-build.apt --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=20.04 -t electriccoinco/zcashd-build-ubuntu2004 -docker push electriccoinco/zcashd-build-ubuntu2004 - -docker build . -f Dockerfile-tekton-worker --build-arg BASEOS=ubuntu --build-arg FROMBASEOS=ubuntu --build-arg FROMBASEOS_BUILD_TAG=2004 -t electriccoinco/zcashd-worker-ubuntu2004 -docker push electriccoinco/zcashd-worker-ubuntu2004 - -# Arch 20210418.0.20194 -docker build . -f Dockerfile-build.arch --build-arg FROMBASEOS=archlinux --build-arg FROMBASEOS_BUILD_TAG=base-20210418.0.20194 -t electriccoinco/zcashd-build-archlinux -docker push electriccoinco/zcashd-build-archlinux - -docker build . -f Dockerfile-tekton-worker --build-arg FROMBASEOS=archlinux -t electriccoinco/zcashd-worker-archlinux -docker push electriccoinco/zcashd-worker-archlinux \ No newline at end of file diff --git a/depend/zcash/contrib/ci-builders/tekton/requirements.txt b/depend/zcash/contrib/ci-builders/tekton/requirements.txt deleted file mode 100644 index 14f84708a..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/requirements.txt +++ /dev/null @@ -1,8 +0,0 @@ -wheel -pyblake2 -pyflakes -pyutil -pyzmq -requests -simplejson -twisted[tls] diff --git a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/README.md b/depend/zcash/contrib/ci-builders/tekton/tekton-labs/README.md deleted file mode 100644 index 4603c4e97..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/README.md +++ /dev/null @@ -1,89 +0,0 @@ -# infra-tekton-labs -Examples of CI/CD used to support Zcash build and testing - -# Environment Tooling Setup (Pre-Install/Install) -### Install Docker -https://docs.docker.com/engine/install/ - -#### Setup Docker -If you are installing Docker for the first time, to run `docker` without `sudo` privilege for every docker command: - - - Check if Docker group already exists: - - `cat /etc/group | grep docker` - - How to create docker group: - - `sudo groupadd docker` - - Add current user to docker group - - `sudo usermod -a -G docker $CURR_USER` - - Validate current user was added: - - `cat /etc/group | grep docker` - - Restart system to persist changes and graceful setup (had issues with just logout/login) - -### Install Kind -https://kind.sigs.k8s.io/ - -### Install Kubctl -https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/ - -### Install Tkn -https://tekton.dev/docs/cli/ - -# Setup Local Zcash CI Environment -Follow the steps below 1-3 to complete a local Zcash Tekton installation, assuming the above dependencies are installed. - -### Create cluster (e.g. micro k8, kind, minicube) -1. `kind create cluster --name zcash-tekton-lab` - - Other Useful commands - - Validate cluster creation & context: `kubectl cluster-info --context kind-zcash-tekton-lab` - - - Delete cluster: `kind delete cluster --name zcash-tekton-lab || true` - - - List Kube contexts: `kubectl config get-contexts` - - - Delete Kube contexts: `kubectl config delete-context ` - - - Setup Kube context: `kubectl config current-context` - - - Create new Kube context: `kubectl config set-context zcash_local_ci --user=cluster-admin` - - - Switch to new context: `kubectl config use-context zcash_local_ci` - -### Create Tekton Pipeline in cluster -See: https://github.com/tektoncd/pipeline for recent version - -2. `kubectl apply -f releases/tekton-pipeline-v0.37.0.yaml` - - (Alternative) - - `kubectl apply -f https://storage.googleapis.com/tekton-releases/pipeline/previous/v0.37.0/release.yaml` - -### Create Tekton Dashboard in cluster -See: https://github.com/tektoncd/dashboard for recent version - -3. `kubectl apply -f releases/tekton-dashboard-readonly-v0.27.0.yaml` - - Validate deployment of Tekton Dashboard & Pipeline - - `kubectl get pods --namespace tekton-pipelines` - - Forward Tekton Dashboard: - - `kubectl --namespace tekton-pipelines port-forward svc/tekton-dashboard 9097:9097 &` - - View Dashboard in Browser: - - `http://localhost:9097/` - -## Create Tekton Task -kubectl apply -f ./tasks/zcash-build.yml - -tkn task start --showlog zcash-build - -tkn task delete zcash-build - -## Create Tekton Pipeline -kubectl apply -f ./pipeline/zcash-build-pipeline.yml - -tkn pipeline start --showlog zcash-build-pipeline - -tkn pipeline delete zcash-build-pipeline diff --git a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-dashboard-readonly-v0.27.0.yaml b/depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-dashboard-readonly-v0.27.0.yaml deleted file mode 100644 index 8013169e3..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-dashboard-readonly-v0.27.0.yaml +++ /dev/null @@ -1,334 +0,0 @@ -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - labels: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - name: extensions.dashboard.tekton.dev -spec: - group: dashboard.tekton.dev - names: - categories: - - tekton - - tekton-dashboard - kind: Extension - plural: extensions - shortNames: - - ext - - exts - preserveUnknownFields: false - scope: Namespaced - versions: - - additionalPrinterColumns: - - jsonPath: .spec.apiVersion - name: API version - type: string - - jsonPath: .spec.name - name: Kind - type: string - - jsonPath: .spec.displayname - name: Display name - type: string - - jsonPath: .metadata.creationTimestamp - name: Age - type: date - name: v1alpha1 - schema: - openAPIV3Schema: - type: object - x-kubernetes-preserve-unknown-fields: true - served: true - storage: true - subresources: - status: {} ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - labels: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - name: tekton-dashboard - namespace: tekton-pipelines ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - name: tekton-dashboard-info - namespace: tekton-pipelines -rules: - - apiGroups: - - "" - resourceNames: - - dashboard-info - resources: - - configmaps - verbs: - - get ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - name: tekton-dashboard-backend -rules: - - apiGroups: - - apiextensions.k8s.io - resources: - - customresourcedefinitions - verbs: - - get - - list - - apiGroups: - - security.openshift.io - resources: - - securitycontextconstraints - verbs: - - use - - apiGroups: - - tekton.dev - resources: - - clustertasks - - clustertasks/status - verbs: - - get - - list - - watch - - apiGroups: - - triggers.tekton.dev - resources: - - clusterinterceptors - - clustertriggerbindings - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - labels: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - name: tekton-dashboard-tenant -rules: - - apiGroups: - - dashboard.tekton.dev - resources: - - extensions - verbs: - - get - - list - - watch - - apiGroups: - - "" - resources: - - events - - namespaces - - pods - - pods/log - verbs: - - get - - list - - watch - - apiGroups: - - tekton.dev - resources: - - tasks - - taskruns - - pipelines - - pipelineruns - - pipelineresources - - conditions - - tasks/status - - taskruns/status - - pipelines/status - - pipelineruns/status - - taskruns/finalizers - - pipelineruns/finalizers - verbs: - - get - - list - - watch - - apiGroups: - - triggers.tekton.dev - resources: - - eventlisteners - - triggerbindings - - triggers - - triggertemplates - verbs: - - get - - list - - watch ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - name: tekton-dashboard-info - namespace: tekton-pipelines -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: tekton-dashboard-info -subjects: - - apiGroup: rbac.authorization.k8s.io - kind: Group - name: system:authenticated ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - rbac.dashboard.tekton.dev/subject: tekton-dashboard - name: tekton-dashboard-backend -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: tekton-dashboard-backend -subjects: - - kind: ServiceAccount - name: tekton-dashboard - namespace: tekton-pipelines ---- -apiVersion: v1 -data: - version: v0.27.0 -kind: ConfigMap -metadata: - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - name: dashboard-info - namespace: tekton-pipelines ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app: tekton-dashboard - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/name: dashboard - app.kubernetes.io/part-of: tekton-dashboard - app.kubernetes.io/version: v0.27.0 - dashboard.tekton.dev/release: v0.27.0 - version: v0.27.0 - name: tekton-dashboard - namespace: tekton-pipelines -spec: - ports: - - name: http - port: 9097 - protocol: TCP - targetPort: 9097 - selector: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/name: dashboard - app.kubernetes.io/part-of: tekton-dashboard ---- -apiVersion: apps/v1 -kind: Deployment -metadata: - labels: - app: tekton-dashboard - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/name: dashboard - app.kubernetes.io/part-of: tekton-dashboard - app.kubernetes.io/version: v0.27.0 - dashboard.tekton.dev/release: v0.27.0 - version: v0.27.0 - name: tekton-dashboard - namespace: tekton-pipelines -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/name: dashboard - app.kubernetes.io/part-of: tekton-dashboard - template: - metadata: - labels: - app: tekton-dashboard - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/name: dashboard - app.kubernetes.io/part-of: tekton-dashboard - app.kubernetes.io/version: v0.27.0 - name: tekton-dashboard - spec: - containers: - - args: - - --port=9097 - - --logout-url= - - --pipelines-namespace=tekton-pipelines - - --triggers-namespace=tekton-pipelines - - --read-only=true - - --log-level=info - - --log-format=json - - --namespace= - - --stream-logs=true - - --external-logs= - env: - - name: INSTALLED_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - image: gcr.io/tekton-releases/github.com/tektoncd/dashboard/cmd/dashboard:v0.27.0@sha256:d57860eb2ff1f97ca1b657eda6ec640584ec8b756e80a5f888c98b7b056c14c1 - livenessProbe: - httpGet: - path: /health - port: 9097 - name: tekton-dashboard - ports: - - containerPort: 9097 - readinessProbe: - httpGet: - path: /readiness - port: 9097 - nodeSelector: - kubernetes.io/os: linux - securityContext: - runAsNonRoot: true - runAsUser: 65532 - serviceAccountName: tekton-dashboard - volumes: [] - ---- ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - labels: - app.kubernetes.io/component: dashboard - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-dashboard - rbac.dashboard.tekton.dev/subject: tekton-dashboard - name: tekton-dashboard-tenant -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: ClusterRole - name: tekton-dashboard-tenant -subjects: - - kind: ServiceAccount - name: tekton-dashboard - namespace: tekton-pipelines diff --git a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-pipeline-v0.37.0.yaml b/depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-pipeline-v0.37.0.yaml deleted file mode 100644 index f65f240bb..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/releases/tekton-pipeline-v0.37.0.yaml +++ /dev/null @@ -1,2222 +0,0 @@ -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: Namespace -metadata: - name: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: policy/v1beta1 -kind: PodSecurityPolicy -metadata: - name: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - annotations: - seccomp.security.alpha.kubernetes.io/allowedProfileNames: 'docker/default,runtime/default' - seccomp.security.alpha.kubernetes.io/defaultProfileName: 'runtime/default' - apparmor.security.beta.kubernetes.io/allowedProfileNames: 'runtime/default' - apparmor.security.beta.kubernetes.io/defaultProfileName: 'runtime/default' -spec: - privileged: false - allowPrivilegeEscalation: false - requiredDropCapabilities: - - ALL - volumes: - - 'emptyDir' - - 'configMap' - - 'secret' - hostNetwork: false - hostIPC: false - hostPID: false - runAsUser: - rule: 'MustRunAsNonRoot' - runAsGroup: - rule: 'MustRunAs' - ranges: - - min: 1 - max: 65535 - seLinux: - rule: 'RunAsAny' - supplementalGroups: - rule: 'MustRunAs' - ranges: - - min: 1 - max: 65535 - fsGroup: - rule: 'MustRunAs' - ranges: - - min: 1 - max: 65535 - ---- -# Copyright 2020 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: tekton-pipelines-controller-cluster-access - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -rules: - - apiGroups: [""] - # Controller needs to watch Pods created by TaskRuns to see them progress. - resources: ["pods"] - verbs: ["list", "watch"] - # Controller needs cluster access to all of the CRDs that it is responsible for - # managing. - - apiGroups: ["tekton.dev"] - resources: ["tasks", "clustertasks", "taskruns", "pipelines", "pipelineruns", "pipelineresources", "conditions", "runs"] - verbs: ["get", "list", "create", "update", "delete", "patch", "watch"] - - apiGroups: ["tekton.dev"] - resources: ["taskruns/finalizers", "pipelineruns/finalizers", "runs/finalizers"] - verbs: ["get", "list", "create", "update", "delete", "patch", "watch"] - - apiGroups: ["tekton.dev"] - resources: ["tasks/status", "clustertasks/status", "taskruns/status", "pipelines/status", "pipelineruns/status", "pipelineresources/status", "runs/status"] - verbs: ["get", "list", "create", "update", "delete", "patch", "watch"] ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - # This is the access that the controller needs on a per-namespace basis. - name: tekton-pipelines-controller-tenant-access - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -rules: - # Read-write access to create Pods and PVCs (for Workspaces) - - apiGroups: [""] - resources: ["pods", "persistentvolumeclaims"] - verbs: ["get", "list", "create", "update", "delete", "patch", "watch"] - # Write permissions to publish events. - - apiGroups: [""] - resources: ["events"] - verbs: ["create", "update", "patch"] - # Read-only access to these. - - apiGroups: [""] - resources: ["configmaps", "limitranges", "secrets", "serviceaccounts"] - verbs: ["get", "list", "watch"] - # Read-write access to StatefulSets for Affinity Assistant. - - apiGroups: ["apps"] - resources: ["statefulsets"] - verbs: ["get", "list", "create", "update", "delete", "patch", "watch"] - # Read-write access to ResolutionRequest for remote resolution. - - apiGroups: ["resolution.tekton.dev"] - resources: ["resolutionrequests"] - verbs: ["get", "list", "watch", "create", "delete"] ---- -kind: ClusterRole -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: tekton-pipelines-webhook-cluster-access - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -rules: - # The webhook needs to be able to get and update customresourcedefinitions, - # mainly to update the webhook certificates. - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions", "customresourcedefinitions/status"] - verbs: ["get", "update", "patch"] - resourceNames: - - pipelines.tekton.dev - - pipelineruns.tekton.dev - - runs.tekton.dev - - tasks.tekton.dev - - clustertasks.tekton.dev - - taskruns.tekton.dev - - pipelineresources.tekton.dev - - conditions.tekton.dev - # knative.dev/pkg needs list/watch permissions to set up informers for the webhook. - - apiGroups: ["apiextensions.k8s.io"] - resources: ["customresourcedefinitions"] - verbs: ["list", "watch"] - - apiGroups: ["admissionregistration.k8s.io"] - # The webhook performs a reconciliation on these two resources and continuously - # updates configuration. - resources: ["mutatingwebhookconfigurations", "validatingwebhookconfigurations"] - # knative starts informers on these things, which is why we need get, list and watch. - verbs: ["list", "watch"] - - apiGroups: ["admissionregistration.k8s.io"] - resources: ["mutatingwebhookconfigurations"] - # This mutating webhook is responsible for applying defaults to tekton objects - # as they are received. - resourceNames: ["webhook.pipeline.tekton.dev"] - # When there are changes to the configs or secrets, knative updates the mutatingwebhook config - # with the updated certificates or the refreshed set of rules. - verbs: ["get", "update", "delete"] - - apiGroups: ["admissionregistration.k8s.io"] - resources: ["validatingwebhookconfigurations"] - # validation.webhook.pipeline.tekton.dev performs schema validation when you, for example, create TaskRuns. - # config.webhook.pipeline.tekton.dev validates the logging configuration against knative's logging structure - resourceNames: ["validation.webhook.pipeline.tekton.dev", "config.webhook.pipeline.tekton.dev"] - # When there are changes to the configs or secrets, knative updates the validatingwebhook config - # with the updated certificates or the refreshed set of rules. - verbs: ["get", "update", "delete"] - - apiGroups: ["policy"] - resources: ["podsecuritypolicies"] - resourceNames: ["tekton-pipelines"] - verbs: ["use"] - - apiGroups: [""] - resources: ["namespaces"] - verbs: ["get"] - # The webhook configured the namespace as the OwnerRef on various cluster-scoped resources, - # which requires we can Get the system namespace. - resourceNames: ["tekton-pipelines"] - - apiGroups: [""] - resources: ["namespaces/finalizers"] - verbs: ["update"] - # The webhook configured the namespace as the OwnerRef on various cluster-scoped resources, - # which requires we can update the system namespace finalizers. - resourceNames: ["tekton-pipelines"] - ---- -# Copyright 2020 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: tekton-pipelines-controller - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -rules: - - apiGroups: [""] - resources: ["configmaps"] - verbs: ["list", "watch"] - # The controller needs access to these configmaps for logging information and runtime configuration. - - apiGroups: [""] - resources: ["configmaps"] - verbs: ["get"] - resourceNames: ["config-logging", "config-observability", "config-artifact-bucket", "config-artifact-pvc", "feature-flags", "config-leader-election", "config-registry-cert"] - - apiGroups: ["policy"] - resources: ["podsecuritypolicies"] - resourceNames: ["tekton-pipelines"] - verbs: ["use"] ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -rules: - - apiGroups: [""] - resources: ["configmaps"] - verbs: ["list", "watch"] - # The webhook needs access to these configmaps for logging information. - - apiGroups: [""] - resources: ["configmaps"] - verbs: ["get"] - resourceNames: ["config-logging", "config-observability", "config-leader-election", "feature-flags"] - - apiGroups: [""] - resources: ["secrets"] - verbs: ["list", "watch"] - # The webhook daemon makes a reconciliation loop on webhook-certs. Whenever - # the secret changes it updates the webhook configurations with the certificates - # stored in the secret. - - apiGroups: [""] - resources: ["secrets"] - verbs: ["get", "update"] - resourceNames: ["webhook-certs"] - - apiGroups: ["policy"] - resources: ["podsecuritypolicies"] - resourceNames: ["tekton-pipelines"] - verbs: ["use"] ---- -kind: Role -apiVersion: rbac.authorization.k8s.io/v1 -metadata: - name: tekton-pipelines-leader-election - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -rules: - # We uses leases for leaderelection - - apiGroups: ["coordination.k8s.io"] - resources: ["leases"] - verbs: ["get", "list", "create", "update", "delete", "patch", "watch"] ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: Role -metadata: - name: tekton-pipelines-info - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -rules: - # All system:authenticated users needs to have access - # of the pipelines-info ConfigMap even if they don't - # have access to the other resources present in the - # installed namespace. - - apiGroups: [""] - resources: ["configmaps"] - resourceNames: ["pipelines-info"] - verbs: ["get"] - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -apiVersion: v1 -kind: ServiceAccount -metadata: - name: tekton-pipelines-controller - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines ---- -apiVersion: v1 -kind: ServiceAccount -metadata: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: tekton-pipelines-controller-cluster-access - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - - kind: ServiceAccount - name: tekton-pipelines-controller - namespace: tekton-pipelines -roleRef: - kind: ClusterRole - name: tekton-pipelines-controller-cluster-access - apiGroup: rbac.authorization.k8s.io ---- -# If this ClusterRoleBinding is replaced with a RoleBinding -# then the ClusterRole would be namespaced. The access described by -# the tekton-pipelines-controller-tenant-access ClusterRole would -# be scoped to individual tenant namespaces. -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: tekton-pipelines-controller-tenant-access - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - - kind: ServiceAccount - name: tekton-pipelines-controller - namespace: tekton-pipelines -roleRef: - kind: ClusterRole - name: tekton-pipelines-controller-tenant-access - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRoleBinding -metadata: - name: tekton-pipelines-webhook-cluster-access - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - - kind: ServiceAccount - name: tekton-pipelines-webhook - namespace: tekton-pipelines -roleRef: - kind: ClusterRole - name: tekton-pipelines-webhook-cluster-access - apiGroup: rbac.authorization.k8s.io - ---- -# Copyright 2020 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: tekton-pipelines-controller - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - - kind: ServiceAccount - name: tekton-pipelines-controller - namespace: tekton-pipelines -roleRef: - kind: Role - name: tekton-pipelines-controller - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - - kind: ServiceAccount - name: tekton-pipelines-webhook - namespace: tekton-pipelines -roleRef: - kind: Role - name: tekton-pipelines-webhook - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: tekton-pipelines-controller-leaderelection - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - - kind: ServiceAccount - name: tekton-pipelines-controller - namespace: tekton-pipelines -roleRef: - kind: Role - name: tekton-pipelines-leader-election - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: tekton-pipelines-webhook-leaderelection - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - - kind: ServiceAccount - name: tekton-pipelines-webhook - namespace: tekton-pipelines -roleRef: - kind: Role - name: tekton-pipelines-leader-election - apiGroup: rbac.authorization.k8s.io ---- -apiVersion: rbac.authorization.k8s.io/v1 -kind: RoleBinding -metadata: - name: tekton-pipelines-info - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -subjects: - # Giving all system:authenticated users the access of the - # ConfigMap which contains version information. - - kind: Group - name: system:authenticated - apiGroup: rbac.authorization.k8s.io -roleRef: - apiGroup: rbac.authorization.k8s.io - kind: Role - name: tekton-pipelines-info - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: clustertasks.tekton.dev - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" - version: "v0.37.0" -spec: - group: tekton.dev - preserveUnknownFields: false - versions: - - name: v1alpha1 - served: true - storage: false - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - - name: v1beta1 - served: true - storage: true - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - names: - kind: ClusterTask - plural: clustertasks - singular: clustertask - categories: - - tekton - - tekton-pipelines - scope: Cluster - conversion: - strategy: Webhook - webhook: - conversionReviewVersions: ["v1beta1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: pipelines.tekton.dev - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" - version: "v0.37.0" -spec: - group: tekton.dev - preserveUnknownFields: false - versions: - - name: v1alpha1 - served: true - storage: false - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - - name: v1beta1 - served: true - storage: true - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - names: - kind: Pipeline - plural: pipelines - singular: pipeline - categories: - - tekton - - tekton-pipelines - scope: Namespaced - conversion: - strategy: Webhook - webhook: - conversionReviewVersions: ["v1beta1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: pipelineruns.tekton.dev - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" - version: "v0.37.0" -spec: - group: tekton.dev - preserveUnknownFields: false - versions: - - name: v1alpha1 - served: true - storage: false - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - additionalPrinterColumns: - - name: Succeeded - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].reason" - - name: StartTime - type: date - jsonPath: .status.startTime - - name: CompletionTime - type: date - jsonPath: .status.completionTime - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - - name: v1beta1 - served: true - storage: true - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - additionalPrinterColumns: - - name: Succeeded - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].reason" - - name: StartTime - type: date - jsonPath: .status.startTime - - name: CompletionTime - type: date - jsonPath: .status.completionTime - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - names: - kind: PipelineRun - plural: pipelineruns - singular: pipelinerun - categories: - - tekton - - tekton-pipelines - shortNames: - - pr - - prs - scope: Namespaced - conversion: - strategy: Webhook - webhook: - conversionReviewVersions: ["v1beta1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - ---- -# Copyright 2022 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: resolutionrequests.resolution.tekton.dev - labels: - resolution.tekton.dev/release: devel -spec: - group: resolution.tekton.dev - scope: Namespaced - names: - kind: ResolutionRequest - plural: resolutionrequests - singular: resolutionrequest - categories: - - all - - tekton - versions: - - name: v1alpha1 - served: true - storage: true - subresources: - status: {} - schema: - openAPIV3Schema: - type: object - properties: - spec: - description: Spec holds the parameters for the request. - type: object - properties: - params: - type: object - x-kubernetes-preserve-unknown-fields: true - status: - description: Status receives the data of a completed request. - type: object - properties: - data: - description: The resolved contents of the requested resource in-lined as a string. - type: string - annotations: - description: Annotations is additional Status fields for the Resource to save some additional State as well as convey more information to the user. This is roughly akin to Annotations on any k8s resource, just the reconciler conveying richer information outwards. - type: object - x-kubernetes-preserve-unknown-fields: true - conditions: - description: Conditions the latest available observations of a resource's current state. - type: array - items: - description: Conditions describe the success and completion state of the resource request. - type: object - required: - - status - - type - properties: - lastTransitionTime: - description: LastTransitionTime is the last time the condition transitioned from one status to another. We use VolatileTime in place of metav1.Time to exclude this from creating equality.Semantic differences (all other things held constant). - type: string - format: date-time - message: - description: A human readable message indicating details about the transition. - type: string - reason: - description: The reason for the condition's last transition. - type: string - severity: - description: Severity with which to treat failures of this type of condition. When this is not specified, it defaults to Error. - type: string - status: - description: Status of the condition, one of True, False, Unknown. - type: string - type: - description: Type of condition. - type: string - observedGeneration: - description: ObservedGeneration is the 'Generation' of the Service that was last processed by the controller. - type: integer - format: int64 - additionalPrinterColumns: - - name: Succeeded - type: string - jsonPath: ".status.conditions[?(@.type=='Succeeded')].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type=='Succeeded')].reason" - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: pipelineresources.tekton.dev - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" - version: "v0.37.0" -spec: - group: tekton.dev - versions: - - name: v1alpha1 - served: true - storage: true - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - names: - kind: PipelineResource - plural: pipelineresources - singular: pipelineresource - categories: - - tekton - - tekton-pipelines - scope: Namespaced - ---- -# Copyright 2020 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: runs.tekton.dev - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" - version: "v0.37.0" -spec: - group: tekton.dev - preserveUnknownFields: false - versions: - - name: v1alpha1 - served: true - storage: true - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - additionalPrinterColumns: - - name: Succeeded - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].reason" - - name: StartTime - type: date - jsonPath: .status.startTime - - name: CompletionTime - type: date - jsonPath: .status.completionTime - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - names: - kind: Run - plural: runs - singular: run - categories: - - tekton - - tekton-pipelines - scope: Namespaced - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: tasks.tekton.dev - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" - version: "v0.37.0" -spec: - group: tekton.dev - preserveUnknownFields: false - versions: - - name: v1alpha1 - served: true - storage: false - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - - name: v1beta1 - served: true - storage: true - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - names: - kind: Task - plural: tasks - singular: task - categories: - - tekton - - tekton-pipelines - scope: Namespaced - conversion: - strategy: Webhook - webhook: - conversionReviewVersions: ["v1beta1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apiextensions.k8s.io/v1 -kind: CustomResourceDefinition -metadata: - name: taskruns.tekton.dev - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" - version: "v0.37.0" -spec: - group: tekton.dev - preserveUnknownFields: false - versions: - - name: v1alpha1 - served: true - storage: false - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - additionalPrinterColumns: - - name: Succeeded - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].reason" - - name: StartTime - type: date - jsonPath: .status.startTime - - name: CompletionTime - type: date - jsonPath: .status.completionTime - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - - name: v1beta1 - served: true - storage: true - schema: - openAPIV3Schema: - type: object - # One can use x-kubernetes-preserve-unknown-fields: true - # at the root of the schema (and inside any properties, additionalProperties) - # to get the traditional CRD behaviour that nothing is pruned, despite - # setting spec.preserveUnknownProperties: false. - # - # See https://kubernetes.io/blog/2019/06/20/crd-structural-schema/ - # See issue: https://github.com/knative/serving/issues/912 - x-kubernetes-preserve-unknown-fields: true - additionalPrinterColumns: - - name: Succeeded - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].status" - - name: Reason - type: string - jsonPath: ".status.conditions[?(@.type==\"Succeeded\")].reason" - - name: StartTime - type: date - jsonPath: .status.startTime - - name: CompletionTime - type: date - jsonPath: .status.completionTime - # Opt into the status subresource so metadata.generation - # starts to increment - subresources: - status: {} - names: - kind: TaskRun - plural: taskruns - singular: taskrun - categories: - - tekton - - tekton-pipelines - shortNames: - - tr - - trs - scope: Namespaced - conversion: - strategy: Webhook - webhook: - conversionReviewVersions: ["v1beta1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - ---- -# Copyright 2020 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: Secret -metadata: - name: webhook-certs - namespace: tekton-pipelines - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" -# The data is populated at install time. ---- -apiVersion: admissionregistration.k8s.io/v1 -kind: ValidatingWebhookConfiguration -metadata: - name: validation.webhook.pipeline.tekton.dev - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" -webhooks: - - admissionReviewVersions: ["v1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - failurePolicy: Fail - sideEffects: None - name: validation.webhook.pipeline.tekton.dev ---- -apiVersion: admissionregistration.k8s.io/v1 -kind: MutatingWebhookConfiguration -metadata: - name: webhook.pipeline.tekton.dev - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" -webhooks: - - admissionReviewVersions: ["v1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - failurePolicy: Fail - sideEffects: None - name: webhook.pipeline.tekton.dev ---- -apiVersion: admissionregistration.k8s.io/v1 -kind: ValidatingWebhookConfiguration -metadata: - name: config.webhook.pipeline.tekton.dev - labels: - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - pipeline.tekton.dev/release: "v0.37.0" -webhooks: - - admissionReviewVersions: ["v1"] - clientConfig: - service: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - failurePolicy: Fail - sideEffects: None - name: config.webhook.pipeline.tekton.dev - objectSelector: - matchLabels: - app.kubernetes.io/part-of: tekton-pipelines - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: tekton-aggregate-edit - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - rbac.authorization.k8s.io/aggregate-to-edit: "true" - rbac.authorization.k8s.io/aggregate-to-admin: "true" -rules: - - apiGroups: - - tekton.dev - resources: - - tasks - - taskruns - - pipelines - - pipelineruns - - pipelineresources - - conditions - verbs: - - create - - delete - - deletecollection - - get - - list - - patch - - update - - watch - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: rbac.authorization.k8s.io/v1 -kind: ClusterRole -metadata: - name: tekton-aggregate-view - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - rbac.authorization.k8s.io/aggregate-to-view: "true" -rules: - - apiGroups: - - tekton.dev - resources: - - tasks - - taskruns - - pipelines - - pipelineruns - - pipelineresources - - conditions - verbs: - - get - - list - - watch - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-artifact-bucket - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -# data: -# # location of the gcs bucket to be used for artifact storage -# location: "gs://bucket-name" -# # name of the secret that will contain the credentials for the service account -# # with access to the bucket -# bucket.service.account.secret.name: -# # The key in the secret with the required service account json -# bucket.service.account.secret.key: -# # The field name that should be used for the service account -# # Valid values: GOOGLE_APPLICATION_CREDENTIALS, BOTO_CONFIG. -# bucket.service.account.field.name: GOOGLE_APPLICATION_CREDENTIALS - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-artifact-pvc - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -# data: -# # size of the PVC volume -# size: 5Gi -# -# # storage class of the PVC volume -# storageClassName: storage-class-name - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-defaults - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -data: - default-timeout-minutes: "120" - _example: | - default-timeout-minutes: "120" - ################################ - # # - # EXAMPLE CONFIGURATION # - # # - ################################ - - # This block is not actually functional configuration, - # but serves to illustrate the available configuration - # options and document them in a way that is accessible - # to users that `kubectl edit` this config map. - # - # These sample configuration options may be copied out of - # this example block and unindented to be in the data block - # to actually change the configuration. - - # default-timeout-minutes contains the default number of - # minutes to use for TaskRun and PipelineRun, if none is specified. - default-timeout-minutes: "0" # 60 minutes - - # default-service-account contains the default service account name - # to use for TaskRun and PipelineRun, if none is specified. - default-service-account: "default" - - # default-managed-by-label-value contains the default value given to the - # "app.kubernetes.io/managed-by" label applied to all Pods created for - # TaskRuns. If a user's requested TaskRun specifies another value for this - # label, the user's request supercedes. - default-managed-by-label-value: "tekton-pipelines" - - # default-pod-template contains the default pod template to use for - # TaskRun and PipelineRun. If a pod template is specified on the - # PipelineRun, the default-pod-template is merged with that one. - # default-pod-template: - - # default-affinity-assistant-pod-template contains the default pod template - # to use for affinity assistant pods. If a pod template is specified on the - # PipelineRun, the default-affinity-assistant-pod-template is merged with - # that one. - # default-affinity-assistant-pod-template: - - # default-cloud-events-sink contains the default CloudEvents sink to be - # used for TaskRun and PipelineRun, when no sink is specified. - # Note that right now it is still not possible to set a PipelineRun or - # TaskRun specific sink, so the default is the only option available. - # If no sink is specified, no CloudEvent is generated - # default-cloud-events-sink: - - # default-task-run-workspace-binding contains the default workspace - # configuration provided for any Workspaces that a Task declares - # but that a TaskRun does not explicitly provide. - # default-task-run-workspace-binding: | - # emptyDir: {} - - # default-max-matrix-combinations-count contains the default maximum number - # of combinations from a Matrix, if none is specified. - default-max-matrix-combinations-count: "256" - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: feature-flags - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -data: - # Setting this flag to "true" will prevent Tekton to create an - # Affinity Assistant for every TaskRun sharing a PVC workspace - # - # The default behaviour is for Tekton to create Affinity Assistants - # - # See more in the workspace documentation about Affinity Assistant - # https://github.com/tektoncd/pipeline/blob/main/docs/workspaces.md#affinity-assistant-and-specifying-workspace-order-in-a-pipeline - # or https://github.com/tektoncd/pipeline/pull/2630 for more info. - disable-affinity-assistant: "false" - # Setting this flag to "true" will prevent Tekton scanning attached - # service accounts and injecting any credentials it finds into your - # Steps. - # - # The default behaviour currently is for Tekton to search service - # accounts for secrets matching a specified format and automatically - # mount those into your Steps. - # - # Note: setting this to "true" will prevent PipelineResources from - # working. - # - # See https://github.com/tektoncd/pipeline/issues/2791 for more - # info. - disable-creds-init: "false" - # This option should be set to false when Pipelines is running in a - # cluster that does not use injected sidecars such as Istio. Setting - # it to false should decrease the time it takes for a TaskRun to start - # running. For clusters that use injected sidecars, setting this - # option to false can lead to unexpected behavior. - # - # See https://github.com/tektoncd/pipeline/issues/2080 for more info. - running-in-environment-with-injected-sidecars: "true" - # Setting this flag to "true" will require that any Git SSH Secret - # offered to Tekton must have known_hosts included. - # - # See https://github.com/tektoncd/pipeline/issues/2981 for more - # info. - require-git-ssh-secret-known-hosts: "false" - # Setting this flag to "true" enables the use of Tekton OCI bundle. - # This is an experimental feature and thus should still be considered - # an alpha feature. - enable-tekton-oci-bundles: "false" - # Setting this flag to "true" enables the use of custom tasks from - # within pipelines. - # This is an experimental feature and thus should still be considered - # an alpha feature. - enable-custom-tasks: "false" - # Setting this flag will determine which gated features are enabled. - # Acceptable values are "stable" or "alpha". - enable-api-fields: "stable" - # Setting this flag to "true" enables CloudEvents for Runs, as long as a - # CloudEvents sink is configured in the config-defaults config map - send-cloudevents-for-runs: "false" - ---- -# Copyright 2021 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: pipelines-info - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -data: - # Contains pipelines version which can be queried by external - # tools such as CLI. Elevated permissions are already given to - # this ConfigMap such that even if we don't have access to - # other resources in the namespace we still can have access to - # this ConfigMap. - version: "v0.37.0" - ---- -# Copyright 2020 Tekton Authors LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-leader-election - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -data: - # An inactive but valid configuration follows; see example. - lease-duration: "60s" - renew-deadline: "40s" - retry-period: "10s" - ---- -# Copyright 2019 Tekton Authors LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-logging - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -data: - # Common configuration for all knative codebase - zap-logger-config: | - { - "level": "info", - "development": false, - "sampling": { - "initial": 100, - "thereafter": 100 - }, - "outputPaths": ["stdout"], - "errorOutputPaths": ["stderr"], - "encoding": "json", - "encoderConfig": { - "timeKey": "ts", - "levelKey": "level", - "nameKey": "logger", - "callerKey": "caller", - "messageKey": "msg", - "stacktraceKey": "stacktrace", - "lineEnding": "", - "levelEncoder": "", - "timeEncoder": "iso8601", - "durationEncoder": "", - "callerEncoder": "" - } - } - # Log level overrides - loglevel.controller: "info" - loglevel.webhook: "info" - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-observability - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -data: - _example: | - ################################ - # # - # EXAMPLE CONFIGURATION # - # # - ################################ - - # This block is not actually functional configuration, - # but serves to illustrate the available configuration - # options and document them in a way that is accessible - # to users that `kubectl edit` this config map. - # - # These sample configuration options may be copied out of - # this example block and unindented to be in the data block - # to actually change the configuration. - - # metrics.backend-destination field specifies the system metrics destination. - # It supports either prometheus (the default) or stackdriver. - # Note: Using Stackdriver will incur additional charges. - metrics.backend-destination: prometheus - - # metrics.stackdriver-project-id field specifies the Stackdriver project ID. This - # field is optional. When running on GCE, application default credentials will be - # used and metrics will be sent to the cluster's project if this field is - # not provided. - metrics.stackdriver-project-id: "" - - # metrics.allow-stackdriver-custom-metrics indicates whether it is allowed - # to send metrics to Stackdriver using "global" resource type and custom - # metric type. Setting this flag to "true" could cause extra Stackdriver - # charge. If metrics.backend-destination is not Stackdriver, this is - # ignored. - metrics.allow-stackdriver-custom-metrics: "false" - metrics.taskrun.level: "task" - metrics.taskrun.duration-type: "histogram" - metrics.pipelinerun.level: "pipeline" - metrics.pipelinerun.duration-type: "histogram" - ---- -# Copyright 2020 Tekton Authors LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: v1 -kind: ConfigMap -metadata: - name: config-registry-cert - namespace: tekton-pipelines - labels: - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines -# data: -# # Registry's self-signed certificate -# cert: | - ---- -# Copyright 2019 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apps/v1 -kind: Deployment -metadata: - name: tekton-pipelines-controller - namespace: tekton-pipelines - labels: - app.kubernetes.io/name: controller - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/version: "v0.37.0" - app.kubernetes.io/part-of: tekton-pipelines - # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v0.37.0" - # labels below are related to istio and should not be used for resource lookup - version: "v0.37.0" -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: controller - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - template: - metadata: - labels: - app.kubernetes.io/name: controller - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/version: "v0.37.0" - app.kubernetes.io/part-of: tekton-pipelines - # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v0.37.0" - # labels below are related to istio and should not be used for resource lookup - app: tekton-pipelines-controller - version: "v0.37.0" - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/os - operator: NotIn - values: - - windows - serviceAccountName: tekton-pipelines-controller - containers: - - name: tekton-pipelines-controller - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/controller:v0.37.0@sha256:2a5239e0e458134870db8541008f358618a35d24247044a0041ab9ecb9ab2413 - args: [ - # These images are built on-demand by `ko resolve` and are replaced - # by image references by digest. - "-kubeconfig-writer-image", "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/kubeconfigwriter:v0.37.0@sha256:93f5ceecf1776ce8cfa7384df970152654c0f7b301c869c1fcba6a12b4fa2171", "-git-image", "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/git-init:v0.37.0@sha256:ec618dfa0fc23ae90105135be96bb8c0f9250bfd7682d9d5bab845ab6fd50528", "-entrypoint-image", "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/entrypoint:v0.37.0@sha256:599c0447b1e25edf27bb3599616b7315b28fb0a9bd01cf36843cb786cb475908", "-nop-image", "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/nop:v0.37.0@sha256:b27e010534e395bc9bec982858c8012ce065df6058038d7a649ed8be708b9aa4", "-imagedigest-exporter-image", "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/imagedigestexporter:v0.37.0@sha256:cf0a3e0a9e90201626bd1ae805386e3977c744d8e099911f825d33501d2f8f33", "-pr-image", "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/pullrequest-init:v0.37.0@sha256:bce6c45c9485982099bd6f66d00e96337a8ab5c19de4699414a0730581dcf0ec", "-workingdirinit-image", "gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/workingdirinit:v0.37.0@sha256:dbe778e14ebb4be0a81e917385b79687aba3e278e38e78a3290ae7c32f0a46e8", - # This is gcr.io/google.com/cloudsdktool/cloud-sdk:302.0.0-slim - "-gsutil-image", "gcr.io/google.com/cloudsdktool/cloud-sdk@sha256:27b2c22bf259d9bc1a291e99c63791ba0c27a04d2db0a43241ba0f1f20f4067f", - # The shell image must allow root in order to create directories and copy files to PVCs. - # ghcr.io/distroless/busybox as of April 14 2022 - # image shall not contains tag, so it will be supported on a runtime like cri-o - "-shell-image", "ghcr.io/distroless/busybox@sha256:19f02276bf8dbdd62f069b922f10c65262cc34b710eea26ff928129a736be791", - # for script mode to work with windows we need a powershell image - # pinning to nanoserver tag as of July 15 2021 - "-shell-image-win", "mcr.microsoft.com/powershell:nanoserver@sha256:b6d5ff841b78bdf2dfed7550000fd4f3437385b8fa686ec0f010be24777654d6"] - volumeMounts: - - name: config-logging - mountPath: /etc/config-logging - - name: config-registry-cert - mountPath: /etc/config-registry-cert - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - # If you are changing these names, you will also need to update - # the controller's Role in 200-role.yaml to include the new - # values in the "configmaps" "get" rule. - - name: CONFIG_DEFAULTS_NAME - value: config-defaults - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: CONFIG_ARTIFACT_BUCKET_NAME - value: config-artifact-bucket - - name: CONFIG_ARTIFACT_PVC_NAME - value: config-artifact-pvc - - name: CONFIG_FEATURE_FLAGS_NAME - value: feature-flags - - name: CONFIG_LEADERELECTION_NAME - value: config-leader-election - - name: SSL_CERT_FILE - value: /etc/config-registry-cert/cert - - name: SSL_CERT_DIR - value: /etc/ssl/certs - - name: METRICS_DOMAIN - value: tekton.dev/pipeline - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - # User 65532 is the distroless nonroot user ID - runAsUser: 65532 - runAsGroup: 65532 - ports: - - name: metrics - containerPort: 9090 - - name: profiling - containerPort: 8008 - - name: probes - containerPort: 8080 - livenessProbe: - httpGet: - path: /health - port: probes - scheme: HTTP - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 5 - readinessProbe: - httpGet: - path: /readiness - port: probes - scheme: HTTP - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 5 - volumes: - - name: config-logging - configMap: - name: config-logging - - name: config-registry-cert - configMap: - name: config-registry-cert ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: controller - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/version: "v0.37.0" - app.kubernetes.io/part-of: tekton-pipelines - # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v0.37.0" - # labels below are related to istio and should not be used for resource lookup - app: tekton-pipelines-controller - version: "v0.37.0" - name: tekton-pipelines-controller - namespace: tekton-pipelines -spec: - ports: - - name: http-metrics - port: 9090 - protocol: TCP - targetPort: 9090 - - name: http-profiling - port: 8008 - targetPort: 8008 - - name: probes - port: 8080 - selector: - app.kubernetes.io/name: controller - app.kubernetes.io/component: controller - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - ---- -# Copyright 2020 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: autoscaling/v2beta1 -kind: HorizontalPodAutoscaler -metadata: - name: tekton-pipelines-webhook - namespace: tekton-pipelines - labels: - app.kubernetes.io/name: webhook - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/version: "v0.37.0" - app.kubernetes.io/part-of: tekton-pipelines - # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v0.37.0" - # labels below are related to istio and should not be used for resource lookup - version: "v0.37.0" -spec: - minReplicas: 1 - maxReplicas: 5 - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: tekton-pipelines-webhook - metrics: - - type: Resource - resource: - name: cpu - targetAverageUtilization: 100 - ---- -# Copyright 2020 The Tekton Authors -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# https://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -apiVersion: apps/v1 -kind: Deployment -metadata: - # Note: the Deployment name must be the same as the Service name specified in - # config/400-webhook-service.yaml. If you change this name, you must also - # change the value of WEBHOOK_SERVICE_NAME below. - name: tekton-pipelines-webhook - namespace: tekton-pipelines - labels: - app.kubernetes.io/name: webhook - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/version: "v0.37.0" - app.kubernetes.io/part-of: tekton-pipelines - # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v0.37.0" - # labels below are related to istio and should not be used for resource lookup - version: "v0.37.0" -spec: - replicas: 1 - selector: - matchLabels: - app.kubernetes.io/name: webhook - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - template: - metadata: - labels: - app.kubernetes.io/name: webhook - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/version: "v0.37.0" - app.kubernetes.io/part-of: tekton-pipelines - # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v0.37.0" - # labels below are related to istio and should not be used for resource lookup - app: tekton-pipelines-webhook - version: "v0.37.0" - spec: - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: kubernetes.io/os - operator: NotIn - values: - - windows - podAntiAffinity: - preferredDuringSchedulingIgnoredDuringExecution: - - podAffinityTerm: - labelSelector: - matchLabels: - app.kubernetes.io/name: webhook - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - topologyKey: kubernetes.io/hostname - weight: 100 - serviceAccountName: tekton-pipelines-webhook - containers: - - name: webhook - # This is the Go import path for the binary that is containerized - # and substituted here. - image: gcr.io/tekton-releases/github.com/tektoncd/pipeline/cmd/webhook:v0.37.0@sha256:5fe6aa767279b53b304d2203d645a3a88ea41825cca28ca678bbf5f952044446 - # Resource request required for autoscaler to take any action for a metric - resources: - requests: - cpu: 100m - memory: 100Mi - limits: - cpu: 500m - memory: 500Mi - env: - - name: SYSTEM_NAMESPACE - valueFrom: - fieldRef: - fieldPath: metadata.namespace - # If you are changing these names, you will also need to update - # the webhook's Role in 200-role.yaml to include the new - # values in the "configmaps" "get" rule. - - name: CONFIG_LOGGING_NAME - value: config-logging - - name: CONFIG_OBSERVABILITY_NAME - value: config-observability - - name: CONFIG_LEADERELECTION_NAME - value: config-leader-election - - name: CONFIG_FEATURE_FLAGS_NAME - value: feature-flags - - name: WEBHOOK_SERVICE_NAME - value: tekton-pipelines-webhook - - name: WEBHOOK_SECRET_NAME - value: webhook-certs - - name: METRICS_DOMAIN - value: tekton.dev/pipeline - securityContext: - allowPrivilegeEscalation: false - capabilities: - drop: - - all - # User 65532 is the distroless nonroot user ID - runAsUser: 65532 - runAsGroup: 65532 - ports: - - name: metrics - containerPort: 9090 - - name: profiling - containerPort: 8008 - - name: https-webhook - containerPort: 8443 - - name: probes - containerPort: 8080 - livenessProbe: - httpGet: - path: /health - port: probes - scheme: HTTP - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 5 - readinessProbe: - httpGet: - path: /readiness - port: probes - scheme: HTTP - initialDelaySeconds: 5 - periodSeconds: 10 - timeoutSeconds: 5 ---- -apiVersion: v1 -kind: Service -metadata: - labels: - app.kubernetes.io/name: webhook - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/version: "v0.37.0" - app.kubernetes.io/part-of: tekton-pipelines - # tekton.dev/release value replaced with inputs.params.versionTag in pipeline/tekton/publish.yaml - pipeline.tekton.dev/release: "v0.37.0" - # labels below are related to istio and should not be used for resource lookup - app: tekton-pipelines-webhook - version: "v0.37.0" - name: tekton-pipelines-webhook - namespace: tekton-pipelines -spec: - ports: - # Define metrics and profiling for them to be accessible within service meshes. - - name: http-metrics - port: 9090 - targetPort: 9090 - - name: http-profiling - port: 8008 - targetPort: 8008 - - name: https-webhook - port: 443 - targetPort: 8443 - - name: probes - port: 8080 - selector: - app.kubernetes.io/name: webhook - app.kubernetes.io/component: webhook - app.kubernetes.io/instance: default - app.kubernetes.io/part-of: tekton-pipelines - ---- diff --git a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-bench.yml b/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-bench.yml deleted file mode 100644 index 0bb721b77..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-bench.yml +++ /dev/null @@ -1,218 +0,0 @@ ---- -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - name: zcash-build-bench -spec: - params: - - name: JOBS - default: "4" - type: string - - name: BUILD_FOR_HOST - default: x86_64-pc-linux-gnu - type: string - - name: CONFIGURE_FLAGS - default: "" - type: string - - name: BUILD_CONTAINER - default: electriccoinco/zcashd-bench-debian10 - type: string - - name: TEST_TARGET - default: "" - type: string - resources: - inputs: - - name: source - type: git - steps: - - name: build - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cd workspace/source - echo $(git rev-parse HEAD) - echo $(git rev-parse --short HEAD) - - if [ "$(params.BUILD_FOR_HOST)" == "x86_64-apple-darwin18" ] - then - mkdir -p depends/SDKs - curl -fs https://ecc.mypinata.cloud/ipfs/QmeSwckvSCGL9SXGdEHoAyqXdzD7T9HYTwsC34Bj5EVDF5 \ - -o depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz - tar zxvf depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz \ - -C depends/SDKs - fi - - CONFIGURE_FLAGS=$(params.CONFIGURE_FLAGS) HOST=$(params.BUILD_FOR_HOST) ./zcutil/build.sh -j$(params.JOBS) - - - name: bench-sleep - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time sleep | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-createsaplingspend - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time createsaplingspend | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-verifysaplingspend - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time verifysaplingspend | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-createsaplingoutput - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time createsaplingoutput | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-verifysaplingoutput - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time verifysaplingoutput | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-createjoinsplit - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time createjoinsplit | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-verifyjoinsplit - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time verifyjoinsplit | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-verifyequihash - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time verifyequihash | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-loadwallet-200k-recv - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp -r /home/benchmark-200k-UTXOs.tar.xz /workspace/source - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time loadwallet 200k-recv | sed 1d | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-loadwallet-200k-send - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp -r /home/benchmark-200k-UTXOs.tar.xz /workspace/source - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time loadwallet 200k-send | sed 1d | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-listunspent-200k-recv - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp -r /home/benchmark-200k-UTXOs.tar.xz /workspace/source - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time listunspent 200k-recv | sed 1d | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-listunspent-200k-send - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp -r /home/benchmark-200k-UTXOs.tar.xz /workspace/source - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time listunspent 200k-send | sed 1d | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-connectblocksapling - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp -r /home/block-1723244.tar.xz /workspace/source - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time connectblocksapling | sed -n '2,$p' | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-connectblockorchard - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp -r /home/block-1708048.tar.xz /workspace/source - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time connectblockorchard | sed -n '2,$p' | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py - - - name: bench-connectblockslow - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cp -a /home/.zcash-params $HOME/ - cp -r /home/block-107134.tar.xz /workspace/source - cp /home/perf_metrics.py /workspace/source - cd /workspace/source - - ./qa/zcash/performance-measurements.sh time connectblockslow | sed -n '2,$p' | jq '.[]|.runningtime | tonumber' | python ./perf_metrics.py diff --git a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-test.yml b/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-test.yml deleted file mode 100644 index 2934fcafe..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build-test.yml +++ /dev/null @@ -1,57 +0,0 @@ ---- -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - name: zcash-build-test -spec: - params: - - name: JOBS - default: "4" - type: string - - name: BUILD_FOR_HOST - default: x86_64-pc-linux-gnu - type: string - - name: CONFIGURE_FLAGS - default: "" - type: string - - name: BUILD_CONTAINER - default: electriccoinco/zcashd-worker-ubuntu2004v2 - type: string - - name: TEST_TARGET - default: "" - type: string - resources: - inputs: - - name: source - type: git - steps: - - name: build - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cd workspace/source - echo $(git rev-parse HEAD) - echo $(git rev-parse --short HEAD) - - if [ "$(params.BUILD_FOR_HOST)" == "x86_64-apple-darwin18" ] - then - mkdir -p depends/SDKs - curl -fs https://ecc.mypinata.cloud/ipfs/QmeSwckvSCGL9SXGdEHoAyqXdzD7T9HYTwsC34Bj5EVDF5 \ - -o depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz - tar zxvf depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz \ - -C depends/SDKs - fi - - CONFIGURE_FLAGS=$(params.CONFIGURE_FLAGS) HOST=$(params.BUILD_FOR_HOST) ./zcutil/build.sh -j$(params.JOBS) - - - name: test - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - python -m pip install pyblake2 pyflakes python-qpid-proton pyutil pyzmq requests simplejson - cp -a /home/.zcash-params $HOME/ - echo $(git rev-parse HEAD) - echo $(git rev-parse --short HEAD) - HOST=x86_64-pc-linux-gnu /workspace/source/qa/zcash/full_test_suite.py $(params.TEST_TARGET) \ No newline at end of file diff --git a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build.yml b/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build.yml deleted file mode 100644 index 0e46e1f14..000000000 --- a/depend/zcash/contrib/ci-builders/tekton/tekton-labs/tasks/zcash-build.yml +++ /dev/null @@ -1,51 +0,0 @@ ---- -apiVersion: tekton.dev/v1beta1 -kind: Task -metadata: - name: zcash-build -spec: - params: - - name: JOBS - default: "4" - type: string - - name: BUILD_FOR_HOST - default: x86_64-pc-linux-gnu - type: string - - name: CONFIGURE_FLAGS - default: "" - type: string - - name: BUILD_CONTAINER - default: electriccoinco/zcashd-worker-ubuntu2004v2 - type: string - resources: - inputs: - - name: source - type: git - steps: - - name: setup-venv - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -e -o pipefail - python3 -m venv /venv/zcash-build-venv - source /venv/zcash-build-venv/bin/activate - python -m pip install pyblake2 pyflakes python-qpid-proton pyutil pyzmq requests simplejson - - - name: build - image: $(params.BUILD_CONTAINER) - script: | - #!/bin/bash - set -o pipefail - cd workspace/source - echo $(git rev-parse HEAD) - echo $(git rev-parse --short HEAD) - if [ "$(params.BUILD_FOR_HOST)" == "x86_64-apple-darwin18" ] - then - mkdir -p depends/SDKs - curl -fs https://ecc.mypinata.cloud/ipfs/QmeSwckvSCGL9SXGdEHoAyqXdzD7T9HYTwsC34Bj5EVDF5 \ - -o depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz - tar zxvf depends/SDKs/Xcode-11.3.1-11C505-extracted-SDK-with-libcxx-headers.tar.gz \ - -C depends/SDKs - fi - - CONFIGURE_FLAGS=$(params.CONFIGURE_FLAGS) HOST=$(params.BUILD_FOR_HOST) ./zcutil/build.sh -j$(params.JOBS) diff --git a/depend/zcash/contrib/ci-workers/README.md b/depend/zcash/contrib/ci-workers/README.md deleted file mode 100644 index 8ce9dc764..000000000 --- a/depend/zcash/contrib/ci-workers/README.md +++ /dev/null @@ -1,62 +0,0 @@ -# Zcash CI workers - -This folder contains the Ansible playbooks for configuring a fresh OS -installation for use as a Buildbot worker in Zcash's CI. - -# Criteria for Adding Workers - -a. Don't add workers until users complain about a problem on a platform that - doesn't yet have workers. However, if we anticipate many users will use a - platform, we may pre-emptively add an unsupported worker for it. - -b. Prioritize the platforms that seem to have the most users. - -c. When adding workers, start by adding workers for the "most common" variant of - any distro. Then if users later encounter problems with a sub-variant, we can - consider adding new workers at that point. Example: add Ubuntu Desktop before - Xubuntu, on the assumption the former has a larger population base, and the - latter only materially differs in the GUI. - -# Setting up a latent worker on Amazon EC2 - -1. Add a regular (non-latent) worker to the master.cfg for dev-ci.z.cash, and - deploy the changes. - - This enables the Ansible playbook to run to completion, ending in the worker - connecting to the master. - -2. Start a basic EC2 instance using the template AMI for the target OS. - - Choose the smallest instance size, it won't be used for building Zcash. - -3. Figure out which user to log into the instance with. - - E.g. for the Ubuntu template, use "ubuntu" instead of "root" - - If you get an Ansible error later with a message like "Failed to connect to - the host via ssh: Received message too long 1349281121\r\n", that means the - instance is sending a text string in response to the SSH connection, and the - Ansible protocol is balking. Try manually logging in with the same - credentials to diagnose. - -4. Create `inventory/hosts` containing the following: - - [zcash-ci-worker-unix] - some-name ansible_host= ansible_ssh_user= - -5. Run `ansible-playbook -e buildbot_worker_host_template=templates/host.ec2.j2 -i inventory/hosts unix.yml`, - passing in the worker's Buildbot name and password. - - After a successful run, the worker should be connected to dev-ci.z.cash and - visible in its worker list. - -6. Create an AMI from the instance. This is the worker AMI to put into the - master.cfg for dev-ci.z.cash. - - 16 GB of storage should be sufficient. - -7. SSH into the instance, and edit the worker config to connect to ci.z.cash. - -8. Create an AMI from the instance. This is the worker AMI to put into the - master.cfg for ci.z.cash. - - 16 GB of storage should be sufficient. - -9. Delete the instance (it is no longer needed). - -10. Edit the master.cfg to turn the new worker into a latent (using the new AMI - IDs), add it to the appropriate worker groups, set up new builders etc. - - Deploy this via the normal PR review process. diff --git a/depend/zcash/contrib/ci-workers/ansible.cfg b/depend/zcash/contrib/ci-workers/ansible.cfg deleted file mode 100644 index c58fea3c0..000000000 --- a/depend/zcash/contrib/ci-workers/ansible.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[ssh_connection] -pipelining = True diff --git a/depend/zcash/contrib/ci-workers/files/bashrc b/depend/zcash/contrib/ci-workers/files/bashrc deleted file mode 100644 index aaad18b92..000000000 --- a/depend/zcash/contrib/ci-workers/files/bashrc +++ /dev/null @@ -1,2 +0,0 @@ -export PATH=$HOME/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin -export EDITOR=vim diff --git a/depend/zcash/contrib/ci-workers/grind.yml b/depend/zcash/contrib/ci-workers/grind.yml deleted file mode 100644 index ef7e5758e..000000000 --- a/depend/zcash/contrib/ci-workers/grind.yml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# Configure a Buildbot worker -- include: unix.yml - -- name: Install grind-specific worker dependencies - hosts: zcash-ci-worker-unix - become: true - - vars_files: - - vars/default.yml - - tasks: - - name: Get dependencies for distribution - include_vars: "{{ item }}" - with_first_found: - - files: - - "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml" - - "vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version | int }}.yml" - - "vars/{{ ansible_distribution }}.yml" - - "vars/{{ ansible_os_family }}.yml" - skip: true - - - name: Install required packages - package: - name: "{{ item }}" - state: present - with_items: "{{ grind_deps }}" diff --git a/depend/zcash/contrib/ci-workers/tasks/install-brew.yml b/depend/zcash/contrib/ci-workers/tasks/install-brew.yml deleted file mode 100644 index 5faedad0b..000000000 --- a/depend/zcash/contrib/ci-workers/tasks/install-brew.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -- name: Check if brew is installed - stat: - path: /usr/local/bin/brew - register: brew_check - -- name: Fail if brew is unavailable - fail: - msg: 'brew is not installed! Please install Homebrew: https://docs.brew.sh/Installation.html' - when: not brew_check.stat.exists diff --git a/depend/zcash/contrib/ci-workers/tasks/install-pip.yml b/depend/zcash/contrib/ci-workers/tasks/install-pip.yml deleted file mode 100644 index 8beff50ef..000000000 --- a/depend/zcash/contrib/ci-workers/tasks/install-pip.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- -- name: Fetch pip installer - get_url: - url: https://bootstrap.pypa.io/get-pip.py - dest: /tmp/get-pip.py - -- name: Install pip - command: "{{ ansible_python.executable }} /tmp/get-pip.py" diff --git a/depend/zcash/contrib/ci-workers/templates/buildbot-worker.plist.j2 b/depend/zcash/contrib/ci-workers/templates/buildbot-worker.plist.j2 deleted file mode 100644 index 225c73b8a..000000000 --- a/depend/zcash/contrib/ci-workers/templates/buildbot-worker.plist.j2 +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Label - net.buildbot.worker - ProgramArguments - - {{ buildbot_worker_dir }}/venv/bin/buildbot-worker - start - {{ buildbot_worker_name }} - - WorkingDirectory - {{ buildbot_worker_dir }} - UserName - {{ buildbot_worker_user }} - KeepAlive - - NetworkState - - - - diff --git a/depend/zcash/contrib/ci-workers/templates/buildbot-worker.service.j2 b/depend/zcash/contrib/ci-workers/templates/buildbot-worker.service.j2 deleted file mode 100644 index 625323be6..000000000 --- a/depend/zcash/contrib/ci-workers/templates/buildbot-worker.service.j2 +++ /dev/null @@ -1,17 +0,0 @@ -[Unit] -Description=Buildbot worker -Wants=network.target -After=network.target - -[Service] -Type=forking -PIDFile={{ buildbot_worker_dir }}/{{ buildbot_worker_name }}/twistd.pid -WorkingDirectory={{ buildbot_worker_dir }} -ExecStart={{ buildbot_worker_dir }}/venv/bin/buildbot-worker start {{ buildbot_worker_name }} -ExecReload={{ buildbot_worker_dir }}/venv/bin/buildbot-worker restart {{ buildbot_worker_name }} -ExecStop={{ buildbot_worker_dir }}/venv/bin/buildbot-worker stop {{ buildbot_worker_name }} -Restart=always -User={{ buildbot_worker_user }} - -[Install] -WantedBy=multi-user.target diff --git a/depend/zcash/contrib/ci-workers/templates/host.ec2.j2 b/depend/zcash/contrib/ci-workers/templates/host.ec2.j2 deleted file mode 100644 index dee692e02..000000000 --- a/depend/zcash/contrib/ci-workers/templates/host.ec2.j2 +++ /dev/null @@ -1 +0,0 @@ -OS: {{ ansible_distribution }} {{ ansible_distribution_version }} diff --git a/depend/zcash/contrib/ci-workers/templates/host.j2 b/depend/zcash/contrib/ci-workers/templates/host.j2 deleted file mode 100644 index 65c4cb709..000000000 --- a/depend/zcash/contrib/ci-workers/templates/host.j2 +++ /dev/null @@ -1,3 +0,0 @@ -OS: {{ ansible_distribution }} {{ ansible_distribution_version }} -Memory: {{ ansible_memtotal_mb }} MB -CPU: {{ ansible_processor if ansible_processor is string else ansible_processor[1] }} ({{ ansible_processor_cores }} cores) diff --git a/depend/zcash/contrib/ci-workers/unix.yml b/depend/zcash/contrib/ci-workers/unix.yml deleted file mode 100644 index cbb693401..000000000 --- a/depend/zcash/contrib/ci-workers/unix.yml +++ /dev/null @@ -1,209 +0,0 @@ ---- -- name: Configure a Buildbot worker for Zcash CI - hosts: zcash-ci-worker-unix - become: true - gather_facts: False - - vars_files: - - vars/default.yml - - vars/buildbot.yml - - vars_prompt: - - name: "buildbot_worker_admin" - prompt: "Admin details" - default: "Zcash " - - name: "buildbot_worker_name" - prompt: "Buildbot worker name (provided by ZECC)" - private: no - - name: "buildbot_worker_password" - prompt: "Buildbot worker password (provided by ZECC)" - - pre_tasks: - - name: Install Python 2.7 for Ansible and Buildbot - raw: test -e /usr/bin/python || test -e /usr/bin/python2 || test -e /usr/bin/python2.7 || test -e /usr/local/bin/python2.7 || (test -e /usr/bin/apt && apt -qqy update && apt install -qqy python) || (test -e /usr/bin/dnf && dnf install -qqy python2) || (test -e /usr/sbin/pkg && pkg install -qqy python2) - register: output - changed_when: - - output.stdout != "" - - output.stdout != "\r\n" - - - name: Check if Python is in the configured location - raw: test -e {{ ansible_python_interpreter }} - ignore_errors: true - register: python_check - when: ansible_python_interpreter is defined - - - name: Fail if configured Python is unavailable - fail: - msg: "Python is not accessible at {{ ansible_python_interpreter }} on this host! Please set the inventory variable 'ansible_python_interpreter' to the location of the Python 2.7 binary." - when: ansible_python_interpreter is defined and python_check.rc == 1 - - - name: Check if Python is in the default location - raw: test -e /usr/bin/python - ignore_errors: true - register: python_check - when: ansible_python_interpreter is undefined - - - name: Fail if default Python is unavailable - fail: - msg: Python is not accessible at /usr/bin/python on this host! Please set the inventory variable 'ansible_python_interpreter' to the location of the Python 2.7 binary. - when: ansible_python_interpreter is undefined and python_check.rc == 1 - - - name: Gathering Facts - setup: - tags: deps - - - name: Fail if Python is the wrong version - fail: - msg: "The Python binary at {{ ansible_python.executable }} is version {{ ansible_python_version }}! Please set the inventory variable 'ansible_python_interpreter' to the location of the Python 2.7 binary." - when: ansible_python.version.major != 2 or ansible_python.version.minor != 7 - - tasks: - - name: Get dependencies for distribution - include_vars: "{{ item }}" - with_first_found: - - files: - - "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml" - - "vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version | int }}.yml" - - "vars/{{ ansible_distribution }}.yml" - - "vars/{{ ansible_os_family }}.yml" - skip: true - tags: deps - - - name: Collate dependencies - set_fact: - package_deps: "{{ buildbot_deps + fetch_deps + conf_deps + build_deps + link_deps + dist_deps }}" - python_modules: "{{ buildbot_modules + rpc_test_modules }}" - tags: deps - - - name: Install Homebrew [MacOSX] - include: tasks/install-brew.yml - when: ansible_distribution == 'MacOSX' - tags: deps - - - name: Update rolling release [Arch Linux] - pacman: - update_cache: yes - upgrade: yes - when: ansible_distribution == 'Archlinux' - tags: deps - - - name: Install required packages - package: - name: "{{ item }}" - state: present - with_items: "{{ package_deps }}" - become_user: "{{ ansible_ssh_user if ansible_distribution == 'MacOSX' else 'root' }}" - tags: deps - - - name: Install pip [CentOS, MacOSX] - include: tasks/install-pip.yml - when: ansible_distribution in ['CentOS', 'MacOSX'] - - - name: Install required Python system modules - pip: - name: "{{ item }}" - state: latest - executable: "{{ '/usr/local/bin/pip' if ansible_distribution == 'MacOSX' else omit }}" - with_items: "{{ system_modules }}" - - - name: Set up the Buildbot worker user - user: - name: "{{ buildbot_worker_user }}" - comment: Buildbot worker - shell: /bin/bash - state: present - - - name: Get absolute path to Buildbot worker home directory - command: echo ~ - register: homedir - become_user: "{{ buildbot_worker_user }}" - - - name: Save absolute path to Buildbot worker home directory - set_fact: - buildbot_worker_dir: "{{ homedir.stdout }}" - - - name: Install required Python modules - pip: - name: "{{ item }}" - state: latest - virtualenv: "~{{ buildbot_worker_user }}/venv" - virtualenv_command: "{{ '/usr/local/bin/virtualenv' if ansible_distribution == 'MacOSX' else omit }}" - with_items: "{{ python_modules }}" - become_user: "{{ buildbot_worker_user }}" - notify: restart buildbot-worker - - - name: Create Buildbot worker - command: > - ~{{ buildbot_worker_user }}/venv/bin/buildbot-worker create-worker ~/{{ buildbot_worker_name }} - {{ buildbot_master_host }}:{{ buildbot_master_port }} - {{ buildbot_worker_name|quote }} {{ buildbot_worker_password|quote }} - args: - creates: "~/{{ buildbot_worker_name }}/buildbot.tac" - become_user: "{{ buildbot_worker_user }}" - - - name: Set admin details for Buildbot worker - copy: - content: "{{ buildbot_worker_admin }}" - dest: "~{{ buildbot_worker_user }}/{{ buildbot_worker_name }}/info/admin" - owner: "{{ buildbot_worker_user }}" - group: "{{ omit if ansible_distribution == 'MacOSX' else buildbot_worker_user }}" - mode: "0644" - - - name: Set host details for Buildbot worker - template: - src: "{{ buildbot_worker_host_template }}" - dest: "~{{ buildbot_worker_user }}/{{ buildbot_worker_name }}/info/host" - owner: "{{ buildbot_worker_user }}" - group: "{{ omit if ansible_distribution == 'MacOSX' else buildbot_worker_user }}" - mode: "0644" - - - name: Install custom bashrc for virtualenv - copy: - src: bashrc - dest: "~{{ buildbot_worker_user }}/.bashrc" - owner: "{{ buildbot_worker_user }}" - group: "{{ omit if ansible_distribution == 'MacOSX' else buildbot_worker_user }}" - mode: "0644" - - - name: Copy Buildbot worker systemd service unit - template: - src: templates/buildbot-worker.service.j2 - dest: "/etc/systemd/system/buildbot-worker.service" - owner: root - group: root - mode: "0644" - when: ansible_distribution != 'MacOSX' - notify: reload systemd - - - name: Copy Buildbot worker launchd service unit - template: - src: templates/buildbot-worker.plist.j2 - dest: "/Library/LaunchDaemons/net.buildbot.worker.plist" - owner: root - group: wheel - mode: "0644" - when: ansible_distribution == 'MacOSX' - - - name: Start Buildbot worker - service: - name: buildbot-worker - state: started - enabled: yes - when: ansible_distribution != 'MacOSX' - - - name: Load Buildbot worker service [MacOSX] - command: launchctl load /Library/LaunchDaemons/net.buildbot.worker.plist - when: ansible_distribution == 'MacOSX' - - - name: Start Buildbot worker [MacOSX] - command: launchctl start net.buildbot.worker - when: ansible_distribution == 'MacOSX' - - handlers: - - name: restart buildbot-worker - service: - name: buildbot-worker - state: restarted - - - name: reload systemd - command: /bin/systemctl daemon-reload diff --git a/depend/zcash/contrib/ci-workers/vars/Archlinux.yml b/depend/zcash/contrib/ci-workers/vars/Archlinux.yml deleted file mode 100644 index 50e5577c3..000000000 --- a/depend/zcash/contrib/ci-workers/vars/Archlinux.yml +++ /dev/null @@ -1,7 +0,0 @@ ---- -buildbot_deps: - - python2-pip -build_deps: - - cmake - - multilib/gcc - - make diff --git a/depend/zcash/contrib/ci-workers/vars/CentOS.yml b/depend/zcash/contrib/ci-workers/vars/CentOS.yml deleted file mode 100644 index f577af5c0..000000000 --- a/depend/zcash/contrib/ci-workers/vars/CentOS.yml +++ /dev/null @@ -1,13 +0,0 @@ ---- -buildbot_deps: [] # Empty to remove python-pip -build_deps: - - bzip2 - - cmake - - gcc - - gcc-c++ - - make - - patch -dist_deps: - - pkgconfig # Required until b556beda264308e040f8d88aca4f2f386a0183d9 is pulled in - - python-devel - - redhat-rpm-config diff --git a/depend/zcash/contrib/ci-workers/vars/Debian.yml b/depend/zcash/contrib/ci-workers/vars/Debian.yml deleted file mode 100644 index b6a46f0cd..000000000 --- a/depend/zcash/contrib/ci-workers/vars/Debian.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -build_deps: - - build-essential # Depends on g++, libc6-dev, make - - cmake -dist_deps: - - python-dev diff --git a/depend/zcash/contrib/ci-workers/vars/Fedora.yml b/depend/zcash/contrib/ci-workers/vars/Fedora.yml deleted file mode 100644 index 2a7351c69..000000000 --- a/depend/zcash/contrib/ci-workers/vars/Fedora.yml +++ /dev/null @@ -1,11 +0,0 @@ ---- -build_deps: - - cmake - - gcc - - gcc-c++ - - make - - patch -dist_deps: - - pkgconfig # Required until b556beda264308e040f8d88aca4f2f386a0183d9 is pulled in - - python-devel - - redhat-rpm-config diff --git a/depend/zcash/contrib/ci-workers/vars/FreeBSD.yml b/depend/zcash/contrib/ci-workers/vars/FreeBSD.yml deleted file mode 100644 index 4b1f01997..000000000 --- a/depend/zcash/contrib/ci-workers/vars/FreeBSD.yml +++ /dev/null @@ -1,10 +0,0 @@ ---- -buildbot_deps: - - py27-pip -build_deps: - - cmake - - gcc - - gmake -dist_deps: - - bash - - pkgconf # Required until b556beda264308e040f8d88aca4f2f386a0183d9 is pulled in diff --git a/depend/zcash/contrib/ci-workers/vars/MacOSX.yml b/depend/zcash/contrib/ci-workers/vars/MacOSX.yml deleted file mode 100644 index 80b1ae608..000000000 --- a/depend/zcash/contrib/ci-workers/vars/MacOSX.yml +++ /dev/null @@ -1,6 +0,0 @@ ---- -buildbot_deps: - - coreutils # For gnproc etc. -# Most are already installed -build_deps: - - cmake diff --git a/depend/zcash/contrib/ci-workers/vars/Ubuntu.yml b/depend/zcash/contrib/ci-workers/vars/Ubuntu.yml deleted file mode 100644 index 0d0f584b4..000000000 --- a/depend/zcash/contrib/ci-workers/vars/Ubuntu.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- -build_deps: - - build-essential # Depends on g++, libc6-dev, make - - cmake diff --git a/depend/zcash/contrib/ci-workers/vars/buildbot.yml b/depend/zcash/contrib/ci-workers/vars/buildbot.yml deleted file mode 100644 index 38e3fd25a..000000000 --- a/depend/zcash/contrib/ci-workers/vars/buildbot.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -buildbot_worker_user: zcbbworker -buildbot_master_host: dev-ci.z.cash -buildbot_master_port: 9899 -buildbot_worker_host_template: templates/host.j2 diff --git a/depend/zcash/contrib/ci-workers/vars/default.yml b/depend/zcash/contrib/ci-workers/vars/default.yml deleted file mode 100644 index a0b0da9e6..000000000 --- a/depend/zcash/contrib/ci-workers/vars/default.yml +++ /dev/null @@ -1,53 +0,0 @@ ---- -# These variables can be overridden in distribution files. - -# Dependencies required to install Buildbot -buildbot_deps: - - python-pip # So we can install Python modules - -# Dependencies required to download files -fetch_deps: - - curl # For depends/ - - git - - wget # For zcutil/fetch-params.sh - -# Dependencies required to configure Zcash -conf_deps: - - autoconf - - automake - - m4 - - pkg-config - -# Dependencies required to compile Zcash -build_deps: - - cmake - - g++ - - gcc - - make - -# Dependencies required to link Zcash -link_deps: - - libtool - -# Additional distribution-specific dependencies -dist_deps: [] - -# Additional grind-specific dependencies -grind_deps: - - lcov - - valgrind - -# Python modules required on the system -system_modules: - - virtualenv - -# Python modules required for a Zcash Buildbot worker -buildbot_modules: - - pip # Needs to be updated first so Buildbot installs - - buildbot-worker - - pyflakes - -# Python modules required to run the Zcash RPC test suite -rpc_test_modules: - - pyblake2 - - pyzmq diff --git a/depend/zcash/contrib/debian/changelog b/depend/zcash/contrib/debian/changelog index 9a00b6194..2847ee489 100644 --- a/depend/zcash/contrib/debian/changelog +++ b/depend/zcash/contrib/debian/changelog @@ -1,3 +1,15 @@ +zcash (5.8.0) stable; urgency=medium + + * 5.8.0 release. + + -- Electric Coin Company Tue, 02 Jan 2024 19:19:15 +0000 + +zcash (5.8.0~rc1) stable; urgency=medium + + * 5.8.0-rc1 release. + + -- Electric Coin Company Thu, 21 Dec 2023 16:56:50 +0000 + zcash (5.7.0) stable; urgency=medium * 5.7.0 release. diff --git a/depend/zcash/contrib/debian/copyright b/depend/zcash/contrib/debian/copyright index a535f8602..667655fc8 100644 --- a/depend/zcash/contrib/debian/copyright +++ b/depend/zcash/contrib/debian/copyright @@ -154,7 +154,7 @@ Copyright: 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007 Free 2013 Ericsson AB 2014 AppDynamics Inc. 2015-2016 Brocade Communications Systems Inc. -License: LGPL-3+ with ZeroMQ exception +License: MPL-2.0 Files: depends/sources/google*.tar.gz Copyright: 2008 Google Inc. @@ -1232,50 +1232,6 @@ License: ISC ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -License: LGPL - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - . - On Debian systems the GNU Lesser General Public License (LGPL) is - located in '/usr/share/common-licenses/LGPL'. - . - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. -Comment: - You should have received a copy of the GNU General Public License - along with this program. If not, see . - -License: LGPL-3+ with ZeroMQ exception - GNU LESSER GENERAL PUBLIC LICENSE - Version 3, 29 June 2007 - . - On Debian systems the GNU Lesser General Public License (LGPL) is - located in '/usr/share/common-licenses/LGPL'. - . - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - -------------------------------------------------------------------------------- - SPECIAL EXCEPTION GRANTED BY COPYRIGHT HOLDERS - . - As a special exception, copyright holders give you permission to link this - library with independent modules to produce an executable, regardless of - the license terms of these independent modules, and to copy and distribute - the resulting executable under terms of your choice, provided that you also - meet, for each linked independent module, the terms and conditions of - the license of that module. An independent module is a module which is not - derived from or based on this library. If you modify this library, you must - extend this exception to your version of the library. - - Note: this exception relieves you of any obligations under sections 4 and 5 - of this license, and section 6 of the GNU General Public License. -Comment: - You should have received a copy of the GNU General Public License - along with this program. If not, see . - License: GNU-All-permissive-License Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice @@ -1362,6 +1318,381 @@ License: Expat-with-advertising-clause promote the sale, use or other dealings in this Software without prior written authorization from the authors. +License: MPL-2.0 + Mozilla Public License Version 2.0 + ================================== + . + 1. Definitions + -------------- + . + 1.1. "Contributor" + means each individual or legal entity that creates, contributes to + the creation of, or owns Covered Software. + . + 1.2. "Contributor Version" + means the combination of the Contributions of others (if any) used + by a Contributor and that particular Contributor's Contribution. + . + 1.3. "Contribution" + means Covered Software of a particular Contributor. + . + 1.4. "Covered Software" + means Source Code Form to which the initial Contributor has attached + the notice in Exhibit A, the Executable Form of such Source Code + Form, and Modifications of such Source Code Form, in each case + including portions thereof. + . + 1.5. "Incompatible With Secondary Licenses" + means + . + (a) that the initial Contributor has attached the notice described + in Exhibit B to the Covered Software; or + . + (b) that the Covered Software was made available under the terms of + version 1.1 or earlier of the License, but not also under the + terms of a Secondary License. + . + 1.6. "Executable Form" + means any form of the work other than Source Code Form. + . + 1.7. "Larger Work" + means a work that combines Covered Software with other material, in + a separate file or files, that is not Covered Software. + . + 1.8. "License" + means this document. + . + 1.9. "Licensable" + means having the right to grant, to the maximum extent possible, + whether at the time of the initial grant or subsequently, any and + all of the rights conveyed by this License. + . + 1.10. "Modifications" + means any of the following: + . + (a) any file in Source Code Form that results from an addition to, + deletion from, or modification of the contents of Covered + Software; or + . + (b) any new file in Source Code Form that contains any Covered + Software. + . + 1.11. "Patent Claims" of a Contributor + means any patent claim(s), including without limitation, method, + process, and apparatus claims, in any patent Licensable by such + Contributor that would be infringed, but for the grant of the + License, by the making, using, selling, offering for sale, having + made, import, or transfer of either its Contributions or its + Contributor Version. + . + 1.12. "Secondary License" + means either the GNU General Public License, Version 2.0, the GNU + Lesser General Public License, Version 2.1, the GNU Affero General + Public License, Version 3.0, or any later versions of those + licenses. + . + 1.13. "Source Code Form" + means the form of the work preferred for making modifications. + . + 1.14. "You" (or "Your") + means an individual or a legal entity exercising rights under this + License. For legal entities, "You" includes any entity that + controls, is controlled by, or is under common control with You. For + purposes of this definition, "control" means (a) the power, direct + or indirect, to cause the direction or management of such entity, + whether by contract or otherwise, or (b) ownership of more than + fifty percent (50%) of the outstanding shares or beneficial + ownership of such entity. + . + 2. License Grants and Conditions + -------------------------------- + . + 2.1. Grants + . + Each Contributor hereby grants You a world-wide, royalty-free, + non-exclusive license: + . + (a) under intellectual property rights (other than patent or trademark) + Licensable by such Contributor to use, reproduce, make available, + modify, display, perform, distribute, and otherwise exploit its + Contributions, either on an unmodified basis, with Modifications, or + as part of a Larger Work; and + . + (b) under Patent Claims of such Contributor to make, use, sell, offer + for sale, have made, import, and otherwise transfer either its + Contributions or its Contributor Version. + . + 2.2. Effective Date + . + The licenses granted in Section 2.1 with respect to any Contribution + become effective for each Contribution on the date the Contributor first + distributes such Contribution. + . + 2.3. Limitations on Grant Scope + . + The licenses granted in this Section 2 are the only rights granted under + this License. No additional rights or licenses will be implied from the + distribution or licensing of Covered Software under this License. + Notwithstanding Section 2.1(b) above, no patent license is granted by a + Contributor: + . + (a) for any code that a Contributor has removed from Covered Software; + or + . + (b) for infringements caused by: (i) Your and any other third party's + modifications of Covered Software, or (ii) the combination of its + Contributions with other software (except as part of its Contributor + Version); or + . + (c) under Patent Claims infringed by Covered Software in the absence of + its Contributions. + . + This License does not grant any rights in the trademarks, service marks, + or logos of any Contributor (except as may be necessary to comply with + the notice requirements in Section 3.4). + . + 2.4. Subsequent Licenses + . + No Contributor makes additional grants as a result of Your choice to + distribute the Covered Software under a subsequent version of this + License (see Section 10.2) or under the terms of a Secondary License (if + permitted under the terms of Section 3.3). + . + 2.5. Representation + . + Each Contributor represents that the Contributor believes its + Contributions are its original creation(s) or it has sufficient rights + to grant the rights to its Contributions conveyed by this License. + . + 2.6. Fair Use + . + This License is not intended to limit any rights You have under + applicable copyright doctrines of fair use, fair dealing, or other + equivalents. + . + 2.7. Conditions + . + Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted + in Section 2.1. + . + 3. Responsibilities + ------------------- + . + 3.1. Distribution of Source Form + . + All distribution of Covered Software in Source Code Form, including any + Modifications that You create or to which You contribute, must be under + the terms of this License. You must inform recipients that the Source + Code Form of the Covered Software is governed by the terms of this + License, and how they can obtain a copy of this License. You may not + attempt to alter or restrict the recipients' rights in the Source Code + Form. + . + 3.2. Distribution of Executable Form + . + If You distribute Covered Software in Executable Form then: + . + (a) such Covered Software must also be made available in Source Code + Form, as described in Section 3.1, and You must inform recipients of + the Executable Form how they can obtain a copy of such Source Code + Form by reasonable means in a timely manner, at a charge no more + than the cost of distribution to the recipient; and + . + (b) You may distribute such Executable Form under the terms of this + License, or sublicense it under different terms, provided that the + license for the Executable Form does not attempt to limit or alter + the recipients' rights in the Source Code Form under this License. + . + 3.3. Distribution of a Larger Work + . + You may create and distribute a Larger Work under terms of Your choice, + provided that You also comply with the requirements of this License for + the Covered Software. If the Larger Work is a combination of Covered + Software with a work governed by one or more Secondary Licenses, and the + Covered Software is not Incompatible With Secondary Licenses, this + License permits You to additionally distribute such Covered Software + under the terms of such Secondary License(s), so that the recipient of + the Larger Work may, at their option, further distribute the Covered + Software under the terms of either this License or such Secondary + License(s). + . + 3.4. Notices + . + You may not remove or alter the substance of any license notices + (including copyright notices, patent notices, disclaimers of warranty, + or limitations of liability) contained within the Source Code Form of + the Covered Software, except that You may alter any license notices to + the extent required to remedy known factual inaccuracies. + . + 3.5. Application of Additional Terms + . + You may choose to offer, and to charge a fee for, warranty, support, + indemnity or liability obligations to one or more recipients of Covered + Software. However, You may do so only on Your own behalf, and not on + behalf of any Contributor. You must make it absolutely clear that any + such warranty, support, indemnity, or liability obligation is offered by + You alone, and You hereby agree to indemnify every Contributor for any + liability incurred by such Contributor as a result of warranty, support, + indemnity or liability terms You offer. You may include additional + disclaimers of warranty and limitations of liability specific to any + jurisdiction. + . + 4. Inability to Comply Due to Statute or Regulation + --------------------------------------------------- + . + If it is impossible for You to comply with any of the terms of this + License with respect to some or all of the Covered Software due to + statute, judicial order, or regulation then You must: (a) comply with + the terms of this License to the maximum extent possible; and (b) + describe the limitations and the code they affect. Such description must + be placed in a text file included with all distributions of the Covered + Software under this License. Except to the extent prohibited by statute + or regulation, such description must be sufficiently detailed for a + recipient of ordinary skill to be able to understand it. + . + 5. Termination + -------------- + . + 5.1. The rights granted under this License will terminate automatically + if You fail to comply with any of its terms. However, if You become + compliant, then the rights granted under this License from a particular + Contributor are reinstated (a) provisionally, unless and until such + Contributor explicitly and finally terminates Your grants, and (b) on an + ongoing basis, if such Contributor fails to notify You of the + non-compliance by some reasonable means prior to 60 days after You have + come back into compliance. Moreover, Your grants from a particular + Contributor are reinstated on an ongoing basis if such Contributor + notifies You of the non-compliance by some reasonable means, this is the + first time You have received notice of non-compliance with this License + from such Contributor, and You become compliant prior to 30 days after + Your receipt of the notice. + . + 5.2. If You initiate litigation against any entity by asserting a patent + infringement claim (excluding declaratory judgment actions, + counter-claims, and cross-claims) alleging that a Contributor Version + directly or indirectly infringes any patent, then the rights granted to + You by any and all Contributors for the Covered Software under Section + 2.1 of this License shall terminate. + . + 5.3. In the event of termination under Sections 5.1 or 5.2 above, all + end user license agreements (excluding distributors and resellers) which + have been validly granted by You or Your distributors under this License + prior to termination shall survive termination. + . + ************************************************************************ + * * + * 6. Disclaimer of Warranty * + * ------------------------- * + * * + * Covered Software is provided under this License on an "as is" * + * basis, without warranty of any kind, either expressed, implied, or * + * statutory, including, without limitation, warranties that the * + * Covered Software is free of defects, merchantable, fit for a * + * particular purpose or non-infringing. The entire risk as to the * + * quality and performance of the Covered Software is with You. * + * Should any Covered Software prove defective in any respect, You * + * (not any Contributor) assume the cost of any necessary servicing, * + * repair, or correction. This disclaimer of warranty constitutes an * + * essential part of this License. No use of any Covered Software is * + * authorized under this License except under this disclaimer. * + * * + ************************************************************************ + . + ************************************************************************ + * * + * 7. Limitation of Liability * + * -------------------------- * + * * + * Under no circumstances and under no legal theory, whether tort * + * (including negligence), contract, or otherwise, shall any * + * Contributor, or anyone who distributes Covered Software as * + * permitted above, be liable to You for any direct, indirect, * + * special, incidental, or consequential damages of any character * + * including, without limitation, damages for lost profits, loss of * + * goodwill, work stoppage, computer failure or malfunction, or any * + * and all other commercial damages or losses, even if such party * + * shall have been informed of the possibility of such damages. This * + * limitation of liability shall not apply to liability for death or * + * personal injury resulting from such party's negligence to the * + * extent applicable law prohibits such limitation. Some * + * jurisdictions do not allow the exclusion or limitation of * + * incidental or consequential damages, so this exclusion and * + * limitation may not apply to You. * + * * + ************************************************************************ + . + 8. Litigation + ------------- + . + Any litigation relating to this License may be brought only in the + courts of a jurisdiction where the defendant maintains its principal + place of business and such litigation shall be governed by laws of that + jurisdiction, without reference to its conflict-of-law provisions. + Nothing in this Section shall prevent a party's ability to bring + cross-claims or counter-claims. + . + 9. Miscellaneous + ---------------- + . + This License represents the complete agreement concerning the subject + matter hereof. If any provision of this License is held to be + unenforceable, such provision shall be reformed only to the extent + necessary to make it enforceable. Any law or regulation which provides + that the language of a contract shall be construed against the drafter + shall not be used to construe this License against a Contributor. + . + 10. Versions of the License + --------------------------- + . + 10.1. New Versions + . + Mozilla Foundation is the license steward. Except as provided in Section + 10.3, no one other than the license steward has the right to modify or + publish new versions of this License. Each version will be given a + distinguishing version number. + . + 10.2. Effect of New Versions + . + You may distribute the Covered Software under the terms of the version + of the License under which You originally received the Covered Software, + or under the terms of any subsequent version published by the license + steward. + . + 10.3. Modified Versions + . + If you create software not governed by this License, and you want to + create a new license for such software, you may create and use a + modified version of this License if you rename the license and remove + any references to the name of the license steward (except to note that + such modified license differs from this License). + . + 10.4. Distributing Source Code Form that is Incompatible With Secondary + Licenses + . + If You choose to distribute Source Code Form that is Incompatible With + Secondary Licenses under the terms of this version of the License, the + notice described in Exhibit B of this License must be attached. + . + Exhibit A - Source Code Form License Notice + ------------------------------------------- + . + This Source Code Form is subject to the terms of the Mozilla Public + License, v. 2.0. If a copy of the MPL was not distributed with this + file, You can obtain one at http://mozilla.org/MPL/2.0/. + . + If it is not possible or desirable to put the notice in a particular + file, then You may include the notice in a location (such as a LICENSE + file in a relevant directory) where a recipient would be likely to look + for such a notice. + . + You may add additional accurate notices of copyright ownership. + . + Exhibit B - "Incompatible With Secondary Licenses" Notice + --------------------------------------------------------- + . + This Source Code Form is "Incompatible With Secondary Licenses", as + defined by the Mozilla Public License, v. 2.0. + License: CC0-1.0 Creative Commons Legal Code . diff --git a/depend/zcash/contrib/gitian-descriptors/gitian-linux-parallel.yml b/depend/zcash/contrib/gitian-descriptors/gitian-linux-parallel.yml index fc6baba38..d1d090c8e 100644 --- a/depend/zcash/contrib/gitian-descriptors/gitian-linux-parallel.yml +++ b/depend/zcash/contrib/gitian-descriptors/gitian-linux-parallel.yml @@ -1,5 +1,5 @@ --- -name: "zcash-5.7.0" +name: "zcash-5.8.0" enable_cache: true distro: "debian" suites: diff --git a/depend/zcash/contrib/gitian-descriptors/gitian-linux.yml b/depend/zcash/contrib/gitian-descriptors/gitian-linux.yml index caf49df17..e252d32cd 100644 --- a/depend/zcash/contrib/gitian-descriptors/gitian-linux.yml +++ b/depend/zcash/contrib/gitian-descriptors/gitian-linux.yml @@ -1,5 +1,5 @@ --- -name: "zcash-5.7.0" +name: "zcash-5.8.0" enable_cache: true distro: "debian" suites: diff --git a/depend/zcash/depends/packages/bdb.mk b/depend/zcash/depends/packages/bdb.mk index a0c0bef6c..08bd10c59 100644 --- a/depend/zcash/depends/packages/bdb.mk +++ b/depend/zcash/depends/packages/bdb.mk @@ -20,11 +20,13 @@ $(package)_config_opts_darwin=--disable-atomicsupport endif $(package)_config_opts_aarch64=--disable-atomicsupport $(package)_cxxflags+=-std=c++17 +$(package)_cflags+=-Wno-deprecated-non-prototype +$(package)_ldflags+=-static-libstdc++ -Wno-unused-command-line-argument ifeq ($(host_os),freebsd) - $(package)_ldflags+=-static-libstdc++ -lcxxrt + $(package)_ldflags+=-lcxxrt else - $(package)_ldflags+=-static-libstdc++ -lc++abi + $(package)_ldflags+=-lc++abi endif endef diff --git a/depend/zcash/depends/packages/native_ccache.mk b/depend/zcash/depends/packages/native_ccache.mk index 1385a27ae..658a860a7 100644 --- a/depend/zcash/depends/packages/native_ccache.mk +++ b/depend/zcash/depends/packages/native_ccache.mk @@ -1,8 +1,8 @@ package=native_ccache -$(package)_version=4.8.3 +$(package)_version=4.9 $(package)_download_path=https://github.com/ccache/ccache/releases/download/v$($(package)_version) $(package)_file_name=ccache-$($(package)_version).tar.gz -$(package)_sha256_hash=d59dd569ad2bbc826c0bc335c8ebd73e78ed0f2f40ba6b30069347e63585d9ef +$(package)_sha256_hash=866b2223d59333640f0e7a003cbb85b32d9ca3c9445bd9e3cf142942e69dd3ec $(package)_build_subdir=build $(package)_dependencies=native_cmake native_zstd diff --git a/depend/zcash/depends/packages/native_cmake.mk b/depend/zcash/depends/packages/native_cmake.mk index 991e9f0e9..1e8031417 100644 --- a/depend/zcash/depends/packages/native_cmake.mk +++ b/depend/zcash/depends/packages/native_cmake.mk @@ -1,8 +1,8 @@ package=native_cmake -$(package)_version=3.27.6 +$(package)_version=3.28.1 $(package)_download_path=https://github.com/Kitware/CMake/releases/download/v$($(package)_version) $(package)_file_name=cmake-$($(package)_version).tar.gz -$(package)_sha256_hash=ef3056df528569e0e8956f6cf38806879347ac6de6a4ff7e4105dc4578732cfb +$(package)_sha256_hash=15e94f83e647f7d620a140a7a5da76349fc47a1bfed66d0f5cdee8e7344079ad define $(package)_set_vars $(package)_config_opts += -DCMAKE_BUILD_TYPE:STRING=Release diff --git a/depend/zcash/depends/packages/native_cxxbridge.mk b/depend/zcash/depends/packages/native_cxxbridge.mk index 585345d31..47224859a 100644 --- a/depend/zcash/depends/packages/native_cxxbridge.mk +++ b/depend/zcash/depends/packages/native_cxxbridge.mk @@ -1,14 +1,14 @@ package=native_cxxbridge # The version needs to match cxx in Cargo.toml -$(package)_version=1.0.107 +$(package)_version=1.0.113 $(package)_download_path=https://github.com/dtolnay/cxx/archive/refs/tags $(package)_file_name=native_cxxbridge-$($(package)_version).tar.gz $(package)_download_file=$($(package)_version).tar.gz -$(package)_sha256_hash=961256a942c2369d84db29f6f7d09bce7fa7de221ec729856216a87b0970b1df +$(package)_sha256_hash=0760e02a1faf3357b28f0ee759ffaae05299092d8d3081a23ec2557e55aaf947 $(package)_build_subdir=gen/cmd $(package)_dependencies=native_rust # This file is somewhat annoying to update, but can be done like so from the repo base: -# $ export VERSION=1.0.107 +# $ export VERSION=1.0.113 # $ rm .cargo/config .cargo/.configured-for-offline # $ mkdir tmp # $ cd tmp diff --git a/depend/zcash/depends/packages/utfcpp.mk b/depend/zcash/depends/packages/utfcpp.mk index 079fd9874..6ce7ce676 100644 --- a/depend/zcash/depends/packages/utfcpp.mk +++ b/depend/zcash/depends/packages/utfcpp.mk @@ -1,9 +1,9 @@ package=utfcpp -$(package)_version=3.2.5 +$(package)_version=4.0.5 $(package)_download_path=https://github.com/nemtrif/$(package)/archive/refs/tags $(package)_file_name=$(package)-$($(package)_version).tar.gz $(package)_download_file=v$($(package)_version).tar.gz -$(package)_sha256_hash=14fd1b3c466814cb4c40771b7f207b61d2c7a0aa6a5e620ca05c00df27f25afd +$(package)_sha256_hash=ffc668a310e77607d393f3c18b32715f223da1eac4c4d6e0579a11df8e6b59cf define $(package)_stage_cmds mkdir -p $($(package)_staging_dir)$(host_prefix)/include && \ diff --git a/depend/zcash/depends/packages/zeromq.mk b/depend/zcash/depends/packages/zeromq.mk index 196348eee..82aea62fd 100644 --- a/depend/zcash/depends/packages/zeromq.mk +++ b/depend/zcash/depends/packages/zeromq.mk @@ -1,9 +1,9 @@ package=zeromq -$(package)_version=4.3.4 +$(package)_version=4.3.5 $(package)_download_path=https://github.com/zeromq/libzmq/releases/download/v$($(package)_version)/ $(package)_file_name=$(package)-$($(package)_version).tar.gz -$(package)_sha256_hash=c593001a89f5a85dd2ddf564805deb860e02471171b3f204944857336295c3e5 -$(package)_patches=windows-unused-variables.diff use-snprintf-not-sprintf.patch check_snprintf_return.patch +$(package)_sha256_hash=6653ef5910f17954861fe72332e68b03ca6e4d9c7160eb3a8de5a5a913bfab43 +$(package)_patches=stats_proxy-missing-braces.diff ifneq ($(host_os),darwin) $(package)_dependencies=libcxx @@ -27,9 +27,7 @@ define $(package)_set_vars endef define $(package)_preprocess_cmds - patch -p1 < $($(package)_patch_dir)/windows-unused-variables.diff && \ - patch -p1 < $($(package)_patch_dir)/use-snprintf-not-sprintf.patch && \ - patch -p1 < $($(package)_patch_dir)/check_snprintf_return.patch + patch -p1 < $($(package)_patch_dir)/stats_proxy-missing-braces.diff endef define $(package)_config_cmds diff --git a/depend/zcash/depends/patches/native_cxxbridge/Cargo.lock b/depend/zcash/depends/patches/native_cxxbridge/Cargo.lock index 33856edf3..5224d724f 100644 --- a/depend/zcash/depends/patches/native_cxxbridge/Cargo.lock +++ b/depend/zcash/depends/patches/native_cxxbridge/Cargo.lock @@ -16,9 +16,9 @@ checksum = "15c4c2c83f81532e5845a733998b6971faca23490340a418e9b72a3ec9de12ea" [[package]] name = "basic-toml" -version = "0.1.4" +version = "0.1.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bfc506e7a2370ec239e1d072507b2a80c833083699d3c6fa176fbb4de8448c6" +checksum = "2f2139706359229bfa8f19142ac1155b4b80beafb7a60471ac5dd109d4a19778" dependencies = [ "serde", ] @@ -41,9 +41,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clang-ast" -version = "0.1.20" +version = "0.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "152da76e4e754905d7f915611170325310a95ab872a15ed8516c64c1ee4c0e13" +checksum = "15fd928f71f2ac27e00ee62e89293ddf696465db41434efa7f7699cddc034702" dependencies = [ "rustc-hash", "serde", @@ -96,7 +96,7 @@ dependencies = [ [[package]] name = "cxx" -version = "1.0.107" +version = "1.0.113" dependencies = [ "cc", "cxx-build", @@ -111,7 +111,7 @@ dependencies = [ [[package]] name = "cxx-build" -version = "1.0.107" +version = "1.0.113" dependencies = [ "cc", "codespan-reporting", @@ -127,7 +127,7 @@ dependencies = [ [[package]] name = "cxx-gen" -version = "0.7.107" +version = "0.7.113" dependencies = [ "codespan-reporting", "proc-macro2", @@ -146,7 +146,7 @@ dependencies = [ [[package]] name = "cxxbridge-cmd" -version = "1.0.107" +version = "1.0.113" dependencies = [ "clap", "codespan-reporting", @@ -157,11 +157,11 @@ dependencies = [ [[package]] name = "cxxbridge-flags" -version = "1.0.107" +version = "1.0.113" [[package]] name = "cxxbridge-macro" -version = "1.0.107" +version = "1.0.113" dependencies = [ "clang-ast", "cxx", @@ -191,9 +191,9 @@ checksum = "86e3bdc80eee6e16b2b6b0f87fbc98c04bee3455e35174c0de1a125d0688c632" [[package]] name = "flate2" -version = "1.0.27" +version = "1.0.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010" +checksum = "46303f565772937ffe1d394a4fac6f411c6013172fadde9dcdb1e147a086940e" dependencies = [ "crc32fast", "miniz_oxide", @@ -207,24 +207,24 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "itoa" -version = "1.0.9" +version = "1.0.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] name = "jobserver" -version = "0.1.26" +version = "0.1.27" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" +checksum = "8c37f63953c4c63420ed5fd3d6d398c719489b9f872b9fa683262f8edd363c7d" dependencies = [ "libc", ] [[package]] name = "libc" -version = "0.2.148" +version = "0.2.151" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" +checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" [[package]] name = "link-cplusplus" @@ -256,30 +256,30 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.18.0" +version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "pkg-config" -version = "0.3.27" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" +checksum = "69d3587f8a9e599cc7ec2c00e331f71c4e69a5f9a4b8a6efd5b07466b9736f9a" [[package]] name = "proc-macro2" -version = "1.0.67" +version = "1.0.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" +checksum = "2de98502f212cfcea8d0bb305bd0f49d7ebdd75b64ba0a68f937d888f4e0d6db" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.33" +version = "1.0.35" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "291ec9ab5efd934aaf503a6466c5d5251535d108ee747472c3977cc5acc868ef" dependencies = [ "proc-macro2", ] @@ -298,9 +298,9 @@ checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "ryu" -version = "1.0.15" +version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" [[package]] name = "scratch" @@ -310,18 +310,18 @@ checksum = "a3cf7c11c38cb994f3d40e8a8cde3bbd1f72a435e4c49e85d6553d8312306152" [[package]] name = "serde" -version = "1.0.188" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" +checksum = "0b114498256798c94a0689e1a15fec6005dee8ac1f41de56404b67afc2a4b773" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.188" +version = "1.0.194" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" +checksum = "a3385e45322e8f9931410f01b3031ec534c3947d0e94c18049af4d9f9907d4e0" dependencies = [ "proc-macro2", "quote", @@ -330,9 +330,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.107" +version = "1.0.110" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" +checksum = "6fbd975230bada99c8bb618e0c365c2eefa219158d5c6c29610fd09ff1833257" dependencies = [ "itoa", "ryu", @@ -347,9 +347,9 @@ checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" [[package]] name = "syn" -version = "2.0.33" +version = "2.0.46" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9caece70c63bfba29ec2fed841a09851b14a235c60010fa4de58089b6c025668" +checksum = "89456b690ff72fddcecf231caedbe615c59480c93358a93dfae7fc29e3ebbf0e" dependencies = [ "proc-macro2", "quote", @@ -358,18 +358,18 @@ dependencies = [ [[package]] name = "termcolor" -version = "1.2.0" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" +checksum = "ff1bc3d3f05aff0403e8ac0d92ced918ec05b666a43f83297ccef5bea8a3d449" dependencies = [ "winapi-util", ] [[package]] name = "trybuild" -version = "1.0.84" +version = "1.0.86" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5c89fd17b7536f2cf66c97cff6e811e89e728ca0ed13caeed610c779360d8b4" +checksum = "8419ecd263363827c5730386f418715766f584e2f874d32c23c5b00bd9727e7e" dependencies = [ "basic-toml", "dissimilar", @@ -389,9 +389,9 @@ checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-width" -version = "0.1.10" +version = "0.1.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" +checksum = "e51733f11c9c4f72aa0c160008246859e340b00807569a0da0e7a1079b27ba85" [[package]] name = "winapi" @@ -411,9 +411,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" [[package]] name = "winapi-util" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178" +checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596" dependencies = [ "winapi", ] diff --git a/depend/zcash/depends/patches/zeromq/check_snprintf_return.patch b/depend/zcash/depends/patches/zeromq/check_snprintf_return.patch deleted file mode 100644 index 05a8aac36..000000000 --- a/depend/zcash/depends/patches/zeromq/check_snprintf_return.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 6dc559c0726c2d2d9a928bd8d1ed89773c0b47ea Mon Sep 17 00:00:00 2001 -From: Daira Hopwood -Date: Wed, 1 Feb 2023 15:15:19 +0000 -Subject: [PATCH] #4494 added calls to snprintf, but did not take into account - that snprintf can truncate, and then return the number of characters that - would have been written without truncation. - -Signed-off-by: Daira Hopwood ---- - RELICENSE/daira.md | 15 +++++++++++++++ - src/tcp_address.cpp | 5 +++-- - src/udp_engine.cpp | 6 +++--- - 3 files changed, 21 insertions(+), 5 deletions(-) - create mode 100644 RELICENSE/daira.md - -diff --git a/src/tcp_address.cpp b/src/tcp_address.cpp -index 46b4defc7..cd8016f64 100644 ---- a/src/tcp_address.cpp -+++ b/src/tcp_address.cpp -@@ -129,8 +129,9 @@ static std::string make_address_string (const char *hbuf_, - pos += hbuf_len; - memcpy (pos, ipv6_suffix_, sizeof ipv6_suffix_ - 1); - pos += sizeof ipv6_suffix_ - 1; -- pos += snprintf (pos, max_port_str_length + 1 * sizeof (char), "%d", -- ntohs (port_)); -+ int res = snprintf (pos, max_port_str_length + 1, "%d", ntohs (port_)); -+ zmq_assert (res > 0 && res < (int) (max_port_str_length + 1)); -+ pos += res; - return std::string (buf, pos - buf); - } - -diff --git a/src/udp_engine.cpp b/src/udp_engine.cpp -index 47f1359e1..5ca03a425 100644 ---- a/src/udp_engine.cpp -+++ b/src/udp_engine.cpp -@@ -367,9 +367,9 @@ void zmq::udp_engine_t::sockaddr_to_msg (zmq::msg_t *msg_, - const char *const name = inet_ntoa (addr_->sin_addr); - - char port[6]; -- const int port_len = snprintf (port, 6 * sizeof (char), "%d", -- static_cast (ntohs (addr_->sin_port))); -- zmq_assert (port_len > 0); -+ const int port_len = -+ snprintf (port, 6, "%d", static_cast (ntohs (addr_->sin_port))); -+ zmq_assert (port_len > 0 && port_len < 6); - - const size_t name_len = strlen (name); - const int size = static_cast (name_len) + 1 /* colon */ diff --git a/depend/zcash/depends/patches/zeromq/stats_proxy-missing-braces.diff b/depend/zcash/depends/patches/zeromq/stats_proxy-missing-braces.diff new file mode 100644 index 000000000..e73412871 --- /dev/null +++ b/depend/zcash/depends/patches/zeromq/stats_proxy-missing-braces.diff @@ -0,0 +1,13 @@ +diff -ur zeromq-4.3.5-orig/src/proxy.cpp zeromq-4.3.5/src/proxy.cpp +--- zeromq-4.3.5-orig/src/proxy.cpp 2023-10-09 09:37:00.000000000 +0000 ++++ zeromq-4.3.5/src/proxy.cpp 2023-12-18 21:24:25.551814814 +0000 +@@ -499,7 +499,7 @@ + zmq_pollitem_t itemsout[] = {{frontend_, 0, ZMQ_POLLOUT, 0}, + {backend_, 0, ZMQ_POLLOUT, 0}}; + +- stats_proxy stats = {0}; ++ stats_proxy stats = {{{0}}}; + + // Proxy can be in these three states + proxy_state_t state = active; +Only in zeromq-4.3.5/src: .proxy.cpp.swp diff --git a/depend/zcash/depends/patches/zeromq/use-snprintf-not-sprintf.patch b/depend/zcash/depends/patches/zeromq/use-snprintf-not-sprintf.patch deleted file mode 100644 index 4a2a53d5f..000000000 --- a/depend/zcash/depends/patches/zeromq/use-snprintf-not-sprintf.patch +++ /dev/null @@ -1,249 +0,0 @@ -From f7df6c8599835d6022335d63f37e291514d9a6f4 Mon Sep 17 00:00:00 2001 -From: Arnaud Loonstra -Date: Tue, 24 Jan 2023 12:54:48 +0100 -Subject: [PATCH] deprecate sprint and replace with snprintf - ---- - src/tcp_address.cpp | 3 ++- - src/udp_engine.cpp | 4 ++-- - tests/test_inproc_connect.cpp | 4 ++-- - tests/test_issue_566.cpp | 2 +- - tests/test_proxy.cpp | 12 ++++++++---- - tests/test_reqrep_tcp.cpp | 8 ++++++-- - tests/test_setsockopt.cpp | 2 +- - tests/test_stream_disconnect.cpp | 4 ++-- - tests/test_unbind_wildcard.cpp | 12 ++++++------ - tests/test_ws_transport.cpp | 3 ++- - tests/testutil.cpp | 18 +++++++++--------- - 11 files changed, 41 insertions(+), 31 deletions(-) - -diff --git a/src/tcp_address.cpp b/src/tcp_address.cpp -index bdda66a200..46b4defc79 100644 ---- a/src/tcp_address.cpp -+++ b/src/tcp_address.cpp -@@ -129,7 +129,8 @@ static std::string make_address_string (const char *hbuf_, - pos += hbuf_len; - memcpy (pos, ipv6_suffix_, sizeof ipv6_suffix_ - 1); - pos += sizeof ipv6_suffix_ - 1; -- pos += sprintf (pos, "%d", ntohs (port_)); -+ pos += snprintf (pos, max_port_str_length + 1 * sizeof (char), "%d", -+ ntohs (port_)); - return std::string (buf, pos - buf); - } - -diff --git a/src/udp_engine.cpp b/src/udp_engine.cpp -index d09bfe166e..47f1359e1b 100644 ---- a/src/udp_engine.cpp -+++ b/src/udp_engine.cpp -@@ -367,8 +367,8 @@ void zmq::udp_engine_t::sockaddr_to_msg (zmq::msg_t *msg_, - const char *const name = inet_ntoa (addr_->sin_addr); - - char port[6]; -- const int port_len = -- sprintf (port, "%d", static_cast (ntohs (addr_->sin_port))); -+ const int port_len = snprintf (port, 6 * sizeof (char), "%d", -+ static_cast (ntohs (addr_->sin_port))); - zmq_assert (port_len > 0); - - const size_t name_len = strlen (name); -diff --git a/tests/test_inproc_connect.cpp b/tests/test_inproc_connect.cpp -index 7a3acbda8c..c6437d55bb 100644 ---- a/tests/test_inproc_connect.cpp -+++ b/tests/test_inproc_connect.cpp -@@ -155,7 +155,7 @@ void test_connect_before_bind_ctx_term () - void *connect_socket = test_context_socket (ZMQ_ROUTER); - - char ep[32]; -- sprintf (ep, "inproc://cbbrr%d", i); -+ snprintf (ep, 32 * sizeof (char), "inproc://cbbrr%d", i); - TEST_ASSERT_SUCCESS_ERRNO (zmq_connect (connect_socket, ep)); - - // Cleanup -@@ -233,7 +233,7 @@ void test_simultaneous_connect_bind_threads () - // Set up thread arguments: context followed by endpoint string - for (unsigned int i = 0; i < no_of_times; ++i) { - thr_args[i] = (void *) endpts[i]; -- sprintf (endpts[i], "inproc://foo_%d", i); -+ snprintf (endpts[i], 20 * sizeof (char), "inproc://foo_%d", i); - } - - // Spawn all threads as simultaneously as possible -diff --git a/tests/test_issue_566.cpp b/tests/test_issue_566.cpp -index 7a8859feba..2495eadfbe 100644 ---- a/tests/test_issue_566.cpp -+++ b/tests/test_issue_566.cpp -@@ -58,7 +58,7 @@ void test_issue_566 () - void *dealer = zmq_socket (ctx2, ZMQ_DEALER); - // Leave space for NULL char from sprintf, gcc warning - char routing_id[11]; -- sprintf (routing_id, "%09d", cycle); -+ snprintf (routing_id, 11 * sizeof (char), "%09d", cycle); - TEST_ASSERT_SUCCESS_ERRNO ( - zmq_setsockopt (dealer, ZMQ_ROUTING_ID, routing_id, 10)); - int rcvtimeo = 1000; -diff --git a/tests/test_proxy.cpp b/tests/test_proxy.cpp -index 5666721be1..16722e3ce5 100644 ---- a/tests/test_proxy.cpp -+++ b/tests/test_proxy.cpp -@@ -88,7 +88,8 @@ static void client_task (void *db_) - TEST_ASSERT_SUCCESS_ERRNO ( - zmq_setsockopt (endpoint, ZMQ_LINGER, &linger, sizeof (linger))); - char endpoint_source[256]; -- sprintf (endpoint_source, "inproc://endpoint%d", databag->id); -+ snprintf (endpoint_source, 256 * sizeof (char), "inproc://endpoint%d", -+ databag->id); - TEST_ASSERT_SUCCESS_ERRNO (zmq_connect (endpoint, endpoint_source)); - char *my_endpoint = s_recv (endpoint); - TEST_ASSERT_NOT_NULL (my_endpoint); -@@ -107,7 +108,8 @@ static void client_task (void *db_) - char content[CONTENT_SIZE_MAX] = {}; - // Set random routing id to make tracing easier - char routing_id[ROUTING_ID_SIZE] = {}; -- sprintf (routing_id, "%04X-%04X", rand () % 0xFFFF, rand () % 0xFFFF); -+ snprintf (routing_id, ROUTING_ID_SIZE * sizeof (char), "%04X-%04X", -+ rand () % 0xFFFF, rand () % 0xFFFF); - TEST_ASSERT_SUCCESS_ERRNO (zmq_setsockopt ( - client, ZMQ_ROUTING_ID, routing_id, - ROUTING_ID_SIZE)); // includes '\0' as an helper for printf -@@ -164,7 +166,8 @@ static void client_task (void *db_) - } - - if (keep_sending) { -- sprintf (content, "request #%03d", ++request_nbr); // CONTENT_SIZE -+ snprintf (content, CONTENT_SIZE_MAX * sizeof (char), -+ "request #%03d", ++request_nbr); // CONTENT_SIZE - if (is_verbose) - printf ("client send - routing_id = %s request #%03d\n", - routing_id, request_nbr); -@@ -228,7 +231,8 @@ void server_task (void * /*unused_*/) - TEST_ASSERT_NOT_NULL (endpoint_receivers[i]); - TEST_ASSERT_SUCCESS_ERRNO (zmq_setsockopt ( - endpoint_receivers[i], ZMQ_LINGER, &linger, sizeof (linger))); -- sprintf (endpoint_source, "inproc://endpoint%d", i); -+ snprintf (endpoint_source, 256 * sizeof (char), "inproc://endpoint%d", -+ i); - TEST_ASSERT_SUCCESS_ERRNO ( - zmq_bind (endpoint_receivers[i], endpoint_source)); - } -diff --git a/tests/test_reqrep_tcp.cpp b/tests/test_reqrep_tcp.cpp -index c1bdf4719b..01d263ab3d 100644 ---- a/tests/test_reqrep_tcp.cpp -+++ b/tests/test_reqrep_tcp.cpp -@@ -66,8 +66,12 @@ void make_connect_address (char *connect_address_, - const int port_, - const char *bind_address_) - { -- sprintf (connect_address_, "tcp://%s:%i;%s", ipv6_ ? "[::1]" : "127.0.0.1", -- port_, strrchr (bind_address_, '/') + 1); -+ if (ipv6_) -+ snprintf (connect_address_, 30 * sizeof (char), "tcp://[::1]:%i;%s", -+ port_, strrchr (bind_address_, '/') + 1); -+ else -+ snprintf (connect_address_, 38 * sizeof (char), "tcp://127.0.0.1:%i;%s", -+ port_, strrchr (bind_address_, '/') + 1); - } - - void test_multi_connect (int ipv6_) -diff --git a/tests/test_setsockopt.cpp b/tests/test_setsockopt.cpp -index 7e51a519c3..50414682b3 100644 ---- a/tests/test_setsockopt.cpp -+++ b/tests/test_setsockopt.cpp -@@ -120,7 +120,7 @@ void test_setsockopt_bindtodevice () - TEST_ASSERT_EQUAL_INT8 ('\0', devname[0]); - TEST_ASSERT_EQUAL_UINT (1, buflen); - -- sprintf (devname, "testdev"); -+ snprintf (devname, BOUNDDEVBUFSZ * sizeof (char), "testdev"); - buflen = strlen (devname); - - TEST_ASSERT_SUCCESS_ERRNO ( -diff --git a/tests/test_stream_disconnect.cpp b/tests/test_stream_disconnect.cpp -index d46916f279..2e1e77960c 100644 ---- a/tests/test_stream_disconnect.cpp -+++ b/tests/test_stream_disconnect.cpp -@@ -78,8 +78,8 @@ void test_stream_disconnect () - - // Apparently Windows can't connect to 0.0.0.0. A better fix would be welcome. - #ifdef ZMQ_HAVE_WINDOWS -- sprintf (connect_endpoint, "tcp://127.0.0.1:%s", -- strrchr (bind_endpoint, ':') + 1); -+ snprintf (connect_endpoint, MAX_SOCKET_STRING * sizeof (char), -+ "tcp://127.0.0.1:%s", strrchr (bind_endpoint, ':') + 1); - #else - strcpy (connect_endpoint, bind_endpoint); - #endif -diff --git a/tests/test_unbind_wildcard.cpp b/tests/test_unbind_wildcard.cpp -index f25d6acc46..92a577d9dd 100644 ---- a/tests/test_unbind_wildcard.cpp -+++ b/tests/test_unbind_wildcard.cpp -@@ -40,8 +40,8 @@ void test_address_wildcard_ipv4 () - - // Apparently Windows can't connect to 0.0.0.0. A better fix would be welcome. - #ifdef ZMQ_HAVE_WINDOWS -- sprintf (connect_endpoint, "tcp://127.0.0.1:%s", -- strrchr (bind_endpoint, ':') + 1); -+ snprintf (connect_endpoint, 256 * sizeof (char), "tcp://127.0.0.1:%s", -+ strrchr (bind_endpoint, ':') + 1); - #else - strcpy (connect_endpoint, bind_endpoint); - #endif -@@ -81,11 +81,11 @@ void test_address_wildcard_ipv6 () - - #ifdef ZMQ_HAVE_WINDOWS - if (ipv6) -- sprintf (connect_endpoint, "tcp://[::1]:%s", -- strrchr (bind_endpoint, ':') + 1); -+ snprintf (connect_endpoint, 256 * sizeof (char), "tcp://[::1]:%s", -+ strrchr (bind_endpoint, ':') + 1); - else -- sprintf (connect_endpoint, "tcp://127.0.0.1:%s", -- strrchr (bind_endpoint, ':') + 1); -+ snprintf (connect_endpoint, 256 * sizeof (char), "tcp://127.0.0.1:%s", -+ strrchr (bind_endpoint, ':') + 1); - #else - strcpy (connect_endpoint, bind_endpoint); - #endif -diff --git a/tests/test_ws_transport.cpp b/tests/test_ws_transport.cpp -index 49b810fec0..6781af4d7d 100644 ---- a/tests/test_ws_transport.cpp -+++ b/tests/test_ws_transport.cpp -@@ -47,7 +47,8 @@ void test_roundtrip () - zmq_getsockopt (sb, ZMQ_LAST_ENDPOINT, bind_address, &addr_length)); - - // Windows can't connect to 0.0.0.0 -- sprintf (connect_address, "ws://127.0.0.1%s", strrchr (bind_address, ':')); -+ snprintf (connect_address, MAX_SOCKET_STRING * sizeof (char), -+ "ws://127.0.0.1%s", strrchr (bind_address, ':')); - - TEST_ASSERT_SUCCESS_ERRNO (zmq_connect (sc, connect_address)); - -diff --git a/tests/testutil.cpp b/tests/testutil.cpp -index 5306aff9b2..ba7eb9b592 100644 ---- a/tests/testutil.cpp -+++ b/tests/testutil.cpp -@@ -510,16 +510,15 @@ - addr_len = sizeof (struct sockaddr_storage); - TEST_ASSERT_SUCCESS_RAW_ERRNO ( - getsockname (s_pre, (struct sockaddr *) &addr, &addr_len)); -- sprintf (my_endpoint_, "%s://%s:%u", -- protocol_ == IPPROTO_TCP -- ? "tcp" -- : protocol_ == IPPROTO_UDP -- ? "udp" -- : protocol_ == IPPROTO_WSS ? "wss" : "ws", -- address_, -- af_ == AF_INET -- ? ntohs ((*(struct sockaddr_in *) &addr).sin_port) -- : ntohs ((*(struct sockaddr_in6 *) &addr).sin6_port)); -+ snprintf ( -+ my_endpoint_, 6 + strlen (address_) + 7 * sizeof (char), "%s://%s:%u", -+ protocol_ == IPPROTO_TCP ? "tcp" -+ : protocol_ == IPPROTO_UDP ? "udp" -+ : protocol_ == IPPROTO_WSS ? "wss" -+ : "ws", -+ address_, -+ af_ == AF_INET ? ntohs ((*(struct sockaddr_in *) &addr).sin_port) -+ : ntohs ((*(struct sockaddr_in6 *) &addr).sin6_port)); - } - - return s_pre; diff --git a/depend/zcash/depends/patches/zeromq/windows-unused-variables.diff b/depend/zcash/depends/patches/zeromq/windows-unused-variables.diff deleted file mode 100644 index 8526ee5f9..000000000 --- a/depend/zcash/depends/patches/zeromq/windows-unused-variables.diff +++ /dev/null @@ -1,17 +0,0 @@ -diff -ur zeromq-4.3.3-orig/src/clock.cpp zeromq-4.3.3/src/clock.cpp ---- zeromq-4.3.3-orig/src/clock.cpp 2020-10-13 13:44:04.190000000 +0100 -+++ zeromq-4.3.3/src/clock.cpp 2020-10-13 13:47:04.170000000 +0100 -@@ -126,9 +126,13 @@ - init_compatible_get_tick_count64 (); - #endif - -+#ifndef ZMQ_HAVE_WINDOWS - const uint64_t usecs_per_msec = 1000; -+#endif - const uint64_t usecs_per_sec = 1000000; -+#if !defined(ZMQ_HAVE_WINDOWS) && !defined(ZMQ_HAVE_FREEBSD) - const uint64_t nsecs_per_usec = 1000; -+#endif - - zmq::clock_t::clock_t () : - _last_tsc (rdtsc ()), diff --git a/depend/zcash/doc/authors.md b/depend/zcash/doc/authors.md index f8ab46da2..9186aefab 100644 --- a/depend/zcash/doc/authors.md +++ b/depend/zcash/doc/authors.md @@ -1,7 +1,7 @@ Zcash Contributors ================== -Jack Grigg (1388) +Jack Grigg (1416) Kris Nuttycombe (702) Simon Liu (460) Sean Bowe (409) @@ -22,7 +22,7 @@ sasha (80) Cory Fields (78) Matt Corallo (62) Nathan Wilcox (57) -Daira Emma Hopwood (49) +Daira Emma Hopwood (51) practicalswift (43) Dimitris Apostolou (43) Kevin Gallagher (38) @@ -80,6 +80,7 @@ Gareth Davies (5) sandakersmann (4) instagibbs (4) gladcow (4) +Yasser Isa (4) WO (4) Sjors Provoost (4) Nate Wilcox (4) @@ -114,6 +115,7 @@ kpcyrd (2) kobake (2) hexabot (2) face (2) +dependabot[bot] (2) aniemerg (2) Yuri Zhykin (2) UdjinM6 (2) @@ -170,7 +172,6 @@ ewillbefull@gmail.com (1) emilrus (1) dismad (1) dexX7 (1) -dependabot[bot] (1) daniel (1) cronicc (1) codetriage-readme-bot (1) @@ -179,7 +180,6 @@ ayleph (1) avnish98 (1) adityapk00 (1) Za Wilcox (1) -Yasser Isa (1) Yasser (1) William M Peaster (1) Vidar Holen (1) diff --git a/depend/zcash/doc/book/src/user/release-support.md b/depend/zcash/doc/book/src/user/release-support.md index d6ca46069..5e3364466 100644 --- a/depend/zcash/doc/book/src/user/release-support.md +++ b/depend/zcash/doc/book/src/user/release-support.md @@ -42,9 +42,8 @@ time, and may shift due to changes in network solution power. | `zcashd` version | Release date | Halt height | End of Support | | ---------------- | ------------ | ----------- | -------------- | -| 5.6.0-rc1 | 2023-06-08 | 2243024 | 2023-09-28 | -| 5.6.0 | 2023-06-14 | 2250924 | 2023-10-04 | -| 5.6.1 | 2023-06-21 | 2258800 | 2023-10-11 | | 5.7.0-rc1 | 2023-09-22 | 2365300 | 2024-01-12 | | 5.7.0 | 2023-09-28 | 2372200 | 2024-01-18 | +| 5.8.0-rc1 | 2023-12-21 | 2468300 | 2024-04-11 | +| 5.8.0 | 2024-01-02 | 2482200 | 2024-04-23 | diff --git a/depend/zcash/doc/man/zcash-cli.1 b/depend/zcash/doc/man/zcash-cli.1 index f8d2be50f..f8866658d 100644 --- a/depend/zcash/doc/man/zcash-cli.1 +++ b/depend/zcash/doc/man/zcash-cli.1 @@ -1,9 +1,9 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. -.TH ZCASH-CLI "1" "September 2023" "zcash-cli v5.7.0" "User Commands" +.TH ZCASH-CLI "1" "January 2024" "zcash-cli v5.8.0" "User Commands" .SH NAME -zcash-cli \- manual page for zcash-cli v5.7.0 +zcash-cli \- manual page for zcash-cli v5.8.0 .SH DESCRIPTION -Zcash RPC client version v5.7.0 +Zcash RPC client version v5.8.0 .PP In order to ensure you are adequately protecting your privacy when using Zcash, please see . diff --git a/depend/zcash/doc/man/zcash-tx.1 b/depend/zcash/doc/man/zcash-tx.1 index bebbd8491..6b98a3ebc 100644 --- a/depend/zcash/doc/man/zcash-tx.1 +++ b/depend/zcash/doc/man/zcash-tx.1 @@ -1,9 +1,9 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. -.TH ZCASH-TX "1" "September 2023" "zcash-tx v5.7.0" "User Commands" +.TH ZCASH-TX "1" "January 2024" "zcash-tx v5.8.0" "User Commands" .SH NAME -zcash-tx \- manual page for zcash-tx v5.7.0 +zcash-tx \- manual page for zcash-tx v5.8.0 .SH DESCRIPTION -Zcash zcash\-tx utility version v5.7.0 +Zcash zcash\-tx utility version v5.8.0 .SS "Usage:" .TP zcash\-tx [options] [commands] diff --git a/depend/zcash/doc/man/zcashd-wallet-tool.1 b/depend/zcash/doc/man/zcashd-wallet-tool.1 index 3da89b4d2..bd89717ed 100644 --- a/depend/zcash/doc/man/zcashd-wallet-tool.1 +++ b/depend/zcash/doc/man/zcashd-wallet-tool.1 @@ -1,7 +1,7 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. -.TH ZCASHD-WALLET-TOOL "1" "September 2023" "zcashd-wallet-tool v5.7.0" "User Commands" +.TH ZCASHD-WALLET-TOOL "1" "January 2024" "zcashd-wallet-tool v5.8.0" "User Commands" .SH NAME -zcashd-wallet-tool \- manual page for zcashd-wallet-tool v5.7.0 +zcashd-wallet-tool \- manual page for zcashd-wallet-tool v5.8.0 .SH SYNOPSIS .B zcashd-wallet-tool [\fI\,OPTIONS\/\fR] diff --git a/depend/zcash/doc/man/zcashd.1 b/depend/zcash/doc/man/zcashd.1 index 0acc8ed1b..8ef280257 100644 --- a/depend/zcash/doc/man/zcashd.1 +++ b/depend/zcash/doc/man/zcashd.1 @@ -1,9 +1,9 @@ .\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.1. -.TH ZCASHD "1" "September 2023" "zcashd v5.7.0" "User Commands" +.TH ZCASHD "1" "January 2024" "zcashd v5.8.0" "User Commands" .SH NAME -zcashd \- manual page for zcashd v5.7.0 +zcashd \- manual page for zcashd v5.8.0 .SH DESCRIPTION -Zcash Daemon version v5.7.0 +Zcash Daemon version v5.8.0 .PP In order to ensure you are adequately protecting your privacy when using Zcash, please see . diff --git a/depend/zcash/doc/release-notes/release-notes-5.8.0-rc1.md b/depend/zcash/doc/release-notes/release-notes-5.8.0-rc1.md new file mode 100644 index 000000000..9a7bb3e27 --- /dev/null +++ b/depend/zcash/doc/release-notes/release-notes-5.8.0-rc1.md @@ -0,0 +1,36 @@ +Changelog +========= + +Daira Emma Hopwood (2): + Suppress compilation warnings for K&R-style prototypes when building bdb by adding `-Wno-deprecated-non-prototype` to `CFLAGS`. + Suppress link warnings when building bdb by adding `-Wno-unused-command-line-argument` to `LDFLAGS`. + +Jack Grigg (19): + CI: Use latest stable Rust for book deployment + CI: Rename build workflow to CI + CI: Only run CI workflow once per PR + CI: Switch to 8-core Ubuntu runners + CI: Move matrix definition into a separate job + CI: Rename `matrix.os` to `matrix.build_os` + CI: Upload artifacts from regular build + CI: Run btests and gtests + CI: Split config flag bitrot builds into a separate job + CI: Fix CCache path on macOS + cargo vet prune + cargo update + depends: utfcpp 4.0.4 + depends: ZeroMQ 4.3.5 + depends: native_cmake 3.28.1 + depends: cxx 1.0.111 + qa: Bump postponed dependencies + make-release.py: Versioning changes for 5.8.0-rc1. + make-release.py: Updated manpages for 5.8.0-rc1. + +Yasser Isa (3): + Delete contrib/ci-builders directory + Delete contrib/ci-workers directory + CI: Add sharding to GoogleTest job + +dependabot[bot] (1): + build(deps): bump actions/checkout from 3 to 4 + diff --git a/depend/zcash/doc/release-notes/release-notes-5.8.0.md b/depend/zcash/doc/release-notes/release-notes-5.8.0.md new file mode 100644 index 000000000..d292f64b7 --- /dev/null +++ b/depend/zcash/doc/release-notes/release-notes-5.8.0.md @@ -0,0 +1,45 @@ +Changelog +========= + +Daira Emma Hopwood (2): + Suppress compilation warnings for K&R-style prototypes when building bdb by adding `-Wno-deprecated-non-prototype` to `CFLAGS`. + Suppress link warnings when building bdb by adding `-Wno-unused-command-line-argument` to `LDFLAGS`. + +Jack Grigg (28): + CI: Use latest stable Rust for book deployment + CI: Rename build workflow to CI + CI: Only run CI workflow once per PR + CI: Switch to 8-core Ubuntu runners + CI: Move matrix definition into a separate job + CI: Rename `matrix.os` to `matrix.build_os` + CI: Upload artifacts from regular build + CI: Run btests and gtests + CI: Split config flag bitrot builds into a separate job + CI: Fix CCache path on macOS + cargo vet prune + cargo update + depends: utfcpp 4.0.4 + depends: ZeroMQ 4.3.5 + depends: native_cmake 3.28.1 + depends: cxx 1.0.111 + qa: Bump postponed dependencies + make-release.py: Versioning changes for 5.8.0-rc1. + make-release.py: Updated manpages for 5.8.0-rc1. + make-release.py: Updated release notes and changelog for 5.8.0-rc1. + make-release.py: Updated book for 5.8.0-rc1. + Update Rust dependencies for 5.8.0 + Postpone update to Rust 1.75.0 + depends: cxx 1.0.113 + depends: native_ccache 4.9 + depends: utfcpp 4.0.5 + make-release.py: Versioning changes for 5.8.0. + make-release.py: Updated manpages for 5.8.0. + +Yasser Isa (3): + Delete contrib/ci-builders directory + Delete contrib/ci-workers directory + CI: Add sharding to GoogleTest job + +dependabot[bot] (1): + build(deps): bump actions/checkout from 3 to 4 + diff --git a/depend/zcash/qa/supply-chain/audits.toml b/depend/zcash/qa/supply-chain/audits.toml index e696992a6..c9de9c803 100644 --- a/depend/zcash/qa/supply-chain/audits.toml +++ b/depend/zcash/qa/supply-chain/audits.toml @@ -24,6 +24,17 @@ who = "Jack Grigg " criteria = ["safe-to-deploy", "crypto-reviewed"] delta = "0.5.1 -> 0.5.2" +[[audits.ahash]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.8.6 -> 0.8.7" +notes = "Build-time `stdsimd` detection is replaced with a nightly-only feature flag." + +[[audits.aho-corasick]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.1.1 -> 1.1.2" + [[audits.allocator-api2]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -72,6 +83,28 @@ notes = """ nightly features are available. """ +[[audits.anyhow]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.75 -> 1.0.77" +notes = """ +- Build script changes are to rerun cargo if the `RUSTC_BOOTSTRAP` env variable + changes, and enable a few more `rustc` config flags. +- Some `unsafe fn`s were altered to add `unsafe` blocks, to make the safety + contracts in the code clearer (instead of using the `unsafe fn`'s implicit + `unsafe` block); no actual `unsafe` changes were made. +""" + +[[audits.anyhow]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.77 -> 1.0.79" +notes = """ +Build script changes are to refactor the existing probe into a separate file +(which removes a filesystem write), and adjust how it gets rerun in response to +changes in the build environment. +""" + [[audits.arrayref]] who = "Sean Bowe " criteria = "safe-to-deploy" @@ -99,6 +132,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.21.3 -> 0.21.4" +[[audits.base64]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.21.4 -> 0.21.5" + [[audits.bech32]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -177,6 +215,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.2.1 -> 1.2.2" +[[audits.byteorder]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.4.3 -> 1.5.0" +notes = """ +- Adds two assertions to check the safety of `slice::from_raw_parts_mut` calls. +- Replaces a bunch of `unsafe` blocks containing `copy_nonoverlapping` calls + with safe `<&mut [u8]>::copy_from_slice` calls. +""" + [[audits.bytes]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -287,18 +335,47 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.2.8 -> 0.2.9" +[[audits.cpufeatures]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.9 -> 0.2.11" +notes = """ +New `unsafe` block is to call `libc::getauxval(libc::AT_HWCAP)` on Linux for +LoongArch64 CPU feature detection support. This and the supporting macro code is +the same as the existing Linux code for AArch64. +""" + [[audits.crossbeam-channel]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.5.6 -> 0.5.7" notes = "Fixes wrapping overflows for large timeouts." +[[audits.crossbeam-channel]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.5.8 -> 0.5.9" + +[[audits.crossbeam-channel]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.5.9 -> 0.5.10" +notes = """ +Changes to `unsafe` code are to use `MaybeUninit::assume_init_drop` (which is +now usable with the new MSRV) instead of dropping via casting. +""" + [[audits.crossbeam-deque]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.8.2 -> 0.8.3" notes = "No new code." +[[audits.crossbeam-deque]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.8.3 -> 0.8.4" + [[audits.crossbeam-epoch]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -311,6 +388,21 @@ criteria = "safe-to-deploy" delta = "0.9.14 -> 0.9.15" notes = "Bumps memoffset to 0.9, and unmarks some ARMv7r and Sony Vita targets as not having 64-bit atomics." +[[audits.crossbeam-epoch]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.9.15 -> 0.9.16" +notes = "Moved an `unsafe` block while removing `scopeguard` dependency." + +[[audits.crossbeam-epoch]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.9.16 -> 0.9.17" +notes = """ +Changes to `unsafe` code are to replace manual pointer logic with equivalent +`unsafe` stdlib methods, now that MSRV is high enough to use them. +""" + [[audits.crossbeam-utils]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -330,12 +422,44 @@ notes = """ - Unmarks some ARMv7r and Sony Vita targets as not having 64-bit atomics. """ +[[audits.crossbeam-utils]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.8.16 -> 0.8.17" +notes = """ +- Build script change removes some now-unused config flags, and checks for thread + sanitization to enable this on `crossbeam`. +- Changes to `unsafe` blocks are to move them, or to introduce a couple of new + blocks identical to equivalent earlier blocks (now that MSRV is new enough to + access newer `Atomic*` methods). +""" + +[[audits.crossbeam-utils]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.8.17 -> 0.8.18" +notes = """ +Changes to `unsafe` code are to construct and drop `MaybeUninit` directly +via its methods (one of which is now usable with the new MSRV) instead of via +casting. +""" + [[audits.crypto-common]] who = "Jack Grigg " criteria = ["crypto-reviewed", "safe-to-deploy"] delta = "0.1.3 -> 0.1.6" notes = "New trait and type alias look fine." +[[audits.curve25519-dalek]] +who = "Jack Grigg " +criteria = ["safe-to-deploy", "crypto-reviewed"] +delta = "4.1.0 -> 4.1.1" + +[[audits.curve25519-dalek-derive]] +who = "Jack Grigg " +criteria = ["safe-to-deploy", "crypto-reviewed"] +delta = "0.1.0 -> 0.1.1" + [[audits.cxx]] who = "Daira Hopwood " criteria = "safe-to-deploy" @@ -401,6 +525,17 @@ New `unsafe` blocks are to implement `CxxVector::new` (exposing `std::vector::ne remaining changes to `unsafe` code are removing uses of the wrapping `attr!` macro. """ +[[audits.cxx]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.107 -> 1.0.111" +notes = "Build script change is to look for `src/cxx.cc` in the same folder as `include/cxx.h`." + +[[audits.cxx]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.111 -> 1.0.113" + [[audits.cxxbridge-flags]] who = "Daira Hopwood " criteria = "safe-to-deploy" @@ -452,6 +587,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.97 -> 1.0.106" +[[audits.cxxbridge-flags]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.107 -> 1.0.111" + +[[audits.cxxbridge-flags]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.111 -> 1.0.113" + [[audits.cxxbridge-macro]] who = "Daira Hopwood " criteria = "safe-to-deploy" @@ -514,6 +659,31 @@ criteria = "safe-to-deploy" delta = "1.0.97 -> 1.0.107" notes = "New generated `unsafe` block exposes `std::vector::new` from C++." +[[audits.cxxbridge-macro]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.107 -> 1.0.111" +notes = """ +Many more `unsafe` blocks are now added in generated code, but these appear to +all be inside `unsafe fn`s, and are added to make the safety contracts in the +generated code clearer (instead of using the `unsafe fn`'s implicit `unsafe` +block). +""" + +[[audits.cxxbridge-macro]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.111 -> 1.0.113" + +[[audits.deranged]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.10 -> 0.3.11" +notes = """ +Two new `unsafe` blocks to construct ranges via `T::new_unchecked`. The safety +comments correctly document why the checks are unnecessary. +""" + [[audits.directories]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -539,6 +709,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "2.2.1 -> 2.2.2" +[[audits.ed25519]] +who = "Jack Grigg " +criteria = ["safe-to-deploy", "crypto-reviewed"] +delta = "2.2.2 -> 2.2.3" + [[audits.ed25519-zebra]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -595,11 +770,21 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.3.1 -> 0.3.3" +[[audits.errno]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.3 -> 0.3.8" + [[audits.fastrand]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.9.0 -> 2.0.0" +[[audits.fastrand]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.0.0 -> 2.0.1" + [[audits.ff]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -636,6 +821,17 @@ criteria = "safe-to-deploy" delta = "0.3.27 -> 0.3.28" notes = "Dependency updates, and an MSRV update to Rust 1.56." +[[audits.futures-channel]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.28 -> 0.3.29" + +[[audits.futures-channel]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.29 -> 0.3.30" +notes = "Removes `build.rs` now that it can rely on the `target_has_atomic` attribute." + [[audits.futures-core]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -656,6 +852,17 @@ Adds an optimization in unsafe code (https://github.com/rust-lang/futures-rs/pul The new code in AtomicWaker calls self.waker.get() twice assuming the same resulting pointer, but this appears to be correct because the AtomicWaker is in the required locked state. """ +[[audits.futures-core]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.28 -> 0.3.29" + +[[audits.futures-core]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.29 -> 0.3.30" +notes = "Removes `build.rs` now that it can rely on the `target_has_atomic` attribute." + [[audits.futures-task]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -678,6 +885,17 @@ criteria = "safe-to-deploy" delta = "0.3.27 -> 0.3.28" notes = "Dependency updates, and an MSRV update to Rust 1.56." +[[audits.futures-task]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.28 -> 0.3.29" + +[[audits.futures-task]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.29 -> 0.3.30" +notes = "Removes `build.rs` now that it can rely on the `target_has_atomic` attribute." + [[audits.futures-util]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -699,6 +917,29 @@ notes = """ `POLLING` state appears to be preserved. """ +[[audits.futures-util]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.28 -> 0.3.29" +notes = """ +Only change to `unsafe` code is to add a `Fut: Send` bound to the +`unsafe impl Sync for FuturesUnordered`. +""" + +[[audits.futures-util]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.29 -> 0.3.30" +notes = """ +- Removes `build.rs` now that it can rely on the `target_has_atomic` attribute. +- Almost all changes to `unsafe` blocks are to either move them around, or + replace them with safe method calls. +- One new `unsafe` block is added for a slice lifetime transmutation. The slice + reconstruction is obviously correct. AFAICT the lifetime transmutation is also + correct; the slice's lifetime logically comes from the `AsyncBufRead` reader + inside `FillBuf`, rather than the `Context`. +""" + [[audits.generic-array]] who = "Sean Bowe " criteria = "safe-to-deploy" @@ -801,6 +1042,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.2.8 -> 0.2.9" +[[audits.http]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.0 -> 0.2.11" + +[[audits.http-body]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.4.5 -> 0.4.6" + [[audits.hyper]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -820,6 +1071,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.14.26 -> 0.14.27" +[[audits.hyper]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.14.27 -> 0.14.28" + [[audits.indexmap]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -831,6 +1087,12 @@ who = "Sean Bowe " criteria = "safe-to-deploy" delta = "1.9.2 -> 1.9.3" +[[audits.indexmap]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.0.0 -> 2.1.0" +notes = "- Replaces an `unsafe` block with a safe alternative." + [[audits.inout]] who = "Daira Hopwood " criteria = "safe-to-deploy" @@ -857,6 +1119,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "2.7.2 -> 2.8.0" +[[audits.ipnet]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.8.0 -> 2.9.0" + [[audits.itoa]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -873,6 +1140,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.6 -> 1.0.9" +[[audits.itoa]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.9 -> 1.0.10" + [[audits.js-sys]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -888,6 +1160,17 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.3.61 -> 0.3.64" +[[audits.js-sys]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.64 -> 0.3.66" +notes = """ +- Fixes the `BigInt64Array` variants of the existing `Atomics.wait` method. +- Adds `Atomics.waitAsync`, the `DataView` constructor variant that takes + `SharedArrayBuffer`, and `WebAssembly.Exception`; I checked these against their + MDN documentation. +""" + [[audits.jubjub]] who = "Sean Bowe " criteria = "safe-to-deploy" @@ -916,6 +1199,12 @@ Uses `unsafe` blocks to interact with `windows-sys` crate. likely a typo; the code checks that `len * size_of::() <= isize::MAX`. """ +[[audits.known-folders]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.1 -> 1.1.0" +notes = "Addresses the notes from my previous review :)" + [[audits.libm]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -926,6 +1215,12 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.2.5 -> 0.2.6" +[[audits.libm]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.7 -> 0.2.8" +notes = "Forces some intermediate values to not have too much precision on the x87 FPU." + [[audits.link-cplusplus]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -963,6 +1258,21 @@ who = "Sean Bowe " criteria = "safe-to-deploy" version = "0.1.1" +[[audits.memchr]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.6.3 -> 2.6.4" + +[[audits.memchr]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.6.4 -> 2.7.1" +notes = """ +Change to an `unsafe fn` is to rework the short-tail handling of a fixed-length +comparison between `u8` pointers. The new tail code matches the existing head +code (but adapted to `u16` and `u8` reads, instead of `u32`). +""" + [[audits.memoffset]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -995,11 +1305,21 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.10.0 -> 0.11.0" +[[audits.metrics-exporter-prometheus]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.12.1 -> 0.12.2" + [[audits.metrics-macros]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.5.1 -> 0.6.0" +[[audits.metrics-macros]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.7.0 -> 0.7.1" + [[audits.metrics-util]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1132,6 +1452,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "3.6.1 -> 3.6.5" +[[audits.parity-scale-codec]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "3.6.5 -> 3.6.9" + [[audits.parity-scale-codec-derive]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1146,6 +1471,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "3.1.4 -> 3.6.1" +[[audits.parity-scale-codec-derive]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "3.6.5 -> 3.6.9" + [[audits.parking_lot]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1253,6 +1583,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "3.0.2 -> 3.1.2" +[[audits.platforms]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "3.1.2 -> 3.2.0" + +[[audits.platforms]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "3.2.0 -> 3.3.0" + [[audits.poly1305]] who = "Daira Hopwood " criteria = "safe-to-deploy" @@ -1271,6 +1611,19 @@ criteria = "safe-to-deploy" delta = "1.3.0 -> 1.3.1" notes = "Bumps MSRV to 1.60." +[[audits.proc-macro-crate]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.3.1 -> 2.0.1" +notes = """ +New subprocess call to `$CARGO locate-project` which is controlled by the outer +environment, because `cargo` forwards the value of `$CARGO` if set (instead of +setting it to its own auto-detected path) when building crates. The output of +this call is parsed as a `PathBuf` and the path is opened as a `Cargo.toml`, so +the most that the environment can do (side effects aside) is return the path to +a different `Cargo.toml`. +""" + [[audits.proc-macro2]] who = "Daira Hopwood " criteria = "safe-to-deploy" @@ -1301,6 +1654,41 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.66 -> 1.0.67" +[[audits.proc-macro2]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.67 -> 1.0.70" + +[[audits.proc-macro2]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.70 -> 1.0.71" +notes = """ +New `unsafe` blocks are all inside `unsafe fn`s, and are added to make the +safety contracts in the code clearer (instead of using the `unsafe fn`'s +implicit `unsafe` block). +""" + +[[audits.proc-macro2]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.71 -> 1.0.74" +notes = """ +Build script changes are to replace `RUSTFLAGS` string parsing with a probe file +that is compiled with whatever `RUSTC` is set to (but the build script already +relies on the `RUSTC` environment variable for inspecting the compiler version). +""" + +[[audits.proptest]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.2.0 -> 1.4.0" +notes = """ +Adds support for generating arbitrary `PathBuf`s, but as this crate is intended +for fuzzing in test environments this is within its expected scope (and the new +API would be used intentionally by downstream tests). +""" + [[audits.quanta]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1316,6 +1704,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.31 -> 1.0.33" +[[audits.quote]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.33 -> 1.0.35" + [[audits.rand_xorshift]] who = "Sean Bowe " criteria = "safe-to-deploy" @@ -1362,6 +1755,12 @@ which has had previous cryptographic review by NCC group; see finding NCC-Zcash2 https://research.nccgroup.com/wp-content/uploads/2020/07/NCC_Group_Zcash2018_Public_Report_2019-01-30_v1.3.pdf ). """ +[[audits.redox_users]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.4.3 -> 0.4.4" +notes = "Switches from `redox_syscall` crate to `libredox` crate for syscalls." + [[audits.regex]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1372,6 +1771,20 @@ who = "Sean Bowe " criteria = "safe-to-deploy" delta = "1.7.1 -> 1.7.3" +[[audits.regex]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.9.5 -> 1.10.2" + +[[audits.regex-automata]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.8 -> 0.4.3" +notes = """ +There were additions to an `unsafe` trait, but the new code itself doesn't use +any `unsafe` functions. +""" + [[audits.regex-syntax]] who = "Sean Bowe " criteria = "safe-to-deploy" @@ -1382,6 +1795,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.7.2 -> 0.7.5" +[[audits.regex-syntax]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.7.5 -> 0.8.2" + [[audits.rustc-demangle]] who = "Sean Bowe " criteria = "safe-to-deploy" @@ -1416,6 +1834,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.13 -> 1.0.15" +[[audits.ryu]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.15 -> 1.0.16" + [[audits.scopeguard]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1427,6 +1850,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.17 -> 1.0.18" +[[audits.semver]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.18 -> 1.0.19" + +[[audits.semver]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.19 -> 1.0.20" + [[audits.serde]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1459,6 +1892,16 @@ criteria = "safe-to-deploy" delta = "1.0.179 -> 1.0.188" notes = "Mostly a bunch of cleanups after bumping MSRV." +[[audits.serde]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.188 -> 1.0.193" + +[[audits.serde]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.193 -> 1.0.194" + [[audits.serde_derive]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1490,6 +1933,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.179 -> 1.0.188" +[[audits.serde_derive]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.188 -> 1.0.193" + +[[audits.serde_derive]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.193 -> 1.0.194" + [[audits.serde_json]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1515,6 +1968,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.106 -> 1.0.107" +[[audits.serde_json]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.107 -> 1.0.108" + +[[audits.serde_json]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.108 -> 1.0.110" + [[audits.sha2]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1526,6 +1989,12 @@ did not perform a cryptographic review, but the code to load from and store into the function arguments looks correct. """ +[[audits.sharded-slab]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.1.4 -> 0.1.7" +notes = "Only change to an `unsafe` block is to fix a clippy lint." + [[audits.signature]] who = "Daira Emma Hopwood " criteria = "safe-to-deploy" @@ -1535,6 +2004,11 @@ This crate uses `#![forbid(unsafe_code)]`, has no build script, and only provide I did not review whether implementing these APIs would present any undocumented cryptographic hazards. """ +[[audits.signature]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.1.0 -> 2.2.0" + [[audits.siphasher]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1551,6 +2025,24 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.2.0 -> 0.2.1" +[[audits.socket2]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.4.9 -> 0.4.10" +notes = """ +Adds support for ESP-IDF and Sony Vita targets. New `unsafe` blocks are for a +Vita-specific `libc` call to `setsockopt` for non-blocking behaviour. +""" + +[[audits.socket2]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.5.4 -> 0.5.5" +notes = """ +Adds support for Sony Vita targets. New `unsafe` blocks are for Vita-specific +`libc` calls to `getsockopt` and `setsockopt` for non-blocking behaviour. +""" + [[audits.syn]] who = "Daira Hopwood " criteria = "safe-to-deploy" @@ -1592,6 +2084,31 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "2.0.26 -> 2.0.33" +[[audits.syn]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.0.33 -> 2.0.37" + +[[audits.syn]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.0.37 -> 2.0.41" + +[[audits.syn]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.0.41 -> 2.0.43" +notes = """ +New `unsafe` blocks are all inside `unsafe fn`s, and are added to make the +safety contracts in the code clearer (instead of using the `unsafe fn`'s +implicit `unsafe` block). +""" + +[[audits.syn]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "2.0.43 -> 2.0.46" + [[audits.tempfile]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1603,6 +2120,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "3.6.0 -> 3.8.0" +[[audits.tempfile]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "3.8.0 -> 3.8.1" + +[[audits.tempfile]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "3.8.1 -> 3.9.0" + [[audits.terminfo]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1626,6 +2153,27 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.43 -> 1.0.48" +[[audits.thiserror]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.48 -> 1.0.51" + +[[audits.thiserror]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.51 -> 1.0.52" +notes = "Reruns the build script if the `RUSTC_BOOTSTRAP` env variable changes." + +[[audits.thiserror]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.52 -> 1.0.56" +notes = """ +Build script changes are to refactor the existing probe into a separate file +(which removes a filesystem write), and adjust how it gets rerun in response to +changes in the build environment. +""" + [[audits.thiserror-impl]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1643,6 +2191,21 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "1.0.43 -> 1.0.48" +[[audits.thiserror-impl]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.48 -> 1.0.51" + +[[audits.thiserror-impl]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.51 -> 1.0.52" + +[[audits.thiserror-impl]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.0.52 -> 1.0.56" + [[audits.thread_local]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1663,11 +2226,25 @@ Fixes alignment (by using `#[repr(C)]`) of some `union`s that are used in either `UtcOffset` or `()`. """ +[[audits.time]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.30 -> 0.3.31" +notes = """ +Removes one `unsafe` block by repurposing a constructor containing a more +general invocation of the same `unsafe` function. +""" + [[audits.time-core]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.1.0 -> 0.1.1" +[[audits.time-core]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.1.1 -> 0.1.2" + [[audits.time-macros]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1697,12 +2274,32 @@ New `unsafe` blocks are because a previously-unsafe macro helper now declares it unsafety; no actual logic changes. """ +[[audits.time-macros]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.14 -> 0.2.15" +notes = """ +New `unsafe` block is because `time::Date` now has a niche value optimization, +and its macro-only constructor is now `unsafe`. Safe because the macro ensures +that `ordinal` is non-zero while parsing. +""" + +[[audits.time-macros]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.15 -> 0.2.16" + [[audits.tinyvec_macros]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.1.0 -> 0.1.1" notes = "Adds `#![forbid(unsafe_code)]` and license files." +[[audits.tokio]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "1.35.0 -> 1.35.1" + [[audits.toml_datetime]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1730,6 +2327,20 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.19.10 -> 0.19.11" +[[audits.toml_edit]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.19.15 -> 0.20.2" + +[[audits.tracing-appender]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.2 -> 0.2.3" +notes = """ +- The rolling file appender has new code to automatically delete files; this is + restricted to files within the configured log directory. +""" + [[audits.tracing-attributes]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1740,6 +2351,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.1.25 -> 0.1.26" +[[audits.tracing-attributes]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.1.26 -> 0.1.27" + [[audits.tracing-core]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1750,17 +2366,33 @@ the heap when setting it as the global default dispatcher. I checked that the global default can only be set once and is never dropped. """ +[[audits.tracing-core]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.1.31 -> 0.1.32" + [[audits.tracing-subscriber]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.3.16 -> 0.3.17" +[[audits.tracing-subscriber]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.3.17 -> 0.3.18" + [[audits.try-lock]] who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.2.3 -> 0.2.4" notes = "Fixes unsoundness." +[[audits.try-lock]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.4 -> 0.2.5" +notes = "Bumps MSRV to remove unsafe code block." + [[audits.typenum]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1836,6 +2468,16 @@ Migrates to `try-lock 0.2.4` to replace some unsafe APIs that were not marked `unsafe` (but that were being used safely). """ +[[audits.wasm-bindgen-macro]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.87 -> 0.2.89" + +[[audits.wasm-bindgen-macro-support]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.87 -> 0.2.89" + [[audits.wasm-bindgen-shared]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1847,6 +2489,11 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "0.2.84 -> 0.2.87" +[[audits.wasm-bindgen-shared]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.2.87 -> 0.2.89" + [[audits.which]] who = "Jack Grigg " criteria = "safe-to-deploy" @@ -1878,6 +2525,16 @@ who = "Jack Grigg " criteria = "safe-to-deploy" delta = "2.5.0 -> 2.5.2" +[[audits.zerocopy]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.7.31 -> 0.7.32" + +[[audits.zerocopy-derive]] +who = "Jack Grigg " +criteria = "safe-to-deploy" +delta = "0.7.31 -> 0.7.32" + [[audits.zeroize]] who = "Daira Hopwood " criteria = "safe-to-deploy" diff --git a/depend/zcash/qa/supply-chain/config.toml b/depend/zcash/qa/supply-chain/config.toml index 0ba407707..bd8dc22f7 100644 --- a/depend/zcash/qa/supply-chain/config.toml +++ b/depend/zcash/qa/supply-chain/config.toml @@ -32,11 +32,11 @@ version = "0.8.2" criteria = "safe-to-deploy" [[exemptions.ahash]] -version = "0.8.3" +version = "0.8.6" criteria = "safe-to-deploy" [[exemptions.aho-corasick]] -version = "1.0.5" +version = "1.1.1" criteria = "safe-to-deploy" [[exemptions.allocator-api2]] @@ -107,10 +107,6 @@ criteria = "safe-to-deploy" version = "0.1.2" criteria = "safe-to-deploy" -[[exemptions.cc]] -version = "1.0.83" -criteria = "safe-to-deploy" - [[exemptions.chacha20]] version = "0.9.1" criteria = "safe-to-deploy" @@ -127,6 +123,10 @@ criteria = "safe-to-deploy" version = "1.0.9" criteria = "safe-to-deploy" +[[exemptions.const-oid]] +version = "0.9.6" +criteria = "safe-to-deploy" + [[exemptions.cpufeatures]] version = "0.2.8" criteria = "safe-to-deploy" @@ -167,8 +167,12 @@ criteria = "safe-to-deploy" version = "1.0.95" criteria = "safe-to-deploy" +[[exemptions.der]] +version = "0.7.8" +criteria = "safe-to-deploy" + [[exemptions.deranged]] -version = "0.3.8" +version = "0.3.10" criteria = "safe-to-deploy" [[exemptions.digest]] @@ -228,7 +232,7 @@ version = "0.2.6" criteria = "safe-to-deploy" [[exemptions.gimli]] -version = "0.27.0" +version = "0.28.1" criteria = "safe-to-deploy" [[exemptions.group]] @@ -243,12 +247,16 @@ criteria = "safe-to-deploy" version = "0.8.1" criteria = "safe-to-deploy" +[[exemptions.hashbrown]] +version = "0.14.3" +criteria = "safe-to-deploy" + [[exemptions.hdwallet]] version = "0.3.1" criteria = "safe-to-deploy" [[exemptions.hermit-abi]] -version = "0.3.1" +version = "0.3.3" criteria = "safe-to-deploy" [[exemptions.home]] @@ -304,25 +312,25 @@ version = "0.9.0" criteria = "safe-to-deploy" [[exemptions.libc]] -version = "0.2.148" +version = "0.2.151" criteria = "safe-to-deploy" [[exemptions.libm]] version = "0.2.2" criteria = "safe-to-deploy" +[[exemptions.libredox]] +version = "0.0.1" +criteria = "safe-to-deploy" + [[exemptions.linux-raw-sys]] -version = "0.4.7" +version = "0.4.12" criteria = "safe-to-deploy" [[exemptions.memchr]] version = "2.6.3" criteria = "safe-to-deploy" -[[exemptions.memoffset]] -version = "0.6.5" -criteria = "safe-to-deploy" - [[exemptions.memuse]] version = "0.2.0" criteria = "safe-to-deploy" @@ -348,7 +356,7 @@ version = "0.2.1" criteria = "safe-to-deploy" [[exemptions.mio]] -version = "0.8.2" +version = "0.8.10" criteria = "safe-to-deploy" [[exemptions.nix]] @@ -363,10 +371,6 @@ criteria = "safe-to-deploy" version = "0.7.0" criteria = "safe-to-deploy" -[[exemptions.nu-ansi-term]] -version = "0.46.0" -criteria = "safe-to-deploy" - [[exemptions.num_cpus]] version = "1.13.1" criteria = "safe-to-deploy" @@ -379,10 +383,6 @@ criteria = "safe-to-deploy" version = "1.17.0" criteria = "safe-to-deploy" -[[exemptions.overload]] -version = "0.1.1" -criteria = "safe-to-deploy" - [[exemptions.pairing]] version = "0.22.0" criteria = "safe-to-deploy" @@ -423,12 +423,20 @@ criteria = "safe-to-deploy" version = "0.8.0" criteria = "safe-to-deploy" +[[exemptions.pkcs8]] +version = "0.10.2" +criteria = "safe-to-deploy" + [[exemptions.poly1305]] version = "0.7.2" criteria = "safe-to-deploy" [[exemptions.portable-atomic]] -version = "1.4.3" +version = "1.6.0" +criteria = "safe-to-deploy" + +[[exemptions.powerfmt]] +version = "0.2.0" criteria = "safe-to-deploy" [[exemptions.ppv-lite86]] @@ -472,11 +480,7 @@ version = "0.3.0" criteria = "safe-to-deploy" [[exemptions.redox_syscall]] -version = "0.2.16" -criteria = "safe-to-deploy" - -[[exemptions.redox_syscall]] -version = "0.3.5" +version = "0.4.1" criteria = "safe-to-deploy" [[exemptions.redox_users]] @@ -516,7 +520,7 @@ version = "2.1.0" criteria = "safe-to-deploy" [[exemptions.rustix]] -version = "0.38.13" +version = "0.38.28" criteria = "safe-to-deploy" [[exemptions.rusty-fork]] @@ -527,10 +531,6 @@ criteria = "safe-to-deploy" version = "1.0.11" criteria = "safe-to-deploy" -[[exemptions.scopeguard]] -version = "1.1.0" -criteria = "safe-to-deploy" - [[exemptions.secp256k1]] version = "0.26.0" criteria = "safe-to-deploy" @@ -555,8 +555,8 @@ criteria = "safe-to-deploy" version = "1.0.81" criteria = "safe-to-deploy" -[[exemptions.sharded-slab]] -version = "0.1.4" +[[exemptions.sha2]] +version = "0.10.8" criteria = "safe-to-deploy" [[exemptions.siphasher]] @@ -567,10 +567,6 @@ criteria = "safe-to-deploy" version = "0.1.3" criteria = "safe-to-deploy" -[[exemptions.socket2]] -version = "0.4.9" -criteria = "safe-to-deploy" - [[exemptions.socket2]] version = "0.5.4" criteria = "safe-to-deploy" @@ -579,6 +575,10 @@ criteria = "safe-to-deploy" version = "0.5.2" criteria = "safe-to-deploy" +[[exemptions.spki]] +version = "0.7.3" +criteria = "safe-to-deploy" + [[exemptions.static_assertions]] version = "1.1.0" criteria = "safe-to-deploy" @@ -599,12 +599,8 @@ criteria = "safe-to-deploy" version = "0.8.0" criteria = "safe-to-deploy" -[[exemptions.thread_local]] -version = "1.1.4" -criteria = "safe-to-deploy" - [[exemptions.time]] -version = "0.3.28" +version = "0.3.30" criteria = "safe-to-deploy" [[exemptions.time-macros]] @@ -612,7 +608,7 @@ version = "0.2.7" criteria = "safe-to-deploy" [[exemptions.tokio]] -version = "1.32.0" +version = "1.35.0" criteria = "safe-to-deploy" [[exemptions.toml_edit]] @@ -624,7 +620,7 @@ version = "0.3.2" criteria = "safe-to-deploy" [[exemptions.tracing]] -version = "0.1.37" +version = "0.1.40" criteria = "safe-to-deploy" [[exemptions.tracing-appender]] @@ -639,10 +635,6 @@ criteria = "safe-to-deploy" version = "0.1.30" criteria = "safe-to-deploy" -[[exemptions.tracing-subscriber]] -version = "0.3.16" -criteria = "safe-to-deploy" - [[exemptions.typenum]] version = "1.15.0" criteria = "safe-to-deploy" @@ -664,11 +656,11 @@ version = "0.11.0+wasi-snapshot-preview1" criteria = "safe-to-deploy" [[exemptions.wasm-bindgen]] -version = "0.2.87" +version = "0.2.89" criteria = "safe-to-deploy" [[exemptions.wasm-bindgen-backend]] -version = "0.2.87" +version = "0.2.89" criteria = "safe-to-deploy" [[exemptions.wasm-bindgen-macro]] @@ -680,7 +672,7 @@ version = "0.2.87" criteria = "safe-to-deploy" [[exemptions.web-sys]] -version = "0.3.64" +version = "0.3.66" criteria = "safe-to-deploy" [[exemptions.which]] @@ -700,7 +692,7 @@ version = "0.4.0" criteria = "safe-to-deploy" [[exemptions.winnow]] -version = "0.5.15" +version = "0.5.31" criteria = "safe-to-deploy" [[exemptions.wyz]] @@ -711,8 +703,16 @@ criteria = "safe-to-deploy" version = "2.5.0" criteria = "safe-to-deploy" +[[exemptions.zerocopy]] +version = "0.7.31" +criteria = "safe-to-deploy" + +[[exemptions.zerocopy-derive]] +version = "0.7.31" +criteria = "safe-to-deploy" + [[exemptions.zeroize]] -version = "1.4.3" +version = "1.7.0" criteria = "safe-to-deploy" [[exemptions.zeroize_derive]] diff --git a/depend/zcash/qa/supply-chain/imports.lock b/depend/zcash/qa/supply-chain/imports.lock index d0de1aeea..b1cc37600 100644 --- a/depend/zcash/qa/supply-chain/imports.lock +++ b/depend/zcash/qa/supply-chain/imports.lock @@ -64,6 +64,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows-sys]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows-targets]] version = "0.48.5" when = "2023-08-18" @@ -71,6 +78,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows-targets]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows_aarch64_gnullvm]] version = "0.48.5" when = "2023-08-18" @@ -78,6 +92,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows_aarch64_gnullvm]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows_aarch64_msvc]] version = "0.48.5" when = "2023-08-18" @@ -85,6 +106,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows_aarch64_msvc]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows_i686_gnu]] version = "0.48.5" when = "2023-08-18" @@ -92,6 +120,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows_i686_gnu]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows_i686_msvc]] version = "0.48.5" when = "2023-08-18" @@ -99,6 +134,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows_i686_msvc]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows_x86_64_gnu]] version = "0.48.5" when = "2023-08-18" @@ -106,6 +148,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows_x86_64_gnu]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows_x86_64_gnullvm]] version = "0.48.5" when = "2023-08-18" @@ -113,6 +162,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows_x86_64_gnullvm]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.windows_x86_64_msvc]] version = "0.48.5" when = "2023-08-18" @@ -120,6 +176,13 @@ user-id = 64539 user-login = "kennykerr" user-name = "Kenny Kerr" +[[publisher.windows_x86_64_msvc]] +version = "0.52.0" +when = "2023-11-15" +user-id = 64539 +user-login = "kennykerr" +user-name = "Kenny Kerr" + [[publisher.zcash_address]] version = "0.3.0" when = "2023-06-06" @@ -146,14 +209,14 @@ user-login = "nuttycom" user-name = "Kris Nuttycombe" [[publisher.zcash_primitives]] -version = "0.13.0-rc.1" -when = "2023-09-08" +version = "0.13.0" +when = "2023-09-25" user-id = 6289 user-login = "str4d" [[publisher.zcash_proofs]] -version = "0.13.0-rc.1" -when = "2023-09-08" +version = "0.13.0" +when = "2023-09-25" user-id = 6289 user-login = "str4d" @@ -226,6 +289,12 @@ who = "Benjamin Bouvier " criteria = "safe-to-deploy" delta = "0.9.0 -> 0.10.2" +[[audits.bytecode-alliance.audits.cc]] +who = "Alex Crichton " +criteria = "safe-to-deploy" +version = "1.0.73" +notes = "I am the author of this crate." + [[audits.bytecode-alliance.audits.cfg-if]] who = "Alex Crichton " criteria = "safe-to-deploy" @@ -260,12 +329,6 @@ criteria = "safe-to-deploy" delta = "0.3.0 -> 0.3.1" notes = "Just a dependency version bump and a bug fix for redox" -[[audits.bytecode-alliance.audits.errno-dragonfly]] -who = "Jamey Sharp " -criteria = "safe-to-deploy" -version = "0.1.2" -notes = "This should be portable to any POSIX system and seems like it should be part of the libc crate, but at any rate it's safe as is." - [[audits.bytecode-alliance.audits.futures-channel]] who = "Pat Hickey " criteria = "safe-to-deploy" @@ -278,32 +341,17 @@ criteria = "safe-to-deploy" version = "0.3.27" notes = "Unsafe used to implement a concurrency primitive AtomicWaker. Well-commented and not obviously incorrect. Like my other audits of these concurrency primitives inside the futures family, I couldn't certify that it is correct without formal methods, but that is out of scope for this vetting." -[[audits.bytecode-alliance.audits.gimli]] -who = "Alex Crichton " -criteria = "safe-to-deploy" -delta = "0.27.0 -> 0.27.3" -notes = "More support for more DWARF, nothing major in this update. Some small refactorings and updates to publication of the package but otherwise everything's in order." - -[[audits.bytecode-alliance.audits.gimli]] -who = "Alex Crichton " -criteria = "safe-to-deploy" -delta = "0.27.3 -> 0.28.0" -notes = """ -Still looks like a good DWARF-parsing crate, nothing major was added or deleted -and no `unsafe` code to review here. -""" - [[audits.bytecode-alliance.audits.hashbrown]] who = "Chris Fallin " criteria = "safe-to-deploy" delta = "0.12.3 -> 0.13.1" notes = "The diff looks plausible. Much of it is low-level memory-layout code and I can't be 100% certain without a deeper dive into the implementation logic, but nothing looks actively malicious." -[[audits.bytecode-alliance.audits.hashbrown]] -who = "Trevor Elliott " +[[audits.bytecode-alliance.audits.http]] +who = "Alex Crichton " criteria = "safe-to-deploy" -delta = "0.13.1 -> 0.13.2" -notes = "I read through the diff between v0.13.1 and v0.13.2, and verified that the changes made matched up with the changelog entries. There were very few changes between these two releases, and it was easy to verify what they did." +delta = "0.2.9 -> 1.0.0" +notes = "Minor changes leading up to the 1.0.0 release and nothing fundamentally new here." [[audits.bytecode-alliance.audits.libm]] who = "Alex Crichton " @@ -329,12 +377,6 @@ who = "Pat Hickey " criteria = "safe-to-deploy" version = "0.1.0" -[[audits.bytecode-alliance.audits.memoffset]] -who = "Alex Crichton " -criteria = "safe-to-deploy" -delta = "0.7.1 -> 0.8.0" -notes = "This was a small update to the crate which has to do with Rust language features and compiler versions, no substantial changes." - [[audits.bytecode-alliance.audits.miniz_oxide]] who = "Alex Crichton " criteria = "safe-to-deploy" @@ -349,6 +391,12 @@ its own longevity should be relatively hardened against some of the more common compression-related issues. """ +[[audits.bytecode-alliance.audits.nu-ansi-term]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.46.0" +notes = "one use of unsafe to call windows specific api to get console handle." + [[audits.bytecode-alliance.audits.object]] who = "Jamey Sharp " criteria = "safe-to-deploy" @@ -370,6 +418,12 @@ criteria = "safe-to-deploy" delta = "0.31.1 -> 0.32.0" notes = "Various new features and refactorings as one would expect from an object parsing crate, all looks good." +[[audits.bytecode-alliance.audits.overload]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.1.1" +notes = "small crate, only defines macro-rules!, nicely documented as well" + [[audits.bytecode-alliance.audits.pin-utils]] who = "Pat Hickey " criteria = "safe-to-deploy" @@ -406,11 +460,23 @@ criteria = "safe-to-deploy" version = "1.0.17" notes = "plenty of unsafe pointer and vec tricks, but in well-structured and commented code that appears to be correct" +[[audits.bytecode-alliance.audits.sharded-slab]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.1.4" +notes = "I always really enjoy reading eliza's code, she left perfect comments at every use of unsafe." + [[audits.bytecode-alliance.audits.tempfile]] who = "Pat Hickey " criteria = "safe-to-deploy" delta = "3.3.0 -> 3.5.0" +[[audits.bytecode-alliance.audits.thread_local]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "1.1.4" +notes = "uses unsafe to implement thread local storage of objects" + [[audits.bytecode-alliance.audits.tinyvec]] who = "Alex Crichton " criteria = "safe-to-deploy" @@ -431,6 +497,11 @@ intended to multiplex across the internal representation of a tinyvec, presumably. This trivially doesn't contain anything bad. """ +[[audits.bytecode-alliance.audits.tracing-subscriber]] +who = "Pat Hickey " +criteria = "safe-to-deploy" +version = "0.3.17" + [[audits.bytecode-alliance.audits.try-lock]] who = "Pat Hickey " criteria = "safe-to-deploy" @@ -622,12 +693,33 @@ who = "Brandon Pitman " criteria = "safe-to-deploy" delta = "0.2.0 -> 0.2.1" +[[audits.isrg.audits.fiat-crypto]] +who = "Tim Geoghegan " +criteria = "safe-to-deploy" +delta = "0.2.1 -> 0.2.2" +notes = "No changes to `unsafe` code, or any functional changes that I can detect at all." + +[[audits.isrg.audits.fiat-crypto]] +who = "Brandon Pitman " +criteria = "safe-to-deploy" +delta = "0.2.2 -> 0.2.4" + +[[audits.isrg.audits.fiat-crypto]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "0.2.4 -> 0.2.5" + [[audits.isrg.audits.getrandom]] who = "Tim Geoghegan " criteria = "safe-to-deploy" delta = "0.2.9 -> 0.2.10" notes = "These changes include some new `unsafe` code for the `emscripten` and `psvita` targets, but all it does is call `libc::getentropy`." +[[audits.isrg.audits.getrandom]] +who = "Brandon Pitman " +criteria = "safe-to-deploy" +delta = "0.2.10 -> 0.2.11" + [[audits.isrg.audits.hmac]] who = "David Cook " criteria = "safe-to-deploy" @@ -643,6 +735,11 @@ who = "David Cook " criteria = "safe-to-deploy" delta = "0.2.15 -> 0.2.16" +[[audits.isrg.audits.num-traits]] +who = "Ameer Ghani " +criteria = "safe-to-deploy" +delta = "0.2.16 -> 0.2.17" + [[audits.isrg.audits.once_cell]] who = "Brandon Pitman " criteria = "safe-to-deploy" @@ -653,6 +750,11 @@ who = "David Cook " criteria = "safe-to-deploy" delta = "1.17.2 -> 1.18.0" +[[audits.isrg.audits.once_cell]] +who = "Brandon Pitman " +criteria = "safe-to-deploy" +delta = "1.18.0 -> 1.19.0" + [[audits.isrg.audits.opaque-debug]] who = "David Cook " criteria = "safe-to-deploy" @@ -673,11 +775,21 @@ who = "Brandon Pitman " criteria = "safe-to-deploy" delta = "1.6.1 -> 1.7.0" +[[audits.isrg.audits.rayon]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "1.7.0 -> 1.8.0" + [[audits.isrg.audits.rayon-core]] who = "Brandon Pitman " criteria = "safe-to-deploy" delta = "1.10.2 -> 1.11.0" +[[audits.isrg.audits.rayon-core]] +who = "David Cook " +criteria = "safe-to-deploy" +delta = "1.11.0 -> 1.12.0" + [[audits.isrg.audits.serde]] who = "David Cook " criteria = "safe-to-deploy" @@ -748,11 +860,6 @@ who = "Brandon Pitman " criteria = "safe-to-deploy" delta = "1.0.94 -> 1.0.95" -[[audits.isrg.audits.sha2]] -who = "David Cook " -criteria = "safe-to-deploy" -version = "0.10.2" - [[audits.isrg.audits.syn]] who = "Brandon Pitman " criteria = "safe-to-deploy" @@ -859,6 +966,13 @@ criteria = "safe-to-deploy" delta = "2.2.1 -> 2.3.2" aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" +[[audits.mozilla.audits.bitflags]] +who = "Jan-Erik Rediger " +criteria = "safe-to-deploy" +delta = "2.4.0 -> 2.4.1" +notes = "Only allowing new clippy lints" +aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml" + [[audits.mozilla.audits.block-buffer]] who = "Mike Hommey " criteria = "safe-to-deploy" @@ -871,6 +985,18 @@ criteria = "safe-to-deploy" delta = "1.2.1 -> 1.3.0" aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" +[[audits.mozilla.audits.cc]] +who = "Mike Hommey " +criteria = "safe-to-deploy" +delta = "1.0.73 -> 1.0.78" +aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" + +[[audits.mozilla.audits.cc]] +who = "Jan-Erik Rediger " +criteria = "safe-to-deploy" +delta = "1.0.78 -> 1.0.83" +aggregated-from = "https://raw.githubusercontent.com/mozilla/glean/main/supply-chain/audits.toml" + [[audits.mozilla.audits.crossbeam-channel]] who = "Jan-Erik Rediger " criteria = "safe-to-deploy" @@ -1002,12 +1128,6 @@ criteria = "safe-to-deploy" version = "0.4.1" aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" -[[audits.mozilla.audits.memoffset]] -who = "Gabriele Svelto " -criteria = "safe-to-deploy" -delta = "0.6.5 -> 0.7.1" -aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" - [[audits.mozilla.audits.nom]] who = "Mike Hommey " criteria = "safe-to-deploy" @@ -1269,12 +1389,6 @@ criteria = "safe-to-deploy" delta = "1.0.91 -> 1.0.93" aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" -[[audits.mozilla.audits.sha2]] -who = "Mike Hommey " -criteria = "safe-to-deploy" -delta = "0.10.2 -> 0.10.6" -aggregated-from = "https://hg.mozilla.org/mozilla-central/raw-file/tip/supply-chain/audits.toml" - [[audits.mozilla.audits.syn]] who = "Jan-Erik Rediger " criteria = "safe-to-deploy" diff --git a/depend/zcash/qa/zcash/postponed-updates.txt b/depend/zcash/qa/zcash/postponed-updates.txt index 1f5ec0f42..124f21dab 100644 --- a/depend/zcash/qa/zcash/postponed-updates.txt +++ b/depend/zcash/qa/zcash/postponed-updates.txt @@ -4,36 +4,54 @@ # bdb 18.1.40 2020-09-01 # +# Boost 1.84.0 causes gtests to fail on macOS. +boost 1.84.0 2024-02-01 +native_b2 1.84.0 2024-02-01 + # Clang and Rust are currently pinned to LLVM 15 -libcxx 15.0.7 2023-11-15 -libcxx 16.0.0 2023-11-15 -libcxx 16.0.1 2023-11-15 -libcxx 16.0.2 2023-11-15 -libcxx 16.0.2 2023-11-15 -libcxx 16.0.3 2023-11-15 -libcxx 16.0.4 2023-11-15 -libcxx 16.0.5 2023-11-15 -libcxx 16.0.6 2023-11-15 -libcxx 17.0.0 2023-11-15 -libcxx 17.0.1 2023-11-15 -native_clang 15.0.7 2023-11-15 -native_clang 16.0.0 2023-11-15 -native_clang 16.0.1 2023-11-15 -native_clang 16.0.2 2023-11-15 -native_clang 16.0.3 2023-11-15 -native_clang 16.0.4 2023-11-15 -native_clang 16.0.5 2023-11-15 -native_clang 16.0.6 2023-11-15 -native_clang 17.0.0 2023-11-15 -native_clang 17.0.1 2023-11-15 -native_rust 1.70.0 2023-11-15 -native_rust 1.71.0 2023-11-15 -native_rust 1.71.1 2023-11-15 -native_rust 1.72.0 2023-11-15 -native_rust 1.72.1 2023-11-15 +libcxx 15.0.7 2024-03-15 +libcxx 16.0.0 2024-03-15 +libcxx 16.0.1 2024-03-15 +libcxx 16.0.2 2024-03-15 +libcxx 16.0.2 2024-03-15 +libcxx 16.0.3 2024-03-15 +libcxx 16.0.4 2024-03-15 +libcxx 16.0.5 2024-03-15 +libcxx 16.0.6 2024-03-15 +libcxx 17.0.0 2024-03-15 +libcxx 17.0.1 2024-03-15 +libcxx 17.0.2 2024-03-15 +libcxx 17.0.3 2024-03-15 +libcxx 17.0.4 2024-03-15 +libcxx 17.0.5 2024-03-15 +libcxx 17.0.6 2024-03-15 +native_clang 15.0.7 2024-03-15 +native_clang 16.0.0 2024-03-15 +native_clang 16.0.1 2024-03-15 +native_clang 16.0.2 2024-03-15 +native_clang 16.0.3 2024-03-15 +native_clang 16.0.4 2024-03-15 +native_clang 16.0.5 2024-03-15 +native_clang 16.0.6 2024-03-15 +native_clang 17.0.0 2024-03-15 +native_clang 17.0.1 2024-03-15 +native_clang 17.0.2 2024-03-15 +native_clang 17.0.3 2024-03-15 +native_clang 17.0.4 2024-03-15 +native_clang 17.0.5 2024-03-15 +native_clang 17.0.6 2024-03-15 +native_rust 1.70.0 2024-03-15 +native_rust 1.71.0 2024-03-15 +native_rust 1.71.1 2024-03-15 +native_rust 1.72.0 2024-03-15 +native_rust 1.72.1 2024-03-15 +native_rust 1.73.0 2024-03-15 +native_rust 1.74.0 2024-03-15 +native_rust 1.74.1 2024-03-15 +native_rust 1.75.0 2024-03-15 # We follow upstream Bitcoin Core's LevelDB updates -leveldb 1.23 2023-11-15 +leveldb 1.23 2024-03-15 # We're never updating to this version -bdb 18.1.40 2024-03-01 +bdb 18.1.40 2025-03-01 diff --git a/depend/zcash/src/clientversion.h b/depend/zcash/src/clientversion.h index f36a614a4..6707795b0 100644 --- a/depend/zcash/src/clientversion.h +++ b/depend/zcash/src/clientversion.h @@ -16,7 +16,7 @@ //! These need to be macros, as clientversion.cpp's and bitcoin*-res.rc's voodoo requires it #define CLIENT_VERSION_MAJOR 5 -#define CLIENT_VERSION_MINOR 7 +#define CLIENT_VERSION_MINOR 8 #define CLIENT_VERSION_REVISION 0 #define CLIENT_VERSION_BUILD 50 diff --git a/depend/zcash/src/deprecation.h b/depend/zcash/src/deprecation.h index d0624e43e..c546092c3 100644 --- a/depend/zcash/src/deprecation.h +++ b/depend/zcash/src/deprecation.h @@ -13,7 +13,7 @@ // Per https://zips.z.cash/zip-0200 // Shut down nodes running this version of code, 16 weeks' worth of blocks after the estimated // release block height. A warning is shown during the 14 days' worth of blocks prior to shut down. -static const int APPROX_RELEASE_HEIGHT = 2243176; +static const int APPROX_RELEASE_HEIGHT = 2353176; static const int RELEASE_TO_DEPRECATION_WEEKS = 16; static const int EXPECTED_BLOCKS_PER_HOUR = 3600 / Consensus::POST_BLOSSOM_POW_TARGET_SPACING; static_assert(EXPECTED_BLOCKS_PER_HOUR == 48, "The value of Consensus::POST_BLOSSOM_POW_TARGET_SPACING was chosen such that this assertion holds.");