summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-12-01 08:43:05 +0000
committerfhajny <fhajny@pkgsrc.org>2015-12-01 08:43:05 +0000
commitaadd36a78f5c6d3383dea3fa17821c5efa79c367 (patch)
treebd091c6f7a619361c2b0ccef83b524302c1efad1 /security
parent5992c90fab8862965953408010683004a835c33a (diff)
downloadpkgsrc-aadd36a78f5c6d3383dea3fa17821c5efa79c367.tar.gz
Import ndg_httpsclient-0.4.0 as www/py-ndg_httpsclient.
A HTTPS client implementation for httplib and urllib2 based on PyOpenSSL. PyOpenSSL provides a more fully featured SSL implementation over the default provided with Python and importantly enables full verification of the SSL peer.
Diffstat (limited to 'security')
-rw-r--r--security/py-ndg_httpsclient/DESCR4
-rw-r--r--security/py-ndg_httpsclient/Makefile20
-rw-r--r--security/py-ndg_httpsclient/PLIST53
-rw-r--r--security/py-ndg_httpsclient/distinfo6
4 files changed, 83 insertions, 0 deletions
diff --git a/security/py-ndg_httpsclient/DESCR b/security/py-ndg_httpsclient/DESCR
new file mode 100644
index 00000000000..a8eba6f080f
--- /dev/null
+++ b/security/py-ndg_httpsclient/DESCR
@@ -0,0 +1,4 @@
+A HTTPS client implementation for httplib and urllib2 based on
+PyOpenSSL. PyOpenSSL provides a more fully featured SSL
+implementation over the default provided with Python and
+importantly enables full verification of the SSL peer.
diff --git a/security/py-ndg_httpsclient/Makefile b/security/py-ndg_httpsclient/Makefile
new file mode 100644
index 00000000000..f4f86309e1a
--- /dev/null
+++ b/security/py-ndg_httpsclient/Makefile
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1 2015/12/01 08:43:05 fhajny Exp $
+
+DISTNAME= ndg_httpsclient-0.4.0
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= security python
+MASTER_SITES= ${MASTER_SITE_GITHUB:=cedadev/}
+
+MAINTAINER= filip@joyent.com
+HOMEPAGE= http://github.com/cedadev/ndg_httpsclient/
+COMMENT= HTTPS client implementation for httplib and urllib2 based on PyOpenSSL
+LICENSE= modified-bsd
+
+GITHUB_PROJECT= ndg_httpsclient
+GITHUB_RELEASE= v${PKGVERSION_NOREV}
+
+DEPENDS+= ${PYPKGPREFIX}-asn1>=0.1.4:../../security/py-asn1
+DEPENDS+= ${PYPKGPREFIX}-OpenSSL>=0.13:../../security/py-OpenSSL
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/py-ndg_httpsclient/PLIST b/security/py-ndg_httpsclient/PLIST
new file mode 100644
index 00000000000..ae23d95698e
--- /dev/null
+++ b/security/py-ndg_httpsclient/PLIST
@@ -0,0 +1,53 @@
+@comment $NetBSD: PLIST,v 1.1 2015/12/01 08:43:05 fhajny Exp $
+bin/ndg_httpclient
+${PYSITELIB}/ndg/httpsclient/__init__.py
+${PYSITELIB}/ndg/httpsclient/__init__.pyc
+${PYSITELIB}/ndg/httpsclient/__init__.pyo
+${PYSITELIB}/ndg/httpsclient/https.py
+${PYSITELIB}/ndg/httpsclient/https.pyc
+${PYSITELIB}/ndg/httpsclient/https.pyo
+${PYSITELIB}/ndg/httpsclient/ssl_context_util.py
+${PYSITELIB}/ndg/httpsclient/ssl_context_util.pyc
+${PYSITELIB}/ndg/httpsclient/ssl_context_util.pyo
+${PYSITELIB}/ndg/httpsclient/ssl_peer_verification.py
+${PYSITELIB}/ndg/httpsclient/ssl_peer_verification.pyc
+${PYSITELIB}/ndg/httpsclient/ssl_peer_verification.pyo
+${PYSITELIB}/ndg/httpsclient/ssl_socket.py
+${PYSITELIB}/ndg/httpsclient/ssl_socket.pyc
+${PYSITELIB}/ndg/httpsclient/ssl_socket.pyo
+${PYSITELIB}/ndg/httpsclient/subj_alt_name.py
+${PYSITELIB}/ndg/httpsclient/subj_alt_name.pyc
+${PYSITELIB}/ndg/httpsclient/subj_alt_name.pyo
+${PYSITELIB}/ndg/httpsclient/test/README
+${PYSITELIB}/ndg/httpsclient/test/__init__.py
+${PYSITELIB}/ndg/httpsclient/test/__init__.pyc
+${PYSITELIB}/ndg/httpsclient/test/__init__.pyo
+${PYSITELIB}/ndg/httpsclient/test/pki/ca/08bd99c7.0
+${PYSITELIB}/ndg/httpsclient/test/pki/ca/ade0138a.0
+${PYSITELIB}/ndg/httpsclient/test/pki/localhost.crt
+${PYSITELIB}/ndg/httpsclient/test/pki/localhost.key
+${PYSITELIB}/ndg/httpsclient/test/scripts/openssl_https_server.sh
+${PYSITELIB}/ndg/httpsclient/test/test_https.py
+${PYSITELIB}/ndg/httpsclient/test/test_https.pyc
+${PYSITELIB}/ndg/httpsclient/test/test_https.pyo
+${PYSITELIB}/ndg/httpsclient/test/test_urllib2.py
+${PYSITELIB}/ndg/httpsclient/test/test_urllib2.pyc
+${PYSITELIB}/ndg/httpsclient/test/test_urllib2.pyo
+${PYSITELIB}/ndg/httpsclient/test/test_utils.py
+${PYSITELIB}/ndg/httpsclient/test/test_utils.pyc
+${PYSITELIB}/ndg/httpsclient/test/test_utils.pyo
+${PYSITELIB}/ndg/httpsclient/urllib2_build_opener.py
+${PYSITELIB}/ndg/httpsclient/urllib2_build_opener.pyc
+${PYSITELIB}/ndg/httpsclient/urllib2_build_opener.pyo
+${PYSITELIB}/ndg/httpsclient/utils.py
+${PYSITELIB}/ndg/httpsclient/utils.pyc
+${PYSITELIB}/ndg/httpsclient/utils.pyo
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/entry_points.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/not-zip-safe
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/security/py-ndg_httpsclient/distinfo b/security/py-ndg_httpsclient/distinfo
new file mode 100644
index 00000000000..8d04f93937d
--- /dev/null
+++ b/security/py-ndg_httpsclient/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2015/12/01 08:43:05 fhajny Exp $
+
+SHA1 (ndg_httpsclient-0.4.0.tar.gz) = 82f6a1797b80a544cbfbc7f9f1df41da8463248d
+RMD160 (ndg_httpsclient-0.4.0.tar.gz) = e5f71f2d369ebc02f3628f88ab1bdabcac444faa
+SHA512 (ndg_httpsclient-0.4.0.tar.gz) = 3c0225a20c25cf0f12f03005bb79e738527c0488bb660c1eb3b55c505a0ef503002d37fcffb3d013e5f91101bdd03080a68d5805d6d29b682cc01bdc9f0e4a19
+Size (ndg_httpsclient-0.4.0.tar.gz) = 24038 bytes