mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
extra/bind to 9.16.5-2
This commit is contained in:
parent
1dc0909c54
commit
b2491d26c8
1 changed files with 17 additions and 36 deletions
|
@ -7,18 +7,29 @@
|
||||||
# - !makeflags - bind build doesn't like concurrency
|
# - !makeflags - bind build doesn't like concurrency
|
||||||
# - build v6 as armv6kz
|
# - build v6 as armv6kz
|
||||||
|
|
||||||
pkgbase=bind
|
|
||||||
pkgname=(bind bind-tools)
|
|
||||||
_pkgver=9.16.5
|
_pkgver=9.16.5
|
||||||
|
pkgname=bind
|
||||||
pkgver=${_pkgver//-/.}
|
pkgver=${_pkgver//-/.}
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
|
pkgdesc='A complete, highly portable implementation of the DNS protocol'
|
||||||
url='https://www.isc.org/software/bind/'
|
url='https://www.isc.org/software/bind/'
|
||||||
license=('MPL2')
|
license=('MPL2')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
options=('!emptydirs' '!makeflags')
|
options=('!emptydirs' '!makeflags')
|
||||||
makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline'
|
makedepends=('libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'openssl' 'readline'
|
||||||
'libidn2' 'dnssec-anchors' 'python' 'json-c' 'python-ply' 'lmdb' 'zlib' 'icu'
|
'libidn2' 'dnssec-anchors' 'python' 'json-c' 'python-ply' 'lmdb' 'zlib' 'icu'
|
||||||
'xz' 'libmaxminddb' 'libnsl' 'libuv')
|
'xz' 'libmaxminddb' 'libnsl' 'libuv' 'python-sphinx')
|
||||||
|
depends=('bash' 'dnssec-anchors' 'e2fsprogs' 'glibc' 'icu' 'libedit' 'json-c'
|
||||||
|
'krb5' 'libcap' 'libidn2' 'libmaxminddb' 'libnsl' 'libuv' 'libxml2' 'lmdb'
|
||||||
|
'openssl' 'python' 'python-ply' 'readline' 'xz' 'zlib')
|
||||||
|
conflicts=('bind-tools' 'dnsutils')
|
||||||
|
replaces=('bind-tools' 'dnsutils' 'host')
|
||||||
|
provides=('bind-tools' 'dnsutils' 'dns-server')
|
||||||
|
backup=('etc/named.conf'
|
||||||
|
'var/named/127.0.0.zone'
|
||||||
|
'var/named/localhost.zone'
|
||||||
|
'var/named/localhost.ip6.zone')
|
||||||
|
install=bind.install
|
||||||
validpgpkeys=('AE3FAC796711EC59FC007AA474BB6B9A4CBB3D38') #ISC Code Signing Key 2019 – 2020 (codesign@isc.org)
|
validpgpkeys=('AE3FAC796711EC59FC007AA474BB6B9A4CBB3D38') #ISC Code Signing Key 2019 – 2020 (codesign@isc.org)
|
||||||
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'
|
'tmpfiles.conf'
|
||||||
|
@ -79,23 +90,11 @@ build() {
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|
||||||
package_bind() {
|
package() {
|
||||||
pkgdesc='The ISC DNS Server'
|
|
||||||
provides=('dns-server')
|
|
||||||
depends=('glibc' 'libxml2' 'libcap' 'openssl' 'json-c' 'bind-tools' 'zlib'
|
|
||||||
'lmdb' 'libmaxminddb')
|
|
||||||
backup=('etc/named.conf'
|
|
||||||
'var/named/127.0.0.zone'
|
|
||||||
'var/named/localhost.zone'
|
|
||||||
'var/named/localhost.ip6.zone')
|
|
||||||
install=bind.install
|
|
||||||
|
|
||||||
cd "bind-$_pkgver"
|
cd "bind-$_pkgver"
|
||||||
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
|
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
|
||||||
install -Dm644 LICENSE COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/"
|
install -Dm644 LICENSE COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/"
|
||||||
for _d in bin/{check,named,rndc,plugins}; do
|
make DESTDIR="$pkgdir" install
|
||||||
(cd "$_d" && make DESTDIR="$pkgdir" install)
|
|
||||||
done
|
|
||||||
|
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
install -D -m644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
install -D -m644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$pkgname.conf"
|
||||||
|
@ -110,22 +109,4 @@ package_bind() {
|
||||||
install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named"
|
install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named"
|
||||||
}
|
}
|
||||||
|
|
||||||
package_bind-tools() {
|
|
||||||
pkgdesc='The ISC DNS tools'
|
|
||||||
depends=('glibc' 'libcap' 'libxml2' 'zlib' 'krb5' 'e2fsprogs' 'python' 'bash'
|
|
||||||
'openssl' 'readline' 'libidn2' 'dnssec-anchors' 'json-c' 'lmdb' 'xz'
|
|
||||||
'icu' 'python-ply' 'libmaxminddb' 'libnsl' 'libuv')
|
|
||||||
conflicts=('dnsutils')
|
|
||||||
replaces=('dnsutils' 'host')
|
|
||||||
provides=("dnsutils=$pkgver")
|
|
||||||
|
|
||||||
cd "bind-$_pkgver"
|
|
||||||
install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
||||||
make DESTDIR="$pkgdir" SUBDIRS="" install
|
|
||||||
(cd lib && make DESTDIR="$pkgdir" install)
|
|
||||||
for _d in bin/{confgen,dig,dnssec,delv,nsupdate,python,tools}; do
|
|
||||||
(cd "$_d" && make DESTDIR="$pkgdir" install)
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
# vim:set ts=2 sw=2 et:
|
# vim:set ts=2 sw=2 et:
|
||||||
|
|
Loading…
Reference in a new issue