Skip to content

Commit

Permalink
chore: update protobuf deps
Browse files Browse the repository at this point in the history
  • Loading branch information
AlekSi authored and talos-bot committed Jun 26, 2021
1 parent 0846c64 commit 76979a1
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 34 deletions.
22 changes: 0 additions & 22 deletions protobuf/patches/musl-fix.patch

This file was deleted.

9 changes: 3 additions & 6 deletions protobuf/pkg.yaml
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
name: protobuf
dependencies:
- stage: base
- stage: patch
steps:
- sources:
- url: https://github.com/protocolbuffers/protobuf/releases/download/v3.15.6/protobuf-cpp-3.15.6.tar.gz
- url: https://github.com/protocolbuffers/protobuf/releases/download/v3.17.3/protobuf-cpp-3.17.3.tar.gz
destination: protobuf-cpp.tar.gz
sha256: bbdfb7455431d7d58666e8a2996d14b236718ff238eecde10646581e4c87f168
sha512: e41d687351ee7ad38e83e5e952ca53e44d8e8b02242ea6fcf218960e5409921ddd5ee0588dfcf9485b425d3711bb060d3f61129900b952fda368008e13cb3830
sha256: 51cec99f108b83422b7af1170afd7aeb2dd77d2bcbb7b6bad1f92509e9ccf8cb
sha512: efad397f5cdda6639d5e9980fe6eeadc1ef768bf1d96b1e528a1d7ba1d81ceb49e22cbd78d9b4ab3518236055140568342ff138204b4a47234fb2957a89d2db8
prepare:
- |
tar -xzf protobuf-cpp.tar.gz --strip-components=1
./configure \
--prefix="${TOOLCHAIN}" \
--disable-shared
patch -p0 < /pkg/patches/musl-fix.patch
build:
- |
make -j $(nproc)
Expand Down
6 changes: 3 additions & 3 deletions protoc-gen-go-grpc/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ dependencies:
- stage: golang
steps:
- sources:
- url: https://github.com/grpc/grpc-go/archive/v1.36.0.tar.gz
- url: https://github.com/grpc/grpc-go/archive/refs/tags/v1.38.0.tar.gz
destination: grpc-go.tar.gz
sha256: d460c8f379ff240f6169924ec399080351e4a03a0492fbb5a761f4e2d14d4fda
sha512: da566806154d6a79c8e2c06f44a6b3ee68b79e328df471ec6ef003c7a326667e299c3c545a6849c5b5d6a8d4b7ff6f9d59ae9243bfe0491ecdd77c4a95cbb453
sha256: fd6a2e2ae9e810670fdb63d196275ddb171e7f99f3bb801a02dde973de2f557b
sha512: 9657bfcc23ea3f98654dc2650b28a85d4ecf398151e0f0d83da67eff870e28b95599550f2090690e863ee306d9f72f60bba5c4c2bdd3db9683b8a50d056ed68d
prepare:
- |
tar -xzf grpc-go.tar.gz --strip-components=1
Expand Down
6 changes: 3 additions & 3 deletions protoc-gen-go/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ dependencies:
- stage: golang
steps:
- sources:
- url: https://github.com/protocolbuffers/protobuf-go/archive/v1.26.0.tar.gz
- url: https://github.com/protocolbuffers/protobuf-go/archive/refs/tags/v1.27.0.tar.gz
destination: protobuf-go.tar.gz
sha256: 26218474bcf776ecf32d7d194c6bfaca8e7b4f0c087e5b595fd50fbb31409676
sha512: 18d3392fae131014e95961cc7490c8a4f0e0a7d95a18f0a469a9f2b119a1b89bf1952881950129e2b96ea4096b220ff8a3250736ca6efd5eca004f56db861844
sha256: 5a928abfdcc7972e92738e7af2b8d1a41f4b2b7511d5b4f4f5b1ce3705668f45
sha512: 8d7a01c9183d1e0512378803d8100e291e99ba3b1a7a2fdc82fd9bea5738a009c252539eeaf0656d7ca25e41c5fd4ec6c68bfb3e8801160d4f254feba627ae42
prepare:
- |
tar -xzf protobuf-go.tar.gz --strip-components=1
Expand Down

0 comments on commit 76979a1

Please sign in to comment.