Merge pull request #2790 from ehmry/unbound

unbound: update from 1.4.21 to 1.4.22, service from Upstart to systemd
This commit is contained in:
Peter Simons
2014-05-30 14:46:29 +02:00
3 changed files with 61 additions and 73 deletions

View File

@@ -1,22 +1,23 @@
{ stdenv, fetchurl, openssl, expat, libevent, ldns }:
{ stdenv, fetchurl, openssl, expat, libevent }:
stdenv.mkDerivation rec {
name = "unbound-1.4.21";
name = "unbound-1.4.22";
src = fetchurl {
url = "http://unbound.net/downloads/${name}.tar.gz";
sha256 = "0w09m2rbn688rsk37k5xm3vkk5h2hxhivsr374j7h7vjf9x82bsh";
sha256 = "17yjly9c00zfgbzvllqzjh668a4yk6vrinf47yrcs3hrna0m1bqw";
};
buildInputs = [openssl expat libevent ldns];
buildInputs = [openssl expat libevent];
configureFlags = [ "--with-ssl=${openssl}" "--with-libexpat=${expat}"
"--localstatedir=/var" ];
meta = {
description = "Validating, recursive, and caching DNS resolver";
license = "BSD";
license = stdenv.lib.licenses.bsd3;
homepage = http://www.unbound.net;
platforms = with stdenv.lib.platforms; linux;
maintainers = [ stdenv.lib.maintainers.emery ];
platforms = stdenv.lib.platforms.unix;
};
}