mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 18:03:04 +00:00
* 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:
parent
e9f6c6e437
commit
e0adbee395
@ -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";
|
||||
};
|
||||
}
|
||||
|
@ -6750,8 +6750,8 @@ let
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
shadowutils = import ../os-specific/linux/shadow {
|
||||
inherit fetchurl stdenv;
|
||||
shadow = import ../os-specific/linux/shadow {
|
||||
inherit fetchurl stdenv pam;
|
||||
};
|
||||
|
||||
splashutils = import ../os-specific/linux/splashutils/default.nix {
|
||||
|
Loading…
Reference in New Issue
Block a user