Updating bind

svn path=/nixpkgs/trunk/; revision=25457
This commit is contained in:
Lluís Batlle i Rossell 2011-01-07 11:33:04 +00:00
parent e6e6f033ec
commit a9345a51c5
3 changed files with 28 additions and 21 deletions

View File

@ -1,19 +0,0 @@
args : with args;
rec {
src = fetchurl {
url = http://ftp.isc.org/isc/bind9/9.5.0/bind-9.5.0.tar.gz;
sha256 = "0qfxipj6v9hs9plx388ysnyvpkiamgxpsq8xqzw9hliag4nc1d7v";
};
buildInputs = [openssl libtool];
configureFlags = ["--with-libtool" "--with-openssl=${openssl}"];
/* doConfigure should be specified separately */
phaseNames = ["doConfigure" "doMakeInstall"];
name = "bind-9.5.0";
meta = {
description = "ISC BIND: a domain name server";
};
}

View File

@ -0,0 +1,26 @@
{ stdenv, fetchurl, openssl, libtool, perl, libxml2 }:
let
version = "9.7.2-P3";
in
stdenv.mkDerivation rec {
name = "bind-${version}";
src = fetchurl {
url = "http://ftp.isc.org/isc/bind9/${version}/${name}.tar.gz";
sha256 = "0zpvmgs75lisw746wccm2r428dmd4vv5s1pc512lyrmycr3mz56d";
};
buildInputs = [ openssl libtool perl libxml2 ];
/* Why --with-libtool? */
configureFlags = [ "--with-libtool" "--with-openssl=${openssl}" ];
meta = {
homepage = http://www.isc.org/software/bind;
description = "ISC BIND: a domain name server";
maintainers = with stdenv.lib.maintainers; [viric];
platforms = with stdenv.lib.platforms; linux;
};
}

View File

@ -4346,8 +4346,8 @@ let
sabnzbd = callPackage ../servers/sabnzbd { };
bind = builderDefsPackage (import ../servers/dns/bind/9.5.0.nix) {
inherit openssl libtool;
bind = callPackage ../servers/dns/bind/default.nix {
inherit openssl libtool perl;
};
dico = callPackage ../servers/dico { };