Update package version to 9.21.11

This commit is contained in:
2025-09-09 12:22:47 +03:00
parent 785f250d37
commit 0c59282bab
3 changed files with 20 additions and 16 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
URL="ftp://ftp.isc.org/isc/bind9/"
# Get version number from FTP server
VERSION=$(curl -s --list-only "$URL" | grep -E '^[0-9]{1,}\.[0-9]{1,}(\.[0-9]{1,})?$' | cut -d '-' -f2 | sort -V | tail -n1)
echo "$VERSION"
+3 -2
View File
@@ -1,8 +1,9 @@
name: bind
description: A complete, highly portable implementation of the Domain Name System (DNS) protocol
version: 9.18.24
version: 9.21.11
url: https://www.isc.org/bind/
license: MPL2
architecture: any
depends: ["bash","e2fsprogs","glibc","icu","json-c","krb5","libcap","libidn2","libnghttp2","libnsl","libuv","libxml2","openssl","readline","xz-utils"]
depends: ["bash","e2fsprogs","glibc","icu","json-c","krb5","libcap","libedit","libidn2","libnghttp2","libnsl","liburcu","libuv","libxml2","openssl","readline","xz-utils","zlib"]
make_depends: ["meson"]
type: source
+9 -14
View File
@@ -15,24 +15,19 @@ prepare() {
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-fixed-rrset \
--enable-full-report \
--with-openssl \
--with-libidn2 \
--with-json-c \
--with-libxml2
make
mkdir build
cd build
meson setup --prefix=/usr
meson compile
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {
make DESTDIR="$BPM_OUTPUT" install
cd build
meson install --destdir="$BPM_OUTPUT"
install -Dm644 LICENSE COPYRIGHT -t "$BPM_OUTPUT"/usr/share/licenses/bind/
install -Dm644 "$BPM_SOURCE"/{LICENSE,COPYRIGHT} -t "$BPM_OUTPUT"/usr/share/licenses/bind/
}