diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-21 10:20:26 -0400 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2012-09-21 10:20:26 -0400 |
commit | 5d859baf59689e5bb18632e5c3cdb21ac39262db (patch) | |
tree | 5f6156a3cc48b4017131020fbb3780602d65c0c6 /pkgs/os-specific/linux/pam | |
parent | 4367db0bd20c63e940309a6a36d8c9bb3a964cb8 (diff) | |
download | nixpkgs-5d859baf59689e5bb18632e5c3cdb21ac39262db.tar nixpkgs-5d859baf59689e5bb18632e5c3cdb21ac39262db.tar.gz nixpkgs-5d859baf59689e5bb18632e5c3cdb21ac39262db.tar.bz2 nixpkgs-5d859baf59689e5bb18632e5c3cdb21ac39262db.tar.lz nixpkgs-5d859baf59689e5bb18632e5c3cdb21ac39262db.tar.xz nixpkgs-5d859baf59689e5bb18632e5c3cdb21ac39262db.tar.zst nixpkgs-5d859baf59689e5bb18632e5c3cdb21ac39262db.zip |
pam: Update to 1.1.6
Diffstat (limited to 'pkgs/os-specific/linux/pam')
-rw-r--r-- | pkgs/os-specific/linux/pam/default.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index c18ea2b1f2b..8e38d368ec8 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -1,14 +1,15 @@ { stdenv, fetchurl, flex, cracklib, libxcrypt }: stdenv.mkDerivation rec { - name = "linux-pam-1.1.1"; + name = "linux-pam-1.1.6"; src = fetchurl { - url = mirror://kernel/linux/libs/pam/library/Linux-PAM-1.1.1.tar.bz2; - sha256 = "015r3xdkjpqwcv4lvxavq0nybdpxhfjycqpzbx8agqd5sywkx3b0"; + url = https://fedorahosted.org/releases/l/i/linux-pam/Linux-PAM-1.1.6.tar.bz2; + sha256 = "1hlz2kqvbjisvwyicdincq7nz897b9rrafyzccwzqiqg53b8gf5s"; }; buildNativeInputs = [ flex ]; + buildInputs = [ cracklib ] ++ stdenv.lib.optional (!stdenv.isArm && stdenv.system != "mips64el-linux") @@ -27,13 +28,13 @@ stdenv.mkDerivation rec { ''; postConfigure = '' sed -e "s@ $PWD/libyywrap-target.o@ $PWD/libyywrap-host.o@" -i doc/specs/Makefile - ''; + ''; }; postInstall = '' mv -v $out/sbin/unix_chkpwd{,.orig} ln -sv /var/setuid-wrappers/unix_chkpwd $out/sbin/unix_chkpwd - ''; + ''; preConfigure = '' configureFlags="$configureFlags --includedir=$out/include/security" |