Upgrade shadow package

This commit is contained in:
Paul Colomiets 2014-06-26 01:09:15 +03:00
parent b0769d8db1
commit fb948c4f28
2 changed files with 6 additions and 4 deletions

View File

@ -100,7 +100,9 @@ in
chgpasswd = { rootOK = true; };
};
security.setuidPrograms = [ "passwd" "chfn" "su" "newgrp" ];
security.setuidPrograms = [ "passwd" "chfn" "su" "newgrp"
"newuidmap" "newgidmap" # new in shadow 4.2.x
];
};

View File

@ -15,11 +15,11 @@ let
in
stdenv.mkDerivation rec {
name = "shadow-4.1.5.1";
name = "shadow-4.2.1";
src = fetchurl {
url = "http://pkg-shadow.alioth.debian.org/releases/${name}.tar.bz2";
sha256 = "1yvqx57vzih0jdy3grir8vfbkxp0cl0myql37bnmi2yn90vk6cma";
url = "http://pkg-shadow.alioth.debian.org/releases/${name}.tar.xz";
sha256 = "0h9x1zdbq0pqmygmc1x459jraiqw4gqz8849v268crk78z8r621v";
};
buildInputs = stdenv.lib.optional (pam != null && stdenv.isLinux) pam;