FreeBSD Bugzilla – Attachment 209049 Details for
Bug 241874
textproc/py-elasticsearch6: Prepare for urllib3 >= 1.25
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
py-elasticsearch-prepare-for-urllib3-1.25.patch
py-elasticsearch6-prepare-for-urllib3-1.25.patch (text/plain), 1.75 KB, created by
Kai Knoblich
on 2019-11-11 08:33:21 UTC
(
hide
)
Description:
py-elasticsearch-prepare-for-urllib3-1.25.patch
Filename:
MIME Type:
Creator:
Kai Knoblich
Created:
2019-11-11 08:33:21 UTC
Size:
1.75 KB
patch
obsolete
>Index: textproc/py-elasticsearch6/Makefile >=================================================================== >--- textproc/py-elasticsearch6/Makefile (revision 517213) >+++ textproc/py-elasticsearch6/Makefile (working copy) >@@ -3,6 +3,7 @@ > > PORTNAME= elasticsearch > PORTVERSION= 6.4.0 >+PORTREVISION= 1 > CATEGORIES= textproc python > MASTER_SITES= CHEESESHOP > PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} >Index: textproc/py-elasticsearch6/files/patch-elasticsearch_connection_http__urllib3.py >=================================================================== >--- textproc/py-elasticsearch6/files/patch-elasticsearch_connection_http__urllib3.py (nonexistent) >+++ textproc/py-elasticsearch6/files/patch-elasticsearch_connection_http__urllib3.py (working copy) >@@ -0,0 +1,14 @@ >+Fix verify_certs=False behavior for urllib >= 1.25. Backported from the 7.x branch: >+ >+https://github.com/elastic/elasticsearch-py/commit/4c531c5cdbd5ba8b59be16c2fa15d5cf81d0a92f >+ >+--- elasticsearch/connection/http_urllib3.py.orig 2019-05-28 17:59:13 UTC >++++ elasticsearch/connection/http_urllib3.py >+@@ -170,6 +170,7 @@ class Urllib3HttpConnection(Connection): >+ } >+ ) >+ else: >++ kw["cert_reqs"] = "CERT_NONE" >+ warnings.warn( >+ "Connecting to %s using SSL with verify_certs=False is insecure." >+ % host > >Property changes on: textproc/py-elasticsearch6/files/patch-elasticsearch_connection_http__urllib3.py >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
kai
:
maintainer-approval?
(
sunpoet
)
Actions:
View
|
Diff
Attachments on
bug 241874
: 209049