Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2019 23:47:48 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r517541 - in head/textproc/py-elasticsearch6: . files
Message-ID:  <201911132347.xADNlm3c060396@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201911132347.xADNlm3c060396>