View | Details | Raw Unified | Return to bug 241874
Collapse All | Expand All

(-)textproc/py-elasticsearch6/Makefile (+1 lines)
Lines 3-8 Link Here
3
3
4
PORTNAME=	elasticsearch
4
PORTNAME=	elasticsearch
5
PORTVERSION=	6.4.0
5
PORTVERSION=	6.4.0
6
PORTREVISION=	1
6
CATEGORIES=	textproc python
7
CATEGORIES=	textproc python
7
MASTER_SITES=	CHEESESHOP
8
MASTER_SITES=	CHEESESHOP
8
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
9
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
(-)textproc/py-elasticsearch6/files/patch-elasticsearch_connection_http__urllib3.py (+14 lines)
Line 0 Link Here
1
Fix verify_certs=False behavior for urllib >= 1.25. Backported from the 7.x branch:
2
3
https://github.com/elastic/elasticsearch-py/commit/4c531c5cdbd5ba8b59be16c2fa15d5cf81d0a92f
4
5
--- elasticsearch/connection/http_urllib3.py.orig	2019-05-28 17:59:13 UTC
6
+++ elasticsearch/connection/http_urllib3.py
7
@@ -170,6 +170,7 @@ class Urllib3HttpConnection(Connection):
8
                     }
9
                 )
10
             else:
11
+                kw["cert_reqs"] = "CERT_NONE"
12
                 warnings.warn(
13
                     "Connecting to %s using SSL with verify_certs=False is insecure."
14
                     % host

Return to bug 241874