diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2015-05-05 11:49:03 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2015-05-05 11:49:03 +0200 |
commit | 375bc8def7c17506bc10f3b6193635f05d5ccc40 (patch) | |
tree | 6af7662b245e7998bd18ae20d9e74922c489fb6d /pkgs/tools/networking/unbound/default.nix | |
parent | 2f75c6845981b38a698cf1a9f620145877c80956 (diff) | |
parent | 7f9ccc628403ed88844a4436da3b2944be5560a4 (diff) | |
download | nixpkgs-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar nixpkgs-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.gz nixpkgs-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.bz2 nixpkgs-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.lz nixpkgs-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.xz nixpkgs-375bc8def7c17506bc10f3b6193635f05d5ccc40.tar.zst nixpkgs-375bc8def7c17506bc10f3b6193635f05d5ccc40.zip |
Merge staging into closure-size
Diffstat (limited to 'pkgs/tools/networking/unbound/default.nix')
-rw-r--r-- | pkgs/tools/networking/unbound/default.nix | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/pkgs/tools/networking/unbound/default.nix b/pkgs/tools/networking/unbound/default.nix index e1594733268..e356d6d6537 100644 --- a/pkgs/tools/networking/unbound/default.nix +++ b/pkgs/tools/networking/unbound/default.nix @@ -2,31 +2,25 @@ stdenv.mkDerivation rec { name = "unbound-${version}"; - version = "1.5.1"; + version = "1.5.3"; src = fetchurl { url = "http://unbound.net/downloads/${name}.tar.gz"; - sha256 = "1v00k4b6m9wk0533s2jpg4rv9lhplh7zdp6vx2yyrmrbzc4jgy0g"; + sha256 = "1jly2apag4yg649w3flaq73wdrcfyxnhx5py9j73y7adxmswigbn"; }; - buildInputs = [openssl expat libevent]; - - patches = [ - # This patch fixes unbound 1.5.1 on linux versions previous to 3.15 which - # do not implement IP_PMTUDISC_OMIT. - # - # It should be discarded when this support makes it into a released - # version. - ./linux-pre-3.15-unbound-1.5.1.patch - ]; + buildInputs = [ openssl expat libevent ]; configureFlags = [ "--with-ssl=${openssl}" "--with-libexpat=${expat}" "--with-libevent=${libevent}" "--localstatedir=/var" + "--sysconfdir=/etc" ]; + installFlags = [ "configfile=\${out}/etc/unbound/unbound.conf" ]; + meta = { description = "Validating, recursive, and caching DNS resolver"; license = stdenv.lib.licenses.bsd3; |