dq: update to 0.0.20220101.

This commit is contained in:
Duncaen 2022-01-01 14:32:09 +01:00
parent 9fe2c77acb
commit a802e3fb44
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35

View file

@ -1,6 +1,6 @@
# Template file for 'dq'
pkgname=dq
version=0.0.20211217
version=0.0.20220101
revision=1
wrksrc="${pkgname}-${version##*.}"
build_style=gnu-makefile
@ -16,7 +16,7 @@ maintainer="Duncaen <duncaen@voidlinux.org>"
license="Public Domain"
homepage="https://mojzis.com/software/dq/"
distfiles="https://github.com/janmojzis/dq/archive/${version##*.}.tar.gz"
checksum=bfe5b0ab164ef26884626d582ac1bbc28de2cad9cbb1fa84aecd2c79bceeb1c5
checksum=1ec16730569656f8a7c0ace5a6767dbb3aee243e923448cc2368e11b25e74ae7
if [ "$CROSS_BUILD" ]; then
make_build_target="cross-compile"
@ -37,31 +37,34 @@ post_install() {
vmkdir etc/dqcache/root/servers
# https://www.iana.org/domains/root/servers
cat <<! >"@"
198.41.0.4
2001:503:ba3e::2:30
192.228.79.201
2001:500:84::b
192.33.4.12
2001:500:2::c
199.7.91.13
2001:500:2d::d
192.203.230.10
192.5.5.241
2001:500:2f::f
192.112.36.4
198.97.190.53
2001:500:1::53
192.36.148.17
2001:7fe::53
192.58.128.30
2001:503:c27::2:30
193.0.14.129
2001:7fd::1
199.7.83.42
2001:500:9f::42
202.12.27.33
2001:dc3::35
!
# curl https://www.internic.net/domain/named.root | awk '$0 !~ /^;/ && $3 ~ /^A$|^AAAA$/ {print $4}'
cat <<-! >"@"
198.41.0.4
2001:503:ba3e::2:30
199.9.14.201
2001:500:200::b
192.33.4.12
2001:500:2::c
199.7.91.13
2001:500:2d::d
192.203.230.10
2001:500:a8::e
192.5.5.241
2001:500:2f::f
192.112.36.4
2001:500:12::d0d
198.97.190.53
2001:500:1::53
192.36.148.17
2001:7fe::53
192.58.128.30
2001:503:c27::2:30
193.0.14.129
2001:7fd::1
199.7.83.42
2001:500:9f::42
202.12.27.33
2001:dc3::35
!
vinstall "@" 644 etc/dqcache/root/servers
}