extra/bind to 9.18.28-1

This commit is contained in:
Kevin Mihelich 2024-07-23 18:27:36 +00:00
parent c6e4dcb037
commit d5a633bac5
3 changed files with 21 additions and 11 deletions

View file

@ -1,6 +1,6 @@
pkgbase = bind
pkgdesc = A complete, highly portable implementation of the DNS protocol
pkgver = 9.18.27
pkgver = 9.18.28
pkgrel = 1
url = https://www.isc.org/software/bind/
install = bind.install
@ -40,8 +40,8 @@ pkgbase = bind
backup = var/named/127.0.0.zone
backup = var/named/localhost.zone
backup = var/named/localhost.ip6.zone
source = https://ftp.isc.org/isc/bind9/9.18.27/bind-9.18.27.tar.xz
source = https://ftp.isc.org/isc/bind9/9.18.27/bind-9.18.27.tar.xz.asc
source = https://ftp.isc.org/isc/bind9/9.18.28/bind-9.18.28.tar.xz
source = https://ftp.isc.org/isc/bind9/9.18.28/bind-9.18.28.tar.xz.asc
source = tmpfiles.conf
source = sysusers.conf
source = named.conf
@ -51,7 +51,7 @@ pkgbase = bind
source = 127.0.0.zone
validpgpkeys = D99CCEAF879747014F038D63182E23579462EFAA
validpgpkeys = 706B6C28620E76F91D11F7DF510A642A06C52CEC
sha256sums = ea3f3d8cfa2f6ae78c8722751d008f54bc17a3aed2be3f7399eb7bf5f4cda8f1
sha256sums = e7cce9a165f7b619eefc4832f0a8dc16b005d29e3890aed6008c506ea286a5e7
sha256sums = SKIP
sha256sums = f0423c4ee8495da487e07e9144bec1d25f46a0cd2dfa7cfd7a761ef15bfefc98
sha256sums = 7c0acefcfcc3ae093550caed7ec90fe84bec8f7477459ffa7e71dda76bcbdb2c

View file

@ -0,0 +1,10 @@
# BIND versions are typically in the form of X.Y.Z where "Y"
# is an even number for stable releases or an odd number for
# development releases.
# https://kb.isc.org/docs/aa-01540
[bind]
source = "git"
git = "https://gitlab.isc.org/isc-projects/bind9.git"
prefix = "v"
exclude_regex = "v[0-9]+\\.[0-9]?[13579]\\.[0-9]+"

View file

@ -7,9 +7,9 @@
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - !makeflags - bind build doesn't like concurrency
_pkgver=9.18.27
pkgname=bind
pkgver=${_pkgver//-/.}
pkgver=9.18.28
#pkgver=${_pkgver//-/.}
pkgrel=1
pkgdesc='A complete, highly portable implementation of the DNS protocol'
url='https://www.isc.org/software/bind/'
@ -29,7 +29,7 @@ backup=('etc/named.conf'
install=bind.install
validpgpkeys=('D99CCEAF879747014F038D63182E23579462EFAA' # Michal Nowak
'706B6C28620E76F91D11F7DF510A642A06C52CEC') # Michał Kępień
source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.xz"{,.asc}
source=("https://ftp.isc.org/isc/bind9/${pkgver}/bind-${pkgver}.tar.xz"{,.asc}
'tmpfiles.conf'
'sysusers.conf'
'named.conf'
@ -37,7 +37,7 @@ source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.xz"{,.asc}
'localhost.zone'
'localhost.ip6.zone'
'127.0.0.zone')
sha256sums=('ea3f3d8cfa2f6ae78c8722751d008f54bc17a3aed2be3f7399eb7bf5f4cda8f1'
sha256sums=('e7cce9a165f7b619eefc4832f0a8dc16b005d29e3890aed6008c506ea286a5e7'
'SKIP'
'f0423c4ee8495da487e07e9144bec1d25f46a0cd2dfa7cfd7a761ef15bfefc98'
'7c0acefcfcc3ae093550caed7ec90fe84bec8f7477459ffa7e71dda76bcbdb2c'
@ -48,7 +48,7 @@ sha256sums=('ea3f3d8cfa2f6ae78c8722751d008f54bc17a3aed2be3f7399eb7bf5f4cda8f1'
'b88fd2b99e7d42d414b329b814b9ff3304fa0ef9c67df81bde235bbfa0f3a3b8')
prepare() {
cd bind-$_pkgver
cd bind-$pkgver
# apply patch from the source array (should be a pacman feature)
local src
for src in "${source[@]}"; do
@ -61,7 +61,7 @@ prepare() {
}
build() {
cd bind-$_pkgver
cd bind-$pkgver
export CFLAGS
# support to chase DNSSEC signature chains
CFLAGS+=' -DDIG_SIGCHASE'
@ -86,7 +86,7 @@ build() {
# See: https://gitlab.isc.org/isc-projects/bind9/-/blob/main/README.md#testing.
package() {
cd "bind-$_pkgver"
cd bind-$pkgver
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
install -Dm644 LICENSE COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/"
make DESTDIR="$pkgdir" install