Mon Jan 27 19:53:30 2014 UTC ()
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.


(wiz)
diff -r0 -r1.1 pkgsrc/security/py-backports.ssl_match_hostname/DESCR
diff -r0 -r1.1 pkgsrc/security/py-backports.ssl_match_hostname/Makefile
diff -r0 -r1.1 pkgsrc/security/py-backports.ssl_match_hostname/PLIST
diff -r0 -r1.1 pkgsrc/security/py-backports.ssl_match_hostname/distinfo

File Added: pkgsrc/security/py-backports.ssl_match_hostname/DESCR
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.

File Added: pkgsrc/security/py-backports.ssl_match_hostname/Makefile
# $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
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"

File Added: pkgsrc/security/py-backports.ssl_match_hostname/PLIST
@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

File Added: pkgsrc/security/py-backports.ssl_match_hostname/distinfo
$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