coredns: update to 1.10.1.

This commit is contained in:
triallax 2023-05-08 20:24:34 +03:00 committed by Andrew J. Hesford
parent 702465cb0c
commit 6925ea8dfb

View file

@ -1,20 +1,22 @@
# Template file for 'coredns' # Template file for 'coredns'
pkgname=coredns pkgname=coredns
version=1.8.6 version=1.10.1
revision=3 revision=1
build_style=go build_style=go
go_import_path=github.com/coredns/coredns go_import_path=github.com/coredns/coredns
hostmakedepends="git make mmark" hostmakedepends="mmark"
short_desc="CoreDNS is a DNS server that chains plugins" short_desc="CoreDNS is a DNS server that chains plugins"
maintainer="Noel Cower <ncower@nil.dev>" maintainer="Noel Cower <ncower@nil.dev>"
license="Apache-2.0" license="Apache-2.0"
homepage="https://coredns.io" homepage="https://coredns.io"
changelog="https://github.com/coredns/coredns/releases"
distfiles="https://github.com/coredns/coredns/archive/v${version}.tar.gz" distfiles="https://github.com/coredns/coredns/archive/v${version}.tar.gz"
checksum=cbe3764afe2148b8047ea7e5cbba5108c298dee3a9a0391028e2980e35beaa2b checksum=f47186452e5f2925e2c71135669afd9e03b9b55831417d33d612ef2fa69924a7
make_dirs="/etc/coredns 0750 root root" make_dirs="/etc/coredns 0750 root root"
_git_commit=f59c03d09c3a3a12f571ad1087b979325f3dae30 # Update this on each version bump.
go_ldflags+="-X github.com/coredns/coredns/coremain.GitCommit=${_git_commit}" _git_commit=055b2c31a9cf28321734e5f71613ea080d216cd3
go_ldflags="-X github.com/coredns/coredns/coremain.GitCommit=${_git_commit}"
post_build() { post_build() {
make -f Makefile.doc MMARK="$(command -v mmark) -man" man/coredns.1 man/corefile.5 plugins make -f Makefile.doc MMARK="$(command -v mmark) -man" man/coredns.1 man/corefile.5 plugins