pam: Update to 1.1.6
This commit is contained in:
parent
4367db0bd2
commit
5d859baf59
|
@ -1,14 +1,15 @@
|
||||||
{ stdenv, fetchurl, flex, cracklib, libxcrypt }:
|
{ stdenv, fetchurl, flex, cracklib, libxcrypt }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "linux-pam-1.1.1";
|
name = "linux-pam-1.1.6";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = mirror://kernel/linux/libs/pam/library/Linux-PAM-1.1.1.tar.bz2;
|
url = https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-1.1.6.tar.bz2;
|
||||||
sha256 = "015r3xdkjpqwcv4lvxavq0nybdpxhfjycqpzbx8agqd5sywkx3b0";
|
sha256 = "1hlz2kqvbjisvwyicdincq7nz897b9rrafyzccwzqiqg53b8gf5s";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildNativeInputs = [ flex ];
|
buildNativeInputs = [ flex ];
|
||||||
|
|
||||||
buildInputs = [ cracklib ]
|
buildInputs = [ cracklib ]
|
||||||
++ stdenv.lib.optional
|
++ stdenv.lib.optional
|
||||||
(!stdenv.isArm && stdenv.system != "mips64el-linux")
|
(!stdenv.isArm && stdenv.system != "mips64el-linux")
|
||||||
|
@ -27,13 +28,13 @@ stdenv.mkDerivation rec {
|
||||||
'';
|
'';
|
||||||
postConfigure = ''
|
postConfigure = ''
|
||||||
sed -e "s@ $PWD/libyywrap-target.o@ $PWD/libyywrap-host.o@" -i doc/specs/Makefile
|
sed -e "s@ $PWD/libyywrap-target.o@ $PWD/libyywrap-host.o@" -i doc/specs/Makefile
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
mv -v $out/sbin/unix_chkpwd{,.orig}
|
mv -v $out/sbin/unix_chkpwd{,.orig}
|
||||||
ln -sv /var/setuid-wrappers/unix_chkpwd $out/sbin/unix_chkpwd
|
ln -sv /var/setuid-wrappers/unix_chkpwd $out/sbin/unix_chkpwd
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
configureFlags="$configureFlags --includedir=$out/include/security"
|
configureFlags="$configureFlags --includedir=$out/include/security"
|
||||||
|
|
Loading…
Reference in New Issue