* Add libxcrypt for Blowfish support in pam_unix2.

svn path=/nixpkgs/trunk/; revision=7305
This commit is contained in:
Eelco Dolstra 2006-12-11 02:35:05 +00:00
parent 745acdd93a
commit 5b262e235e
3 changed files with 17 additions and 3 deletions

View file

@ -0,0 +1,10 @@
{stdenv, fetchurl}:
stdenv.mkDerivation {
name = "libxcrypt-2.4";
src = fetchurl {
url = ftp://ftp.suse.com/pub/people/kukuk/libxcrypt/libxcrypt-2.4.tar.bz2;
md5 = "b5ae266550af2d04423da7d3af08a82a";
};
}

View file

@ -1,4 +1,4 @@
{stdenv, fetchurl, pam}:
{stdenv, fetchurl, pam, libxcrypt}:
stdenv.mkDerivation {
name = "pam_unix2-2.1";
@ -8,5 +8,5 @@ stdenv.mkDerivation {
md5 = "08d3bc1940897b5dfcbe2f51dd979ad0";
};
buildInputs = [pam];
buildInputs = [pam libxcrypt];
}

View file

@ -1499,6 +1499,10 @@ rec {
inherit (gnome) glib;
};
libxcrypt = import ../development/libraries/libxcrypt {
inherit fetchurl stdenv;
};
libxml2 = import ../development/libraries/libxml2 {
inherit fetchurl stdenv zlib python;
# pythonSupport = stdenv.system == "i686-linux";
@ -2192,7 +2196,7 @@ rec {
};
pam_unix2 = import ../os-specific/linux/pam_unix2 {
inherit stdenv fetchurl pam;
inherit stdenv fetchurl pam libxcrypt;
};
procps = import ../os-specific/linux/procps {