aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan P. Stanić <mps@arvanta.net>2020-03-05 18:36:09 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-03-08 15:00:44 -0300
commitecb61c8c0b2994a069c66a72c3bb42e99b82af25 (patch)
treede3a6df625049bddc2e63f03b69f29ebbc5027f8
parenta4b6b141865fa7d9a87617ec7f6edc61d22b9706 (diff)
downloadaports-ecb61c8c0b2994a069c66a72c3bb42e99b82af25.tar.bz2
aports-ecb61c8c0b2994a069c66a72c3bb42e99b82af25.tar.xz
main/nsd: enable ratelimit configure option
enable ratelimit configure option but set it to off by default and it can be enabled by admin if needed
-rw-r--r--main/nsd/APKBUILD6
1 files changed, 4 insertions, 2 deletions
diff --git a/main/nsd/APKBUILD b/main/nsd/APKBUILD
index 55fe19a3f5..4681286eb6 100644
--- a/main/nsd/APKBUILD
+++ b/main/nsd/APKBUILD
@@ -5,7 +5,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=nsd
pkgver=4.2.4
-pkgrel=0
+pkgrel=1
pkgdesc="Authoritative only, high performance and simple DNS server"
url="https://www.nlnetlabs.nl/projects/nsd"
arch="all"
@@ -29,7 +29,9 @@ build() {
--mandir=/usr/share/man \
--with-user=nsd \
--with-pidfile=/run/nsd/nsd.pid \
- --with-xfrdir=/var/db/nsd
+ --with-xfrdir=/var/db/nsd \
+ --enable-ratelimit \
+ --enable-ratelimit-default-is-off
make
}