From 4b4d352fc9761396c68812d8eccc63b7b14d6558 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 3 Aug 2022 13:53:01 +0100 Subject: gentoo auto-resync : 03.08.2022 - 13:42:43 --- net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild') diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild index 3e4c51ce549e..f80bcb78727b 100644 --- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild +++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild @@ -1,28 +1,25 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 - -EGO_PN="github.com/DNSCrypt/${PN}" +EAPI=8 inherit fcaps go-module systemd +DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols" +HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy" + if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://github.com/DNSCrypt/dnscrypt-proxy.git" inherit git-r3 - EGIT_REPO_URI="https://${EGO_PN}.git" else - SRC_URI="https://${EGO_PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + SRC_URI="https://github.com/DNSCrypt/dnscrypt-proxy/archive/${PV}.tar.gz -> ${P}.tar.gz" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" fi -DESCRIPTION="A flexible DNS proxy, with support for encrypted DNS protocols" -HOMEPAGE="https://github.com/DNSCrypt/dnscrypt-proxy" - LICENSE="Apache-2.0 BSD ISC MIT MPL-2.0" SLOT="0" IUSE="+pie" -BDEPEND=">=dev-lang/go-1.13" RDEPEND=" acct-group/dnscrypt-proxy acct-user/dnscrypt-proxy @@ -31,7 +28,7 @@ RDEPEND=" FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy ) PATCHES=( - "${FILESDIR}/${PN}-2.1.0-config-full-paths.patch" + "${FILESDIR}"/${PN}-2.1.2-config-full-paths.patch ) src_compile() { @@ -96,7 +93,7 @@ pkg_postinst() { fi elog "After starting the service you will need to update your" - elog "/etc/resolv.conf and replace your current set of resolvers" + elog "${EROOT}/etc/resolv.conf and replace your current set of resolvers" elog "with:" elog elog "nameserver 127.0.0.1" -- cgit v1.2.3