sudo: Update to 1.8.11p2

This commit is contained in:
Eelco Dolstra 2014-12-18 12:31:34 +01:00
parent 3d5220e691
commit 6866712a39

View File

@ -3,20 +3,20 @@
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "sudo-1.8.11"; name = "sudo-1.8.11p2";
src = fetchurl { src = fetchurl {
urls = urls =
[ "ftp://ftp.sudo.ws/pub/sudo/${name}.tar.gz" [ "ftp://ftp.sudo.ws/pub/sudo/${name}.tar.gz"
"ftp://ftp.sudo.ws/pub/sudo/OLD/${name}.tar.gz" "ftp://ftp.sudo.ws/pub/sudo/OLD/${name}.tar.gz"
]; ];
sha256 = "0if82pvmz7m3qkj3sc9yy8mpcd7lmbn0mhrgnd1zpszvnpkps5x3"; sha256 = "1bd1zf85q15z015268w9vchzwypzalc3v2dnddmwy67s32a88cw1";
}; };
configureFlags = [ configureFlags = [
"--with-env-editor" "--with-env-editor"
"--with-editor=/run/current-system/sw/bin/nano" "--with-editor=/run/current-system/sw/bin/nano"
"--with-rundir=/var/run" "--with-rundir=/run"
"--with-vardir=/var/db/sudo" "--with-vardir=/var/db/sudo"
"--with-logpath=/var/log/sudo.log" "--with-logpath=/var/log/sudo.log"
"--with-sendmail=${sendmailPath}" "--with-sendmail=${sendmailPath}"
@ -40,7 +40,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true; enableParallelBuilding = true;
postInstall = postInstall =
'' ''
rm -f $out/share/doc/sudo/ChangeLog rm -f $out/share/doc/sudo/ChangeLog
''; '';
@ -48,7 +48,7 @@ stdenv.mkDerivation rec {
meta = { meta = {
description = "A command to run commands as root"; description = "A command to run commands as root";
longDescription = longDescription =
'' ''
Sudo (su "do") allows a system administrator to delegate Sudo (su "do") allows a system administrator to delegate
authority to give certain users (or groups of users) the ability authority to give certain users (or groups of users) the ability