summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD20
-rw-r--r--sysusers.conf2
3 files changed, 23 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fd1f86208fe9..fce444766c62 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,18 @@
pkgbase = bind-rl
pkgdesc = The ISC BIND nameserver with Response Rate Limiting(RRL) enabled.
- pkgver = 9.10.2
+ pkgver = 9.10.2.P1
pkgrel = 1
url = http://www.isc.org/software/bind/
install = bind.install
arch = i686
arch = x86_64
license = custom:ISC
- depends = openssl
- depends = krb5
+ depends = glibc
depends = libxml2
depends = libcap
+ depends = openssl
+ depends = geoip
+ depends = bind-tools
provides = dns-server
conflicts = bind
options = !emptydirs
@@ -19,8 +21,8 @@ pkgbase = bind-rl
backup = var/named/localhost.zone
backup = var/named/localhost.ip6.zone
backup = var/named/empty.zone
- source = http://ftp.isc.org/isc/bind9/9.10.2/bind-9.10.2.tar.gz
- source = http://ftp.isc.org/isc/bind9/9.10.2/bind-9.10.2.tar.gz.asc
+ source = http://ftp.isc.org/isc/bind9/9.10.2-P1/bind-9.10.2-P1.tar.gz
+ source = http://ftp.isc.org/isc/bind9/9.10.2-P1/bind-9.10.2-P1.tar.gz.asc
source = tmpfiles.conf
source = sysusers.conf
source = named.conf
@@ -29,10 +31,10 @@ pkgbase = bind-rl
source = localhost.ip6.zone
source = 127.0.0.zone
source = empty.zone
- sha1sums = 4ddb2670976c06af7e86352616383958d82c51ce
+ sha1sums = 1c25e0d3faeac4c78ef338e7a6f1145f53d973f3
sha1sums = SKIP
sha1sums = c5a2bcd9b0f009ae71f3a03fbdbe012196962a11
- sha1sums = 6bebf4ff8ca4482a83f4d3dbf176d9bffd89eefa
+ sha1sums = 9537f4835a1f736788d0733c7996a10db2d4eee4
sha1sums = c017aae379c32c7cb1aa1ad84776b83e3a5c139f
sha1sums = cb2e81b4cbf9efafb3e81e3752f0154e779cc7ec
sha1sums = 6704303a6ed431a29b1d8fe7b12decd4d1f2f50f
diff --git a/PKGBUILD b/PKGBUILD
index 52a1227a0f36..3c48eb96dbf6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,15 +6,15 @@
pkgname=bind-rl
_pkgname=bind
-_pkgver=9.10.2
-pkgver=9.10.2
+_pkgver=9.10.2-P1
+pkgver=9.10.2.P1
pkgrel=1
pkgdesc='The ISC BIND nameserver with Response Rate Limiting(RRL) enabled.'
url='http://www.isc.org/software/bind/'
license=('custom:ISC')
arch=('i686' 'x86_64')
options=('!emptydirs')
-depends=('openssl' 'krb5' 'libxml2' 'libcap')
+depends=('glibc' 'libxml2' 'libcap' 'openssl' 'geoip' 'bind-tools')
conflicts=('bind')
provides=('dns-server')
backup=('etc/named.conf'
@@ -34,10 +34,10 @@ source=("http://ftp.isc.org/isc/bind9/${_pkgver}/bind-${_pkgver}.tar.gz"{,.asc}
'localhost.ip6.zone'
'127.0.0.zone'
'empty.zone')
-sha1sums=('4ddb2670976c06af7e86352616383958d82c51ce'
+sha1sums=('1c25e0d3faeac4c78ef338e7a6f1145f53d973f3'
'SKIP'
'c5a2bcd9b0f009ae71f3a03fbdbe012196962a11'
- '6bebf4ff8ca4482a83f4d3dbf176d9bffd89eefa'
+ '9537f4835a1f736788d0733c7996a10db2d4eee4'
'c017aae379c32c7cb1aa1ad84776b83e3a5c139f'
'cb2e81b4cbf9efafb3e81e3752f0154e779cc7ec'
'6704303a6ed431a29b1d8fe7b12decd4d1f2f50f'
@@ -63,6 +63,10 @@ build() {
--sbindir=/usr/bin \
--localstatedir=/var \
--disable-static \
+ --with-python=/usr/bin/python \
+ --with-geoip \
+ --with-ipv6 \
+ --with-idn \
--with-openssl \
--with-libxml2 \
--with-libtool \
@@ -73,9 +77,11 @@ build() {
package() {
pushd "bind-$_pkgver"
install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
- make DESTDIR="$pkgdir" install
- popd
+ for _d in bin/{check,confgen,named,rndc}; do
+ (cd "$_d" && make DESTDIR="$pkgdir" install)
+ done
+ cd "$srcdir"
install -D -m644 tmpfiles.conf "$pkgdir/usr/lib/tmpfiles.d/$_pkgname.conf"
install -D -m644 sysusers.conf "$pkgdir/usr/lib/sysusers.d/$_pkgname.conf"
diff --git a/sysusers.conf b/sysusers.conf
index 2a2a500b7de3..b02acb172e1b 100644
--- a/sysusers.conf
+++ b/sysusers.conf
@@ -1 +1 @@
-u named 40 "BIND DNS Server" /var/named
+u named 40 "BIND DNS Server" -