aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorolivierd <olivierd@FreeBSD.org>2013-04-27 00:43:59 +0800
committerolivierd <olivierd@FreeBSD.org>2013-04-27 00:43:59 +0800
commit5b80ff141428dea437d311062d316fef135ed4a9 (patch)
treedab165592944359da75be78d6b0d1d49f15721ec /net
parenta9e406d4f73b8159743603b7499b85c6e084503f (diff)
downloadfreebsd-ports-gnome-5b80ff141428dea437d311062d316fef135ed4a9.tar.gz
freebsd-ports-gnome-5b80ff141428dea437d311062d316fef135ed4a9.tar.zst
freebsd-ports-gnome-5b80ff141428dea437d311062d316fef135ed4a9.zip
HTTPS client for httplib and urllib2 based on PyOpenSSL.
WWW: http://ndg-security.ceda.ac.uk/wiki/ndg_httpsclient
Diffstat (limited to 'net')
-rw-r--r--net/Makefile1
-rw-r--r--net/py-ndg_httpsclient/Makefile21
-rw-r--r--net/py-ndg_httpsclient/distinfo2
-rw-r--r--net/py-ndg_httpsclient/pkg-descr4
-rw-r--r--net/py-ndg_httpsclient/pkg-plist61
5 files changed, 89 insertions, 0 deletions
diff --git a/net/Makefile b/net/Makefile
index e2eb113b1273..8ac6dba72ab7 100644
--- a/net/Makefile
+++ b/net/Makefile
@@ -912,6 +912,7 @@
SUBDIR += py-medusa
SUBDIR += py-miniupnpc
SUBDIR += py-msrplib
+ SUBDIR += py-ndg_httpsclient
SUBDIR += py-netaddr
SUBDIR += py-netifaces
SUBDIR += py-netstring
diff --git a/net/py-ndg_httpsclient/Makefile b/net/py-ndg_httpsclient/Makefile
new file mode 100644
index 000000000000..a1006009aa2e
--- /dev/null
+++ b/net/py-ndg_httpsclient/Makefile
@@ -0,0 +1,21 @@
+# Created by: Olivier Duchateau
+# $FreeBSD$
+#
+
+PORTNAME= ndg_httpsclient
+PORTVERSION= 0.3.2
+CATEGORIES= net python
+MASTER_SITES= CHEESESHOP
+MASTER_SITE_SUBDIR= source/${DISTNAME:C/(.).*/\1/}/${PORTNAME:S/_/-/}
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= olivierd@FreeBSD.org
+COMMENT= Enhance HTTPS support for httplib and urllib2
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}openssl>=0.13:${PORTSDIR}/security/py-openssl \
+ ${PYTHON_PKGNAMEPREFIX}asn1>=0.1.4:${PORTSDIR}/devel/py-asn1
+
+USE_PYTHON= -2.7
+USE_PYDISTUTILS= easy_install
+
+.include <bsd.port.mk>
diff --git a/net/py-ndg_httpsclient/distinfo b/net/py-ndg_httpsclient/distinfo
new file mode 100644
index 000000000000..a2973385b320
--- /dev/null
+++ b/net/py-ndg_httpsclient/distinfo
@@ -0,0 +1,2 @@
+SHA256 (ndg_httpsclient-0.3.2.tar.gz) = cc806d43f3e79be40f923d94f542f23a94c6ddbb9a63258b0bf875f325508973
+SIZE (ndg_httpsclient-0.3.2.tar.gz) = 21514
diff --git a/net/py-ndg_httpsclient/pkg-descr b/net/py-ndg_httpsclient/pkg-descr
new file mode 100644
index 000000000000..8c4ddc04ba9f
--- /dev/null
+++ b/net/py-ndg_httpsclient/pkg-descr
@@ -0,0 +1,4 @@
+This is a HTTPS client implementation for httplib and urllib2 based on
+PyOpenSSL.
+
+WWW: http://ndg-security.ceda.ac.uk/wiki/ndg_httpsclient
diff --git a/net/py-ndg_httpsclient/pkg-plist b/net/py-ndg_httpsclient/pkg-plist
new file mode 100644
index 000000000000..bdf0210f5071
--- /dev/null
+++ b/net/py-ndg_httpsclient/pkg-plist
@@ -0,0 +1,61 @@
+bin/ndg_httpclient
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/PKG-INFO
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/SOURCES.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/dependency_links.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/entry_points.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/namespace_packages.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/not-zip-safe
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/requires.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO/top_level.txt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/https.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/https.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/https.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_context_util.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_context_util.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_context_util.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_peer_verification.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_peer_verification.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_peer_verification.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_socket.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_socket.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/ssl_socket.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/subj_alt_name.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/subj_alt_name.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/subj_alt_name.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/README
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/__init__.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/__init__.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/__init__.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/pki/ca/d573507a.0
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/pki/localhost.crt
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/pki/localhost.key
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/scripts/openssl_https_server.sh
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_https.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_https.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_https.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_urllib2.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_urllib2.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_urllib2.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/test_utils.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/urllib2_build_opener.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/urllib2_build_opener.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/urllib2_build_opener.pyo
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/utils.py
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/utils.pyc
+%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/utils.pyo
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/scripts
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/pki/ca
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test/pki
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient/test
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg/httpsclient
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/ndg
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/EGG-INFO
+@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%