pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-doh-proxy: Import py-doh-proxy-0.0.6 as wip/py-doh-proxy



Module Name:	pkgsrc-wip
Committed By:	Leonardo Taccari <iamleot%gmail.com@localhost>
Pushed By:	leot
Date:		Thu Jun 28 01:24:52 2018 +0200
Changeset:	f30447ca5bc0065358aaff281d6b0cbde16e1240

Modified Files:
	Makefile
Added Files:
	py-doh-proxy/DESCR
	py-doh-proxy/Makefile
	py-doh-proxy/PLIST
	py-doh-proxy/distinfo

Log Message:
py-doh-proxy: Import py-doh-proxy-0.0.6 as wip/py-doh-proxy

A set of python 3 scripts that supports proxying DNS over HTTPS as specified
in the IETF Draft draft-ietf-doh-dns-over-https.

DOH provides a way to run encrypted DNS over HTTPS, a protocol which can freely
traverse firewalls when other encrypted mechanism may be blocked.

The project comes with a set of 4 tools:

 * doh-proxy: A service that receives DOH queries over HTTP2 and forwards
              them to a recursive resolver.
 * doh-httpproxy: Like `doh-proxy` but uses HTTP instead of HTTP2.
                  The main intent is to run this behind a reverse proxy.
 * doh-stub: A service that listens for DNS queries and forwards them to a
             DOH server.
 * doh-client: A tool to perform a test DNS query against DOH server.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=f30447ca5bc0065358aaff281d6b0cbde16e1240

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 Makefile              |  1 +
 py-doh-proxy/DESCR    | 15 +++++++++++++++
 py-doh-proxy/Makefile | 24 ++++++++++++++++++++++++
 py-doh-proxy/PLIST    | 35 +++++++++++++++++++++++++++++++++++
 py-doh-proxy/distinfo |  6 ++++++
 5 files changed, 81 insertions(+)

diffs:
diff --git a/Makefile b/Makefile
index 8cce479aae..eef65f3423 100644
--- a/Makefile
+++ b/Makefile
@@ -3104,6 +3104,7 @@ SUBDIR+=	py-djangopypi2
 SUBDIR+=	py-djvulibre
 SUBDIR+=	py-djvusmooth
 SUBDIR+=	py-dns-clientsubnetoption
+SUBDIR+=	py-doh-proxy
 SUBDIR+=	py-dolo
 SUBDIR+=	py-downhill
 SUBDIR+=	py-dpkt-fix
diff --git a/py-doh-proxy/DESCR b/py-doh-proxy/DESCR
new file mode 100644
index 0000000000..874ab5ad51
--- /dev/null
+++ b/py-doh-proxy/DESCR
@@ -0,0 +1,15 @@
+A set of python 3 scripts that supports proxying DNS over HTTPS as specified
+in the IETF Draft draft-ietf-doh-dns-over-https.
+
+DOH provides a way to run encrypted DNS over HTTPS, a protocol which can freely
+traverse firewalls when other encrypted mechanism may be blocked.
+
+The project comes with a set of 4 tools:
+
+ * doh-proxy: A service that receives DOH queries over HTTP2 and forwards
+              them to a recursive resolver.
+ * doh-httpproxy: Like `doh-proxy` but uses HTTP instead of HTTP2.
+                  The main intent is to run this behind a reverse proxy.
+ * doh-stub: A service that listens for DNS queries and forwards them to a
+             DOH server.
+ * doh-client: A tool to perform a test DNS query against DOH server.
diff --git a/py-doh-proxy/Makefile b/py-doh-proxy/Makefile
new file mode 100644
index 0000000000..776930dd58
--- /dev/null
+++ b/py-doh-proxy/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD$
+
+DISTNAME=	doh-proxy-0.0.6
+PKGNAME=	${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES=	net python
+MASTER_SITES=	${MASTER_SITE_GITHUB:=facebookexperimental/}
+GITHUB_PROJECT=	doh-proxy
+GITHUB_TAG=	v${PKGVERSION_NOREV}
+
+MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=	https://github.com/facebookexperimental/doh-proxy
+COMMENT=	Client and proxy implementation of DoH (DNS over HTTPS)
+LICENSE=	modified-bsd
+
+#DEPENDS+=	${PYPKGPREFIX}-aioh2>=0.2.1:../../wip/py-aioh2
+DEPENDS+=	${PYPKGPREFIX}-aiohttp-[0-9]*:../../www/py-aiohttp
+DEPENDS+=	${PYPKGPREFIX}-dns-[0-9]*:../../net/py-dns
+
+USE_LANGUAGES=	# none
+
+PYTHON_VERSIONS_INCOMPATIBLE=	27 34
+
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/py-doh-proxy/PLIST b/py-doh-proxy/PLIST
new file mode 100644
index 0000000000..c2fe1814ea
--- /dev/null
+++ b/py-doh-proxy/PLIST
@@ -0,0 +1,35 @@
+@comment $NetBSD$
+bin/doh-client
+bin/doh-httpproxy
+bin/doh-proxy
+bin/doh-stub
+${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}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
+${PYSITELIB}/dohproxy/__init__.py
+${PYSITELIB}/dohproxy/__init__.pyc
+${PYSITELIB}/dohproxy/__init__.pyo
+${PYSITELIB}/dohproxy/client.py
+${PYSITELIB}/dohproxy/client.pyc
+${PYSITELIB}/dohproxy/client.pyo
+${PYSITELIB}/dohproxy/constants.py
+${PYSITELIB}/dohproxy/constants.pyc
+${PYSITELIB}/dohproxy/constants.pyo
+${PYSITELIB}/dohproxy/httpproxy.py
+${PYSITELIB}/dohproxy/httpproxy.pyc
+${PYSITELIB}/dohproxy/httpproxy.pyo
+${PYSITELIB}/dohproxy/protocol.py
+${PYSITELIB}/dohproxy/protocol.pyc
+${PYSITELIB}/dohproxy/protocol.pyo
+${PYSITELIB}/dohproxy/proxy.py
+${PYSITELIB}/dohproxy/proxy.pyc
+${PYSITELIB}/dohproxy/proxy.pyo
+${PYSITELIB}/dohproxy/stub.py
+${PYSITELIB}/dohproxy/stub.pyc
+${PYSITELIB}/dohproxy/stub.pyo
+${PYSITELIB}/dohproxy/utils.py
+${PYSITELIB}/dohproxy/utils.pyc
+${PYSITELIB}/dohproxy/utils.pyo
diff --git a/py-doh-proxy/distinfo b/py-doh-proxy/distinfo
new file mode 100644
index 0000000000..b3b4203fba
--- /dev/null
+++ b/py-doh-proxy/distinfo
@@ -0,0 +1,6 @@
+$NetBSD$
+
+SHA1 (doh-proxy-0.0.6.tar.gz) = ceb51f7acbf2cb1ad541901d3b28e97747f8564a
+RMD160 (doh-proxy-0.0.6.tar.gz) = 0f5615ac9812b78e3d8f737dcb12e0f25076ec07
+SHA512 (doh-proxy-0.0.6.tar.gz) = 68d0d6b57a27b426ea70871017161020b6c83bc42daa7ed452c77d924eb0a11ba956b3464a06b32c063f7a521064886cc54110b0d4d8fdb5288ade9080fc9921
+Size (doh-proxy-0.0.6.tar.gz) = 20125 bytes


Home | Main Index | Thread Index | Old Index