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
|
|
|
#
|
2019-05-06 09:09:44 +02:00
|
|
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
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
|
|
|
#
|
|
|
|
|
|
|
|
|
2012-05-10 05:15:08 +02:00
|
|
|
#
|
2008-08-21 18:47:18 +02:00
|
|
|
%define enable_selinux 1
|
2016-05-02 10:45:43 +02:00
|
|
|
%define libpam_so_version 0.84.2
|
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
|
2019-08-21 13:20:26 +02:00
|
|
|
Name: pam
|
2013-09-12 10:06:49 +02:00
|
|
|
#
|
2019-08-19 14:43:33 +02:00
|
|
|
Version: 1.3.1+git20190807.e31dd6c
|
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/
|
2019-08-19 14:43:33 +02:00
|
|
|
Source: linux-pam-%{version}.tar.xz
|
|
|
|
Source1: Linux-PAM-1.3.1-docs.tar.xz
|
|
|
|
Source2: linux-pam-man-pages-1.3.1+git20190807.e31dd6c.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
|
2013-09-28 11:29:22 +02:00
|
|
|
Patch0: fix-man-links.dif
|
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
|
2018-11-16 18:08:18 +01:00
|
|
|
Patch5: use-correct-IP-address.patch
|
2019-08-21 13:20:26 +02:00
|
|
|
Patch6: usr-etc-support.patch
|
|
|
|
BuildRequires: audit-devel
|
2015-01-09 15:23:58 +01:00
|
|
|
# Remove with next version update:
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2019-08-21 13:20:26 +02:00
|
|
|
BuildRequires: bison
|
|
|
|
BuildRequires: cracklib-devel
|
|
|
|
BuildRequires: flex
|
|
|
|
BuildRequires: libdb-4_8-devel
|
2015-01-09 15:23:58 +01:00
|
|
|
BuildRequires: libtool
|
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.
|
|
|
|
Requires: login_defs-support-for-pam >= 1.3.1
|
|
|
|
Requires(post): permissions
|
|
|
|
%if 0%{?suse_version} > 1320
|
|
|
|
BuildRequires: libdb-4_8-devel
|
|
|
|
BuildRequires: xz
|
|
|
|
BuildRequires: pkgconfig(libnsl)
|
|
|
|
BuildRequires: pkgconfig(libtirpc)
|
|
|
|
%endif
|
|
|
|
%if %{enable_selinux}
|
|
|
|
BuildRequires: libselinux-devel
|
|
|
|
%endif
|
|
|
|
%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.
|
|
|
|
|
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
|
|
|
|
Summary: Include Files and Libraries for PAM-Development
|
|
|
|
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.
|
|
|
|
|
|
|
|
%prep
|
2019-08-19 14:43:33 +02:00
|
|
|
%setup -q -n linux-pam-%{version} -b 1 -a 2
|
2019-08-21 13:20:26 +02:00
|
|
|
cp -av ../Linux-PAM-1.3.1/* .
|
|
|
|
cp -a %{SOURCE12} .
|
2013-09-28 11:29:22 +02:00
|
|
|
%patch0 -p1
|
2014-01-27 17:10:16 +01:00
|
|
|
%patch2 -p1
|
2019-08-21 13:20:26 +02:00
|
|
|
%patch4
|
2018-11-16 18:08:18 +01:00
|
|
|
%patch5 -p1
|
2019-08-21 13:20:26 +02:00
|
|
|
%patch6
|
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-19 14:43:33 +02:00
|
|
|
./autogen.sh
|
2019-08-21 13:20:26 +02:00
|
|
|
export CFLAGS="%{optflags} -DNDEBUG"
|
2012-03-19 13:00:58 +01:00
|
|
|
%configure \
|
|
|
|
--sbindir=/sbin \
|
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 \
|
2006-12-19 00:17:21 +01:00
|
|
|
--libdir=/%{_lib} \
|
|
|
|
--enable-isadir=../../%{_lib}/security \
|
|
|
|
--enable-securedir=/%{_lib}/security
|
2016-05-02 10:45:43 +02:00
|
|
|
make %{?_smp_mflags}
|
2019-08-21 13:20:26 +02:00
|
|
|
gcc -fwhole-program -fpie -pie -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE %{optflags} -I$RPM_BUILD_DIR/linux-pam-%{version}/libpam/include %{SOURCE10} -o $RPM_BUILD_DIR/unix2_chkpwd -L$RPM_BUILD_DIR/linux-pam-%{version}/libpam/.libs/ -lpam
|
2007-07-10 13:34:21 +02:00
|
|
|
|
|
|
|
%check
|
2010-09-03 12:51:24 +02:00
|
|
|
make %{?_smp_mflags} check
|
2006-12-19 00:17:21 +01:00
|
|
|
|
|
|
|
%install
|
2019-08-21 13:20:26 +02:00
|
|
|
mkdir -p %{buildroot}%{_sysconfdir}/pam.d
|
|
|
|
mkdir -p %{buildroot}%{_prefix}%{_sysconfdir}/pam.d
|
|
|
|
mkdir -p %{buildroot}%{_includedir}/security
|
|
|
|
mkdir -p %{buildroot}/%{_lib}/security
|
|
|
|
mkdir -p %{buildroot}/sbin
|
|
|
|
mkdir -p -m 755 %{buildroot}%{_libdir}
|
|
|
|
%make_install
|
|
|
|
/sbin/ldconfig -n %{buildroot}/%{_lib}
|
2006-12-19 00:17:21 +01:00
|
|
|
# Install documentation
|
2019-08-21 13:20:26 +02:00
|
|
|
make -C doc install DESTDIR=%{buildroot}
|
2006-12-19 00:17:21 +01:00
|
|
|
# install securetty
|
2019-08-21 13:20:26 +02:00
|
|
|
install -m 644 %{SOURCE8} %{buildroot}%{_sysconfdir}
|
2006-12-19 00:17:21 +01:00
|
|
|
%ifarch s390 s390x
|
2019-08-21 13:20:26 +02:00
|
|
|
echo "ttyS0" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "ttyS1" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc0" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc1" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc2" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc3" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc4" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc5" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc6" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "hvc7" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "sclp_line0" >> %{buildroot}%{_sysconfdir}/securetty
|
|
|
|
echo "ttysclp0" >> %{buildroot}%{_sysconfdir}/securetty
|
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-08-21 13:20:26 +02:00
|
|
|
install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/pam.d/other
|
|
|
|
install -m 644 %{SOURCE4} %{buildroot}%{_sysconfdir}/pam.d/common-auth
|
|
|
|
install -m 644 %{SOURCE5} %{buildroot}%{_sysconfdir}/pam.d/common-account
|
|
|
|
install -m 644 %{SOURCE6} %{buildroot}%{_sysconfdir}/pam.d/common-password
|
|
|
|
install -m 644 %{SOURCE7} %{buildroot}%{_sysconfdir}/pam.d/common-session
|
|
|
|
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
|
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
|
2019-08-21 13:20:26 +02:00
|
|
|
ln -f %{buildroot}/%{_lib}/security/pam_unix.so %{buildroot}/%{_lib}/security/$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
|
|
|
|
(
|
|
|
|
cd modules;
|
|
|
|
for i in pam_*/README ; do
|
|
|
|
cp -fpv ${i} $DOC/modules/README.`dirname ${i}`
|
|
|
|
done
|
|
|
|
)
|
|
|
|
#
|
2016-05-02 10:45:43 +02:00
|
|
|
# pam_tally is deprecated since ages
|
|
|
|
#
|
2019-08-21 13:20:26 +02:00
|
|
|
rm -f %{buildroot}/%{_lib}/security/pam_tally.so
|
|
|
|
rm -f %{buildroot}/sbin/pam_tally
|
|
|
|
rm -f %{buildroot}%{_mandir}/man8/pam_tally.8*
|
|
|
|
rm -f %{buildroot}%{_defaultdocdir}/pam/modules/README.pam_tally
|
2016-05-02 10:45:43 +02:00
|
|
|
# Install unix2_chkpwd
|
2019-08-21 13:20:26 +02:00
|
|
|
install -m 755 $RPM_BUILD_DIR/unix2_chkpwd %{buildroot}/sbin/
|
|
|
|
install -m 644 $RPM_SOURCE_DIR/unix2_chkpwd.8 %{buildroot}%{_mandir}/man8/
|
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
|
|
|
|
%verify_permissions -e /sbin/unix_chkpwd
|
2016-05-02 10:45:43 +02:00
|
|
|
%verify_permissions -e /sbin/unix2_chkpwd
|
2006-12-19 00:17:21 +01:00
|
|
|
|
2013-02-05 14:10:24 +01:00
|
|
|
%post
|
|
|
|
/sbin/ldconfig
|
|
|
|
%set_permissions /sbin/unix_chkpwd
|
2016-05-02 10:45:43 +02:00
|
|
|
%set_permissions /sbin/unix2_chkpwd
|
2006-12-19 00:17:21 +01:00
|
|
|
|
2012-03-19 13:00:58 +01:00
|
|
|
%postun -p /sbin/ldconfig
|
2006-12-19 00:17:21 +01:00
|
|
|
|
|
|
|
%files -f Linux-PAM.lang
|
|
|
|
%dir %{_sysconfdir}/pam.d
|
2019-08-21 13:20:26 +02:00
|
|
|
%dir %{_prefix}%{_sysconfdir}/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
|
2016-07-28 14:29:55 +02:00
|
|
|
%dir %{_defaultdocdir}/pam
|
2006-12-19 00:17:21 +01:00
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/other
|
|
|
|
%config(noreplace) %{_sysconfdir}/pam.d/common-*
|
|
|
|
%config(noreplace) %{_sysconfdir}/securetty
|
|
|
|
%config(noreplace) %{_sysconfdir}/environment
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/access.conf
|
|
|
|
%config(noreplace) %{_sysconfdir}/security/group.conf
|
|
|
|
%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}
|
|
|
|
%{_mandir}/man8/*
|
2006-12-19 00:17:21 +01:00
|
|
|
/%{_lib}/libpam.so.0
|
|
|
|
/%{_lib}/libpam.so.%{libpam_so_version}
|
|
|
|
/%{_lib}/libpamc.so.0
|
|
|
|
/%{_lib}/libpamc.so.%{libpamc_so_version}
|
|
|
|
/%{_lib}/libpam_misc.so.0
|
|
|
|
/%{_lib}/libpam_misc.so.%{libpam_misc_so_version}
|
|
|
|
%dir /%{_lib}/security
|
|
|
|
/%{_lib}/security/pam_access.so
|
|
|
|
/%{_lib}/security/pam_cracklib.so
|
|
|
|
/%{_lib}/security/pam_debug.so
|
|
|
|
/%{_lib}/security/pam_deny.so
|
|
|
|
/%{_lib}/security/pam_echo.so
|
|
|
|
/%{_lib}/security/pam_env.so
|
|
|
|
/%{_lib}/security/pam_exec.so
|
2007-01-18 16:42:07 +01:00
|
|
|
/%{_lib}/security/pam_faildelay.so
|
2006-12-19 00:17:21 +01:00
|
|
|
/%{_lib}/security/pam_filter.so
|
|
|
|
%dir /%{_lib}/security/pam_filter
|
|
|
|
/%{_lib}/security//pam_filter/upperLOWER
|
|
|
|
/%{_lib}/security/pam_ftp.so
|
|
|
|
/%{_lib}/security/pam_group.so
|
|
|
|
/%{_lib}/security/pam_issue.so
|
|
|
|
/%{_lib}/security/pam_keyinit.so
|
|
|
|
/%{_lib}/security/pam_lastlog.so
|
|
|
|
/%{_lib}/security/pam_limits.so
|
|
|
|
/%{_lib}/security/pam_listfile.so
|
|
|
|
/%{_lib}/security/pam_localuser.so
|
|
|
|
/%{_lib}/security/pam_loginuid.so
|
|
|
|
/%{_lib}/security/pam_mail.so
|
|
|
|
/%{_lib}/security/pam_mkhomedir.so
|
|
|
|
/%{_lib}/security/pam_motd.so
|
|
|
|
/%{_lib}/security/pam_namespace.so
|
|
|
|
/%{_lib}/security/pam_nologin.so
|
|
|
|
/%{_lib}/security/pam_permit.so
|
2008-10-12 00:27:19 +02:00
|
|
|
/%{_lib}/security/pam_pwhistory.so
|
2006-12-19 00:17:21 +01:00
|
|
|
/%{_lib}/security/pam_rhosts.so
|
|
|
|
/%{_lib}/security/pam_rootok.so
|
|
|
|
/%{_lib}/security/pam_securetty.so
|
2008-02-16 08:33:36 +01:00
|
|
|
%if %{enable_selinux}
|
|
|
|
/%{_lib}/security/pam_selinux.so
|
|
|
|
/%{_lib}/security/pam_sepermit.so
|
|
|
|
%endif
|
2006-12-19 00:17:21 +01:00
|
|
|
/%{_lib}/security/pam_shells.so
|
|
|
|
/%{_lib}/security/pam_stress.so
|
|
|
|
/%{_lib}/security/pam_succeed_if.so
|
2008-10-22 18:33:56 +02:00
|
|
|
/%{_lib}/security/pam_tally2.so
|
2006-12-19 00:17:21 +01:00
|
|
|
/%{_lib}/security/pam_time.so
|
2009-04-02 17:28:15 +02:00
|
|
|
/%{_lib}/security/pam_timestamp.so
|
2008-02-16 08:33:36 +01:00
|
|
|
/%{_lib}/security/pam_tty_audit.so
|
2006-12-19 00:17:21 +01:00
|
|
|
/%{_lib}/security/pam_umask.so
|
|
|
|
/%{_lib}/security/pam_unix.so
|
|
|
|
/%{_lib}/security/pam_unix_acct.so
|
|
|
|
/%{_lib}/security/pam_unix_auth.so
|
|
|
|
/%{_lib}/security/pam_unix_passwd.so
|
|
|
|
/%{_lib}/security/pam_unix_session.so
|
2018-08-24 16:25:24 +02:00
|
|
|
/%{_lib}/security/pam_userdb.so
|
2006-12-19 00:17:21 +01:00
|
|
|
/%{_lib}/security/pam_warn.so
|
|
|
|
/%{_lib}/security/pam_wheel.so
|
|
|
|
/%{_lib}/security/pam_xauth.so
|
2009-04-02 17:28:15 +02:00
|
|
|
/sbin/mkhomedir_helper
|
2008-10-22 18:33:56 +02:00
|
|
|
/sbin/pam_tally2
|
2009-04-02 17:28:15 +02:00
|
|
|
/sbin/pam_timestamp_check
|
2008-02-16 08:33:36 +01:00
|
|
|
%verify(not mode) %attr(4755,root,shadow) /sbin/unix_chkpwd
|
2016-05-02 10:45:43 +02:00
|
|
|
%verify(not mode) %attr(4755,root,shadow) /sbin/unix2_chkpwd
|
2008-02-16 08:33:36 +01:00
|
|
|
%attr(0700,root,root) /sbin/unix_update
|
2006-12-19 00:17:21 +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
|
2008-02-16 08:33:36 +01:00
|
|
|
|
2007-03-29 00:57:30 +02:00
|
|
|
%changelog
|