pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-requests



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.

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 <lukasaoz%gmail.com@localhost>
+Date:   Tue Jul 19 13:00:31 2016 +0100
+
+    Clean up some bugs.
+
+via https://github.com/kennethreitz/requests
+
+t 99fa7becf263473c7bfc1998b41c2c6c80a0f499
+Author: Cory Benfield <lukasaoz%gmail.com@localhost>
+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
+ 



Home | Main Index | Thread Index | Old Index