From owner-svn-ports-head@freebsd.org Sat Jun 2 22:26:15 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 46545FEFC76; Sat, 2 Jun 2018 22:26:15 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9574A7C82C; Sat, 2 Jun 2018 22:26:12 +0000 (UTC) (envelope-from sunpoet@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id EE94F15E71; Sat, 2 Jun 2018 22:26:11 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w52MQBeg032366; Sat, 2 Jun 2018 22:26:11 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w52MQBRq032363; Sat, 2 Jun 2018 22:26:11 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201806022226.w52MQBRq032363@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 2 Jun 2018 22:26:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r471415 - in head/devel/rubygem-rubygems-mirror: . files X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: in head/devel/rubygem-rubygems-mirror: . files X-SVN-Commit-Revision: 471415 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.26 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: Sat, 02 Jun 2018 22:26:15 -0000 Author: sunpoet Date: Sat Jun 2 22:26:11 2018 New Revision: 471415 URL: https://svnweb.freebsd.org/changeset/ports/471415 Log: Change RUN_DEPENDS from rubygem-net-http-persistent2 to rubygem-net-http-persistent - Bump PORTREVISION for dependency and package change Obtained from: https://github.com/rubygems/rubygems-mirror/commit/292a6b283b5ea96c20ed30b27526def4b142a866 Added: head/devel/rubygem-rubygems-mirror/files/ head/devel/rubygem-rubygems-mirror/files/patch-gemspec (contents, props changed) head/devel/rubygem-rubygems-mirror/files/patch-lib-rubygems-mirror-fetcher.rb (contents, props changed) Modified: head/devel/rubygem-rubygems-mirror/Makefile Modified: head/devel/rubygem-rubygems-mirror/Makefile ============================================================================== --- head/devel/rubygem-rubygems-mirror/Makefile Sat Jun 2 22:26:05 2018 (r471414) +++ head/devel/rubygem-rubygems-mirror/Makefile Sat Jun 2 22:26:11 2018 (r471415) @@ -3,6 +3,7 @@ PORTNAME= rubygems-mirror PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= devel rubygems MASTER_SITES= RG @@ -11,7 +12,7 @@ COMMENT= Mirror rubygems LICENSE= MIT -RUN_DEPENDS= rubygem-net-http-persistent2>=2.9:www/rubygem-net-http-persistent2 +RUN_DEPENDS= rubygem-net-http-persistent>=2.9:www/rubygem-net-http-persistent NO_ARCH= yes USE_RUBY= yes Added: head/devel/rubygem-rubygems-mirror/files/patch-gemspec ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-rubygems-mirror/files/patch-gemspec Sat Jun 2 22:26:11 2018 (r471415) @@ -0,0 +1,11 @@ +--- rubygems-mirror.gemspec.orig 2018-06-02 21:27:45 UTC ++++ rubygems-mirror.gemspec +@@ -23,7 +23,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.freeze, ["~> 2.9"]) ++ s.add_runtime_dependency(%q.freeze, [">= 2.9"]) + s.add_development_dependency(%q.freeze, ["~> 5.7"]) + s.add_development_dependency(%q.freeze, ["< 6", ">= 4.0"]) + s.add_development_dependency(%q.freeze, ["~> 3.17"]) Added: head/devel/rubygem-rubygems-mirror/files/patch-lib-rubygems-mirror-fetcher.rb ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/rubygem-rubygems-mirror/files/patch-lib-rubygems-mirror-fetcher.rb Sat Jun 2 22:26:11 2018 (r471415) @@ -0,0 +1,20 @@ +Obtained from: https://github.com/rubygems/rubygems-mirror/commit/292a6b283b5ea96c20ed30b27526def4b142a866 + +--- lib/rubygems/mirror/fetcher.rb.orig 2018-06-02 12:50:03 UTC ++++ lib/rubygems/mirror/fetcher.rb +@@ -6,7 +6,14 @@ class Gem::Mirror::Fetcher + class Error < StandardError; end + + def initialize(opts = {}) +- @http = Net::HTTP::Persistent.new(self.class.name, :ENV) ++ @http = ++ if defined?(Net::HTTP::Persistent::DEFAULT_POOL_SIZE) ++ Net::HTTP::Persistent.new(name: self.class.name, proxy: :ENV) ++ else ++ # net-http-persistent < 3.0 ++ Net::HTTP::Persistent.new(self.class.name, :ENV) ++ end ++ + @opts = opts + + # default opts