* 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
This commit is contained in:
@@ -1,14 +1,17 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl, pam }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation rec {
|
||||||
name = "shadow-4.0.16";
|
name = "shadow-4.1.4.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://losser.labs.cs.uu.nl/~armijn/.nix/shadow-4.0.16.tar.bz2;
|
url = "ftp://pkg-shadow.alioth.debian.org/pub/pkg-shadow/${name}.tar.bz2";
|
||||||
md5 = "1d91f7479143d1d705b94180c0d4874b";
|
sha256 = "1449ny7pdnwkavg92wvibapnkgdq5pas38nvl1m5xa37g5m7z64p";
|
||||||
};
|
};
|
||||||
|
|
||||||
configureFlags = "--with-selinux=no";
|
buildInputs = [ pam ];
|
||||||
|
|
||||||
postInstall = "rm $out/bin/groups"; # coreutils provides `groups'
|
meta = {
|
||||||
|
homepage = http://pkg-shadow.alioth.debian.org/;
|
||||||
|
description = "Suite containing authentication-related tools such as passwd and su";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6750,8 +6750,8 @@ let
|
|||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv;
|
||||||
};
|
};
|
||||||
|
|
||||||
shadowutils = import ../os-specific/linux/shadow {
|
shadow = import ../os-specific/linux/shadow {
|
||||||
inherit fetchurl stdenv;
|
inherit fetchurl stdenv pam;
|
||||||
};
|
};
|
||||||
|
|
||||||
splashutils = import ../os-specific/linux/splashutils/default.nix {
|
splashutils = import ../os-specific/linux/splashutils/default.nix {
|
||||||
|
|||||||
Reference in New Issue
Block a user