- 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:
parent
d42e68b3c2
commit
a7264a208d
@ -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
3
pam-config-2.6.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:d493deb131c0a5d9e83f46a87b5f9f8319512c7f9d5ffe275b4d38375e67b218
|
||||||
|
size 267240
|
@ -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>
|
Wed Apr 12 12:58:30 UTC 2023 - Thorsten Kukuk <kukuk@suse.com>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: pam-config
|
Name: pam-config
|
||||||
Version: 2.5
|
Version: 2.6
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Utility to modify common PAM configuration files
|
Summary: Utility to modify common PAM configuration files
|
||||||
License: GPL-2.0-only
|
License: GPL-2.0-only
|
||||||
@ -61,12 +61,6 @@ fi
|
|||||||
%postun
|
%postun
|
||||||
if [ $1 = 0 ]; then
|
if [ $1 = 0 ]; then
|
||||||
# Deinstall
|
# 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
|
dir=%{_sysconfdir}/pam.d
|
||||||
for pamd in common-account common-auth common-password common-session ; do
|
for pamd in common-account common-auth common-password common-session ; do
|
||||||
if [ -f $dir/$pamd.pam-config-backup -a -L $dir/$pamd ]; then
|
if [ -f $dir/$pamd.pam-config-backup -a -L $dir/$pamd ]; then
|
||||||
@ -79,8 +73,7 @@ if [ $1 = 0 ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%triggerpostun -- pam-modules
|
%posttrans
|
||||||
[ $2 = 0 ] || exit 0
|
|
||||||
pam-config --debug --update ||:
|
pam-config --debug --update ||:
|
||||||
|
|
||||||
%files -f pam-config.lang
|
%files -f pam-config.lang
|
||||||
|
Loading…
Reference in New Issue
Block a user