Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jun 2015 05:21:03 +0000 (UTC)
From:      Roman Bogorodskiy <novel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r389589 - in head/net/py-libcloud: . files
Message-ID:  <201506140521.t5E5L38R056495@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: novel
Date: Sun Jun 14 05:21:02 2015
New Revision: 389589
URL: https://svnweb.freebsd.org/changeset/ports/389589

Log:
  Drop usage of py-backports.ssl_match_hostname.
  
  The net/py-libcloud port doesn't work without
  security/py-backports.ssl_match_hostname being installed. But
  security/py-backports.ssl_match_hostname is scheduled for deletion, so
  make libcloud work without the backport.
  
  PR:		200834
  Submitted by:	swills

Added:
  head/net/py-libcloud/files/
  head/net/py-libcloud/files/patch-libcloud_httplib__ssl.py   (contents, props changed)
Modified:
  head/net/py-libcloud/Makefile

Modified: head/net/py-libcloud/Makefile
==============================================================================
--- head/net/py-libcloud/Makefile	Sun Jun 14 04:59:37 2015	(r389588)
+++ head/net/py-libcloud/Makefile	Sun Jun 14 05:21:02 2015	(r389589)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libcloud
 PORTVERSION=	0.17.0
+PORTREVISION=	1
 CATEGORIES=	net python
 MASTER_SITES=	APACHE/${PORTNAME}
 PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}

Added: head/net/py-libcloud/files/patch-libcloud_httplib__ssl.py
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/py-libcloud/files/patch-libcloud_httplib__ssl.py	Sun Jun 14 05:21:02 2015	(r389589)
@@ -0,0 +1,11 @@
+--- libcloud/httplib_ssl.py.orig	2015-02-07 21:51:40 UTC
++++ libcloud/httplib_ssl.py
+@@ -23,7 +23,7 @@ import ssl
+ import base64
+ import warnings
+ 
+-from backports.ssl_match_hostname import match_hostname, CertificateError
++from ssl import match_hostname, CertificateError
+ 
+ import libcloud.security
+ from libcloud.utils.py3 import b



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