- 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
This commit is contained in:
Thorsten Kukuk 2023-09-06 14:56:04 +00:00 committed by Git OBS Bridge
parent d42e68b3c2
commit a7264a208d
4 changed files with 14 additions and 12 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c977ebf49ea406bc6c7d53b7bb6dadbaaad1e143ef25c7328720a113b312062e
size 267280

3
pam-config-2.6.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d493deb131c0a5d9e83f46a87b5f9f8319512c7f9d5ffe275b4d38375e67b218
size 267240

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Wed Sep 6 14:53:33 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
- 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 <kukuk@suse.com>

View File

@ -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