| |
@@ -1,10 +1,10 @@
|
| |
%global so_ver 0
|
| |
- %global pam_redhat_version 1.1.4
|
| |
+ %global pam_redhat_version 1.1.5
|
| |
|
| |
Summary: An extensible library which provides authentication for applications
|
| |
Name: pam
|
| |
Version: 1.5.2
|
| |
- Release: 4%{?dist}
|
| |
+ Release: 5%{?dist}
|
| |
# The library is BSD licensed with option to relicense as GPLv2+
|
| |
# - this option is redundant as the BSD license allows that anyway.
|
| |
# pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+.
|
| |
@@ -12,7 +12,7 @@
|
| |
URL: http://www.linux-pam.org/
|
| |
Source0: https://github.com/linux-pam/linux-pam/releases/download/v%{version}/Linux-PAM-%{version}.tar.xz
|
| |
Source1: https://github.com/linux-pam/linux-pam/releases/download/v%{version}/Linux-PAM-%{version}.tar.xz.asc
|
| |
- Source2: https://releases.pagure.org/pam-redhat/pam-redhat-%{pam_redhat_version}.tar.bz2
|
| |
+ Source2: https://releases.pagure.org/pam-redhat/pam-redhat-%{pam_redhat_version}.tar.xz
|
| |
Source3: macros.%{name}
|
| |
Source5: other.pamd
|
| |
Source6: system-auth.pamd
|
| |
@@ -30,8 +30,6 @@
|
| |
Patch1: pam-1.5.0-redhat-modules.patch
|
| |
Patch2: pam-1.5.0-noflex.patch
|
| |
Patch3: pam-1.3.0-unix-nomsg.patch
|
| |
- Patch4: pam-1.5.2-pam_console-fix_parallel_build.patch
|
| |
- Patch5: pam-1.5.2-pam_console-fix_setgroups_not_defined.patch
|
| |
|
| |
%{load:%{SOURCE3}}
|
| |
|
| |
@@ -46,7 +44,6 @@
|
| |
### Dependencies ###
|
| |
Requires: libeconf >= 0.3.5
|
| |
Requires: libpwquality >= 0.9.9
|
| |
- Requires: openssl >= 3.0.0
|
| |
Requires: setup
|
| |
%if %{WITH_AUDIT}
|
| |
Requires: audit-libs >= 1.0.8
|
| |
@@ -69,7 +66,9 @@
|
| |
BuildRequires: libtool
|
| |
BuildRequires: libxcrypt-devel >= 4.3.3-2
|
| |
BuildRequires: make
|
| |
+ %if 0%{?fedora} >= 36 || 0%{?rhel} >= 9
|
| |
BuildRequires: openssl-devel >= 3.0.0
|
| |
+ %endif
|
| |
BuildRequires: perl-interpreter
|
| |
BuildRequires: pkgconfig
|
| |
BuildRequires: sed
|
| |
@@ -126,8 +125,6 @@
|
| |
%patch1 -p1 -b .redhat-modules
|
| |
%patch2 -p1 -b .noflex
|
| |
%patch3 -p1 -b .nomsg
|
| |
- %patch4 -p1 -b .parallel_build
|
| |
- %patch5 -p1 -b .setgroups_not_defined
|
| |
|
| |
autoreconf -i
|
| |
|
| |
@@ -404,9 +401,15 @@
|
| |
exit 0
|
| |
|
| |
%changelog
|
| |
+ * Thu Sep 23 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-5
|
| |
+ - Rebase to pam-redhat-1.1.5
|
| |
+ - Drop explicit dependency on openssl, as auto-deps will pull it in
|
| |
+ - Conditionalize BR: openssl >= 3.0.0 to supported distributions
|
| |
+
|
| |
* Thu Sep 23 2021 Iker Pedrosa <ipedrosa@redhat.com> - 1.5.2-4
|
| |
- Remove the /etc/motd.d directory to exclude its ownership from pam (#1968131)
|
| |
- - pam_timestamp: enable openssl hmac authentication (#1947294)
|
| |
+ - pam_timestamp: enable openssl hmac authentication on supported
|
| |
+ distributions (Fedora >= 36 and RHEL >= 9) (#1947294)
|
| |
- Clean spec file: organize dependencies and move URL location
|
| |
|
| |
* Thu Sep 23 2021 Björn Esser <besser82@fedoraproject.org> - 1.5.2-3
|
| |
Why have you dropped openssl requirement? The target system will need it to perform the hmac calculations