mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
pam: don't split modules
libpam seems to need a reference to the modules anyway.
This commit is contained in:
parent
3b9ef2c71b
commit
5d26d83df2
@ -10,7 +10,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
patches = [ ./CVE-2014-2583.patch ];
|
||||
|
||||
outputs = [ "out" "doc" "man" "modules" ];
|
||||
outputs = [ "out" "doc" "man" /* "modules" */ ];
|
||||
|
||||
nativeBuildInputs = [ flex ];
|
||||
|
||||
@ -36,12 +36,14 @@ 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/
|
||||
'';
|
||||
'';*/
|
||||
# don't move modules, because libpam needs to (be able to) find them,
|
||||
# which is done by dlopening $out/lib/security/pam_foo.so
|
||||
# $out/etc was also missed: pam_env(login:session): Unable to open config file
|
||||
|
||||
preConfigure = ''
|
||||
configureFlags="$configureFlags --includedir=$out/include/security"
|
||||
|
Loading…
Reference in New Issue
Block a user