* LDAP NSS module for glibc.

svn path=/nixpkgs/trunk/; revision=7682
This commit is contained in:
Eelco Dolstra 2007-01-15 16:42:04 +00:00
parent 6eaa664a97
commit 0cf2b35d99
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{stdenv, fetchurl, openldap}:
stdenv.mkDerivation {
name = "nss_ldap-254";
src = fetchurl {
url = http://www.padl.com/download/nss_ldap-254.tar.gz;
md5 = "00475b790d3aff3ccd40a1ab4520965e";
};
preInstall = "
installFlagsArray=(INST_UID=$(id -u) INST_GID=$(id -g) LIBC_VERS=2.5 NSS_VERS=2)
substituteInPlace Makefile --replace '/usr$(libdir)' $TMPDIR
ensureDir $out/etc
";
buildInputs = [openldap];
}

View File

@ -2278,6 +2278,10 @@ rec {
inherit fetchurl stdenv; inherit fetchurl stdenv;
}; };
nss_ldap = import ../os-specific/linux/nss_ldap {
inherit fetchurl stdenv openldap;
};
ov511 = import ../os-specific/linux/ov511 { ov511 = import ../os-specific/linux/ov511 {
inherit fetchurl kernel; inherit fetchurl kernel;
stdenv = overrideGCC stdenv gcc34; stdenv = overrideGCC stdenv gcc34;