From 343fbe4278729ee65874a205e9c1c101a825afe9f8034f4360ecd48fda9ac713 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 18 Nov 2021 14:13:26 +0000 Subject: [PATCH] Accepting request 931923 from home:sbrabec:branches:Base:System - Update pam-login_defs-check.sh regexp and login_defs-support-for-pam symbol to version 1.5.2 (new variable HMAC_CRYPTO_ALGO). OBS-URL: https://build.opensuse.org/request/show/931923 OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=253 --- pam-login_defs-check.sh | 4 ++-- pam.changes | 7 +++++++ pam.spec | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/pam-login_defs-check.sh b/pam-login_defs-check.sh index b7b7532..50190eb 100644 --- a/pam-login_defs-check.sh +++ b/pam-login_defs-check.sh @@ -9,10 +9,10 @@ set -o errexit echo -n "Checking login.defs variables in pam... " >&2 grep -rh LOGIN_DEFS . | - sed -n 's/^.*search_key *([A-Za-z_]*, *[A-Z_]*LOGIN_DEFS, *"\([A-Z0-9_]*\)").*$/\1/p' | + sed -n 's/CRYPTO_KEY/\"HMAC_CRYPTO_ALGO\"/g;s/^.*search_key *([A-Za-z_]*, *[A-Z_]*LOGIN_DEFS, *"\([A-Z0-9_]*\)").*$/\1/p' | LC_ALL=C sort -u >pam-login_defs-vars.lst -if test $(sha1sum pam-login_defs-vars.lst | sed 's/ .*$//') != e9750fd874b9b55fc151d424ae048050e3858d57 ; then +if test $(sha1sum pam-login_defs-vars.lst | sed 's/ .*$//') != cda62ec4158236270a5a30ba1875fa2795926f23 ; then echo "does not match!" >&2 echo "Checksum is: $(sha1sum pam-login_defs-vars.lst | sed 's/ .*$//')" >&2 diff --git a/pam.changes b/pam.changes index ec7c4be..b9161be 100644 --- a/pam.changes +++ b/pam.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Nov 17 04:14:18 UTC 2021 - Stanislav Brabec + +- Update pam-login_defs-check.sh regexp and + login_defs-support-for-pam symbol to version 1.5.2 + (new variable HMAC_CRYPTO_ALGO). + ------------------------------------------------------------------- Tue Nov 2 20:32:04 UTC 2021 - Callum Farmer diff --git a/pam.spec b/pam.spec index 7a9c96e..3206500 100644 --- a/pam.spec +++ b/pam.spec @@ -66,7 +66,7 @@ Requires(post): permissions # All login.defs variables require support from shadow side. # Upgrade this symbol version only if new variables appear! # Verify by shadow-login_defs-check.sh from shadow source package. -Recommends: login_defs-support-for-pam >= 1.3.1 +Recommends: login_defs-support-for-pam >= 1.5.2 %if 0%{?suse_version} > 1320 BuildRequires: pkgconfig(libeconf) %endif