mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-30 22:48:07 -07:00
net-dns/https_dns_proxy: add snapshot ebuild
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
This commit is contained in:
committed by
Joonas Niilola
parent
19e71b2bf9
commit
c7be1dfd76
1
net-dns/https_dns_proxy/Manifest
Normal file
1
net-dns/https_dns_proxy/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST https_dns_proxy-0_pre20200925.tar.gz 16270 BLAKE2B 2677f63662d030fa1b6955f819eb6cbab6916356aa06ede13c4942824ea5c9c88f93d5c53fe725989ec668b3152c8242755279752abb1ed9941b57b83d137191 SHA512 8d0bc083447eaf5973a3ed3efbd7946c62fcabca7286266d2ac445aa522a11bff41201f54e1acb49483957a7f488578cfbb7053cd0cc83ca42c4146eab4e44ca
|
||||
31
net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild
Normal file
31
net-dns/https_dns_proxy/https_dns_proxy-0_pre20200925.ebuild
Normal file
@@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit cmake
|
||||
|
||||
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"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="dev-libs/libev
|
||||
net-dns/c-ares
|
||||
net-misc/curl[http2,ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
dobin "${WORKDIR}/${P}_build/https_dns_proxy"
|
||||
}
|
||||
Reference in New Issue
Block a user