Skip to content

Commit

Permalink
net/rubygem-grpc: Update to 1.63.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sunpoet committed May 19, 2024
1 parent 20ee288 commit bb6d604
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 13 deletions.
5 changes: 2 additions & 3 deletions net/rubygem-grpc/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
PORTNAME= grpc
PORTVERSION= 1.62.0
PORTVERSION= 1.63.0
CATEGORIES= net rubygems
MASTER_SITES= RG

Expand All @@ -9,8 +9,7 @@ WWW= https://github.com/grpc/grpc/tree/master/src/ruby

LICENSE= BSD3CLAUSE

LIB_DEPENDS= libcares.so:dns/c-ares \
libgrpc.so:devel/grpc
LIB_DEPENDS= libgrpc.so:devel/grpc
RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \
rubygem-google-protobuf>=3.25<4:devel/rubygem-google-protobuf \
rubygem-googleapis-common-protos-types>=1.0<2:devel/rubygem-googleapis-common-protos-types
Expand Down
6 changes: 3 additions & 3 deletions net/rubygem-grpc/distinfo
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
TIMESTAMP = 1709390974
SHA256 (rubygem/grpc-1.62.0.gem) = f624d44ce89764ed61bd0d8c585bd6d7ec4b75ad421bdc7b370f09f101f6e80f
SIZE (rubygem/grpc-1.62.0.gem) = 6573056
TIMESTAMP = 1715843764
SHA256 (rubygem/grpc-1.63.0.gem) = 5f4383c4ee2886e92c31b90422261b7527f26e3baa585d877e9804e715983686
SIZE (rubygem/grpc-1.63.0.gem) = 6638080
11 changes: 4 additions & 7 deletions net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
--- src/ruby/ext/grpc/extconf.rb.orig 2023-12-08 17:22:30 UTC
--- src/ruby/ext/grpc/extconf.rb.orig 2024-05-18 09:15:48 UTC
+++ src/ruby/ext/grpc/extconf.rb
@@ -96,11 +96,11 @@ if apple_toolchain && !cross_compiling
@@ -96,9 +96,9 @@ end
end

# Don't embed on TruffleRuby (constant-time crypto is unsafe with Sulong, slow build times)
Expand All @@ -10,12 +10,9 @@
-ENV['EMBED_ZLIB'] = (RUBY_ENGINE != 'truffleruby').to_s
+ENV['EMBED_ZLIB'] = 'false'

-ENV['EMBED_CARES'] = 'true'
+ENV['EMBED_CARES'] = 'false'

ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG']
if apple_toolchain && !cross_compiling
@@ -125,30 +125,10 @@ ENV['BUILDDIR'] = output_dir
@@ -122,30 +122,10 @@ strip_tool += ' -x' if apple_toolchain
strip_tool = RbConfig::CONFIG['STRIP']
strip_tool += ' -x' if apple_toolchain

Expand Down Expand Up @@ -46,7 +43,7 @@
def have_ruby_abi_version()
return true if RUBY_ENGINE == 'truffleruby'
# ruby_abi_version is only available in development versions: https://github.com/ruby/ruby/pull/6231
@@ -177,13 +157,12 @@ def ext_export_filename()
@@ -174,13 +154,12 @@ ext_export_file = File.join(grpc_root, 'src', 'ruby',
end

ext_export_file = File.join(grpc_root, 'src', 'ruby', 'ext', 'grpc', ext_export_filename())
Expand Down

0 comments on commit bb6d604

Please sign in to comment.