diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-20 13:41:12 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-08-20 13:41:12 +0000 |
commit | f16353b6f236ae9046bfc3d9031efd519fc73b82 (patch) | |
tree | eb4b931c357f70a0cd6804e8be853a49ca2f77c9 /pkgs/os-specific/linux/pam | |
parent | f7d0fcdaac7dc2d60a0d57e90632f20ba36242f5 (diff) | |
parent | 7dea1a0f4f0b893780e0e4d8a64b77642fa22205 (diff) | |
download | nixpkgs-f16353b6f236ae9046bfc3d9031efd519fc73b82.tar nixpkgs-f16353b6f236ae9046bfc3d9031efd519fc73b82.tar.gz nixpkgs-f16353b6f236ae9046bfc3d9031efd519fc73b82.tar.bz2 nixpkgs-f16353b6f236ae9046bfc3d9031efd519fc73b82.tar.lz nixpkgs-f16353b6f236ae9046bfc3d9031efd519fc73b82.tar.xz nixpkgs-f16353b6f236ae9046bfc3d9031efd519fc73b82.tar.zst nixpkgs-f16353b6f236ae9046bfc3d9031efd519fc73b82.zip |
Updated from trunk.
svn path=/nixpkgs/branches/stdenv-updates/; revision=23275
Diffstat (limited to 'pkgs/os-specific/linux/pam')
-rw-r--r-- | pkgs/os-specific/linux/pam/default.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/pam/default.nix b/pkgs/os-specific/linux/pam/default.nix index 6b0526c3569..0053d89b605 100644 --- a/pkgs/os-specific/linux/pam/default.nix +++ b/pkgs/os-specific/linux/pam/default.nix @@ -13,7 +13,18 @@ stdenv.mkDerivation { (stdenv.system != "armv5tel-linux" && stdenv.system != "ict_loongson-2_v0.3_fpu_v0.1-linux") libxcrypt; + 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" ''; + + meta = { + homepage = http://ftp.kernel.org/pub/linux/libs/pam/; + description = "Pluggable Authentication Modules, a flexible mechanism for authenticating user"; + platforms = stdenv.lib.platforms.linux; + }; } |