aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorgblach <gblach@FreeBSD.org>2014-03-23 06:58:39 +0800
committergblach <gblach@FreeBSD.org>2014-03-23 06:58:39 +0800
commit4ca13e1adb595ca2029d2cff26586062c1d80f8b (patch)
tree13991dee587e11fa98aca3a9ea4962364c9afa9b /security
parent8a4d27b77640954b20f52ecdfd38c63535b415a0 (diff)
downloadfreebsd-ports-gnome-4ca13e1adb595ca2029d2cff26586062c1d80f8b.tar.gz
freebsd-ports-gnome-4ca13e1adb595ca2029d2cff26586062c1d80f8b.tar.zst
freebsd-ports-gnome-4ca13e1adb595ca2029d2cff26586062c1d80f8b.zip
Add new port security/py-backports.ssl_match_hostname:
This backport brings match_hostname() to users of earlier versions of Python.
Diffstat (limited to 'security')
-rw-r--r--security/Makefile1
-rw-r--r--security/py-backports.ssl_match_hostname/Makefile17
-rw-r--r--security/py-backports.ssl_match_hostname/distinfo2
-rw-r--r--security/py-backports.ssl_match_hostname/pkg-descr3
4 files changed, 23 insertions, 0 deletions
diff --git a/security/Makefile b/security/Makefile
index b081291aaf1a..55e9028497ec 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -745,6 +745,7 @@
SUBDIR += py-Products.PluggableAuthService
SUBDIR += py-RestrictedPython
SUBDIR += py-SecretStorage
+ SUBDIR += py-backports.ssl_match_hostname
SUBDIR += py-bcrypt
SUBDIR += py-borg.localrole
SUBDIR += py-cerealizer
diff --git a/security/py-backports.ssl_match_hostname/Makefile b/security/py-backports.ssl_match_hostname/Makefile
new file mode 100644
index 000000000000..6d086e7a896c
--- /dev/null
+++ b/security/py-backports.ssl_match_hostname/Makefile
@@ -0,0 +1,17 @@
+# Created by: Grzegorz Blach <gblach@FreeBSD.org>
+# $FreeBSD$
+
+PORTNAME= backports.ssl_match_hostname
+PORTVERSION= 3.4.0.2
+CATEGORIES= security python
+MASTER_SITES= CHEESESHOP
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= gblach@FreeBSD.org
+COMMENT= Backport of ssl.match_hostname() function
+
+USE_PYTHON= -3.1
+USE_PYDISTUTILS= yes
+PYDISTUTILS_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/security/py-backports.ssl_match_hostname/distinfo b/security/py-backports.ssl_match_hostname/distinfo
new file mode 100644
index 000000000000..e6e8b7a3b60c
--- /dev/null
+++ b/security/py-backports.ssl_match_hostname/distinfo
@@ -0,0 +1,2 @@
+SHA256 (backports.ssl_match_hostname-3.4.0.2.tar.gz) = 07410e7fb09aab7bdaf5e618de66c3dac84e2e3d628352814dc4c37de321d6ae
+SIZE (backports.ssl_match_hostname-3.4.0.2.tar.gz) = 5151
diff --git a/security/py-backports.ssl_match_hostname/pkg-descr b/security/py-backports.ssl_match_hostname/pkg-descr
new file mode 100644
index 000000000000..e736b2ccedab
--- /dev/null
+++ b/security/py-backports.ssl_match_hostname/pkg-descr
@@ -0,0 +1,3 @@
+This backport brings match_hostname() to users of earlier versions of Python.
+
+WWW: https://pypi.python.org/pypi/backports.ssl_match_hostname