summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2019-03-13 19:29:43 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2019-03-13 19:29:43 -0700
commit0f18ecc8dda06ecd3721efecb25269e1a15f9e82 (patch)
tree9ff4ea41607f133c66626b1c814f6734d70062e4 /net-dns
parentnet-dns/dnscrypt-proxy: bump to 2.0.20 (diff)
downloadgentoo-0f18ecc8dda06ecd3721efecb25269e1a15f9e82.tar.gz
gentoo-0f18ecc8dda06ecd3721efecb25269e1a15f9e82.tar.bz2
gentoo-0f18ecc8dda06ecd3721efecb25269e1a15f9e82.zip
net-dns/dnscrypt-proxy: sync live ebuild
Package-Manager: Portage-2.3.62, Repoman-2.3.12 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'net-dns')
-rw-r--r--net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild
index 46f88908c5f8..419d40281c69 100644
--- a/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild
+++ b/net-dns/dnscrypt-proxy/dnscrypt-proxy-9999.ebuild
@@ -22,6 +22,8 @@ LICENSE="ISC"
SLOT="0"
IUSE="pie"
+DEPEND=">=dev-lang/go-1.12"
+
FILECAPS=( cap_net_bind_service+ep usr/bin/dnscrypt-proxy )
PATCHES=( "${FILESDIR}"/config-full-paths-r10.patch )
@@ -34,6 +36,8 @@ src_prepare() {
default
# Create directory structure suitable for building
mkdir -p "src/${EGO_PN%/*}" || die
+ # fixes $GOPATH/go.mod exists but should not
+ rm go.mod || die
mv "${PN}" "src/${EGO_PN}" || die
mv "vendor" "src/" || die
}