From 19e71b2bf9b030645e194a2cb274ca3337607768 Mon Sep 17 00:00:00 2001 From: Jakov Smolic Date: Mon, 9 Nov 2020 09:53:12 +0100 Subject: [PATCH] net-dns/https_dns_proxy: update live ebuild Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic Signed-off-by: Joonas Niilola --- .../https_dns_proxy-9999.ebuild | 28 +++++++++++-------- 1 file changed, 16 insertions(+), 12 deletions(-) diff --git a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild index 4952e64d90ee3..3c26883fb1223 100644 --- a/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild +++ b/net-dns/https_dns_proxy/https_dns_proxy-9999.ebuild @@ -1,27 +1,31 @@ # Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 -inherit git-r3 cmake-utils +EAPI=7 +inherit cmake -DESCRIPTION="A lightweight DNS-over-HTTPS proxy." +if [[ ${PV} == "9999" ]] ; then + EGIT_REPO_URI="https://github.com/aarond10/https_dns_proxy.git" + inherit git-r3 +else + MY_COMMIT="2d9285e2b94bce21c588c8160f8fac660806987a" + SRC_URI="https://github.com/aarond10/https_dns_proxy/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-${MY_COMMIT}" +fi + +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] - " + net-misc/curl[http2,ssl]" RDEPEND="${DEPEND}" src_install() { - cmake-utils_src_install - exeinto /usr/bin - doexe "${S}_build/https_dns_proxy" + cmake_src_install + dobin "${S}_build/https_dns_proxy" }