summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--user/bind/APKBUILD20
1 files changed, 17 insertions, 3 deletions
diff --git a/user/bind/APKBUILD b/user/bind/APKBUILD
index 44cd5cf30..5faa93b71 100644
--- a/user/bind/APKBUILD
+++ b/user/bind/APKBUILD
@@ -4,7 +4,7 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Dan Theisen <djt@hxx.in>
pkgname=bind
-pkgver=9.16.8
+pkgver=9.16.21
_p=${pkgver#*_p}
_ver=${pkgver%_p*}
_major=${pkgver%%.*}
@@ -41,6 +41,10 @@ source="https://ftp.isc.org/isc/${pkgname}${_major}/$_ver/$pkgname-$_ver.tar.xz
builddir="$srcdir/$pkgname-$_ver"
# secfixes:
+# 9.16.21-r0:
+# - CVE-2021-25214
+# - CVE-2021-25215
+# - CVE-2021-25216
# 9.16.8-r0:
# - CVE-2020-8620
# - CVE-2020-8621
@@ -110,7 +114,6 @@ build() {
--with-libjson \
--enable-linux-caps \
--enable-shared \
- --enable-static \
--with-libtool
make
}
@@ -145,6 +148,17 @@ package() {
ln -s named.ca root.cache
}
+libs() {
+ default_libs
+ for dir in lib usr/lib; do
+ for file in "$pkgdir"/$dir/lib*-"$pkgver".so; do
+ [ -f "$file" ] || continue
+ mkdir -p "$subpkgdir"/$dir
+ mv "$file" "$subpkgdir"/$dir/
+ done
+ done
+}
+
tools() {
pkgdesc="The ISC DNS tools"
install=""
@@ -161,7 +175,7 @@ tools() {
done
}
-sha512sums="803af842b4f83c16556036f3a2a52b4aeab4781bafb35385b786a3331cf17ef6148c23928f6903fd371337ba92870d7a8548f5d178b805d160d0af34af45fee7 bind-9.16.8.tar.xz
+sha512sums="2cb71e50600fd7409ca7b7e2e9cf4ef6668b07faad7980ac8060e6a76f30a315182d75534ad1dcfb740c225cdf727b2bd6aa9ceb24ab77ffff09b7b5d6eaca2d bind-9.16.21.tar.xz
7167dccdb2833643dfdb92994373d2cc087e52ba23b51bd68bd322ff9aca6744f01fa9d8a4b9cd8c4ce471755a85c03ec956ec0d8a1d4fae02124ddbed6841f6 bind.so_bsdcompat.patch
196c0a3b43cf89e8e3547d7fb63a93ff9a3306505658dfd9aa78e6861be6b226580b424dd3dd44b955b2d9f682b1dc62c457f3ac29ce86200ef070140608c015 named.initd
127bdcc0b5079961f0951344bc3fad547450c81aee2149eac8c41a8c0c973ea0ffe3f956684c6fcb735a29c43d2ff48c153b6a71a0f15757819a72c492488ddf named.confd