2009-11-06 13:57:29 +01:00
|
|
|
{stdenv, fetchurl, perl, ncurses, yacc}:
|
|
|
|
|
|
|
|
let
|
|
|
|
pname = "krb5";
|
2014-09-17 07:22:04 +02:00
|
|
|
version = "1.12.2";
|
2009-11-06 13:57:29 +01:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
webpage = http://web.mit.edu/kerberos/;
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation (rec {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
2014-09-17 07:22:04 +02:00
|
|
|
url = "${webpage}dist/krb5/1.12/${name}-signed.tar";
|
|
|
|
sha256 = "0i1p9xx5s9q0sqnnz7f3rba07882zciw0mwc6yvv7hmm0w0iig89";
|
2009-11-06 13:57:29 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ perl ncurses yacc ];
|
|
|
|
|
|
|
|
unpackPhase = ''
|
|
|
|
tar -xf $src
|
|
|
|
tar -xzf ${name}.tar.gz
|
|
|
|
cd ${name}/src
|
|
|
|
'';
|
|
|
|
|
2014-07-20 22:58:46 +02:00
|
|
|
configureFlags = "--with-tcl=no";
|
|
|
|
|
2013-03-20 23:36:17 +01:00
|
|
|
#doCheck = true; # report: No suitable file for testing purposes
|
|
|
|
|
2013-05-01 13:11:46 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2013-03-20 23:36:17 +01:00
|
|
|
meta = {
|
|
|
|
description = "MIT Kerberos 5";
|
|
|
|
homepage = webpage;
|
|
|
|
license = "MPL";
|
2009-11-06 13:57:29 +01:00
|
|
|
};
|
|
|
|
})
|