aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2021-04-29 04:50:14 -0600
committerAriadne Conill <ariadne@dereferenced.org>2021-04-29 04:51:19 -0600
commite8d9a0254f185114acd7583f2b8342d941b0ccb5 (patch)
tree4b4f420ebeaff9902182465ef7c9167a3e38a1e9
parent719aa6c07153cd5b5663172dd850774eddeddaf4 (diff)
downloadaports-e8d9a0254f185114acd7583f2b8342d941b0ccb5.tar.gz
aports-e8d9a0254f185114acd7583f2b8342d941b0ccb5.tar.bz2
aports-e8d9a0254f185114acd7583f2b8342d941b0ccb5.tar.xz
main/bind: sync APKBUILD from edge, since git mangled it
-rw-r--r--main/bind/APKBUILD34
1 files changed, 16 insertions, 18 deletions
diff --git a/main/bind/APKBUILD b/main/bind/APKBUILD
index ae940e2abd..bc4f719983 100644
--- a/main/bind/APKBUILD
+++ b/main/bind/APKBUILD
@@ -1,6 +1,6 @@
# Contributor: Sergei Lukin <sergej.lukin@gmail.com>
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: tcely <bind+aports@tcely.33mail.com>
pkgname=bind
@@ -8,19 +8,19 @@ pkgver=9.16.15
_ver=${pkgver%_p*}
_p=${pkgver#*_p}
_major=${pkgver%%.*}
-pkgrel=1
-[ "$_p" != "$pkgver" ] && _ver="${_ver}-P$_p"
+[ "$_p" != "$pkgver" ] && _ver="$_ver-P$_p"
+pkgrel=2
pkgdesc="The ISC DNS server"
-url="https://www.isc.org"
+url="https://www.isc.org/"
arch="all"
license="MPL-2.0"
pkgusers="named"
pkggroups="named"
depends="dns-root-hints"
depends_dev="$pkgname $pkgname-plugins $pkgname-tools"
-depends_plugins="$pkgname"
+_depends_plugins="$pkgname"
_root_keys_upstream="dnssec-root"
-depends_root_keys="$_root_keys_upstream"
+_depends_root_keys="$_root_keys_upstream"
_py3deps="py3-ply python3"
makedepends="
bash
@@ -29,15 +29,16 @@ makedepends="
json-c-dev
krb5-dev
libcap-dev
+ libuv-dev
libxml2-dev
linux-headers
openldap-dev
openssl-dev
perl
protobuf-c-dev
- libuv-dev
$_py3deps
python3-dev
+ $_depends_root_keys
"
install="$pkgname.pre-install"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs $pkgname-openrc
@@ -68,11 +69,14 @@ source="
# - CVE-2020-8620
# - CVE-2020-8621
# - CVE-2020-8622
+# - CVE-2020-8623
# - CVE-2020-8624
+# 9.16.4-r0:
+# - CVE-2020-8618
+# - CVE-2020-8619
# 9.14.12-r0:
# - CVE-2020-8616
# - CVE-2020-8617
-# - CVE-2020-8619
# 9.14.8-r0:
# - CVE-2019-6477
# 9.14.7-r0:
@@ -117,7 +121,7 @@ prepare() {
}
build() {
- ### http://bugs.gentoo.org/show_bug.cgi?id=227333
+ ### https://bugs.gentoo.org/show_bug.cgi?id=227333
export CFLAGS="$CFLAGS -D_GNU_SOURCE"
./configure \
@@ -143,7 +147,8 @@ build() {
--enable-linux-caps \
--enable-shared \
--enable-static \
- --disable-isc-spnego
+ --disable-isc-spnego \
+ --disable-backtrace
make
}
@@ -180,13 +185,6 @@ package() {
ln -s named.ca root.cache
}
-dev() {
- default_dev
-
- mkdir -p "$subpkgdir"/usr/bin
- mv "$pkgdir"/usr/bin/isc-config.sh "$subpkgdir"/usr/bin/
-}
-
_py3() {
pkgdesc="A module allowing rndc commands to be sent from Python programs"
depends="$_py3deps"
@@ -207,7 +205,7 @@ _dnssec_tools() {
plugins() {
pkgdesc="The ISC DNS server plugins"
- depends="$depends_plugins"
+ depends="$_depends_plugins"
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/bind "$subpkgdir"/usr/lib/