pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/ruby-httpclient ruby-httpclient: workaround expire...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/abb6805bfb97
branches:  trunk
changeset: 459212:abb6805bfb97
user:      tsutsui <tsutsui%pkgsrc.org@localhost>
date:      Fri Oct 01 15:31:26 2021 +0000

description:
ruby-httpclient: workaround expired root certificates.

https://github.com/nahi/httpclient/pull/447
Bump PKGREVISION.

diffstat:

 www/ruby-httpclient/Makefile                        |   3 ++-
 www/ruby-httpclient/distinfo                        |   3 ++-
 www/ruby-httpclient/patches/patch-lib_httpclient.rb |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (44 lines):

diff -r 99fe4b2169a0 -r abb6805bfb97 www/ruby-httpclient/Makefile
--- a/www/ruby-httpclient/Makefile      Fri Oct 01 15:07:46 2021 +0000
+++ b/www/ruby-httpclient/Makefile      Fri Oct 01 15:31:26 2021 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2017/03/20 15:51:33 taca Exp $
+# $NetBSD: Makefile,v 1.23 2021/10/01 15:31:26 tsutsui Exp $
 #
 
 DISTNAME=      httpclient-2.8.3
+PKGREVISION=   1
 CATEGORIES=    www
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 99fe4b2169a0 -r abb6805bfb97 www/ruby-httpclient/distinfo
--- a/www/ruby-httpclient/distinfo      Fri Oct 01 15:07:46 2021 +0000
+++ b/www/ruby-httpclient/distinfo      Fri Oct 01 15:31:26 2021 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.21 2017/03/20 15:51:33 taca Exp $
+$NetBSD: distinfo,v 1.22 2021/10/01 15:31:26 tsutsui Exp $
 
 SHA1 (httpclient-2.8.3.gem) = 531c6db0b5f371e3d029cbfb2f8d743f7eeb5c1b
 RMD160 (httpclient-2.8.3.gem) = a3f0cc9948db755857a91da803ad1ffa7182350d
 SHA512 (httpclient-2.8.3.gem) = d02c7b7c9e1a386b6e16ebbf4b00ce916233a08cca7286f03c39aee0935fc5a811cb20c0613b50dff9dd8bd5d92d1a5c7e8d45fb724aeaa36bf90b597bd9d428
 Size (httpclient-2.8.3.gem) = 385536 bytes
+SHA1 (patch-lib_httpclient.rb) = 8e72148f4bf0d97536e817683f7ed9432b2ba6fe
diff -r 99fe4b2169a0 -r abb6805bfb97 www/ruby-httpclient/patches/patch-lib_httpclient.rb
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/www/ruby-httpclient/patches/patch-lib_httpclient.rb       Fri Oct 01 15:31:26 2021 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_httpclient.rb,v 1.1 2021/10/01 15:31:26 tsutsui Exp $
+
+- workaround expired root certificates
+ https://github.com/nahi/httpclient/pull/447
+
+--- lib/httpclient.rb.orig     2021-10-01 01:47:06.607892120 +0000
++++ lib/httpclient.rb
+@@ -450,6 +450,7 @@ class HTTPClient
+     self.proxy = proxy if proxy
+     keep_webmock_compat
+     instance_eval(&block) if block
++    @session_manager&.ssl_config&.set_default_paths
+   end
+ 
+   # webmock 1.6.2 depends on HTTP::Message#body.content to work.



Home | Main Index | Thread Index | Old Index