From 5bff83e8267a714379bd55c72424c4e1729840e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 24 Aug 2023 21:03:52 +0700 Subject: [PATCH] dnscrypt-proxy: build for go1.20 --- srcpkgs/dnscrypt-proxy/template | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/srcpkgs/dnscrypt-proxy/template b/srcpkgs/dnscrypt-proxy/template index 3686e5ec8e5..e66cd6110ac 100644 --- a/srcpkgs/dnscrypt-proxy/template +++ b/srcpkgs/dnscrypt-proxy/template @@ -1,10 +1,11 @@ # Template file for 'dnscrypt-proxy' pkgname=dnscrypt-proxy version=2.1.4 -revision=4 +revision=5 build_style=go go_import_path=github.com/dnscrypt/dnscrypt-proxy go_package="${go_import_path}/dnscrypt-proxy" +hostmakedepends="go1.20" short_desc="DNS proxy that encrypts queries" maintainer="cinerea0 " license="ISC" @@ -16,11 +17,7 @@ conf_files="/etc/dnscrypt-proxy.toml" system_accounts="dnscrypt_proxy" make_dirs="/var/log/dnscrypt-proxy 0750 dnscrypt_proxy dnscrypt_proxy" -broken="GOTOOLCHAIN not supported" - -pre_build() { - export GOTOOLCHAIN="go1.20.7" -} +export GOTOOLCHAIN=go1.20 post_install() { vconf dnscrypt-proxy/example-dnscrypt-proxy.toml dnscrypt-proxy.toml