diff options
author | Eelco Dolstra | 2010-06-02 16:45:14 +0000 |
---|---|---|
committer | Eelco Dolstra | 2010-06-02 16:45:14 +0000 |
commit | e0adbee395a889f69edaf296367d5fba5e678038 (patch) | |
tree | 837a83da4188cd339f326232e877b7cae9099cab /pkgs/os-specific | |
parent | e9f6c6e43792eaf58c98c24a21ec8504f1df2520 (diff) |
* Updated shadow to 4.1.4.2 (and build it with PAM support). This
might replace the pwdutils, pam_login and su packages in NixOS. svn path=/nixpkgs/trunk/; revision=22103
Diffstat (limited to 'pkgs/os-specific')
-rw-r--r-- | pkgs/os-specific/linux/shadow/default.nix | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/pkgs/os-specific/linux/shadow/default.nix b/pkgs/os-specific/linux/shadow/default.nix index 93e8c4d0fbbc..b44e2d99c89d 100644 --- a/pkgs/os-specific/linux/shadow/default.nix +++ b/pkgs/os-specific/linux/shadow/default.nix @@ -1,14 +1,17 @@ -{stdenv, fetchurl}: +{ stdenv, fetchurl, pam }: -stdenv.mkDerivation { - name = "shadow-4.0.16"; +stdenv.mkDerivation rec { + name = "shadow-4.1.4.2"; src = fetchurl { - url = http://losser.labs.cs.uu.nl/~armijn/.nix/shadow-4.0.16.tar.bz2; - md5 = "1d91f7479143d1d705b94180c0d4874b"; + url = "ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/${name}.tar.bz2"; + sha256 = "1449ny7pdnwkavg92wvibapnkgdq5pas38nvl1m5xa37g5m7z64p"; }; - - configureFlags = "--with-selinux=no"; - postInstall = "rm $out/bin/groups"; # coreutils provides `groups' + buildInputs = [ pam ]; + + meta = { + homepage = http://pkg-shadow.alioth.debian.org/; + description = "Suite containing authentication-related tools such as passwd and su"; + }; } |