From owner-svn-ports-head@freebsd.org Tue Jan 2 16:07:00 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BA2E4EACB3E; Tue, 2 Jan 2018 16:07:00 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93B7866AFF; Tue, 2 Jan 2018 16:07:00 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w02G6xM4033901; Tue, 2 Jan 2018 16:06:59 GMT (envelope-from swills@FreeBSD.org) Received: (from swills@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w02G6xxJ033897; Tue, 2 Jan 2018 16:06:59 GMT (envelope-from swills@FreeBSD.org) Message-Id: <201801021606.w02G6xxJ033897@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: swills set sender to swills@FreeBSD.org using -f From: Steve Wills Date: Tue, 2 Jan 2018 16:06:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r457907 - in head/net/rubygem-grpc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: swills X-SVN-Commit-Paths: in head/net/rubygem-grpc: . files X-SVN-Commit-Revision: 457907 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jan 2018 16:07:00 -0000 Author: swills Date: Tue Jan 2 16:06:59 2018 New Revision: 457907 URL: https://svnweb.freebsd.org/changeset/ports/457907 Log: net/rubygem-grpc: update to 1.8.0 PR: 224800 Approved by: Matthias Fechner (maintainer) Modified: head/net/rubygem-grpc/Makefile (contents, props changed) head/net/rubygem-grpc/distinfo (contents, props changed) head/net/rubygem-grpc/files/grpc.gemspec head/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb (contents, props changed) head/net/rubygem-grpc/files/patch-src_ruby_lib_grpc.rb (contents, props changed) Modified: head/net/rubygem-grpc/Makefile ============================================================================== --- head/net/rubygem-grpc/Makefile Tue Jan 2 16:06:24 2018 (r457906) +++ head/net/rubygem-grpc/Makefile Tue Jan 2 16:06:59 2018 (r457907) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= grpc -PORTVERSION= 1.4.0 -PORTREVISION= 2 +PORTVERSION= 1.8.0 CATEGORIES= net rubygems MASTER_SITES= RG @@ -14,9 +13,11 @@ LICENSE= BSD3CLAUSE RUN_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ grpc>=0:devel/grpc \ rubygem-google-protobuf>=3.0:devel/rubygem-google-protobuf \ - rubygem-googleauth>=0.5.1:security/rubygem-googleauth + rubygem-googleauth>=0.5.1:security/rubygem-googleauth \ + rubygem-googleapis-common-protos-types>=1.0.0:devel/rubygem-googleapis-common-protos-types -LIB_DEPENDS= libcares.so:dns/c-ares +LIB_DEPENDS= libcares.so:dns/c-ares \ + libunwind.so:devel/libunwind BUILD_DEPENDS= ca_root_nss>=0:security/ca_root_nss \ grpc>=0:devel/grpc @@ -30,5 +31,8 @@ post-extract: @${RM} -r ${WRKSRC}/include ${WRKSRC}/third_party ${WRKSRC}/src/boringssl \ ${WRKSRC}/src/core ${WRKSRC}/Makefile ${WRKSRC}/.yardopts ${WRKSRC}/etc @${CP} ${FILESDIR}/grpc.gemspec ${WRKSRC} + +post-patch: + @${REINPLACE_CMD} 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/src/ruby/lib/grpc.rb .include Modified: head/net/rubygem-grpc/distinfo ============================================================================== --- head/net/rubygem-grpc/distinfo Tue Jan 2 16:06:24 2018 (r457906) +++ head/net/rubygem-grpc/distinfo Tue Jan 2 16:06:59 2018 (r457907) @@ -1,3 +1,3 @@ -TIMESTAMP = 1498614608 -SHA256 (rubygem/grpc-1.4.0.gem) = 927d8d3b486d8fa597cab6932b77a7a2b932e66d240d2182599ae2bac82e38ea -SIZE (rubygem/grpc-1.4.0.gem) = 2736128 +TIMESTAMP = 1514703376 +SHA256 (rubygem/grpc-1.8.0.gem) = 1372253d7fb102a2e1d9c6e93275dab328bf8f66bdc202bad368c02256de9e0d +SIZE (rubygem/grpc-1.8.0.gem) = 2744832 Modified: head/net/rubygem-grpc/files/grpc.gemspec ============================================================================== Binary file (source and/or target). No diff available. Modified: head/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb ============================================================================== --- head/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb Tue Jan 2 16:06:24 2018 (r457906) +++ head/net/rubygem-grpc/files/patch-src_ruby_ext_grpc_extconf.rb Tue Jan 2 16:06:59 2018 (r457907) @@ -1,6 +1,6 @@ ---- src/ruby/ext/grpc/extconf.rb.orig 2017-06-28 17:25:39 UTC +--- src/ruby/ext/grpc/extconf.rb.orig 2017-12-31 07:02:12 UTC +++ src/ruby/ext/grpc/extconf.rb -@@ -70,9 +70,9 @@ ENV['LD'] = ENV['CC'] +@@ -56,9 +56,9 @@ ENV['LD'] = ENV['CC'] ENV['AR'] = 'libtool -o' if RUBY_PLATFORM =~ /darwin/ @@ -12,8 +12,8 @@ +ENV['EMBED_CARES'] = 'false' ENV['ARCH_FLAGS'] = RbConfig::CONFIG['ARCH_FLAG'] ENV['ARCH_FLAGS'] = '-arch i386 -arch x86_64' if RUBY_PLATFORM =~ /darwin/ - ENV['CFLAGS'] = '-DGPR_BACKWARDS_COMPATIBILITY_MODE' -@@ -81,16 +81,16 @@ output_dir = File.expand_path(RbConfig::CONFIG['topdir + ENV['CPPFLAGS'] = '-DGPR_BACKWARDS_COMPATIBILITY_MODE' +@@ -67,17 +67,18 @@ output_dir = File.expand_path(RbConfig::CONFIG['topdir grpc_lib_dir = File.join(output_dir, 'libs', grpc_config) ENV['BUILDDIR'] = output_dir @@ -21,13 +21,16 @@ - puts 'Building internal gRPC into ' + grpc_lib_dir - nproc = 4 - nproc = Etc.nprocessors * 2 if Etc.respond_to? :nprocessors -- system("make -j#{nproc} -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=") +- 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 -+# puts("gmake -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=") -+# system("gmake -C #{grpc_root} #{grpc_lib_dir}/libgrpc.a CONFIG=#{grpc_config} Q=") ++# 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 Modified: head/net/rubygem-grpc/files/patch-src_ruby_lib_grpc.rb ============================================================================== --- head/net/rubygem-grpc/files/patch-src_ruby_lib_grpc.rb Tue Jan 2 16:06:24 2018 (r457906) +++ head/net/rubygem-grpc/files/patch-src_ruby_lib_grpc.rb Tue Jan 2 16:06:59 2018 (r457907) @@ -1,11 +1,11 @@ ---- src/ruby/lib/grpc.rb.orig 2017-06-28 17:25:39 UTC +--- src/ruby/lib/grpc.rb.orig 2017-12-31 07:02:12 UTC +++ src/ruby/lib/grpc.rb -@@ -27,7 +27,7 @@ - # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE - # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +@@ -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 = '/usr/local/etc/ssl/cert.pem' ++ssl_roots_path = '%%LOCALBASE%%/etc/ssl/cert.pem' require_relative 'grpc/errors' require_relative 'grpc/grpc'