From nobody Sat Aug 27 10:33:14 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MFChq1CvCz4b5LX; Sat, 27 Aug 2022 10:33:15 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MFChp50hKz49Tx; Sat, 27 Aug 2022 10:33:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qWAfPdiIiTHMJRekle9lb33QwkqRRiMsvA8y8rVVzLo=; b=ZGGpEKPiRTE+yecrG0lFw21xh9pvlm0lc+rV7LQlnOBcP9eXjkjBWqVSRoVEdcbJUO5KoO TNCYhIKHrIyXH5rUcyLnzmGbqQa/waHyjNsbDkYGjI8KJcPOBdmhAa42Wyu/6nCpiiTm8F 79K9yDxJRIsYp1lOpgUMZn+V7cf6YxVynmYDtsP2XP41cmFaAUkO8uuhcz3W/ot+P5HO1t aJnKefCN6a31hRKj7hUMbAFRNKegsfHtfk1QP350NM+a59TvknD/071wk68tOcrNXRS+h8 eIxAafoSxtxkMitKs3kvgoaKJ3rAbWKMpXlT895/OsOnCfKxi0qSGYV6L67LiA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MFChp45zRzk79; Sat, 27 Aug 2022 10:33:14 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27RAXEfm053056; Sat, 27 Aug 2022 10:33:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27RAXExi053055; Sat, 27 Aug 2022 10:33:14 GMT (envelope-from git) Date: Sat, 27 Aug 2022 10:33:14 GMT Message-Id: <202208271033.27RAXExi053055@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: 404e70248927 - main - net/rubygem-grpc: Update to 1.48.0 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 404e702489272b4003a340a7189fc27537788182 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661596394; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=qWAfPdiIiTHMJRekle9lb33QwkqRRiMsvA8y8rVVzLo=; b=JnZZ2FhaPrxFmQuXlZGDahEtcnjykItAVD09svcig7UfBhgOFgczMfqkqba25L3yK34sOj 4fdawYhh7NtjS24CP8StQeFI+BH1JFb6cnqAHzqlJutadNytw8zcDXCKHYXyGzKhU2CdoN NSKxnPf6XBLjwkYpLcexYgFMtIov7YaH4u401rbLfrzRSakU6xHUKcczqE+H/ECZd3nICZ JG7wWYMd2A71Av4DjEezNpcLzqG29J+cyQsFqEAfOtQM851LjErMB3IHGjUZMDOvuuQr/i Qyz6ZK8Ftcqx9ju74Cth0ifjSsBZ6rUl9TKPA+rKgb5RDMP9z/a3eYV3yYvDhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661596394; a=rsa-sha256; cv=none; b=GgFzuPNGD2vEQmc3MqTMe32gz96HR5aoJO4px9pJ2cTkSapweF9QxQnWwq3q3PnbZJuusc ZF/WlCbf/s+I+6zXU9WXGYD9vUk4hM61IWk6na5IdrYgrcEm1hB2i/7llS0QIKTKM23cu0 ILtHIirfH7aNH0Cnu1tokfeQcO+cXW2IF7UrB/MadJYfjO7NDBESKNOXRtGL80NBzotXBc aE/yeNAyUjUvyUUdyNYidvORs8mzeGHEOgdlLv7vA8aqnCdQpEImTSXmcvHQKp+8nFD8uF OCIrZNaSXFYKCafKOjNOPEcgnWezARLBRK9NXKrjD3bUX5e4kWq6fR5jN8KCNQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=404e702489272b4003a340a7189fc27537788182 commit 404e702489272b4003a340a7189fc27537788182 Author: Po-Chuan Hsieh AuthorDate: 2022-08-27 10:25:35 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-08-27 10:25:35 +0000 net/rubygem-grpc: Update to 1.48.0 Changes: https://github.com/grpc/grpc/releases https://github.com/grpc/grpc/commits/master/src/ruby --- net/rubygem-grpc/Makefile | 2 +- net/rubygem-grpc/distinfo | 6 +-- .../files/patch-src_ruby_ext_grpc_extconf.rb | 44 +++++++--------------- 3 files changed, 18 insertions(+), 34 deletions(-) diff --git a/net/rubygem-grpc/Makefile b/net/rubygem-grpc/Makefile index 261d8ecc2a1c..4dfd001d01da 100644 --- a/net/rubygem-grpc/Makefile +++ b/net/rubygem-grpc/Makefile @@ -1,5 +1,5 @@ PORTNAME= grpc -PORTVERSION= 1.47.0 +PORTVERSION= 1.48.0 CATEGORIES= net rubygems MASTER_SITES= RG diff --git a/net/rubygem-grpc/distinfo b/net/rubygem-grpc/distinfo index cae577673fde..c180ef412773 100644 --- a/net/rubygem-grpc/distinfo +++ b/net/rubygem-grpc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1657634046 -SHA256 (rubygem/grpc-1.47.0.gem) = 95a6d589ed8ef4cdc1a2ac7aa7c91401b5e593d8fcfa477f6f9d3a3219b591ee -SIZE (rubygem/grpc-1.47.0.gem) = 5599232 +TIMESTAMP = 1660576896 +SHA256 (rubygem/grpc-1.48.0.gem) = e82889a676e19cfc2b08883694d97c05666e318d355e7398d7dbf686060f42a5 +SIZE (rubygem/grpc-1.48.0.gem) = 5637120 diff --git a/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb b/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb index 74acc4494991..e9c3881e6c81 100644 --- a/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb +++ b/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb @@ -1,19 +1,21 @@ ---- src/ruby/ext/grpc/extconf.rb.orig 2022-04-11 16:34:02 UTC +--- src/ruby/ext/grpc/extconf.rb.orig 2022-07-30 16:45:00 UTC +++ src/ruby/ext/grpc/extconf.rb -@@ -45,9 +45,9 @@ if darwin && !cross_compiling - ENV['ARFLAGS'] = '-o' +@@ -68,11 +68,11 @@ if apple_toolchain && !cross_compiling end --ENV['EMBED_OPENSSL'] = 'true' --ENV['EMBED_ZLIB'] = 'true' --ENV['EMBED_CARES'] = 'true' + # Don't embed on TruffleRuby (constant-time crypto is unsafe with Sulong, slow build times) +-ENV['EMBED_OPENSSL'] = (RUBY_ENGINE != 'truffleruby').to_s +ENV['EMBED_OPENSSL'] = 'false' + # Don't embed on TruffleRuby (the system zlib is already linked for the zlib C extension, slow build times) +-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 darwin && !cross_compiling -@@ -66,29 +66,30 @@ output_dir = File.expand_path(RbConfig::CONFIG['topdir + if apple_toolchain && !cross_compiling +@@ -93,30 +93,10 @@ output_dir = File.expand_path(RbConfig::CONFIG['topdir grpc_lib_dir = File.join(output_dir, 'libs', grpc_config) ENV['BUILDDIR'] = output_dir @@ -32,33 +34,15 @@ - system(cmd) - exit 1 unless $? == 0 -end -+#unless windows -+# puts 'Building internal gRPC into ' + grpc_lib_dir -+# nproc = 4 -+# nproc = Etc.nprocessors if Etc.respond_to? :nprocessors -+# nproc_override = ENV['GRPC_RUBY_BUILD_PROCS'] -+# unless nproc_override.nil? or nproc_override.size == 0 -+# nproc = nproc_override -+# puts "Overriding make parallelism to #{nproc}" -+# end -+# make = bsd ? 'gmake' : 'make' -+# cmd = "#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=" -+# puts "Building grpc native library: #{cmd}" -+# system(cmd) -+# exit 1 unless $? == 0 -+#end - +- -$CFLAGS << ' -I' + File.join(grpc_root, 'include') -+#$CFLAGS << ' -I' + File.join(grpc_root, 'include') - +- ext_export_file = File.join(grpc_root, 'src', 'ruby', 'ext', 'grpc', 'ext-export') + ext_export_file += '-truffleruby' if RUBY_ENGINE == 'truffleruby' -$LDFLAGS << ' -Wl,--version-script="' + ext_export_file + '.gcc"' if linux --$LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if darwin -+#$LDFLAGS << ' -Wl,--version-script="' + ext_export_file + '.gcc"' if linux -+#$LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if darwin +-$LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if apple_toolchain -$LDFLAGS << ' ' + File.join(grpc_lib_dir, 'libgrpc.a') unless windows -+#$LDFLAGS << ' ' + File.join(grpc_lib_dir, 'libgrpc.a') unless windows +$LDFLAGS << ' -lgrpc' unless windows if grpc_config == 'gcov' $CFLAGS << ' -O0 -fprofile-arcs -ftest-coverage'