From nobody Sat Apr 16 04:24:15 2022 X-Original-To: dev-commits-ports-main@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 8C6ED7CDC8C; Sat, 16 Apr 2022 04:24:18 +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 4KgKpS3lXRz3NZN; Sat, 16 Apr 2022 04:24:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083057; 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=eJ8GdaqDCUFuO6UqLbyCy/zS2Zay/OyJ5C0yVI8/OTU=; b=aCvsBMxL0lT8qQNEB8k74BRAY2yma19XCFNfVep0O0rkTKHudD1PgI02JvBwyjra0psHzM gcPMn6+Twj7jU35ZHgPc1UO9btSrL97INXCrfkEYZ7QzNOXJDs1bC9azTrhStbOmtNeSMH Q4Ma5CAGaUQeonReelbSahS1HrvCXJZe0lyFu1wmzOJ7uDckY1myyaLz3zgzoqjPXjjp5W sqYjUa3MO7Ccrvf8AKW/kgnF7Szvj6y3qf4di4C1Kjx2zWxWIi9Bdf3J5BcwhnqEOGfM21 ALMePXEONX549w6qwm1ydCwhH+JTznu43uhweuz3blR4hort33TlOKvO/hJTNA== 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 4A40C22D73; Sat, 16 Apr 2022 04:24:15 +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 23G4OF21007200; Sat, 16 Apr 2022 04:24:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4OF3A007199; Sat, 16 Apr 2022 04:24:15 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:24:15 GMT Message-Id: <202204160424.23G4OF3A007199@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: 8051b84838dd - main - net/rubygem-grpc: Update to 1.45.0 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 8051b84838dde1fb5b5f784f2fcad87b994ad1bf Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650083057; 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=eJ8GdaqDCUFuO6UqLbyCy/zS2Zay/OyJ5C0yVI8/OTU=; b=lk47ax6pH38dI6yqw1c6eLAMDly4hrbNP0E2r0tHHnUo0eVpcKh42nSfRo5pjr1s0TRLWc UoIZokXJVupNuZK2l5Tu3tSERwqhH00IukPiFQ+R+LTjiPmoiM1ccjCZWS7HND6J6wWYAp TivagTB6Bf83rLhD0Fp18lyhq2r5pLGVUOK/bRnbeDyPelcQDJ61ekiVTJcdGhSieNeynt T9lnJqPSGh48B3+BlfqZAhIxlK52E+j3cs5T4HK33ILcuEGM46t2mJ/PShEEhKA0Q2Mlx9 II5EV7Rv7DvUXGDLh0IlQyWOnsWpzOSokFKd6j9IfAe4hFi2YDfxPYaUtUQ21g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650083057; a=rsa-sha256; cv=none; b=vxp7i1rTvrG/eprb7b9VreNgFL0v9u5rJXPIM/u4G5FYo2vpEQuF91fL0f7NXqOerIfeY/ 7iwn1pBUPUZ33G71Guz9NyoMvLrqkofR5R9xJkVgIqHH025qZNF02EGO4HaJ0hyjkoz0oo 12yuSOCtskVSGsvrpz73xHUi6ISzMlVpk1AMPPZIn98zMlu2iA7wzE6nvGi4WxUqc393dj DHgoVX81qI0+buTP7lZX9ZhKXBa6ptwJKUlL1F0Wi6LTi8F5cbuNZDY6QGPVW4oik2Z0eL G1wDQZrbVjOdHOtkTgg78XwZmG3g+xPHJQsCPkvWxc/vyzqu9c1oJErFBYTuxQ== 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=8051b84838dde1fb5b5f784f2fcad87b994ad1bf commit 8051b84838dde1fb5b5f784f2fcad87b994ad1bf Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 04:00:27 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:40 +0000 net/rubygem-grpc: Update to 1.45.0 Changes: https://github.com/grpc/grpc/releases https://github.com/grpc/grpc/commits/master/src/ruby --- net/rubygem-grpc/Makefile | 5 ++--- net/rubygem-grpc/distinfo | 6 ++--- .../files/patch-src_ruby_ext_grpc_extconf.rb | 26 +++++++++++++++++----- 3 files changed, 25 insertions(+), 12 deletions(-) diff --git a/net/rubygem-grpc/Makefile b/net/rubygem-grpc/Makefile index 4e525b90b978..76bfbce27cb1 100644 --- a/net/rubygem-grpc/Makefile +++ b/net/rubygem-grpc/Makefile @@ -1,6 +1,5 @@ PORTNAME= grpc -PORTVERSION= 1.43.1 -PORTREVISION= 2 +PORTVERSION= 1.45.0 CATEGORIES= net rubygems MASTER_SITES= RG @@ -12,7 +11,7 @@ LICENSE= BSD3CLAUSE LIB_DEPENDS= libcares.so:dns/c-ares \ libgrpc.so:devel/grpc RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ - rubygem-google-protobuf>=3.18<4:devel/rubygem-google-protobuf \ + rubygem-google-protobuf>=3.19<4:devel/rubygem-google-protobuf \ rubygem-googleapis-common-protos-types>=1.0<2:devel/rubygem-googleapis-common-protos-types USES= cpe gem gmake pkgconfig diff --git a/net/rubygem-grpc/distinfo b/net/rubygem-grpc/distinfo index 67941e8f3128..2b5c83311041 100644 --- a/net/rubygem-grpc/distinfo +++ b/net/rubygem-grpc/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1643382630 -SHA256 (rubygem/grpc-1.43.1.gem) = 0abc081ae0ad2fa42689c6e2139f15f089d78d2e37b2a9e5055cab76c1c4dc87 -SIZE (rubygem/grpc-1.43.1.gem) = 5084672 +TIMESTAMP = 1649423952 +SHA256 (rubygem/grpc-1.45.0.gem) = 83e9ccf014d2b78ab372be19fb82617691c79cc4c9fc46fc5da272a6ce69f01e +SIZE (rubygem/grpc-1.45.0.gem) = 5291008 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 868b2f64b09a..74acc4494991 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,4 +1,4 @@ ---- src/ruby/ext/grpc/extconf.rb.orig 2021-12-04 03:53:02 UTC +--- src/ruby/ext/grpc/extconf.rb.orig 2022-04-11 16:34:02 UTC +++ src/ruby/ext/grpc/extconf.rb @@ -45,9 +45,9 @@ if darwin && !cross_compiling ENV['ARFLAGS'] = '-o' @@ -13,24 +13,38 @@ ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG'] if darwin && !cross_compiling -@@ -66,22 +66,23 @@ output_dir = File.expand_path(RbConfig::CONFIG['topdir +@@ -66,29 +66,30 @@ output_dir = File.expand_path(RbConfig::CONFIG['topdir grpc_lib_dir = File.join(output_dir, 'libs', grpc_config) ENV['BUILDDIR'] = output_dir -unless windows - puts 'Building internal gRPC into ' + grpc_lib_dir - nproc = 4 -- nproc = Etc.nprocessors * 2 if Etc.respond_to? :nprocessors +- 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' -- system("#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=") +- 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 +#unless windows +# puts 'Building internal gRPC into ' + grpc_lib_dir +# nproc = 4 -+# nproc = Etc.nprocessors * 2 if Etc.respond_to? :nprocessors ++# 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' -+# system("#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=") ++# 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