pdns-recursor: 4.9.3 -> 5.0.2
https://doc.powerdns.com/recursor/changelog/5.0.html#change-5.0.2
This commit is contained in:
parent
88503a941b
commit
bba3bb3237
@ -1,26 +1,46 @@
|
|||||||
{ lib, stdenv, fetchurl, pkg-config, boost, nixosTests
|
{ lib, stdenv, fetchurl, pkg-config, boost, nixosTests
|
||||||
, openssl, systemd, lua, luajit, protobuf
|
, openssl, systemd, lua, luajit, protobuf
|
||||||
|
, libsodium
|
||||||
|
, curl
|
||||||
|
, rustPlatform, cargo, rustc
|
||||||
, enableProtoBuf ? false
|
, enableProtoBuf ? false
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation (finalAttrs: {
|
||||||
pname = "pdns-recursor";
|
pname = "pdns-recursor";
|
||||||
version = "4.9.3";
|
version = "5.0.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://downloads.powerdns.com/releases/pdns-recursor-${version}.tar.bz2";
|
url = "https://downloads.powerdns.com/releases/pdns-recursor-${finalAttrs.version}.tar.bz2";
|
||||||
hash = "sha256-FmBFMFFJ3s3pWCH3bwabZl9rISLf99RquVLVDZ8B7Us=";
|
hash = "sha256-qQ6LYf3BgbWWFEw1kgEYynHDuV9GZYzOfoIidQ3kXKk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
cargoDeps = rustPlatform.fetchCargoTarball {
|
||||||
|
inherit (finalAttrs) src;
|
||||||
|
sourceRoot = "pdns-recursor-${finalAttrs.version}/settings/rust";
|
||||||
|
hash = "sha256-XHzuYkO91TJNU2DYqMlafqrc2zR1WvIrNLjFHL2FcwA=";
|
||||||
|
};
|
||||||
|
|
||||||
|
cargoRoot = "settings/rust";
|
||||||
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cargo
|
||||||
|
rustc
|
||||||
|
|
||||||
|
rustPlatform.cargoSetupHook
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
boost openssl systemd
|
boost openssl systemd
|
||||||
lua luajit
|
lua luajit
|
||||||
|
libsodium
|
||||||
|
curl
|
||||||
] ++ lib.optional enableProtoBuf protobuf;
|
] ++ lib.optional enableProtoBuf protobuf;
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--enable-reproducible"
|
"--enable-reproducible"
|
||||||
"--enable-systemd"
|
"--enable-systemd"
|
||||||
|
"--enable-dns-over-tls"
|
||||||
"sysconfdir=/etc/pdns-recursor"
|
"sysconfdir=/etc/pdns-recursor"
|
||||||
];
|
];
|
||||||
|
|
||||||
@ -42,4 +62,4 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.gpl2Only;
|
license = licenses.gpl2Only;
|
||||||
maintainers = with maintainers; [ rnhmjoj ];
|
maintainers = with maintainers; [ rnhmjoj ];
|
||||||
};
|
};
|
||||||
}
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user