forked from pool/pam-config
Accepting request 400626 from openSUSE:Factory
Revert to pam-config 0.89 - the ghost->no-ghost is fatal on upgrades OBS-URL: https://build.opensuse.org/request/show/400626 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pam-config?expand=0&rev=70
This commit is contained in:
parent
290ae5f16b
commit
c9c3d5b8a4
@ -1,13 +0,0 @@
|
|||||||
#%PAM-1.0
|
|
||||||
#
|
|
||||||
# This file is autogenerated by pam-config. All changes
|
|
||||||
# will be overwritten.
|
|
||||||
#
|
|
||||||
# Account-related modules common to all services
|
|
||||||
#
|
|
||||||
# This file is included from other service-specific PAM config files,
|
|
||||||
# and should contain a list of the account modules that define
|
|
||||||
# the central access policy for use on the system. The default is to
|
|
||||||
# only deny service to users whose accounts are expired.
|
|
||||||
#
|
|
||||||
account required pam_unix.so try_first_pass
|
|
@ -1,15 +0,0 @@
|
|||||||
#%PAM-1.0
|
|
||||||
#
|
|
||||||
# This file is autogenerated by pam-config. All changes
|
|
||||||
# will be overwritten.
|
|
||||||
#
|
|
||||||
# Authentication-related modules common to all services
|
|
||||||
#
|
|
||||||
# This file is included from other service-specific PAM config files,
|
|
||||||
# and should contain a list of the authentication modules that define
|
|
||||||
# the central authentication scheme for use on the system
|
|
||||||
# (e.g., /etc/shadow, LDAP, Kerberos, etc.). The default is to use the
|
|
||||||
# traditional Unix authentication mechanisms.
|
|
||||||
#
|
|
||||||
auth required pam_env.so
|
|
||||||
auth required pam_unix.so try_first_pass
|
|
@ -1,13 +0,0 @@
|
|||||||
#%PAM-1.0
|
|
||||||
#
|
|
||||||
# This file is autogenerated by pam-config. All changes
|
|
||||||
# will be overwritten.
|
|
||||||
#
|
|
||||||
# Password-related modules common to all services
|
|
||||||
#
|
|
||||||
# This file is included from other service-specific PAM config files,
|
|
||||||
# and should contain a list of modules that define the services to be
|
|
||||||
# used to change user passwords.
|
|
||||||
#
|
|
||||||
password requisite pam_cracklib.so
|
|
||||||
password required pam_unix.so use_authtok nullok shadow try_first_pass
|
|
@ -1,16 +0,0 @@
|
|||||||
#%PAM-1.0
|
|
||||||
#
|
|
||||||
# This file is autogenerated by pam-config. All changes
|
|
||||||
# will be overwritten.
|
|
||||||
#
|
|
||||||
# Session-related modules common to all services
|
|
||||||
#
|
|
||||||
# This file is included from other service-specific PAM config files,
|
|
||||||
# and should contain a list of modules that define tasks to be performed
|
|
||||||
# at the start and end of sessions of *any* kind (both interactive and
|
|
||||||
# non-interactive
|
|
||||||
#
|
|
||||||
session required pam_limits.so
|
|
||||||
session required pam_unix.so try_first_pass
|
|
||||||
session optional pam_umask.so
|
|
||||||
session optional pam_env.so
|
|
3
pam-config-0.89.tar.bz2
Normal file
3
pam-config-0.89.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:e7f5226b37831b6d97ba8d95379561d9569d788575016b41fb5e4104f54a2b34
|
||||||
|
size 334488
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:ed70b81cdf3ae34134eb312b44306942bbf0cdcfc4467c8ce2df4ea8589abd78
|
|
||||||
size 321326
|
|
@ -1,13 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Tue May 31 15:41:15 CEST 2016 - kukuk@suse.de
|
|
||||||
|
|
||||||
- No %ghost entries anymore, common-*-pc files are now real config
|
|
||||||
files for better tracking of modifications.
|
|
||||||
- Update to version 0.91
|
|
||||||
- Adjust for Linux-PAM 1.3.0
|
|
||||||
- Automatically replace obsolete PAM modules no longer installed
|
|
||||||
- Extend error messages
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Apr 1 11:37:05 CEST 2016 - kukuk@suse.de
|
Fri Apr 1 11:37:05 CEST 2016 - kukuk@suse.de
|
||||||
|
|
||||||
|
@ -20,15 +20,10 @@ Name: pam-config
|
|||||||
Summary: Modify common PAM configuration files
|
Summary: Modify common PAM configuration files
|
||||||
License: GPL-2.0
|
License: GPL-2.0
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
Version: 0.91
|
Version: 0.89
|
||||||
Release: 0
|
Release: 0
|
||||||
PreReq: pam >= 1.3.0
|
PreReq: pam >= 0.99
|
||||||
Url: https://github.com/SUSE/pam-config
|
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source1: common-account-pc
|
|
||||||
Source2: common-auth-pc
|
|
||||||
Source3: common-password-pc
|
|
||||||
Source4: common-session-pc
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -50,14 +45,13 @@ make %{?_smp_mflags}
|
|||||||
%install
|
%install
|
||||||
make install DESTDIR=$RPM_BUILD_ROOT
|
make install DESTDIR=$RPM_BUILD_ROOT
|
||||||
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d
|
mkdir -p $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d
|
||||||
install -m 644 %SOURCE1 $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/
|
for i in account auth password session ; do
|
||||||
install -m 644 %SOURCE2 $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/
|
touch $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/common-$i-pc
|
||||||
install -m 644 %SOURCE3 $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/
|
done
|
||||||
install -m 644 %SOURCE4 $RPM_BUILD_ROOT/%{_sysconfdir}/pam.d/
|
|
||||||
%{find_lang} pam-config
|
%{find_lang} pam-config
|
||||||
|
|
||||||
%post
|
%post
|
||||||
if [ "$1" = "1" ]; then
|
if [ ! -f /etc/pam.d/common-auth-pc ] ; then
|
||||||
pam-config --debug --create --force
|
pam-config --debug --create --force
|
||||||
else
|
else
|
||||||
pam-config --debug --update ||:
|
pam-config --debug --update ||:
|
||||||
@ -88,9 +82,9 @@ fi
|
|||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_sbindir}/pam-config
|
%{_sbindir}/pam-config
|
||||||
%doc %{_mandir}/man8/pam-config.8*
|
%doc %{_mandir}/man8/pam-config.8*
|
||||||
%config %{_sysconfdir}/pam.d/common-account-pc
|
%ghost %config %{_sysconfdir}/pam.d/common-account-pc
|
||||||
%config %{_sysconfdir}/pam.d/common-auth-pc
|
%ghost %config %{_sysconfdir}/pam.d/common-auth-pc
|
||||||
%config %{_sysconfdir}/pam.d/common-password-pc
|
%ghost %config %{_sysconfdir}/pam.d/common-password-pc
|
||||||
%config %{_sysconfdir}/pam.d/common-session-pc
|
%ghost %config %{_sysconfdir}/pam.d/common-session-pc
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
Reference in New Issue
Block a user