From a7264a208d8b7a7adc24fc7d81c26ce87672f614dd5c15084e9a0937f3afa3f0 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 6 Sep 2023 14:56:04 +0000 Subject: [PATCH 1/3] - Update to version 2.6 - Remove pam_cracklib from config even if no successor is installed - Run update in %posttrans after all other PAM modules got installed/removed - Both are required for [bsc#1214885] OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam-config?expand=0&rev=114 --- pam-config-2.5.tar.xz | 3 --- pam-config-2.6.tar.xz | 3 +++ pam-config.changes | 9 +++++++++ pam-config.spec | 11 ++--------- 4 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 pam-config-2.5.tar.xz create mode 100644 pam-config-2.6.tar.xz diff --git a/pam-config-2.5.tar.xz b/pam-config-2.5.tar.xz deleted file mode 100644 index a0ad0f1..0000000 --- a/pam-config-2.5.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c977ebf49ea406bc6c7d53b7bb6dadbaaad1e143ef25c7328720a113b312062e -size 267280 diff --git a/pam-config-2.6.tar.xz b/pam-config-2.6.tar.xz new file mode 100644 index 0000000..9548196 --- /dev/null +++ b/pam-config-2.6.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d493deb131c0a5d9e83f46a87b5f9f8319512c7f9d5ffe275b4d38375e67b218 +size 267240 diff --git a/pam-config.changes b/pam-config.changes index 3e60e7d..296c611 100644 --- a/pam-config.changes +++ b/pam-config.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Wed Sep 6 14:53:33 UTC 2023 - Thorsten Kukuk + +- Update to version 2.6 + - Remove pam_cracklib from config even if no successor is installed +- Run update in %posttrans after all other PAM modules got + installed/removed +- Both are required for [bsc#1214885] + ------------------------------------------------------------------- Wed Apr 12 12:58:30 UTC 2023 - Thorsten Kukuk diff --git a/pam-config.spec b/pam-config.spec index 2e96f76..57bb298 100644 --- a/pam-config.spec +++ b/pam-config.spec @@ -17,7 +17,7 @@ Name: pam-config -Version: 2.5 +Version: 2.6 Release: 0 Summary: Utility to modify common PAM configuration files License: GPL-2.0-only @@ -61,12 +61,6 @@ fi %postun if [ $1 = 0 ]; then # Deinstall - dir=%{_sysconfdir}/security - for conf in pam_unix2.conf pam_pwcheck.conf ; do - if [ -f $dir/$conf.pam-config-backup -a ! -f $dir/$conf ]; then - mv -v $dir/$conf.pam-config-backup $dir/$conf - fi - done dir=%{_sysconfdir}/pam.d for pamd in common-account common-auth common-password common-session ; do if [ -f $dir/$pamd.pam-config-backup -a -L $dir/$pamd ]; then @@ -79,8 +73,7 @@ if [ $1 = 0 ]; then done fi -%triggerpostun -- pam-modules -[ $2 = 0 ] || exit 0 +%posttrans pam-config --debug --update ||: %files -f pam-config.lang From 27b549ed019b6cab0b59551c097116ce574461866d142a23c1512a27f6a4424e Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Thu, 7 Sep 2023 11:42:52 +0000 Subject: [PATCH 2/3] - Update to version 2.7 - Add support for aad module OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam-config?expand=0&rev=115 --- pam-config-2.6.tar.xz | 3 --- pam-config-2.7.tar.xz | 3 +++ pam-config.changes | 6 ++++++ pam-config.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 pam-config-2.6.tar.xz create mode 100644 pam-config-2.7.tar.xz diff --git a/pam-config-2.6.tar.xz b/pam-config-2.6.tar.xz deleted file mode 100644 index 9548196..0000000 --- a/pam-config-2.6.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:d493deb131c0a5d9e83f46a87b5f9f8319512c7f9d5ffe275b4d38375e67b218 -size 267240 diff --git a/pam-config-2.7.tar.xz b/pam-config-2.7.tar.xz new file mode 100644 index 0000000..1ba638e --- /dev/null +++ b/pam-config-2.7.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:862ad760c6ff711e9b1b1cecb89c2aba55f7aeeddc595fb877e70b2ea3debaea +size 267728 diff --git a/pam-config.changes b/pam-config.changes index 296c611..8f56482 100644 --- a/pam-config.changes +++ b/pam-config.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Sep 7 11:42:28 UTC 2023 - Thorsten Kukuk + +- Update to version 2.7 + - Add support for aad module + ------------------------------------------------------------------- Wed Sep 6 14:53:33 UTC 2023 - Thorsten Kukuk diff --git a/pam-config.spec b/pam-config.spec index 57bb298..6870195 100644 --- a/pam-config.spec +++ b/pam-config.spec @@ -17,7 +17,7 @@ Name: pam-config -Version: 2.6 +Version: 2.7 Release: 0 Summary: Utility to modify common PAM configuration files License: GPL-2.0-only From 0448b7baf3d6803c72f797fd9e56b977327faf1f8f61a1fe31f6d45d48c82554 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Fri, 8 Sep 2023 09:03:25 +0000 Subject: [PATCH 3/3] - Update to version 2.8 - Replace aad module with himmelblau OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam-config?expand=0&rev=116 --- pam-config-2.7.tar.xz | 3 --- pam-config-2.8.tar.xz | 3 +++ pam-config.changes | 6 ++++++ pam-config.spec | 2 +- 4 files changed, 10 insertions(+), 4 deletions(-) delete mode 100644 pam-config-2.7.tar.xz create mode 100644 pam-config-2.8.tar.xz diff --git a/pam-config-2.7.tar.xz b/pam-config-2.7.tar.xz deleted file mode 100644 index 1ba638e..0000000 --- a/pam-config-2.7.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:862ad760c6ff711e9b1b1cecb89c2aba55f7aeeddc595fb877e70b2ea3debaea -size 267728 diff --git a/pam-config-2.8.tar.xz b/pam-config-2.8.tar.xz new file mode 100644 index 0000000..84b66e2 --- /dev/null +++ b/pam-config-2.8.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bad34f713f5dcdfe0cb0faf98a523afa979d1d89c0c57751686ca3a103725e17 +size 267684 diff --git a/pam-config.changes b/pam-config.changes index 8f56482..8c64f7e 100644 --- a/pam-config.changes +++ b/pam-config.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Fri Sep 8 09:01:18 UTC 2023 - Thorsten Kukuk + +- Update to version 2.8 + - Replace aad module with himmelblau + ------------------------------------------------------------------- Thu Sep 7 11:42:28 UTC 2023 - Thorsten Kukuk diff --git a/pam-config.spec b/pam-config.spec index 6870195..fa2b97b 100644 --- a/pam-config.spec +++ b/pam-config.spec @@ -17,7 +17,7 @@ Name: pam-config -Version: 2.7 +Version: 2.8 Release: 0 Summary: Utility to modify common PAM configuration files License: GPL-2.0-only