2015-06-01 20:35:51 +01:00
|
|
|
{ stdenv, fetchurl, openssl, libtool, perl, libxml2 }:
|
2011-01-07 11:33:04 +00:00
|
|
|
|
2015-09-03 05:49:40 +01:00
|
|
|
let version = "9.10.2-P4"; in
|
2012-10-02 16:48:54 +01:00
|
|
|
|
2011-01-07 11:33:04 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2015-06-01 20:35:41 +01:00
|
|
|
name = "bind-${version}";
|
2011-01-07 11:33:04 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-06-01 20:35:41 +01:00
|
|
|
url = "http://ftp.isc.org/isc/bind9/${version}/${name}.tar.gz";
|
2015-09-03 05:49:40 +01:00
|
|
|
sha256 = "1f4w89qmsgql88nbykz82p2nwbf5m889vzlfy9bjj8gg3pn222y0";
|
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
|
|
|
|
'';
|
|
|
|
|
2015-06-01 20:35:51 +01:00
|
|
|
buildInputs = [ openssl libtool perl libxml2 ];
|
2011-01-07 11:33:04 +00:00
|
|
|
|
2013-06-09 18:25:46 +01:00
|
|
|
configureFlags = [
|
2015-06-01 20:35:51 +01: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 18:25:46 +01:00
|
|
|
];
|
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";
|
2014-08-24 15:21:08 +01:00
|
|
|
description = "Domain name server";
|
2015-06-01 20:35:51 +01:00
|
|
|
license = stdenv.lib.licenses.isc;
|
|
|
|
|
|
|
|
maintainers = with stdenv.lib.maintainers; [viric simons];
|
|
|
|
platforms = with stdenv.lib.platforms; unix;
|
2011-01-07 11:33:04 +00:00
|
|
|
};
|
|
|
|
}
|