dnsdist: 1.3.2 -> 1.4.0
- fixes build against boost - also enable DoH
This commit is contained in:
parent
b9bc38934b
commit
0913701d47
@ -1,22 +1,26 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, systemd
|
{ stdenv, fetchurl, pkgconfig, systemd
|
||||||
, boost, libsodium, libedit, re2
|
, boost, libsodium, libedit, re2
|
||||||
, net_snmp, lua, protobuf, openssl }: stdenv.mkDerivation rec {
|
, net_snmp, lua, protobuf, openssl, zlib, h2o
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
pname = "dnsdist";
|
pname = "dnsdist";
|
||||||
version = "1.3.2";
|
version = "1.4.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.powerdns.com/releases/dnsdist-${version}.tar.bz2";
|
url = "https://downloads.powerdns.com/releases/dnsdist-${version}.tar.bz2";
|
||||||
sha256 = "1i3b1vpk9a8zbx9aby2s1ckkzhlvzgn11hcgj3b8x2j1b9771rqb";
|
sha256 = "1h0x5xd13j8xxrrinb7d55851m6n9w0r15wx9m3c50dk7qngldm3";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig ];
|
nativeBuildInputs = [ pkgconfig protobuf ];
|
||||||
buildInputs = [ systemd boost libsodium libedit re2 net_snmp lua protobuf openssl ];
|
buildInputs = [ systemd boost libsodium libedit re2 net_snmp lua openssl zlib h2o ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-libsodium"
|
"--enable-libsodium"
|
||||||
"--enable-re2"
|
"--enable-re2"
|
||||||
"--enable-dnscrypt"
|
"--enable-dnscrypt"
|
||||||
"--enable-dns-over-tls"
|
"--enable-dns-over-tls"
|
||||||
|
"--enable-dns-over-https"
|
||||||
"--with-protobuf=yes"
|
"--with-protobuf=yes"
|
||||||
"--with-net-snmp"
|
"--with-net-snmp"
|
||||||
"--disable-dependency-tracking"
|
"--disable-dependency-tracking"
|
||||||
@ -26,6 +30,8 @@
|
|||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "DNS Loadbalancer";
|
description = "DNS Loadbalancer";
|
||||||
homepage = "https://dnsdist.org";
|
homepage = "https://dnsdist.org";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user