Merge pull request #58982 from Mic92/pdns
pdns-recursor: 4.1.11 -> 4.1.12
commite49a143ac758c8268fa7c5647dc77b04c27897f3
authorJörg Thalheim <Mic92@users.noreply.github.com>
dateFri 5 Apr 2019, 02:23 (8 years ago)
parent34c6922d8445c9
nixos/tests/all-tests.nix+1
@@ -223,6 +223,7 @@ in
223223 syncthing-relay = handleTest ./syncthing-relay.nix {};
224224 systemd = handleTest ./systemd.nix {};
225225 systemd-confinement = handleTest ./systemd-confinement.nix {};
226+ pdns-recursor = handleTest ./pdns-recursor.nix {};
226227 taskserver = handleTest ./taskserver.nix {};
227228 telegraf = handleTest ./telegraf.nix {};
228229 tomcat = handleTest ./tomcat.nix {};
nixos/tests/pdns-recursor.nixnew file+12
@@ -0,0 +1,12 @@
1+import ./make-test.nix ({ pkgs, lib, ... }: {
2+ name = "powerdns";
3+
4+ nodes.server = { ... }: {
5+ services.pdns-recursor.enable = true;
6+ };
7+
8+ testScript = ''
9+ $server->waitForUnit("pdns-recursor");
10+ $server->succeed("echo | ${lib.getBin pkgs.netcat}/bin/nc -v localhost 53")
11+ '';
12+})
pkgs/servers/dns/pdns-recursor/default.nix+2−2
@@ -8,11 +8,11 @@ with stdenv.lib;
88
99stdenv.mkDerivation rec {
1010 name = "pdns-recursor-${version}";
11− version = "4.1.11";
11+ version = "4.1.12";
1212
1313 src = fetchurl {
1414 url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
15− sha256 = "0w6nyjiid8d9rv6qsq42x210val6lqrm9shpid4s8gjxahmxbiwy";
15+ sha256 = "1j5hrpz4c9dqd30piqd8xyjmirdxp4dy71nx9rwq8l4i4nc0l774";
1616 };
1717
1818 nativeBuildInputs = [ pkgconfig ];