From nobody Tue Dec 21 19:50:33 2021 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 8BBA319092EA; Tue, 21 Dec 2021 19:50:41 +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 4JJRrs4475z542W; Tue, 21 Dec 2021 19:50:37 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 0EE507E85; Tue, 21 Dec 2021 19:50:34 +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 1BLJoXnR046746; Tue, 21 Dec 2021 19:50:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BLJoXhp046745; Tue, 21 Dec 2021 19:50:33 GMT (envelope-from git) Date: Tue, 21 Dec 2021 19:50:33 GMT Message-Id: <202112211950.1BLJoXhp046745@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: bc076f1f490f - main - net/rubygem-grpc124: Remove obsoleted port 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: bc076f1f490f48d0597acaca178ee378959b8f55 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1640116238; 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=nDDk96pfRnOwn4sEKHdWwZcb2FSR7aJy5JXQYV5bYPg=; b=XGV3QUH7eN8wz1qDHYtWkxnCHe/zk6bwc4iA235rVkIqT4MUmeWu8WVyv9h9tdUEuEWDKm UmunWbbliGPwyYptGTLInuwszA2o78y8HClICPusrsOiIS1AP4VEJRw0PepPYCkJKlK4Nb H0sj+nrtFHCkdwLPAy06kky/GpuZ1lXK6WWB8/vMbPYJNt2ETPKnVSkHE7Ks9vl+vbdsOs BPqOuAiUyHCnh/OtMPcc9+RSnfAhmtDKVIVbBU1llGNYHGKHyst/D/uHQhYY2pRUzuvgGj Qzavt/oX+tq6XX+vVHdiKKtEzdxuc0voQUTFGNvHRFZV7L/DGNeL/R+NrDQkuQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1640116238; a=rsa-sha256; cv=none; b=wMxHbO59IVctGwwF/IRZhcZxztvSFY09X6Eosg+s+PNDfK2ab0VpFyOdKKEtt84GVeduZs PJ1oN0MEHsqFlo+rYtozLGvvvLBXq+RZYCVbuAbuX4QmemNDI+NkZhrPmF9VRoCmmf+oAx RxqXlD30LF6vFz9D1WAjDq7CYptPv9AJZdCfecKzlDM+fXGv2fdXMXsDjsH6Z13CxQ7FEP e+9jBhdwce4U8JW/sKifcCcXRXxn6SYjI7z/ARgUxBdaTPzjdBszxzwi9UDsOvg0IEc8nn urk93U2Ceh53+MKZSk0w7HGf74mk1DhAV31JNdbiYunPD8cWw6swvmFXcoGwpQ== 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=bc076f1f490f48d0597acaca178ee378959b8f55 commit bc076f1f490f48d0597acaca178ee378959b8f55 Author: Po-Chuan Hsieh AuthorDate: 2021-12-21 19:27:37 +0000 Commit: Po-Chuan Hsieh CommitDate: 2021-12-21 19:27:37 +0000 net/rubygem-grpc124: Remove obsoleted port Use net/rubygem-grpc instead. --- net/rubygem-grpc124/Makefile | 35 --------------- net/rubygem-grpc124/distinfo | 3 -- .../files/patch-src_ruby_ext_grpc_extconf.rb | 51 ---------------------- ...patch-src_ruby_ext_grpc_rb__call__credentials.c | 13 ------ .../files/patch-src_ruby_lib_grpc.rb | 11 ----- net/rubygem-grpc124/pkg-descr | 3 -- 6 files changed, 116 deletions(-) diff --git a/net/rubygem-grpc124/Makefile b/net/rubygem-grpc124/Makefile deleted file mode 100644 index 6c05ea5451d9..000000000000 --- a/net/rubygem-grpc124/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -PORTNAME= grpc -PORTVERSION= 1.24.0 -PORTREVISION= 6 -CATEGORIES= net rubygems -MASTER_SITES= RG -PKGNAMESUFFIX= 124 - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Ruby implementation of gRPC - -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-protobuf38>=3.8<4:devel/rubygem-google-protobuf38 \ - rubygem-googleapis-common-protos-types104>=1.0<2:devel/rubygem-googleapis-common-protos-types104 - -USES= gem gmake pkgconfig -USE_RUBY= yes - -MAKE_JOBS_UNSAFE= yes - -PORTSCOUT= limit:^1\.24\. - -post-extract: - @${RM} ${WRKSRC}/Makefile ${WRKSRC}/.yardopts - @${RM} -r ${WRKSRC}/etc ${WRKSRC}/include ${WRKSRC}/third_party ${WRKSRC}/src/boringssl ${WRKSRC}/src/core - -post-patch: - @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/src/ruby/lib/grpc.rb - @${REINPLACE_CMD} -Ee '/s\.files = /s;, "(Makefile|etc|include|third_party|src/boringssl|src/core)[^"]*"\.freeze;;g' ${WRKSRC}/${GEMSPEC} - @${REINPLACE_CMD} -e '/s\.files = /s|"\.yardopts"\.freeze, ||' ${WRKSRC}/${GEMSPEC} - -.include diff --git a/net/rubygem-grpc124/distinfo b/net/rubygem-grpc124/distinfo deleted file mode 100644 index 543bfcc09273..000000000000 --- a/net/rubygem-grpc124/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1571503064 -SHA256 (rubygem/grpc-1.24.0.gem) = eed268d73e455ed82df7e9a76a9575d11d3c1c139a95a227254b9286939c91a3 -SIZE (rubygem/grpc-1.24.0.gem) = 3264000 diff --git a/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_extconf.rb b/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_extconf.rb deleted file mode 100644 index a2b822905592..000000000000 --- a/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_extconf.rb +++ /dev/null @@ -1,51 +0,0 @@ ---- src/ruby/ext/grpc/extconf.rb.orig 2019-10-19 19:28:47 UTC -+++ src/ruby/ext/grpc/extconf.rb -@@ -39,9 +39,9 @@ end - - ENV['AR'] = 'libtool -o' if RUBY_PLATFORM =~ /darwin/ - --ENV['EMBED_OPENSSL'] = 'true' --ENV['EMBED_ZLIB'] = 'true' --ENV['EMBED_CARES'] = 'true' -+ENV['EMBED_OPENSSL'] = 'false' -+ENV['EMBED_ZLIB'] = 'false' -+ENV['EMBED_CARES'] = 'false' - ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG'] - ENV['ARCH_FLAGS'] = '-arch i386 -arch x86_64' if RUBY_PLATFORM =~ /darwin/ - ENV['CPPFLAGS'] = '-DGPR_BACKWARDS_COMPATIBILITY_MODE' -@@ -50,22 +50,23 @@ output_dir = File.expand_path(RbConfig:: - 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 -- make = bsd ? 'gmake' : 'make' -- system("#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=") -- 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 -+# make = bsd ? 'gmake' : 'make' -+# system("#{make} -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=") -+# 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') --$LDFLAGS << ' -Wl,--version-script="' + ext_export_file + '.gcc"' if RUBY_PLATFORM =~ /linux/ --$LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if RUBY_PLATFORM =~ /darwin/ -+#$LDFLAGS << ' -Wl,--version-script="' + ext_export_file + '.gcc"' if RUBY_PLATFORM =~ /linux/ -+#$LDFLAGS << ' -Wl,-exported_symbols_list,"' + ext_export_file + '.clang"' if RUBY_PLATFORM =~ /darwin/ -+$LDFLAGS << ' -lgrpc' unless windows - --$LDFLAGS << ' ' + File.join(grpc_lib_dir, 'libgrpc.a') unless windows -+#$LDFLAGS << ' ' + File.join(grpc_lib_dir, 'libgrpc.a') unless windows - if grpc_config == 'gcov' - $CFLAGS << ' -O0 -fprofile-arcs -ftest-coverage' - $LDFLAGS << ' -fprofile-arcs -ftest-coverage -rdynamic' diff --git a/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_rb__call__credentials.c b/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_rb__call__credentials.c deleted file mode 100644 index d94ffc31f0af..000000000000 --- a/net/rubygem-grpc124/files/patch-src_ruby_ext_grpc_rb__call__credentials.c +++ /dev/null @@ -1,13 +0,0 @@ -Reference: https://github.com/grpc/grpc/commit/2b200d2313e739fa1841edf3ea86ab8532862505 - ---- src/ruby/ext/grpc/rb_call_credentials.c.orig 2020-04-14 03:10:13 UTC -+++ src/ruby/ext/grpc/rb_call_credentials.c -@@ -229,7 +229,7 @@ static VALUE grpc_rb_call_credentials_init(VALUE self, - plugin.state = (void*)proc; - plugin.type = ""; - -- creds = grpc_metadata_credentials_create_from_plugin(plugin, NULL); -+ creds = grpc_metadata_credentials_create_from_plugin(plugin, GRPC_PRIVACY_AND_INTEGRITY, NULL); - if (creds == NULL) { - rb_raise(rb_eRuntimeError, "could not create a credentials, not sure why"); - return Qnil; diff --git a/net/rubygem-grpc124/files/patch-src_ruby_lib_grpc.rb b/net/rubygem-grpc124/files/patch-src_ruby_lib_grpc.rb deleted file mode 100644 index b55c2dcbebc7..000000000000 --- a/net/rubygem-grpc124/files/patch-src_ruby_lib_grpc.rb +++ /dev/null @@ -1,11 +0,0 @@ ---- src/ruby/lib/grpc.rb.orig 2019-10-19 19:28:47 UTC -+++ src/ruby/lib/grpc.rb -@@ -12,7 +12,7 @@ - # See the License for the specific language governing permissions and - # limitations under the License. - --ssl_roots_path = File.expand_path('../../../../etc/roots.pem', __FILE__) -+ssl_roots_path = '%%LOCALBASE%%/etc/ssl/cert.pem' - - require_relative 'grpc/errors' - require_relative 'grpc/structs' diff --git a/net/rubygem-grpc124/pkg-descr b/net/rubygem-grpc124/pkg-descr deleted file mode 100644 index a0a2df00d53f..000000000000 --- a/net/rubygem-grpc124/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -A Ruby implementation of gRPC. - -WWW: https://github.com/grpc/grpc/tree/master/src/ruby