forked from Lainports/freebsd-ports
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
11 lines
335 B
Python
11 lines
335 B
Python
--- 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
|