Merge pull request #176126 from posch/bind2

This commit is contained in:
Franz Pletz 2022-09-05 15:18:23 +02:00 committed by GitHub
commit 54cca744d9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -48,6 +48,15 @@ stdenv.mkDerivation rec {
for f in "$lib/lib/"*.la "$dev/bin/"bind*-config; do
sed -i "$f" -e 's|-L${openssl.dev}|-L${lib.getLib openssl}|g'
done
cat <<EOF >$out/etc/rndc.conf
include "/etc/bind/rndc.key";
options {
default-key "rndc-key";
default-server 127.0.0.1;
default-port 953;
};
EOF
'';
doCheck = false; # requires root and the net