svn commit: r517541 - in head/textproc/py-elasticsearch6: . files
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Wed Nov 13 23:47:49 UTC 2019
Author: sunpoet
Date: Wed Nov 13 23:47:48 2019
New Revision: 517541
URL: https://svnweb.freebsd.org/changeset/ports/517541
Log:
Fix build with py-urllib 1.25+
- Bump PORTREVISION for package change
PR: 241874
Submitted by: kai
Backport from: https://github.com/elastic/elasticsearch-py/commit/4c531c5cdbd5ba8b59be16c2fa15d5cf81d0a92f
Added:
head/textproc/py-elasticsearch6/files/
head/textproc/py-elasticsearch6/files/patch-elasticsearch-connection-http_urllib3.py (contents, props changed)
Modified:
head/textproc/py-elasticsearch6/Makefile
Modified: head/textproc/py-elasticsearch6/Makefile
==============================================================================
--- head/textproc/py-elasticsearch6/Makefile Wed Nov 13 23:47:43 2019 (r517540)
+++ head/textproc/py-elasticsearch6/Makefile Wed Nov 13 23:47:48 2019 (r517541)
@@ -3,6 +3,7 @@
PORTNAME= elasticsearch
PORTVERSION= 6.4.0
+PORTREVISION= 1
CATEGORIES= textproc python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
Added: head/textproc/py-elasticsearch6/files/patch-elasticsearch-connection-http_urllib3.py
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/py-elasticsearch6/files/patch-elasticsearch-connection-http_urllib3.py Wed Nov 13 23:47:48 2019 (r517541)
@@ -0,0 +1,12 @@
+Backport from: 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
More information about the svn-ports-all
mailing list