diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-01-07 11:33:04 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2011-01-07 11:33:04 +0000 |
commit | a9345a51c58de2d5ef89386fb39661f3b9f78af9 (patch) | |
tree | 9b145138818312653af463921c68e42b7878c1ef | |
parent | e6e6f033ecda4cf82c9bdfea16eb5aef234cb4d1 (diff) |
Updating bind
svn path=/nixpkgs/trunk/; revision=25457
-rw-r--r-- | pkgs/servers/dns/bind/9.5.0.nix | 19 | ||||
-rw-r--r-- | pkgs/servers/dns/bind/default.nix | 26 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 4 |
3 files changed, 28 insertions, 21 deletions
diff --git a/pkgs/servers/dns/bind/9.5.0.nix b/pkgs/servers/dns/bind/9.5.0.nix deleted file mode 100644 index b6361864d10b2..0000000000000 --- a/pkgs/servers/dns/bind/9.5.0.nix +++ /dev/null @@ -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"; - }; -} diff --git a/pkgs/servers/dns/bind/default.nix b/pkgs/servers/dns/bind/default.nix new file mode 100644 index 0000000000000..2ec924366a0e7 --- /dev/null +++ b/pkgs/servers/dns/bind/default.nix @@ -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; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index eb89317a28718..ccb19781ad8bc 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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 { }; |