|
@@ -8,7 +8,7 @@ Summary: A security tool which provides authentication for applications
|
|
|
Summary(ja): アプリケーションに認証の仕組みを提供するセキュリティツール
|
|
|
Name: pam
|
|
|
Version: 1.5.1
|
|
|
-Release: 1%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
+Release: 2%{?_dist_release}%{?with_systemd:.systemd}
|
|
|
Group: system
|
|
|
Vendor: Project Vine
|
|
|
Distribution: Vine Linux
|
|
@@ -38,6 +38,10 @@ Source18: https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
|
|
|
Patch1: pam-1.5.0-redhat-modules.patch
|
|
|
Patch2: pam-1.5.0-noflex.patch
|
|
|
Patch3: pam-1.3.0-unix-nomsg.patch
|
|
|
+# https://github.com/linux-pam/linux-pam/pull/368
|
|
|
+Patch4: pam-1.5.1-no_crypt_checksalt_for_pw_expiration.patch
|
|
|
+# https://github.com/linux-pam/linux-pam/commit/ec0e724fe53188c5c762c34ca9db6681c0de01b8
|
|
|
+Patch5: pam-1.5.1-pam_filter_close_file_after_controlling_tty.patch
|
|
|
|
|
|
Patch1000: pam-1.5.1-ja.po.patch
|
|
|
|
|
@@ -169,6 +173,8 @@ cp %{SOURCE18} .
|
|
|
%patch1 -p1 -b .redhat-modules
|
|
|
%patch2 -p1 -b .noflex
|
|
|
%patch3 -p1 -b .nomsg
|
|
|
+%patch4 -p1 -b .no_crypt_checksalt_for_pw_expiration
|
|
|
+%patch5 -p1 -b .pam_filter_close_file_after_controlling_tty
|
|
|
|
|
|
%patch1000 -p1 -b .ja
|
|
|
|
|
@@ -331,14 +337,6 @@ if posix.access("/etc/rc.d/init.d/sshd", "x") then
|
|
|
os.execute("/etc/rc.d/init.d/sshd condrestart")
|
|
|
end
|
|
|
|
|
|
-%preun
|
|
|
-
|
|
|
-%postun -p /sbin/ldconfig
|
|
|
-
|
|
|
-%post -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
-%postun -n compat32-%{name} -p /sbin/ldconfig
|
|
|
-
|
|
|
|
|
|
%files -f Linux-PAM.lang
|
|
|
%defattr(-,root,root)
|
|
@@ -367,7 +365,7 @@ end
|
|
|
%attr(0700,root,root) %{_sbindir}/unix_update
|
|
|
%attr(0755,root,root) %{_sbindir}/mkhomedir_helper
|
|
|
%attr(0755,root,root) %{_sbindir}/pwhistory_helper
|
|
|
-%if %{_lib} != lib
|
|
|
+%if "%{_lib}" != "lib"
|
|
|
%dir /lib/security
|
|
|
%endif
|
|
|
%dir %{_moduledir}
|
|
@@ -550,6 +548,10 @@ end
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Thu Aug 05 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.1-2
|
|
|
+- imported Patch4 from upstream for libxcrypt >= 4.4.22.
|
|
|
+- imported Patch5 from upstream.
|
|
|
+
|
|
|
* Wed Dec 23 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 1.5.1-1
|
|
|
- updated to 1.5.1.
|
|
|
- updated pam-redhat to 1.1.4.
|