dnscrypt-proxy: build for go1.20
This commit is contained in:
parent
8748e89183
commit
5bff83e826
@ -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 <cinerea0@protonmail.com>"
|
||||
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user