mirror of
https://abf.rosa.ru/djam/pam.git
synced 2025-02-23 08:22:53 +00:00
Adjust spec style
This commit is contained in:
parent
4da51b39ed
commit
99c795ee00
2 changed files with 100 additions and 106 deletions
2
.abf.yml
2
.abf.yml
|
@ -1,5 +1,3 @@
|
|||
removed_sources:
|
||||
Linux-PAM-1.1.4.tar.bz2: 4634b09f9e059f384ce69dbaa4a67f88bef5cf7b
|
||||
sources:
|
||||
Linux-PAM-1.1.8.tar.bz2: f8ce53c67363f78d520392fa1c253c4978058be1
|
||||
pam-redhat-0.99.10-1.tar.bz2: 09e618edc5dcda9a6eb435a31db742afca673ae1
|
||||
|
|
204
pam.spec
204
pam.spec
|
@ -12,119 +12,117 @@
|
|||
|
||||
%define pam_redhat_version 0.99.10-1
|
||||
|
||||
Epoch: 1
|
||||
|
||||
Summary: A security tool which provides authentication for applications
|
||||
Name: pam
|
||||
Version: 1.1.8
|
||||
Release: 30
|
||||
Summary: A security tool which provides authentication for applications
|
||||
Name: pam
|
||||
Version: 1.1.8
|
||||
Release: 31
|
||||
Epoch: 1
|
||||
# The library is BSD licensed with option to relicense as GPLv2+ - this option is redundant
|
||||
# as the BSD license allows that anyway. pam_timestamp and pam_console modules are GPLv2+,
|
||||
License: BSD and GPLv2+
|
||||
Group: System/Libraries
|
||||
Url: http://www.kernel.org/pub/linux/libs/pam/index.html
|
||||
Source0: ftp://ftp.kernel.org/pub/linux/libs/pam/library/Linux-PAM-%{version}.tar.bz2
|
||||
Source2: pam-redhat-%{pam_redhat_version}.tar.bz2
|
||||
Source5: other.pamd
|
||||
Source6: system-auth.pamd
|
||||
Source7: config-util.pamd
|
||||
Source8: dlopen.sh
|
||||
Source9: system-auth.5
|
||||
Source10: config-util.5
|
||||
Source11: postlogin.pamd
|
||||
Source12: postlogin.5
|
||||
Source13: pamtmp.conf
|
||||
Source14: 90-nproc.conf
|
||||
Source15: password-auth.pamd
|
||||
Source16: smartcard-auth.pamd
|
||||
License: BSD and GPLv2+
|
||||
Group: System/Libraries
|
||||
Url: http://www.kernel.org/pub/linux/libs/pam/index.html
|
||||
Source0: ftp://ftp.kernel.org/pub/linux/libs/pam/library/Linux-PAM-%{version}.tar.bz2
|
||||
Source2: pam-redhat-%{pam_redhat_version}.tar.bz2
|
||||
Source5: other.pamd
|
||||
Source6: system-auth.pamd
|
||||
Source7: config-util.pamd
|
||||
Source8: dlopen.sh
|
||||
Source9: system-auth.5
|
||||
Source10: config-util.5
|
||||
Source11: postlogin.pamd
|
||||
Source12: postlogin.5
|
||||
Source13: pamtmp.conf
|
||||
Source14: 90-nproc.conf
|
||||
Source15: password-auth.pamd
|
||||
Source16: smartcard-auth.pamd
|
||||
#add missing documentation
|
||||
Source501: pam_tty_audit.8
|
||||
Source502: README
|
||||
Source501: pam_tty_audit.8
|
||||
Source502: README
|
||||
|
||||
# RedHat patches
|
||||
Patch1: pam-1.0.90-redhat-modules.patch
|
||||
Patch2: pam-1.1.6-std-noclose.patch
|
||||
Patch4: pam-1.1.0-console-nochmod.patch
|
||||
Patch5: pam-1.1.0-notally.patch
|
||||
Patch7: pam-1.1.0-console-fixes.patch
|
||||
Patch9: pam-1.1.6-noflex.patch
|
||||
Patch10: pam-1.1.3-nouserenv.patch
|
||||
Patch11: pam-1.1.3-console-abstract.patch
|
||||
Patch13: pam-1.1.5-limits-user.patch
|
||||
Patch14: pam-1.1.1-faillock.patch
|
||||
Patch22: pam-1.1.7-unix-build.patch
|
||||
Patch32: pam-1.1.7-tty-audit-init.patch
|
||||
Patch33: pam-1.1.8-audit-grantor.patch
|
||||
Patch34: pam-1.1.8-audit-user-mgmt.patch
|
||||
Patch35: pam-1.1.8-canonicalize-username.patch
|
||||
Patch36: pam-1.1.8-full-relro.patch
|
||||
Patch37: pam-1.1.8-lastlog-uninitialized.patch
|
||||
Patch38: pam-1.1.8-limits-check-process.patch
|
||||
Patch39: pam-1.1.8-limits-docfix.patch
|
||||
Patch40: pam-1.1.8-loginuid-container.patch
|
||||
Patch41: pam-1.1.8-man-dbsuffix.patch
|
||||
Patch42: pam-1.1.8-opasswd-tolerant.patch
|
||||
Patch43: pam-1.1.8-pwhistory-helper.patch
|
||||
Patch1: pam-1.0.90-redhat-modules.patch
|
||||
Patch2: pam-1.1.6-std-noclose.patch
|
||||
Patch4: pam-1.1.0-console-nochmod.patch
|
||||
Patch5: pam-1.1.0-notally.patch
|
||||
Patch7: pam-1.1.0-console-fixes.patch
|
||||
Patch9: pam-1.1.6-noflex.patch
|
||||
Patch10: pam-1.1.3-nouserenv.patch
|
||||
Patch11: pam-1.1.3-console-abstract.patch
|
||||
Patch13: pam-1.1.5-limits-user.patch
|
||||
Patch14: pam-1.1.1-faillock.patch
|
||||
Patch22: pam-1.1.7-unix-build.patch
|
||||
Patch32: pam-1.1.7-tty-audit-init.patch
|
||||
Patch33: pam-1.1.8-audit-grantor.patch
|
||||
Patch34: pam-1.1.8-audit-user-mgmt.patch
|
||||
Patch35: pam-1.1.8-canonicalize-username.patch
|
||||
Patch36: pam-1.1.8-full-relro.patch
|
||||
Patch37: pam-1.1.8-lastlog-uninitialized.patch
|
||||
Patch38: pam-1.1.8-limits-check-process.patch
|
||||
Patch39: pam-1.1.8-limits-docfix.patch
|
||||
Patch40: pam-1.1.8-loginuid-container.patch
|
||||
Patch41: pam-1.1.8-man-dbsuffix.patch
|
||||
Patch42: pam-1.1.8-opasswd-tolerant.patch
|
||||
Patch43: pam-1.1.8-pwhistory-helper.patch
|
||||
|
||||
# ROSA specific sources/patches
|
||||
# (fl) fix infinite loop
|
||||
Patch507: pam-0.74-loop.patch
|
||||
Patch507: pam-0.74-loop.patch
|
||||
# (fc) 0.75-29mdk don't complain when / is owned by root.adm
|
||||
Patch508: Linux-PAM-0.99.3.0-pamtimestampadm.patch
|
||||
Patch508: Linux-PAM-0.99.3.0-pamtimestampadm.patch
|
||||
# (fl) pam_xauth: set extra groups because in high security levels
|
||||
# access to /usr/X11R6/bin dir is controlled by a group
|
||||
##Patch512: Linux-PAM-1.1.1-xauth-groups.patch
|
||||
# (tv/blino) add defaults for nice/rtprio in /etc/security/limits.conf
|
||||
Patch517: Linux-PAM-0.99.3.0-enable_rt.patch
|
||||
Patch517: Linux-PAM-0.99.3.0-enable_rt.patch
|
||||
|
||||
Patch700: pam_fix_static_pam_console.patch
|
||||
Patch700: pam_fix_static_pam_console.patch
|
||||
# (fc) do not output error when no file is in /etc/security/console.perms.d/
|
||||
Patch701: pam-1.1.0-console-nopermsd.patch
|
||||
Patch701: pam-1.1.0-console-nopermsd.patch
|
||||
# (proyvind): add missing constant that went with rpc removal from glibc 2.14
|
||||
Patch702: Linux-PAM-1.1.4-add-now-missing-nis-constant.patch
|
||||
Patch702: Linux-PAM-1.1.4-add-now-missing-nis-constant.patch
|
||||
|
||||
# (akdengi) add user to default group users which need for Samba
|
||||
Patch801: Linux-PAM-1.1.4-group_add_users.patch
|
||||
Patch802: pam-CVE-2014-2583.patch
|
||||
Patch803: pam-CVE-2013-7041.patch
|
||||
Patch801: Linux-PAM-1.1.4-group_add_users.patch
|
||||
Patch802: pam-CVE-2014-2583.patch
|
||||
Patch803: pam-CVE-2013-7041.patch
|
||||
|
||||
Patch804: pam-1.1.8-pbuild.patch
|
||||
Patch804: pam-1.1.8-pbuild.patch
|
||||
# (din) use html2text instead of w3m
|
||||
Patch805: pam-1.1.8-browser.patch
|
||||
Patch805: pam-1.1.8-browser.patch
|
||||
|
||||
%if %{with selinux}
|
||||
BuildRequires: selinux-devel >= 2.1.6-7
|
||||
BuildRequires: selinux-devel >= 2.1.6-7
|
||||
%endif
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
%if %{without bootstrap}
|
||||
# this pulls in the mega texlive load
|
||||
BuildRequires: linuxdoc-tools
|
||||
BuildRequires: linuxdoc-tools
|
||||
%endif
|
||||
BuildRequires: cracklib-devel
|
||||
BuildRequires: libaudit-devel
|
||||
BuildRequires: db_nss-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: html2text
|
||||
BuildRequires: docbook-dtd412-xml
|
||||
BuildRequires: docbook-dtd43-xml
|
||||
BuildRequires: docbook-dtd44-xml
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: xsltproc
|
||||
BuildRequires: cracklib-devel
|
||||
BuildRequires: libaudit-devel
|
||||
BuildRequires: db_nss-devel
|
||||
BuildRequires: gettext-devel
|
||||
BuildRequires: pkgconfig(libtirpc)
|
||||
BuildRequires: db-devel
|
||||
BuildRequires: html2text
|
||||
BuildRequires: docbook-dtd412-xml
|
||||
BuildRequires: docbook-dtd43-xml
|
||||
BuildRequires: docbook-dtd44-xml
|
||||
BuildRequires: docbook-style-xsl
|
||||
BuildRequires: xsltproc
|
||||
%if %{with prelude}
|
||||
BuildRequires: prelude-devel >= 0.9.0
|
||||
BuildRequires: prelude-devel >= 0.9.0
|
||||
%else
|
||||
BuildConflicts: pkgconfig(libprelude)
|
||||
BuildConflicts: pkgconfig(libprelude)
|
||||
%endif
|
||||
Requires: cracklib-dicts
|
||||
Requires: setup >= 2.7.12-2
|
||||
Requires(pre): rpm-helper
|
||||
Requires(post): coreutils >= 8.12-7.2
|
||||
Conflicts: %{_lib}pam0 < 1.1.4-5
|
||||
Requires: libpwquality >= 0.9.9
|
||||
|
||||
Requires: cracklib-dicts
|
||||
Requires: setup >= 2.7.12-2
|
||||
Requires(pre): rpm-helper
|
||||
Requires(post): coreutils >= 8.12-7.2
|
||||
Conflicts: %{_lib}pam0 < 1.1.4-5
|
||||
Requires: libpwquality >= 0.9.9
|
||||
|
||||
%description
|
||||
PAM (Pluggable Authentication Modules) is a system security tool that
|
||||
|
@ -191,9 +189,9 @@ fi
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%package doc
|
||||
Summary: Additional documentation for %{name}
|
||||
Group: Documentation
|
||||
Requires: %{name} = %{EVRD}
|
||||
Summary: Additional documentation for %{name}
|
||||
Group: Documentation
|
||||
Requires: %{name} = %{EVRD}
|
||||
|
||||
%description doc
|
||||
This is the documentation package of %{name}.
|
||||
|
@ -204,9 +202,9 @@ This is the documentation package of %{name}.
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libname}
|
||||
Summary: Library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: pam < 1.1.4-5
|
||||
Summary: Library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: pam < 1.1.4-5
|
||||
|
||||
%description -n %{libname}
|
||||
This package contains the library libpam for %{name}.
|
||||
|
@ -217,9 +215,9 @@ This package contains the library libpam for %{name}.
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libnamec}
|
||||
Summary: Library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: %{_lib}pam0 < 1.1.4-5
|
||||
Summary: Library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: %{_lib}pam0 < 1.1.4-5
|
||||
|
||||
%description -n %{libnamec}
|
||||
This package contains the library libpamc for %{name}.
|
||||
|
@ -230,9 +228,9 @@ This package contains the library libpamc for %{name}.
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{libname_misc}
|
||||
Summary: Library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: %{_lib}pam0 < 1.1.4-5
|
||||
Summary: Library for %{name}
|
||||
Group: System/Libraries
|
||||
Conflicts: %{_lib}pam0 < 1.1.4-5
|
||||
|
||||
%description -n %{libname_misc}
|
||||
This package contains the library libpam_misc for %{name}.
|
||||
|
@ -243,12 +241,12 @@ This package contains the library libpam_misc for %{name}.
|
|||
#----------------------------------------------------------------------------
|
||||
|
||||
%package -n %{devname}
|
||||
Summary: Development headers and libraries for %{name}
|
||||
Group: Development/Other
|
||||
Requires: %{libname} = %{EVRD}
|
||||
Requires: %{libnamec} = %{EVRD}
|
||||
Requires: %{libname_misc} = %{EVRD}
|
||||
Provides: %{name}-devel = %{EVRD}
|
||||
Summary: Development headers and libraries for %{name}
|
||||
Group: Development/Other
|
||||
Requires: %{libname} = %{EVRD}
|
||||
Requires: %{libnamec} = %{EVRD}
|
||||
Requires: %{libname_misc} = %{EVRD}
|
||||
Provides: %{name}-devel = %{EVRD}
|
||||
|
||||
%description -n %{devname}
|
||||
PAM (Pluggable Authentication Modules) is a system security tool that
|
||||
|
@ -370,5 +368,3 @@ for module in %{buildroot}/%{_lib}/security/pam*.so ; do
|
|||
fi
|
||||
done
|
||||
|
||||
%changelog
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue