mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-02-16 23:57:11 +00:00
extra/bind to 9.16.3-1
This commit is contained in:
parent
7a00a2bfd8
commit
590326342a
1 changed files with 13 additions and 9 deletions
|
@ -9,9 +9,9 @@
|
|||
|
||||
pkgbase=bind
|
||||
pkgname=(bind bind-tools)
|
||||
_pkgver=9.16.2
|
||||
_pkgver=9.16.3
|
||||
pkgver=${_pkgver//-/.}
|
||||
pkgrel=2
|
||||
pkgrel=1
|
||||
url='https://www.isc.org/software/bind/'
|
||||
license=('MPL2')
|
||||
arch=('x86_64')
|
||||
|
@ -28,7 +28,7 @@ source=("https://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.xz"{,.asc}
|
|||
'localhost.zone'
|
||||
'localhost.ip6.zone'
|
||||
'127.0.0.zone')
|
||||
sha256sums=('d9e5b77cfca5ccad97f19cddc87128758ec15c16e6585000c6b2f84fc225993f'
|
||||
sha256sums=('27ac6513de5f8d0db34b9f241da53baa15a14b2ad21338d0cde0826eaf564f7e'
|
||||
'SKIP'
|
||||
'f0423c4ee8495da487e07e9144bec1d25f46a0cd2dfa7cfd7a761ef15bfefc98'
|
||||
'7c0acefcfcc3ae093550caed7ec90fe84bec8f7477459ffa7e71dda76bcbdb2c'
|
||||
|
@ -53,7 +53,11 @@ prepare() {
|
|||
|
||||
build() {
|
||||
cd bind-$_pkgver
|
||||
export CFLAGS+=' -DDIG_SIGCHASE'
|
||||
export CFLAGS
|
||||
# support to chase DNSSEC signature chains
|
||||
CFLAGS+=' -DDIG_SIGCHASE'
|
||||
# compile with gcc10, https://gcc.gnu.org/gcc-10/porting_to.html
|
||||
CFLAGS+=' -fcommon'
|
||||
[[ $CARCH == "armv6h" ]] && CFLAGS+=" -march=armv6zk"
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
|
@ -65,10 +69,10 @@ build() {
|
|||
--enable-full-report \
|
||||
--enable-dnsrps \
|
||||
--with-python=/usr/bin/python \
|
||||
--with-geoip2 \
|
||||
--with-maxminddb \
|
||||
--with-openssl \
|
||||
--with-libidn2 \
|
||||
--with-libjson \
|
||||
--with-json-c \
|
||||
--with-libxml2 \
|
||||
--with-lmdb \
|
||||
--with-libtool
|
||||
|
@ -101,9 +105,9 @@ package_bind() {
|
|||
install -D -m640 -o 0 -g 40 named.conf "$pkgdir/etc/named.conf"
|
||||
|
||||
install -d -m770 -o 0 -g 40 "$pkgdir/var/named"
|
||||
install -m640 -o 0 -g 40 localhost.zone "$pkgdir/var/named"
|
||||
install -m640 -o 0 -g 40 localhost.ip6.zone "$pkgdir/var/named"
|
||||
install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named"
|
||||
install -m640 -o 0 -g 40 localhost.zone "$pkgdir/var/named"
|
||||
install -m640 -o 0 -g 40 localhost.ip6.zone "$pkgdir/var/named"
|
||||
install -m640 -o 0 -g 40 127.0.0.zone "$pkgdir/var/named"
|
||||
}
|
||||
|
||||
package_bind-tools() {
|
||||
|
|
Loading…
Reference in a new issue