net-dns/https_dns_proxy: New package
authorRichard Yao <ryao@gentoo.org>
Wed, 29 Mar 2017 02:50:01 +0000 (22:50 -0400)
committerRichard Yao <ryao@gentoo.org>
Wed, 29 Mar 2017 02:52:42 +0000 (22:52 -0400)
Tested on ~mips. Will commit snapshot at later point

Package-Manager: Portage-2.3.3, Repoman-2.3.0-r1

Signed-off-by: Richard Yao <ryao@gentoo.org>
net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild [new file with mode: 0644]
net-dns/https_dns_proxy/metadata.xml [new file with mode: 0644]

diff --git a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild
new file mode 100644 (file)
index 0000000..b38110d
--- /dev/null
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit git-r3 cmake-utils
+
+DESCRIPTION="A lightweight DNS-over-HTTPS proxy."
+HOMEPAGE="https://github.com/aarond10/https_dns_proxy"
+EGIT_REPO_URI="https://github.com/aarond10/${PN}.git"
+SRC_URI=""
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+
+DEPEND="dev-libs/libev
+       net-dns/c-ares
+       >=net-misc/curl-7.53.0[http2,ssl]
+       "
+RDEPEND="${DEPEND}"
+
+src_install(){
+       cmake-utils_src_install
+       exeinto /usr/bin
+       doexe "${S}_build/https_dns_proxy"
+}
diff --git a/net-dns/https_dns_proxy/metadata.xml b/net-dns/https_dns_proxy/metadata.xml
new file mode 100644 (file)
index 0000000..3f5fced
--- /dev/null
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>ryao@gentoo.org</email>
+               <name>Richard Yao</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">wrouesnel/dns-over-https-proxy</remote-id>
+       </upstream>
+</pkgmetadata>