2006-12-19 00:17:21 +01:00
|
|
|
#
|
2011-02-24 15:19:29 +01:00
|
|
|
# spec file for package pam
|
2006-12-19 00:17:21 +01:00
|
|
|
#
|
2020-02-27 15:49:37 +01:00
|
|
|
# Copyright (c) 2020 SUSE LLC
|
2006-12-19 00:17:21 +01:00
|
|
|
#
|
2008-08-21 18:47:18 +02:00
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-05-06 09:09:44 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2006-12-19 00:17:21 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
|
2020-12-03 14:58:29 +01:00
|
|
|
%if !0%{?usrmerged}
|
|
|
|
%define libdir /%{_lib}
|
|
|
|
%define sbindir /sbin
|
|
|
|
%define pamdir /%{_lib}/security
|
|
|
|
%else
|
|
|
|
%define libdir %{_libdir}
|
|
|
|
%define sbindir %{_sbindir}
|
|
|
|
# moving this to /usr needs fixing
|
|
|
|
# several packages short of
|
|
|
|
# https://github.com/linux-pam/linux-pam/issues/256
|
|
|
|
%define pamdir %{_libdir}/security
|
|
|
|
%endif
|
|
|
|
|
2012-05-10 05:15:08 +02:00
|
|
|
#
|
2008-08-21 18:47:18 +02:00
|
|
|
%define enable_selinux 1
|
2020-05-12 11:30:59 +02:00
|
|
|
%define libpam_so_version 0.85.1
|
2015-04-27 17:17:47 +02:00
|
|
|
%define libpam_misc_so_version 0.82.1
|
2009-05-06 18:50:00 +02:00
|
|
|
%define libpamc_so_version 0.82.1
|
2020-05-27 11:48:06 +02:00
|
|
|
%if ! %{defined _distconfdir}
|
|
|
|
%define _distconfdir %{_sysconfdir}
|
|
|
|
%define config_noreplace 1
|
|
|
|
%endif
|
2019-08-21 13:20:26 +02:00
|
|
|
Name: pam
|
2013-09-12 10:06:49 +02:00
|
|
|
#
|
2020-11-27 10:37:31 +01:00
|
|
|
Version: 1.5.1
|
2012-03-19 13:00:58 +01:00
|
|
|
Release: 0
|
2007-10-11 22:08:44 +02:00
|
|
|
Summary: A Security Tool that Provides Authentication for Applications
|
2018-07-13 17:28:53 +02:00
|
|
|
License: GPL-2.0-or-later OR BSD-3-Clause
|
2012-03-19 13:00:58 +01:00
|
|
|
Group: System/Libraries
|
2019-08-21 13:20:26 +02:00
|
|
|
URL: http://www.linux-pam.org/
|
2020-05-12 11:30:59 +02:00
|
|
|
Source: Linux-PAM-%{version}.tar.xz
|
|
|
|
Source1: Linux-PAM-%{version}-docs.tar.xz
|
2006-12-19 00:17:21 +01:00
|
|
|
Source3: other.pamd
|
|
|
|
Source4: common-auth.pamd
|
|
|
|
Source5: common-account.pamd
|
|
|
|
Source6: common-password.pamd
|
|
|
|
Source7: common-session.pamd
|
2019-08-19 14:43:33 +02:00
|
|
|
Source8: securetty
|
2009-12-18 12:34:28 +01:00
|
|
|
Source9: baselibs.conf
|
2016-05-02 10:45:43 +02:00
|
|
|
Source10: unix2_chkpwd.c
|
|
|
|
Source11: unix2_chkpwd.8
|
2019-05-06 09:09:44 +02:00
|
|
|
Source12: pam-login_defs-check.sh
|
2015-01-09 15:23:58 +01:00
|
|
|
Patch2: pam-limit-nproc.patch
|
2017-03-03 20:50:43 +01:00
|
|
|
Patch4: pam-hostnames-in-access_conf.patch
|
2020-10-08 11:10:15 +02:00
|
|
|
Patch5: pam-xauth_ownership.patch
|
2020-11-19 16:52:27 +01:00
|
|
|
Patch6: pam_cracklib-removal.patch
|
|
|
|
Patch7: pam_tally2-removal.patch
|
2020-11-19 12:13:17 +01:00
|
|
|
Patch8: pam-bsc1177858-dont-free-environment-string.patch
|
|
|
|
Patch9: pam-pam_cracklib-add-usersubstr.patch
|
2019-08-21 13:20:26 +02:00
|
|
|
BuildRequires: audit-devel
|
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: cracklib-devel
|
|
|
|
BuildRequires: flex
|
2015-01-09 15:23:58 +01:00
|
|
|
BuildRequires: libtool
|
2020-05-27 11:48:06 +02:00
|
|
|
BuildRequires: xz
|
2020-12-03 14:58:29 +01:00
|
|
|
# this is only needed in the transition phase to make sure modules
|
|
|
|
# are also loaded from /lib/security as fallback
|
|
|
|
Patch99: pam-usrmerge.diff
|
2020-05-27 11:48:06 +02:00
|
|
|
Requires(post): permissions
|
2019-08-21 13:20:26 +02:00
|
|
|
# All login.defs variables require support from shadow side.
|
|
|
|
# Upgrade this symbol version only if new variables appear!
|
|
|
|
# Verify by shadow-login_defs-check.sh from shadow source package.
|
2020-02-27 15:49:37 +01:00
|
|
|
Recommends: login_defs-support-for-pam >= 1.3.1
|
2020-03-12 18:33:26 +01:00
|
|
|
%if 0%{?suse_version} > 1320
|
2019-09-25 12:16:25 +02:00
|
|
|
BuildRequires: pkgconfig(libeconf)
|
2019-08-21 13:20:26 +02:00
|
|
|
%endif
|
|
|
|
%if %{enable_selinux}
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
%endif
|
2021-02-16 11:28:19 +01:00
|
|
|
Requires: pam_unix.so
|
|
|
|
Suggests: pam_unix
|
2019-08-21 13:20:26 +02:00
|
|
|
%if 0%{?suse_version} >= 1330
|
|
|
|
Requires(pre): group(shadow)
|
|
|
|
Requires(pre): user(root)
|
|
|
|
%endif
|
2006-12-19 00:17:21 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
PAM (Pluggable Authentication Modules) is a system security tool that
|
|
|
|
allows system administrators to set authentication policies without
|
|
|
|
having to recompile programs that do authentication.
|
|
|
|
|
2021-02-16 11:28:19 +01:00
|
|
|
%package -n pam_unix
|
|
|
|
Summary: PAM module for standard UNIX authentication
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: pam_unix.so
|
|
|
|
Conflicts: pam_unix-nis
|
|
|
|
|
|
|
|
%description -n pam_unix
|
|
|
|
This package contains the pam_unix module, which does the standard
|
|
|
|
UNIX authentication against the passwd and shadow database. This
|
|
|
|
module does not contain NIS support.
|
|
|
|
|
2020-03-21 16:44:00 +01:00
|
|
|
%package extra
|
|
|
|
Summary: PAM module to authenticate against a separate database
|
2020-05-27 11:48:06 +02:00
|
|
|
Group: System/Libraries
|
2020-03-21 16:44:00 +01:00
|
|
|
BuildRequires: libdb-4_8-devel
|
|
|
|
BuildRequires: pam-devel
|
|
|
|
|
|
|
|
%description extra
|
|
|
|
PAM (Pluggable Authentication Modules) is a system security tool that
|
|
|
|
allows system administrators to set authentication policies without
|
|
|
|
having to recompile programs that do authentication.
|
|
|
|
|
|
|
|
This package contains useful extra modules eg pam_userdb which is
|
|
|
|
used to verify a username/password pair against values stored in
|
|
|
|
a Berkeley DB database.
|
|
|
|
|
2007-04-19 22:09:31 +02:00
|
|
|
%package doc
|
2007-07-10 13:34:21 +02:00
|
|
|
Summary: Documentation for Pluggable Authentication Modules
|
2007-04-19 22:09:31 +02:00
|
|
|
Group: Documentation/HTML
|
2012-03-19 13:00:58 +01:00
|
|
|
%if 0%{?suse_version} >= 1140
|
|
|
|
BuildArch: noarch
|
|
|
|
%endif
|
2007-04-19 22:09:31 +02:00
|
|
|
|
|
|
|
%description doc
|
|
|
|
PAM (Pluggable Authentication Modules) is a system security tool that
|
|
|
|
allows system administrators to set authentication policies without
|
|
|
|
having to recompile programs that do authentication.
|
|
|
|
|
|
|
|
This package contains the documentation.
|
|
|
|
|
2006-12-19 00:17:21 +01:00
|
|
|
%package devel
|
2019-08-23 14:39:21 +02:00
|
|
|
Summary: Include Files and Libraries for PAM Development
|
2006-12-19 00:17:21 +01:00
|
|
|
Group: Development/Libraries/C and C++
|
2012-05-10 05:15:08 +02:00
|
|
|
Requires: glibc-devel
|
|
|
|
Requires: pam = %{version}
|
2006-12-19 00:17:21 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
PAM (Pluggable Authentication Modules) is a system security tool which
|
|
|
|
allows system administrators to set authentication policy without
|
|
|
|
having to recompile programs which do authentication.
|
|
|
|
|
|
|
|
This package contains header files and static libraries used for
|
|
|
|
building both PAM-aware applications and modules for use with PAM.
|
|
|
|
|
2020-05-27 11:48:06 +02:00
|
|
|
%package deprecated
|
|
|
|
Summary: Deprecated PAM Modules
|
|
|
|
Group: System/Libraries
|
|
|
|
Provides: pam:/%{_lib}/security/pam_cracklib.so
|
|
|
|
Provides: pam:/%{_lib}/security/pam_tally2.so
|
|
|
|
|
|
|
|
%description deprecated
|
|
|
|
PAM (Pluggable Authentication Modules) is a system security tool that
|
|
|
|
allows system administrators to set authentication policies without
|
|
|
|
having to recompile programs that do authentication.
|
|
|
|
|
|
|
|
This package contains deprecated extra modules like pam_cracklib and
|
|
|
|
pam_tally2, which are no longer supported upstream and will be completly
|
|
|
|
removed with one of the next releases.
|
|
|
|
|
2006-12-19 00:17:21 +01:00
|
|
|
%prep
|
2020-05-12 11:30:59 +02:00
|
|
|
%setup -q -n Linux-PAM-%{version} -b 1
|
2019-08-21 13:20:26 +02:00
|
|
|
cp -a %{SOURCE12} .
|
2014-01-27 17:10:16 +01:00
|
|
|
%patch2 -p1
|
2020-05-12 14:19:16 +02:00
|
|
|
%patch4 -p1
|
2020-10-08 11:10:15 +02:00
|
|
|
%patch5 -p1
|
2020-11-19 16:52:27 +01:00
|
|
|
%patch6 -R -p1
|
|
|
|
%patch7 -R -p1
|
2020-11-19 12:13:17 +01:00
|
|
|
%patch8 -p1
|
|
|
|
%patch9 -p1
|
2020-12-17 09:06:56 +01:00
|
|
|
%if 0%{?usrmerged}
|
|
|
|
%patch99 -p1
|
|
|
|
%endif
|
2006-12-19 00:17:21 +01:00
|
|
|
|
|
|
|
%build
|
2019-05-06 09:09:44 +02:00
|
|
|
bash ./pam-login_defs-check.sh
|
2019-08-21 13:20:26 +02:00
|
|
|
export CFLAGS="%{optflags} -DNDEBUG"
|
2012-03-19 13:00:58 +01:00
|
|
|
%configure \
|
2019-08-21 13:20:26 +02:00
|
|
|
--includedir=%{_includedir}/security \
|
2007-01-18 16:42:07 +01:00
|
|
|
--docdir=%{_docdir}/pam \
|
|
|
|
--htmldir=%{_docdir}/pam/html \
|
|
|
|
--pdfdir=%{_docdir}/pam/pdf \
|
2020-12-03 14:58:29 +01:00
|
|
|
%if !0%{?usrmerged}
|
|
|
|
--sbindir=/sbin \
|
|
|
|
--libdir=/%{_lib} \
|
|
|
|
%endif
|
|
|
|
--enable-isadir=../..%{pamdir} \
|
|
|
|
--enable-securedir=%{pamdir} \
|
2020-05-27 11:48:06 +02:00
|
|
|
--enable-vendordir=%{_distconfdir} \
|
|
|
|
--enable-tally2 --enable-cracklib
|
2016-05-02 10:45:43 +02:00
|
|
|
make %{?_smp_mflags}
|
2020-05-27 11:48:06 +02:00
|
|
|
gcc -fwhole-program -fpie -pie -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE %{optflags} -I%{_builddir}/Linux-PAM-%{version}/libpam/include %{SOURCE10} -o %{_builddir}/unix2_chkpwd -L%{_builddir}/Linux-PAM-%{version}/libpam/.libs -lpam
|
2007-07-10 13:34:21 +02:00
|
|
|
|
|
|
|
%check
|
2020-05-27 11:48:06 +02:00
|
|
|
%make_build check
|
2006-12-19 00:17:21 +01:00
|
|
|
|
|
|
|
%install
|
2019-08-21 13:20:26 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
|
2019-09-25 12:16:25 +02:00
|
|
|
mkdir -p %{buildroot}%{_distconfdir}/pam.d
|
2019-08-21 13:20:26 +02:00
|
|
|
mkdir -p %{buildroot}%{_includedir}/security
|
2020-12-03 14:58:29 +01:00
|
|
|
mkdir -p %{buildroot}%{pamdir}
|
2019-08-21 13:20:26 +02:00
|
|
|
mkdir -p %{buildroot}/sbin
|
|
|
|
mkdir -p -m 755 %{buildroot}%{_libdir}
|
|
|
|
%make_install
|
2020-12-03 14:58:29 +01:00
|
|
|
/sbin/ldconfig -n %{buildroot}%{libdir}
|
2006-12-19 00:17:21 +01:00
|
|
|
# Install documentation
|
2019-08-23 14:39:21 +02:00
|
|
|
%make_install -C doc
|
2006-12-19 00:17:21 +01:00
|
|
|
# install securetty
|
2019-09-25 12:16:25 +02:00
|
|
|
install -m 644 %{SOURCE8} %{buildroot}%{_distconfdir}
|
2006-12-19 00:17:21 +01:00
|
|
|
%ifarch s390 s390x
|
2019-08-23 14:39:21 +02:00
|
|
|
for i in ttyS0 ttyS1 hvc0 hvc1 hvc2 hvc3 hvc4 hvc5 hvc6 hvc7 sclp_line0 ttysclp0; do
|
2019-09-25 12:16:25 +02:00
|
|
|
echo "$i" >>%{buildroot}/%{_distconfdir}/securetty
|
2019-08-23 14:39:21 +02:00
|
|
|
done
|
2006-12-19 00:17:21 +01:00
|
|
|
%endif
|
2018-07-13 17:28:53 +02:00
|
|
|
# install /etc/security/namespace.d used by pam_namespace.so for namespace.conf iscript
|
2019-08-21 13:20:26 +02:00
|
|
|
install -d %{buildroot}%{_sysconfdir}/security/namespace.d
|
2006-12-19 00:17:21 +01:00
|
|
|
# install other.pamd and common-*.pamd
|
2019-09-25 12:16:25 +02:00
|
|
|
install -m 644 %{SOURCE3} %{buildroot}%{_distconfdir}/pam.d/other
|
|
|
|
install -m 644 %{SOURCE4} %{buildroot}%{_distconfdir}/pam.d/common-auth
|
|
|
|
install -m 644 %{SOURCE5} %{buildroot}%{_distconfdir}/pam.d/common-account
|
|
|
|
install -m 644 %{SOURCE6} %{buildroot}%{_distconfdir}/pam.d/common-password
|
|
|
|
install -m 644 %{SOURCE7} %{buildroot}%{_distconfdir}/pam.d/common-session
|
2020-12-03 14:58:29 +01:00
|
|
|
%if !0%{?usrmerged}
|
2019-08-21 13:20:26 +02:00
|
|
|
rm %{buildroot}/%{_lib}/libpam.so
|
|
|
|
ln -sf ../../%{_lib}/libpam.so.%{libpam_so_version} %{buildroot}%{_libdir}/libpam.so
|
|
|
|
rm %{buildroot}/%{_lib}/libpamc.so
|
|
|
|
ln -sf ../../%{_lib}/libpamc.so.%{libpamc_so_version} %{buildroot}%{_libdir}/libpamc.so
|
|
|
|
rm %{buildroot}/%{_lib}/libpam_misc.so
|
|
|
|
ln -sf ../../%{_lib}/libpam_misc.so.%{libpam_misc_so_version} %{buildroot}%{_libdir}/libpam_misc.so
|
2020-12-03 14:58:29 +01:00
|
|
|
%endif
|
2020-04-03 08:26:25 +02:00
|
|
|
mkdir -p %{buildroot}%{_prefix}/lib/motd.d
|
2006-12-19 00:17:21 +01:00
|
|
|
#
|
|
|
|
# Remove crap
|
|
|
|
#
|
2019-08-21 13:20:26 +02:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2006-12-19 00:17:21 +01:00
|
|
|
for x in pam_unix_auth pam_unix_acct pam_unix_passwd pam_unix_session; do
|
2020-12-03 14:58:29 +01:00
|
|
|
ln -f %{buildroot}%{pamdir}/pam_unix.so %{buildroot}%{pamdir}/$x.so
|
2006-12-19 00:17:21 +01:00
|
|
|
done
|
|
|
|
#
|
|
|
|
# Install READMEs of PAM modules
|
|
|
|
#
|
2019-08-21 13:20:26 +02:00
|
|
|
DOC=%{buildroot}%{_defaultdocdir}/pam
|
2006-12-19 00:17:21 +01:00
|
|
|
mkdir -p $DOC/modules
|
2019-08-23 14:39:21 +02:00
|
|
|
pushd modules
|
|
|
|
for i in pam_*/README; do
|
|
|
|
cp -fpv "$i" "$DOC/modules/README.${i%/*}"
|
|
|
|
done
|
|
|
|
popd
|
2016-05-02 10:45:43 +02:00
|
|
|
# Install unix2_chkpwd
|
2020-12-03 14:58:29 +01:00
|
|
|
install -m 755 %{_builddir}/unix2_chkpwd %{buildroot}%{sbindir}
|
2019-08-23 14:39:21 +02:00
|
|
|
install -m 644 %{_sourcedir}/unix2_chkpwd.8 %{buildroot}/%{_mandir}/man8/
|
2020-12-03 14:58:29 +01:00
|
|
|
# rpm macros
|
|
|
|
mkdir -p %{buildroot}/usr/lib/rpm/macros.d
|
|
|
|
echo "%%_pamdir %pamdir" > %{buildroot}%{_prefix}/lib/rpm/macros.d/macros.pam
|
2006-12-19 00:17:21 +01:00
|
|
|
# Create filelist with translatins
|
2019-08-21 13:20:26 +02:00
|
|
|
%find_lang Linux-PAM
|
2006-12-19 00:17:21 +01:00
|
|
|
|
2012-03-19 13:00:58 +01:00
|
|
|
%verifyscript
|
2020-12-03 14:58:29 +01:00
|
|
|
%verify_permissions -e %{sbindir}/unix_chkpwd
|
|
|
|
%verify_permissions -e %{sbindir}/unix2_chkpwd
|
2006-12-19 00:17:21 +01:00
|
|
|
|
2013-02-05 14:10:24 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
2020-12-03 14:58:29 +01:00
|
|
|
%set_permissions %{sbindir}/unix_chkpwd
|
|
|
|
%set_permissions %{sbindir}/unix2_chkpwd
|
2006-12-19 00:17:21 +01:00
|
|
|
|
2012-03-19 13:00:58 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2019-09-25 12:16:25 +02:00
|
|
|
%pre
|
|
|
|
for i in securetty pam.d/other pam.d/common-account pam.d/common-auth pam.d/common-password pam.d/common-session ; do
|
2020-05-27 11:48:06 +02:00
|
|
|
test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||:
|
2019-09-25 12:16:25 +02:00
|
|
|
done
|
|
|
|
|
|
|
|
%posttrans
|
|
|
|
# Migration to /usr/etc.
|
|
|
|
for i in securetty pam.d/other pam.d/common-account pam.d/common-auth pam.d/common-password pam.d/common-session ; do
|
2020-05-27 11:48:06 +02:00
|
|
|
test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||:
|
2019-09-25 12:16:25 +02:00
|
|
|
done
|
|
|
|
|
2006-12-19 00:17:21 +01:00
|
|
|
%files -f Linux-PAM.lang
|
2020-03-26 11:22:45 +01:00
|
|
|
%exclude %{_defaultdocdir}/pam
|
2006-12-19 00:17:21 +01:00
|
|
|
%dir %{_sysconfdir}/pam.d
|
2019-09-25 12:16:25 +02:00
|
|
|
%dir %{_distconfdir}/pam.d
|
2006-12-19 00:17:21 +01:00
|
|
|
%dir %{_sysconfdir}/security
|
2015-07-25 19:48:00 +02:00
|
|
|
%dir %{_sysconfdir}/security/limits.d
|
2020-04-03 08:26:25 +02:00
|
|
|
%dir %{_prefix}/lib/motd.d
|
2019-09-25 12:16:25 +02:00
|
|
|
%if %{defined config_noreplace}
|
2006-12-19 00:17:21 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/other
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/common-*
|
|
|
|
%config(noreplace) %{_sysconfdir}/securetty
|
2019-09-25 12:16:25 +02:00
|
|
|
%else
|
|
|
|
%{_distconfdir}/pam.d/other
|
|
|
|
%{_distconfdir}/pam.d/common-*
|
|
|
|
%{_distconfdir}/securetty
|
|
|
|
%endif
|
2006-12-19 00:17:21 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/environment
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/access.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/group.conf
|
2020-05-12 11:30:59 +02:00
|
|
|
%config(noreplace) %{_sysconfdir}/security/faillock.conf
|
2006-12-19 00:17:21 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/security/limits.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/pam_env.conf
|
2008-02-16 08:33:36 +01:00
|
|
|
%if %{enable_selinux}
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/sepermit.conf
|
|
|
|
%endif
|
2006-12-19 00:17:21 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/security/time.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/namespace.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/namespace.init
|
2019-08-21 13:20:26 +02:00
|
|
|
%dir %{_sysconfdir}/security/namespace.d
|
2018-03-06 13:55:08 +01:00
|
|
|
%doc NEWS
|
|
|
|
%license COPYING
|
2019-08-21 13:20:26 +02:00
|
|
|
%{_mandir}/man5/environment.5%{?ext_man}
|
|
|
|
%{_mandir}/man5/*.conf.5%{?ext_man}
|
|
|
|
%{_mandir}/man5/pam.d.5%{?ext_man}
|
2020-05-27 11:48:06 +02:00
|
|
|
%{_mandir}/man8/PAM.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/faillock.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/mkhomedir_helper.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_access.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_debug.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_deny.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_echo.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_env.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_exec.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_faildelay.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_faillock.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_filter.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_ftp.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_group.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_issue.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_keyinit.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_lastlog.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_limits.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_listfile.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_localuser.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_loginuid.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_mail.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_mkhomedir.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_motd.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_namespace.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_namespace_helper.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_nologin.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_permit.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_pwhistory.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_rhosts.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_rootok.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_securetty.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_selinux.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_sepermit.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_setquota.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_shells.8%{?ext_man}
|
2020-11-19 16:52:27 +01:00
|
|
|
%{_mandir}/man8/pam_stress.8%{?ext_man}
|
2020-05-27 11:48:06 +02:00
|
|
|
%{_mandir}/man8/pam_succeed_if.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_time.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_timestamp.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_timestamp_check.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_tty_audit.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_umask.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_unix.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_usertype.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_warn.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_wheel.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/pam_xauth.8%{?ext_man}
|
2020-11-19 16:52:27 +01:00
|
|
|
%{_mandir}/man8/pwhistory_helper.8%{?ext_man}
|
2020-05-27 11:48:06 +02:00
|
|
|
%{_mandir}/man8/unix2_chkpwd.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/unix_chkpwd.8%{?ext_man}
|
|
|
|
%{_mandir}/man8/unix_update.8%{?ext_man}
|
2020-12-03 14:58:29 +01:00
|
|
|
%{libdir}/libpam.so.0
|
|
|
|
%{libdir}/libpam.so.%{libpam_so_version}
|
|
|
|
%{libdir}/libpamc.so.0
|
|
|
|
%{libdir}/libpamc.so.%{libpamc_so_version}
|
|
|
|
%{libdir}/libpam_misc.so.0
|
|
|
|
%{libdir}/libpam_misc.so.%{libpam_misc_so_version}
|
|
|
|
%dir %{pamdir}
|
|
|
|
%{pamdir}/pam_access.so
|
|
|
|
%{pamdir}/pam_debug.so
|
|
|
|
%{pamdir}/pam_deny.so
|
|
|
|
%{pamdir}/pam_echo.so
|
|
|
|
%{pamdir}/pam_env.so
|
|
|
|
%{pamdir}/pam_exec.so
|
|
|
|
%{pamdir}/pam_faildelay.so
|
|
|
|
%{pamdir}/pam_faillock.so
|
|
|
|
%{pamdir}/pam_filter.so
|
|
|
|
%dir %{pamdir}/pam_filter
|
|
|
|
%{pamdir}//pam_filter/upperLOWER
|
|
|
|
%{pamdir}/pam_ftp.so
|
|
|
|
%{pamdir}/pam_group.so
|
|
|
|
%{pamdir}/pam_issue.so
|
|
|
|
%{pamdir}/pam_keyinit.so
|
|
|
|
%{pamdir}/pam_lastlog.so
|
|
|
|
%{pamdir}/pam_limits.so
|
|
|
|
%{pamdir}/pam_listfile.so
|
|
|
|
%{pamdir}/pam_localuser.so
|
|
|
|
%{pamdir}/pam_loginuid.so
|
|
|
|
%{pamdir}/pam_mail.so
|
|
|
|
%{pamdir}/pam_mkhomedir.so
|
|
|
|
%{pamdir}/pam_motd.so
|
|
|
|
%{pamdir}/pam_namespace.so
|
|
|
|
%{pamdir}/pam_nologin.so
|
|
|
|
%{pamdir}/pam_permit.so
|
|
|
|
%{pamdir}/pam_pwhistory.so
|
|
|
|
%{pamdir}/pam_rhosts.so
|
|
|
|
%{pamdir}/pam_rootok.so
|
|
|
|
%{pamdir}/pam_securetty.so
|
2008-02-16 08:33:36 +01:00
|
|
|
%if %{enable_selinux}
|
2020-12-03 14:58:29 +01:00
|
|
|
%{pamdir}/pam_selinux.so
|
|
|
|
%{pamdir}/pam_sepermit.so
|
2008-02-16 08:33:36 +01:00
|
|
|
%endif
|
2020-12-03 14:58:29 +01:00
|
|
|
%{pamdir}/pam_setquota.so
|
|
|
|
%{pamdir}/pam_shells.so
|
|
|
|
%{pamdir}/pam_stress.so
|
|
|
|
%{pamdir}/pam_succeed_if.so
|
|
|
|
%{pamdir}/pam_time.so
|
|
|
|
%{pamdir}/pam_timestamp.so
|
|
|
|
%{pamdir}/pam_tty_audit.so
|
|
|
|
%{pamdir}/pam_umask.so
|
|
|
|
%{pamdir}/pam_usertype.so
|
|
|
|
%{pamdir}/pam_warn.so
|
|
|
|
%{pamdir}/pam_wheel.so
|
|
|
|
%{pamdir}/pam_xauth.so
|
|
|
|
%{sbindir}/faillock
|
|
|
|
%{sbindir}/mkhomedir_helper
|
|
|
|
%{sbindir}/pam_namespace_helper
|
|
|
|
%{sbindir}/pam_timestamp_check
|
|
|
|
%{sbindir}/pwhistory_helper
|
|
|
|
%verify(not mode) %attr(4755,root,shadow) %{sbindir}/unix_chkpwd
|
|
|
|
%verify(not mode) %attr(4755,root,shadow) %{sbindir}/unix2_chkpwd
|
|
|
|
%attr(0700,root,root) %{sbindir}/unix_update
|
2020-05-12 11:30:59 +02:00
|
|
|
%{_unitdir}/pam_namespace.service
|
2006-12-19 00:17:21 +01:00
|
|
|
|
2021-02-16 11:28:19 +01:00
|
|
|
%files -n pam_unix
|
|
|
|
%defattr(-,root,root,755)
|
|
|
|
%{pamdir}/pam_unix.so
|
|
|
|
%{pamdir}/pam_unix_acct.so
|
|
|
|
%{pamdir}/pam_unix_auth.so
|
|
|
|
%{pamdir}/pam_unix_passwd.so
|
|
|
|
%{pamdir}/pam_unix_session.so
|
|
|
|
|
2020-03-21 16:44:00 +01:00
|
|
|
%files extra
|
|
|
|
%defattr(-,root,root,755)
|
2020-12-03 14:58:29 +01:00
|
|
|
%{pamdir}/pam_userdb.so
|
2020-05-27 11:48:06 +02:00
|
|
|
%{_mandir}/man8/pam_userdb.8%{?ext_man}
|
|
|
|
|
|
|
|
%files deprecated
|
|
|
|
%defattr(-,root,root,755)
|
2020-12-03 14:58:29 +01:00
|
|
|
%{pamdir}/pam_cracklib.so
|
|
|
|
%{pamdir}/pam_tally2.so
|
|
|
|
%{sbindir}/pam_tally2
|
2020-03-21 16:44:00 +01:00
|
|
|
|
2007-04-19 22:09:31 +02:00
|
|
|
%files doc
|
|
|
|
%defattr(644,root,root,755)
|
2016-07-28 14:29:55 +02:00
|
|
|
%dir %{_defaultdocdir}/pam
|
2007-04-19 22:09:31 +02:00
|
|
|
%doc %{_defaultdocdir}/pam/html
|
|
|
|
%doc %{_defaultdocdir}/pam/modules
|
|
|
|
%doc %{_defaultdocdir}/pam/pdf
|
|
|
|
%doc %{_defaultdocdir}/pam/*.txt
|
|
|
|
|
2006-12-19 00:17:21 +01:00
|
|
|
%files devel
|
|
|
|
%defattr(644,root,root,755)
|
2019-08-21 13:20:26 +02:00
|
|
|
%dir %{_includedir}/security
|
|
|
|
%{_mandir}/man3/pam*
|
|
|
|
%{_mandir}/man3/misc_conv.3%{?ext_man}
|
2006-12-19 00:17:21 +01:00
|
|
|
%{_includedir}/security/*.h
|
|
|
|
%{_libdir}/libpam.so
|
|
|
|
%{_libdir}/libpamc.so
|
|
|
|
%{_libdir}/libpam_misc.so
|
2020-12-03 14:58:29 +01:00
|
|
|
%{_prefix}/lib/rpm/macros.d/macros.pam
|
2008-02-16 08:33:36 +01:00
|
|
|
|
2007-03-29 00:57:30 +02:00
|
|
|
%changelog
|