pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/py-backports.ssl_match_hostname Import py27-b...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1bf1698fdde8
branches: trunk
changeset: 629781:1bf1698fdde8
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon Jan 27 19:53:30 2014 +0000
description:
Import py27-backports.ssl_match_hostname-3.4.0.2 as
security/py-backports.ssl_match_hostname.
The Secure Sockets layer is only actually secure if you check the
hostname in the certificate returned by the server to which you
are connecting, and verify that it matches to hostname that you
are trying to reach.
But the matching logic, defined in RFC2818, can be a bit tricky to
implement on your own. So the ssl package in the Standard Library
of Python 3.2 and greater now includes a match_hostname() function
for performing this check instead of requiring every application
to implement the check separately.
This package contains the backport of this functionality to Python 2.
diffstat:
security/py-backports.ssl_match_hostname/DESCR | 12 ++++++++++++
security/py-backports.ssl_match_hostname/Makefile | 16 ++++++++++++++++
security/py-backports.ssl_match_hostname/PLIST | 13 +++++++++++++
security/py-backports.ssl_match_hostname/distinfo | 5 +++++
4 files changed, 46 insertions(+), 0 deletions(-)
diffs (62 lines):
diff -r 587eb1ea52a6 -r 1bf1698fdde8 security/py-backports.ssl_match_hostname/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-backports.ssl_match_hostname/DESCR Mon Jan 27 19:53:30 2014 +0000
@@ -0,0 +1,12 @@
+The Secure Sockets layer is only actually secure if you check the
+hostname in the certificate returned by the server to which you
+are connecting, and verify that it matches to hostname that you
+are trying to reach.
+
+But the matching logic, defined in RFC2818, can be a bit tricky to
+implement on your own. So the ssl package in the Standard Library
+of Python 3.2 and greater now includes a match_hostname() function
+for performing this check instead of requiring every application
+to implement the check separately.
+
+This package contains the backport of this functionality to Python 2.
diff -r 587eb1ea52a6 -r 1bf1698fdde8 security/py-backports.ssl_match_hostname/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-backports.ssl_match_hostname/Makefile Mon Jan 27 19:53:30 2014 +0000
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2014/01/27 19:53:30 wiz Exp $
+
+DISTNAME= backports.ssl_match_hostname-3.4.0.2
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= python security www
+MASTER_SITES= https://pypi.python.org/packages/source/b/backports.ssl_match_hostname/
+
+MAINTAINER= pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE= https://pypi.python.org/pypi/backports.ssl_match_hostname
+COMMENT= Python SSL support module for Python 2
+LICENSE= python-software-foundation
+
+PYTHON_VERSIONS_INCOMPATIBLE= 33 # included in 3.2+
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r 587eb1ea52a6 -r 1bf1698fdde8 security/py-backports.ssl_match_hostname/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-backports.ssl_match_hostname/PLIST Mon Jan 27 19:53:30 2014 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1 2014/01/27 19:53:30 wiz Exp $
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/backports/__init__.py
+${PYSITELIB}/backports/__init__.pyc
+${PYSITELIB}/backports/__init__.pyo
+${PYSITELIB}/backports/ssl_match_hostname/LICENSE.txt
+${PYSITELIB}/backports/ssl_match_hostname/README.txt
+${PYSITELIB}/backports/ssl_match_hostname/__init__.py
+${PYSITELIB}/backports/ssl_match_hostname/__init__.pyc
+${PYSITELIB}/backports/ssl_match_hostname/__init__.pyo
diff -r 587eb1ea52a6 -r 1bf1698fdde8 security/py-backports.ssl_match_hostname/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/py-backports.ssl_match_hostname/distinfo Mon Jan 27 19:53:30 2014 +0000
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/01/27 19:53:30 wiz Exp $
+
+SHA1 (backports.ssl_match_hostname-3.4.0.2.tar.gz) = da4e41f3b110279d2382df47ac1e4f10c63cf954
+RMD160 (backports.ssl_match_hostname-3.4.0.2.tar.gz) = 4f87ff790bdd53b4095ffc4b9e214d4ffc9bb41d
+Size (backports.ssl_match_hostname-3.4.0.2.tar.gz) = 5151 bytes
Home |
Main Index |
Thread Index |
Old Index