Commit e8d9a025 authored by Ariadne Conill's avatar Ariadne Conill
Browse files

main/bind: sync APKBUILD from edge, since git mangled it

parent 719aa6c0
# 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/
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment