SHA256
3
0
forked from pool/pam

Accepting request 622479 from home:sbrabec:branches:Linux-PAM

- Install empty directory /etc/security/namespace.d for
  pam_namespace.so iscript.

OBS-URL: https://build.opensuse.org/request/show/622479
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam?expand=0&rev=178
This commit is contained in:
Josef Möllers 2018-07-13 15:28:53 +00:00 committed by Git OBS Bridge
parent 126fde1f54
commit eacf67827e
2 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Jul 13 15:48:58 CEST 2018 - sbrabec@suse.com
- Install empty directory /etc/security/namespace.d for
pam_namespace.so iscript.
-------------------------------------------------------------------
Thu May 3 07:08:50 UTC 2018 - josef.moellers@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package pam
#
# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -39,7 +39,7 @@ BuildRequires: libselinux-devel
Version: 1.3.0
Release: 0
Summary: A Security Tool that Provides Authentication for Applications
License: GPL-2.0+ or BSD-3-Clause
License: GPL-2.0-or-later OR BSD-3-Clause
Group: System/Libraries
PreReq: permissions
%if 0%{?suse_version} >= 1330
@ -164,6 +164,8 @@ echo "hvc7" >> $RPM_BUILD_ROOT/etc/securetty
echo "sclp_line0" >> $RPM_BUILD_ROOT/etc/securetty
echo "ttysclp0" >> $RPM_BUILD_ROOT/etc/securetty
%endif
# install /etc/security/namespace.d used by pam_namespace.so for namespace.conf iscript
install -d $RPM_BUILD_ROOT%{_sysconfdir}/security/namespace.d
# install other.pamd and common-*.pamd
install -m 644 %{SOURCE3} $RPM_BUILD_ROOT/etc/pam.d/other
install -m 644 %{SOURCE4} $RPM_BUILD_ROOT/etc/pam.d/common-auth
@ -238,6 +240,7 @@ install -m 644 $RPM_SOURCE_DIR/unix2_chkpwd.8 $RPM_BUILD_ROOT%{_mandir}/man8/
%config(noreplace) %{_sysconfdir}/security/time.conf
%config(noreplace) %{_sysconfdir}/security/namespace.conf
%config(noreplace) %{_sysconfdir}/security/namespace.init
%dir %{_sysconfdir}/security/namespace.d
%doc NEWS
%license COPYING
%doc %{_mandir}/man5/environment.5*