Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK)) by mollari.NetBSD.org (Postfix) with ESMTPS id 1905D7A2EB for ; Sun, 1 Jan 2017 08:21:51 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id 85BE0856CE; Sun, 1 Jan 2017 08:21:50 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 159BB855E0 for ; Sun, 1 Jan 2017 08:21:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 1OGa2KMv2qq6 for ; Sun, 1 Jan 2017 08:21:49 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 8668684CE7 for ; Sun, 1 Jan 2017 08:21:49 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 66B65FBA6; Sun, 1 Jan 2017 08:21:49 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1483258909185530" MIME-Version: 1.0 Date: Sun, 1 Jan 2017 08:21:49 +0000 From: "Ryo ONODERA" Subject: CVS commit: pkgsrc/devel/py-requests To: pkgsrc-changes@NetBSD.org Reply-To: ryoon@netbsd.org X-Mailer: log_accum Message-Id: <20170101082149.66B65FBA6@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk This is a multi-part message in MIME format. --_----------=_1483258909185530 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: ryoon Date: Sun Jan 1 08:21:49 UTC 2017 Modified Files: pkgsrc/devel/py-requests: Makefile distinfo Added Files: pkgsrc/devel/py-requests/patches: patch-requests_____init____.py Log Message: Fix py-certbot segfault on NetBSD with ugly workaround, bump PKGREVISION To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/py-requests/Makefile cvs rdiff -u -r1.17 -r1.18 pkgsrc/devel/py-requests/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/devel/py-requests/patches/patch-requests_____init____.py Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1483258909185530 Content-Disposition: inline Content-Length: 2823 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/py-requests/Makefile diff -u pkgsrc/devel/py-requests/Makefile:1.24 pkgsrc/devel/py-requests/Makefile:1.25 --- pkgsrc/devel/py-requests/Makefile:1.24 Thu Dec 15 11:06:08 2016 +++ pkgsrc/devel/py-requests/Makefile Sun Jan 1 08:21:49 2017 @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.24 2016/12/15 11:06:08 adam Exp $ +# $NetBSD: Makefile,v 1.25 2017/01/01 08:21:49 ryoon Exp $ DISTNAME= requests-2.12.4 PKGNAME= ${PYPKGPREFIX}-${DISTNAME} +PKGREVISION= 1 CATEGORIES= devel www MASTER_SITES= ${MASTER_SITE_PYPI:=r/requests/} Index: pkgsrc/devel/py-requests/distinfo diff -u pkgsrc/devel/py-requests/distinfo:1.17 pkgsrc/devel/py-requests/distinfo:1.18 --- pkgsrc/devel/py-requests/distinfo:1.17 Thu Dec 15 11:06:08 2016 +++ pkgsrc/devel/py-requests/distinfo Sun Jan 1 08:21:49 2017 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.17 2016/12/15 11:06:08 adam Exp $ +$NetBSD: distinfo,v 1.18 2017/01/01 08:21:49 ryoon Exp $ SHA1 (requests-2.12.4.tar.gz) = dfbb6fb38b92d2ac5a982c660df9727536dab70c RMD160 (requests-2.12.4.tar.gz) = 02bb718622f69bbfcc0eeba2a6ea28eb142cc06b SHA512 (requests-2.12.4.tar.gz) = 100a38ad4bfe5c02c44ccfa75473da4b58416690985117750a0c2e1851e98267df740f578f6a5ad27d0a5b9de2954988f832ea1a169fffc82e8e2da15742f855 Size (requests-2.12.4.tar.gz) = 547650 bytes +SHA1 (patch-requests_____init____.py) = 4630c41f4048acbce30f9f4825c8724346256865 Added files: Index: pkgsrc/devel/py-requests/patches/patch-requests_____init____.py diff -u /dev/null pkgsrc/devel/py-requests/patches/patch-requests_____init____.py:1.1 --- /dev/null Sun Jan 1 08:21:49 2017 +++ pkgsrc/devel/py-requests/patches/patch-requests_____init____.py Sun Jan 1 08:21:49 2017 @@ -0,0 +1,33 @@ +$NetBSD: patch-requests_____init____.py,v 1.1 2017/01/01 08:21:49 ryoon Exp $ + +* Add workaround for segfault of security/py-certbot on NetBSD/amd64 + 7.0.2 and 7.99.53. It seems that the real root cause is in + security/py-OpenSSL or OpenSSL. However I do not find how to fix it. + + This is introduced in https://github.com/shazow/urllib3 + +commit 770105ebda5a3a495c944baba51a61fdba1814c7 +Author: Cory Benfield +Date: Tue Jul 19 13:00:31 2016 +0100 + + Clean up some bugs. + +via https://github.com/kennethreitz/requests + +t 99fa7becf263473c7bfc1998b41c2c6c80a0f499 +Author: Cory Benfield +Date: Tue Nov 15 10:09:11 2016 +0000 + + Update urllib3 to 1.19 + +--- requests/__init__.py.orig 2016-12-14 11:36:37.000000000 +0000 ++++ requests/__init__.py +@@ -50,7 +50,7 @@ __copyright__ = 'Copyright 2016 Kenneth + # Attempt to enable urllib3's SNI support, if possible + try: + from .packages.urllib3.contrib import pyopenssl +- pyopenssl.inject_into_urllib3() ++ #pyopenssl.inject_into_urllib3() + except ImportError: + pass + --_----------=_1483258909185530--