git: 7a0fdd7b6d9a - main - net/rubygem-grpc130: Remove obsoleted port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Dec 2021 19:50:35 UTC
The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a0fdd7b6d9a4747b93ad550f29ece0f67936aff commit 7a0fdd7b6d9a4747b93ad550f29ece0f67936aff Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org> AuthorDate: 2021-12-21 19:27:48 +0000 Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org> CommitDate: 2021-12-21 19:27:48 +0000 net/rubygem-grpc130: Remove obsoleted port Use net/rubygem-grpc instead. --- net/rubygem-grpc130/Makefile | 35 --------------- net/rubygem-grpc130/distinfo | 3 -- net/rubygem-grpc130/files/patch-grpc.gemspec | 11 ----- .../files/patch-src_ruby_ext_grpc_extconf.rb | 51 ---------------------- .../files/patch-src_ruby_lib_grpc.rb | 11 ----- net/rubygem-grpc130/pkg-descr | 3 -- 6 files changed, 114 deletions(-) diff --git a/net/rubygem-grpc130/Makefile b/net/rubygem-grpc130/Makefile deleted file mode 100644 index 94833713bfdf..000000000000 --- a/net/rubygem-grpc130/Makefile +++ /dev/null @@ -1,35 +0,0 @@ -PORTNAME= grpc -PORTVERSION= 1.30.2 -PORTREVISION= 4 -CATEGORIES= net rubygems -MASTER_SITES= RG -PKGNAMESUFFIX= 130 - -MAINTAINER= sunpoet@FreeBSD.org -COMMENT= Ruby implementation of gRPC - -LICENSE= BSD3CLAUSE - -LIB_DEPENDS= libcares.so:dns/c-ares \ - libgrpc.so:devel/grpc130 -RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ - rubygem-google-protobuf317>=3.12<4:devel/rubygem-google-protobuf317 \ - rubygem-googleapis-common-protos-types>=1.0<2:devel/rubygem-googleapis-common-protos-types - -USES= gem gmake pkgconfig -USE_RUBY= yes - -MAKE_JOBS_UNSAFE= yes - -PORTSCOUT= limit:^1\.30\. - -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 <bsd.port.mk> diff --git a/net/rubygem-grpc130/distinfo b/net/rubygem-grpc130/distinfo deleted file mode 100644 index 57f242c2df39..000000000000 --- a/net/rubygem-grpc130/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -TIMESTAMP = 1596962194 -SHA256 (rubygem/grpc-1.30.2.gem) = 85fa136f37dd9ee06e0e4ba73d09bd59d83b10a7fb38178b21f684a78ea34fe7 -SIZE (rubygem/grpc-1.30.2.gem) = 3876864 diff --git a/net/rubygem-grpc130/files/patch-grpc.gemspec b/net/rubygem-grpc130/files/patch-grpc.gemspec deleted file mode 100644 index c99066a28411..000000000000 --- a/net/rubygem-grpc130/files/patch-grpc.gemspec +++ /dev/null @@ -1,11 +0,0 @@ ---- grpc.gemspec.orig 2021-03-08 12:38:28.274882000 +0100 -+++ grpc.gemspec 2021-03-08 12:38:46.022872000 +0100 -@@ -26,7 +26,7 @@ Gem::Specification.new do |s| - s.specification_version = 4 - - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then -- s.add_runtime_dependency(%q<google-protobuf>.freeze, ["~> 3.12"]) -+ s.add_runtime_dependency(%q<google-protobuf>.freeze, ["~> 3.17.3"]) - s.add_runtime_dependency(%q<googleapis-common-protos-types>.freeze, ["~> 1.0"]) - s.add_development_dependency(%q<bundler>.freeze, [">= 1.9"]) - s.add_development_dependency(%q<facter>.freeze, ["~> 2.4"]) diff --git a/net/rubygem-grpc130/files/patch-src_ruby_ext_grpc_extconf.rb b/net/rubygem-grpc130/files/patch-src_ruby_ext_grpc_extconf.rb deleted file mode 100644 index 1c9f7cb9dbe2..000000000000 --- a/net/rubygem-grpc130/files/patch-src_ruby_ext_grpc_extconf.rb +++ /dev/null @@ -1,51 +0,0 @@ ---- src/ruby/ext/grpc/extconf.rb.orig 2019-11-22 13:44:33 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::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 -- 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-grpc130/files/patch-src_ruby_lib_grpc.rb b/net/rubygem-grpc130/files/patch-src_ruby_lib_grpc.rb deleted file mode 100644 index 2671a57a57f4..000000000000 --- a/net/rubygem-grpc130/files/patch-src_ruby_lib_grpc.rb +++ /dev/null @@ -1,11 +0,0 @@ ---- src/ruby/lib/grpc.rb.orig 2020-09-23 17:48:57 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-grpc130/pkg-descr b/net/rubygem-grpc130/pkg-descr deleted file mode 100644 index a0a2df00d53f..000000000000 --- a/net/rubygem-grpc130/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -A Ruby implementation of gRPC. - -WWW: https://github.com/grpc/grpc/tree/master/src/ruby