mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
* LDAP NSS module for glibc.
svn path=/nixpkgs/trunk/; revision=7682
This commit is contained in:
parent
6eaa664a97
commit
0cf2b35d99
18
pkgs/os-specific/linux/nss_ldap/default.nix
Normal file
18
pkgs/os-specific/linux/nss_ldap/default.nix
Normal 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];
|
||||
}
|
@ -2278,6 +2278,10 @@ rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
nss_ldap = import ../os-specific/linux/nss_ldap {
|
||||
inherit fetchurl stdenv openldap;
|
||||
};
|
||||
|
||||
ov511 = import ../os-specific/linux/ov511 {
|
||||
inherit fetchurl kernel;
|
||||
stdenv = overrideGCC stdenv gcc34;
|
||||
|
Loading…
Reference in New Issue
Block a user