2007-01-11 21:55:29 +00:00
|
|
|
{stdenv, fetchurl, pam, openldap}:
|
|
|
|
|
2010-08-13 23:09:53 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2007-01-11 21:55:29 +00:00
|
|
|
name = "pam_ldap-183";
|
|
|
|
|
|
|
|
src = fetchurl {
|
2010-08-13 23:09:53 +00:00
|
|
|
url = "http://www.padl.com/download/${name}.tar.gz";
|
2014-10-12 14:13:21 +00:00
|
|
|
sha256 = "1l0mlwvas9dnsfcgbszbzq3bzhdkibn1c3x15fczq3i82faf5g5a";
|
2007-01-11 21:55:29 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
preInstall = "
|
|
|
|
substituteInPlace Makefile --replace '-o root -g root' ''
|
|
|
|
";
|
|
|
|
|
|
|
|
buildInputs = [pam openldap];
|
2010-08-13 23:09:53 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://www.padl.com/OSS/pam_ldap.html;
|
|
|
|
description = "LDAP backend for PAM";
|
|
|
|
longDescription = ''
|
|
|
|
The pam_ldap module provides the means for Solaris and Linux servers and
|
|
|
|
workstations to authenticate against LDAP directories, and to change their
|
|
|
|
passwords in the directory.'';
|
|
|
|
license = "LGPL";
|
|
|
|
inherit (pam.meta) platforms;
|
|
|
|
};
|
2007-01-11 21:55:29 +00:00
|
|
|
}
|