2015-06-01 21:35:51 +02:00
|
|
|
{ stdenv, fetchurl, openssl, libtool, perl, libxml2 }:
|
2011-01-07 12:33:04 +01:00
|
|
|
|
2015-09-17 22:14:01 +02:00
|
|
|
let version = "9.10.3"; in
|
2012-10-02 17:48:54 +02:00
|
|
|
|
2011-01-07 12:33:04 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-06-01 21:35:41 +02:00
|
|
|
name = "bind-${version}";
|
2011-01-07 12:33:04 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-01 21:35:41 +02:00
|
|
|
url = "http://ftp.isc.org/isc/bind9/${version}/${name}.tar.gz";
|
2015-09-17 22:14:01 +02:00
|
|
|
sha256 = "1w4gp4hdkb452nmz91l413d1rx89isl2l6wv8kpbdd2afpc3phws";
|
2011-01-07 12:33:04 +01:00
|
|
|
};
|
|
|
|
|
2015-12-22 17:27:35 +01:00
|
|
|
patches = [ ./libressl.patch ./remove-mkdir-var.patch ];
|
2015-11-28 19:26:59 +01:00
|
|
|
|
2015-06-01 21:35:51 +02:00
|
|
|
buildInputs = [ openssl libtool perl libxml2 ];
|
2011-01-07 12:33:04 +01:00
|
|
|
|
2013-06-09 19:25:46 +02:00
|
|
|
configureFlags = [
|
2015-06-01 21:35:51 +02:00
|
|
|
"--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"
|
2013-06-09 19:25:46 +02:00
|
|
|
];
|
2012-10-02 17:48:54 +02:00
|
|
|
|
2011-01-07 12:33:04 +01:00
|
|
|
meta = {
|
2013-04-01 10:15:46 +02:00
|
|
|
homepage = "http://www.isc.org/software/bind";
|
2014-08-24 16:21:08 +02:00
|
|
|
description = "Domain name server";
|
2015-06-01 21:35:51 +02:00
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric simons];
|
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2011-01-07 12:33:04 +01:00
|
|
|
};
|
|
|
|
}
|