2011-01-07 11:33:04 +00:00
|
|
|
{ stdenv, fetchurl, openssl, libtool, perl, libxml2 }:
|
|
|
|
|
2014-01-14 14:55:24 +00:00
|
|
|
let version = "9.9.4-P2"; in
|
2012-10-02 16:48:54 +01:00
|
|
|
|
2011-01-07 11:33:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
|
|
|
|
name = "bind-${version}";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://ftp.isc.org/isc/bind9/${version}/${name}.tar.gz";
|
2014-01-14 14:55:24 +00:00
|
|
|
sha256 = "128aqizcjbakrqrijjpy54qffqz1jafa94lhnqig7lr63r1wdwsh";
|
2011-01-07 11:33:04 +00:00
|
|
|
};
|
|
|
|
|
2011-01-11 22:08:43 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i 's/^\t.*run/\t/' Makefile.in
|
|
|
|
'';
|
|
|
|
|
2011-01-07 11:33:04 +00:00
|
|
|
buildInputs = [ openssl libtool perl libxml2 ];
|
|
|
|
|
2013-06-09 18:25:46 +01:00
|
|
|
configureFlags = [
|
|
|
|
"--localstatedir=/var"
|
|
|
|
"--with-libtool"
|
|
|
|
"--with-libxml2=${libxml2}"
|
|
|
|
"--with-openssl=${openssl}"
|
|
|
|
"--without-atf"
|
|
|
|
"--without-dlopen"
|
|
|
|
"--without-docbook-xsl"
|
|
|
|
"--without-gssapi"
|
|
|
|
"--without-idn"
|
|
|
|
"--without-idnlib"
|
|
|
|
"--without-pkcs11"
|
|
|
|
"--without-purify"
|
|
|
|
"--without-python"
|
|
|
|
];
|
2012-10-02 16:48:54 +01:00
|
|
|
|
2011-01-07 11:33:04 +00:00
|
|
|
meta = {
|
2013-04-01 09:15:46 +01:00
|
|
|
homepage = "http://www.isc.org/software/bind";
|
2011-01-07 11:33:04 +00:00
|
|
|
description = "ISC BIND: a domain name server";
|
2013-04-01 09:18:44 +01:00
|
|
|
license = stdenv.lib.licenses.isc;
|
2013-04-01 09:15:46 +01:00
|
|
|
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric simons];
|
2011-01-07 11:33:04 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux;
|
|
|
|
};
|
|
|
|
}
|