sudo: 1.9.13p3 -> 1.9.14p3
This commit is contained in:
parent
54b701f3f8
commit
baa5d1b7ff
|
@ -1,6 +1,7 @@
|
||||||
{ lib
|
{ lib
|
||||||
, stdenv
|
, stdenv
|
||||||
, fetchurl
|
, fetchurl
|
||||||
|
, fetchpatch
|
||||||
, buildPackages
|
, buildPackages
|
||||||
, coreutils
|
, coreutils
|
||||||
, pam
|
, pam
|
||||||
|
@ -14,13 +15,22 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "sudo";
|
pname = "sudo";
|
||||||
version = "1.9.13p3";
|
version = "1.9.14p3";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz";
|
url = "https://www.sudo.ws/dist/${pname}-${version}.tar.gz";
|
||||||
hash = "sha256-kjNKEruT4MBWsJ9T4lXMt9b2fGNQ4oE82Vk87sp4Vgs=";
|
hash = "sha256-oIMYscS8hYLABNTNmuKQOrxUnn5GuoFeQf6B0cB4K2I=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
patches = [
|
||||||
|
# Extra bugfix not included in 1.9.14p3 to address a bug that impacts the
|
||||||
|
# NixOS test suite for sudo.
|
||||||
|
(fetchpatch {
|
||||||
|
url = "https://github.com/sudo-project/sudo/commit/760c9c11074cb921ecc0da9fbb5f0a12afd46233.patch";
|
||||||
|
hash = "sha256-smwyoYEkaqfQYz9C4VVz59YMtKabOPpwhS+RBwXbWuE=";
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
prePatch = ''
|
prePatch = ''
|
||||||
# do not set sticky bit in nix store
|
# do not set sticky bit in nix store
|
||||||
substituteInPlace src/Makefile.in --replace 04755 0755
|
substituteInPlace src/Makefile.in --replace 04755 0755
|
||||||
|
|
Loading…
Reference in a new issue