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-07 23:28:27 -0300
commit5cfecee7095bb5a28679fc476cd4256b4895ac16 (patch)
treea4478f9a03689bc4e0543c2367861edfd19602d9
parentbfe51f74f3dff53e9de90827b340defe35012f10 (diff)
downloadaports-5cfecee7095bb5a28679fc476cd4256b4895ac16.tar.gz
aports-5cfecee7095bb5a28679fc476cd4256b4895ac16.tar.bz2
aports-5cfecee7095bb5a28679fc476cd4256b4895ac16.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
}