Merge pull request #38658 from dasJ/dnsdist-pkg

dnsdist: init at 1.3.0
This commit is contained in:
Joachim F 2018-04-21 19:47:27 +00:00 committed by GitHub
commit 17b73ff90c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ stdenv, fetchurl, pkgconfig, systemd
, boost, libsodium, libedit, re2
, net_snmp, lua, protobuf, openssl }: stdenv.mkDerivation rec {
name = "dnsdist-${version}";
version = "1.3.0";
src = fetchurl {
url = "https://downloads.powerdns.com/releases/dnsdist-${version}.tar.bz2";
sha256 = "025sgvpi3ps0n4mzfwkk6a5ang90a3c7s2fi9vni6jj0p16wsrxa";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ systemd boost libsodium libedit re2 net_snmp lua protobuf openssl ];
configureFlags = [
"--enable-libsodium"
"--enable-re2"
"--enable-dnscrypt"
"--enable-dns-over-tls"
"--with-protobuf=yes"
"--with-net-snmp"
"--disable-dependency-tracking"
"--enable-unit-tests"
"--enable-systemd"
];
doCheck = true;
meta = with stdenv.lib; {
description = "DNS Loadbalancer";
homepage = "https://dnsdist.org";
license = licenses.gpl2;
};
}

View File

@ -13883,6 +13883,8 @@ with pkgs;
powerdns = callPackage ../servers/dns/powerdns { }; powerdns = callPackage ../servers/dns/powerdns { };
dnsdist = callPackage ../servers/dns/dnsdist { };
pdns-recursor = callPackage ../servers/dns/pdns-recursor { }; pdns-recursor = callPackage ../servers/dns/pdns-recursor { };
powertop = callPackage ../os-specific/linux/powertop { }; powertop = callPackage ../os-specific/linux/powertop { };