sudo: 1.9.7p2 -> 1.9.8p2

This commit is contained in:
Pierre Bourdon 2022-01-03 00:39:51 +01:00
parent ac96423f53
commit 6886a9a246
No known key found for this signature in database
GPG key ID: 6FB80DCD84DA0F1C

View file

@ -1,6 +1,7 @@
{ lib
, stdenv
, fetchurl
, buildPackages
, coreutils
, pam
, groff
@ -13,11 +14,11 @@
stdenv.mkDerivation rec {
pname = "sudo";
version = "1.9.7p2";
version = "1.9.8p2";
src = fetchurl {
url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz";
sha256 = "sha256-KLXucl2/iaeFL0LzCcqHfSgQqVMbTuz+WfOoS2tK/Kg=";
sha256 = "sha256-njuLjafe9DtuYMJXq+gEZyBWcP0PfAgd4UI8QUtoDy0=";
};
prePatch = ''
@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
installFlags="sudoers_uid=$(id -u) sudoers_gid=$(id -g) sysconfdir=$out/etc rundir=$TMPDIR/dummy vardir=$TMPDIR/dummy DESTDIR=/"
'';
depsBuildBuild = [ buildPackages.stdenv.cc ];
nativeBuildInputs = [ groff ];
buildInputs = [ pam ];