Updating bind
svn path=/nixpkgs/trunk/; revision=25457
This commit is contained in:
parent
e6e6f033ec
commit
a9345a51c5
@ -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";
|
|
||||||
};
|
|
||||||
}
|
|
26
pkgs/servers/dns/bind/default.nix
Normal file
26
pkgs/servers/dns/bind/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
@ -4346,8 +4346,8 @@ let
|
|||||||
|
|
||||||
sabnzbd = callPackage ../servers/sabnzbd { };
|
sabnzbd = callPackage ../servers/sabnzbd { };
|
||||||
|
|
||||||
bind = builderDefsPackage (import ../servers/dns/bind/9.5.0.nix) {
|
bind = callPackage ../servers/dns/bind/default.nix {
|
||||||
inherit openssl libtool;
|
inherit openssl libtool perl;
|
||||||
};
|
};
|
||||||
|
|
||||||
dico = callPackage ../servers/dico { };
|
dico = callPackage ../servers/dico { };
|
||||||
|
Loading…
Reference in New Issue
Block a user