pam: Split off the PAM modules
Clients of PAM can find the modules via /etc/pam.d.
This commit is contained in:
parent
32d02132c2
commit
1a0e87b19f
|
@ -8,10 +8,14 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "1hlz2kqvbjisvwyicdincq7nz897b9rrafyzccwzqiqg53b8gf5s";
|
||||
};
|
||||
|
||||
outputs = [ "out" "doc" "man" "modules" ];
|
||||
|
||||
nativeBuildInputs = [ flex ];
|
||||
|
||||
buildInputs = [ cracklib ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
crossAttrs = {
|
||||
propagatedBuildInputs = [ flex.crossDrv cracklib.crossDrv ];
|
||||
preConfigure = preConfigure + ''
|
||||
|
@ -30,6 +34,11 @@ stdenv.mkDerivation rec {
|
|||
postInstall = ''
|
||||
mv -v $out/sbin/unix_chkpwd{,.orig}
|
||||
ln -sv /var/setuid-wrappers/unix_chkpwd $out/sbin/unix_chkpwd
|
||||
|
||||
rm -rf $out/etc
|
||||
|
||||
mkdir -p $modules/lib
|
||||
mv $out/lib/security $modules/lib/
|
||||
'';
|
||||
|
||||
preConfigure = ''
|
||||
|
|
|
@ -6393,7 +6393,9 @@ let
|
|||
|
||||
nss_ldap = callPackage ../os-specific/linux/nss_ldap { };
|
||||
|
||||
pam = callPackage ../os-specific/linux/pam { };
|
||||
pam = callPackage ../os-specific/linux/pam {
|
||||
stdenv = stdenvMulti;
|
||||
};
|
||||
|
||||
# pam_bioapi ( see http://www.thinkwiki.org/wiki/How_to_enable_the_fingerprint_reader )
|
||||
|
||||
|
|
Loading…
Reference in a new issue