linux-pam: 1.7.1 -> 1.7.2 (#531929)
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
buildPackages,
|
||||
fetchFromGitHub,
|
||||
fetchpatch,
|
||||
flex,
|
||||
db4,
|
||||
gettext,
|
||||
@@ -33,18 +34,25 @@
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "linux-pam";
|
||||
version = "1.7.1";
|
||||
version = "1.7.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "linux-pam";
|
||||
repo = "linux-pam";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-kANcwxifQz2tYPSrSBSFiYNTm51Gr10L/zroCqm8ZHQ=";
|
||||
|
||||
hash = "sha256-V3XQqolinh+MqUefMDYJF9zP4fBJTHc7YKN+NEGjx1g=";
|
||||
};
|
||||
|
||||
__structuredAttrs = true;
|
||||
|
||||
patches = [
|
||||
(fetchpatch {
|
||||
name = "secure-opendir-fix-error-handling.patch";
|
||||
url = "https://github.com/linux-pam/linux-pam/commit/dd62bac17221911106de165607c6925ea54b18d1.patch?full_index=1";
|
||||
hash = "sha256-ddgDYdVfdXfTaMFV1hO3RJX9w1NHmE7yi3PxsHOdpvY=";
|
||||
})
|
||||
];
|
||||
|
||||
# patching unix_chkpwd is required as the nix store entry does not have the necessary bits
|
||||
postPatch = ''
|
||||
substituteInPlace modules/module-meson.build \
|
||||
@@ -104,6 +112,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
(lib.mesonEnable "nis" false)
|
||||
(lib.mesonBool "xtests" false)
|
||||
(lib.mesonBool "examples" false)
|
||||
(lib.mesonOption "vendordir" "${placeholder "out"}/etc")
|
||||
]
|
||||
# warning: slower execution due to debug makes VM tests fail!
|
||||
++ lib.optional debugMode (lib.mesonBool "pam-debug" true);
|
||||
|
||||
Reference in New Issue
Block a user