2006-12-08 23:53:07 +00:00
|
|
|
{stdenv, fetchurl, cracklib, flex}:
|
2005-10-24 17:07:50 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
2009-02-18 11:40:32 +00:00
|
|
|
name = "linux-pam-1.0.3";
|
|
|
|
|
2005-10-24 17:07:50 +01:00
|
|
|
src = fetchurl {
|
2009-02-18 11:40:32 +00:00
|
|
|
url = mirror://kernel/linux/libs/pam/library/Linux-PAM-1.0.3.tar.bz2;
|
|
|
|
sha256 = "1xqj4ibnid5w3pi629vj7jiddf192kzm8rbm3vy90diqpl1k5h6n";
|
2005-10-24 17:07:50 +01:00
|
|
|
};
|
2009-02-18 11:40:32 +00:00
|
|
|
|
|
|
|
buildInputs = [flex cracklib];
|
|
|
|
|
|
|
|
CRACKLIB_DICTPATH = "${cracklib}/lib";
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
configureFlags="$configureFlags --includedir=$out/include/security"
|
|
|
|
'';
|
2005-10-24 17:07:50 +01:00
|
|
|
}
|