Skip to content

Commit c1dfaa5

Browse files
committed
coredns: update to 1.14.2
1 parent f7943d1 commit c1dfaa5

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

srcpkgs/coredns/template

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,34 @@
11
# Template file for 'coredns'
22
pkgname=coredns
3-
version=1.10.1
4-
revision=4
3+
version=1.14.2
4+
revision=1
55
build_style=go
66
go_import_path=github.com/coredns/coredns
7+
go_build_tags=grpcnotrace
78
hostmakedepends="mmark"
89
short_desc="CoreDNS is a DNS server that chains plugins"
910
maintainer="Orphaned <orphan@voidlinux.org>"
1011
license="Apache-2.0"
1112
homepage="https://coredns.io"
1213
changelog="https://github.com/coredns/coredns/releases"
1314
distfiles="https://github.com/coredns/coredns/archive/v${version}.tar.gz"
14-
checksum=f47186452e5f2925e2c71135669afd9e03b9b55831417d33d612ef2fa69924a7
15+
checksum=ab933ed4f04de3cf377d0ecc8399fa1a6613cecdd7a1c40d90eb0a7471463fdb
1516
make_dirs="/etc/coredns 0750 root root"
1617
conf_files="/etc/coredns/Corefile"
1718

1819
# Update this on each version bump.
19-
_git_commit=055b2c31a9cf28321734e5f71613ea080d216cd3
20+
_git_commit=dd1df4f5db93767a44e37638df44969503b320d2
2021
go_ldflags="-X github.com/coredns/coredns/coremain.GitCommit=${_git_commit}"
2122

23+
do_check() {
24+
local ignore="github.com/coredns/coredns/test$"
25+
if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then
26+
ignore="${ignore}|github.com/coredns/coredns/plugin/trace$"
27+
fi
28+
go test -p "$XBPS_MAKEJOBS" -tags "${go_build_tags}" -ldflags "${go_ldflags}" \
29+
$(go list ./... | grep -vE "$ignore")
30+
}
31+
2232
post_build() {
2333
make -f Makefile.doc MMARK="$(command -v mmark) -man" man/coredns.1 man/corefile.5 plugins
2434
}

0 commit comments

Comments
 (0)