diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-01-15 16:42:04 +0000 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2007-01-15 16:42:04 +0000 |
commit | 0cf2b35d99264c52e2d45a320e85374e8e8fa745 (patch) | |
tree | 616e93f21483e51c2344575bcd837495ac4b1988 /pkgs/os-specific/linux/nss_ldap | |
parent | 6eaa664a97c8092002f51468c84e2c6884fbec7d (diff) | |
download | nixlib-0cf2b35d99264c52e2d45a320e85374e8e8fa745.tar nixlib-0cf2b35d99264c52e2d45a320e85374e8e8fa745.tar.gz nixlib-0cf2b35d99264c52e2d45a320e85374e8e8fa745.tar.bz2 nixlib-0cf2b35d99264c52e2d45a320e85374e8e8fa745.tar.lz nixlib-0cf2b35d99264c52e2d45a320e85374e8e8fa745.tar.xz nixlib-0cf2b35d99264c52e2d45a320e85374e8e8fa745.tar.zst nixlib-0cf2b35d99264c52e2d45a320e85374e8e8fa745.zip |
* LDAP NSS module for glibc.
svn path=/nixpkgs/trunk/; revision=7682
Diffstat (limited to 'pkgs/os-specific/linux/nss_ldap')
-rw-r--r-- | pkgs/os-specific/linux/nss_ldap/default.nix | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/nss_ldap/default.nix b/pkgs/os-specific/linux/nss_ldap/default.nix new file mode 100644 index 000000000000..f6628593150a --- /dev/null +++ b/pkgs/os-specific/linux/nss_ldap/default.nix @@ -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]; +} |