diff --git a/SOURCES/0001-Fix-Russian-translation.patch b/SOURCES/0001-Fix-Russian-translation.patch new file mode 100644 index 0000000..10160c0 --- /dev/null +++ b/SOURCES/0001-Fix-Russian-translation.patch @@ -0,0 +1,40 @@ +From 0d07891ec991d1a3acb80f098d5a1b3ea3ad1480 Mon Sep 17 00:00:00 2001 +From: Sergey Cherevko +Date: Thu, 14 Mar 2024 14:10:47 +0300 +Subject: [PATCH] Fix Russian translation + +--- + po/ru.po | 4 +--- + 1 file changed, 1 insertion(+), 3 deletions(-) + +diff --git a/po/ru.po b/po/ru.po +index 0332308..9900c36 100644 +--- a/po/ru.po ++++ b/po/ru.po +@@ -43,7 +43,7 @@ msgid "Password: " + msgstr "Пароль: " + + #: libpam/pam_get_authtok.c:41 +-#, fuzzy, c-format ++#, c-format + msgid "Current %s%spassword: " + msgstr "Новый пароль %s%s: " + +@@ -545,14 +545,12 @@ msgstr "" + "Срок действия учетной записи истек; обратитесь к системному администратору" + + #: modules/pam_unix/pam_unix_acct.c:261 +-#, fuzzy + msgid "" + "You are required to change your password immediately (administrator enforced)" + msgstr "" + "Вам необходимо немедленно сменить пароль (в принудительном режиме root)" + + #: modules/pam_unix/pam_unix_acct.c:267 +-#, fuzzy + msgid "You are required to change your password immediately (password expired)" + msgstr "Вам необходимо немедленно сменить пароль (пароль устарел)" + +-- +2.39.3 + diff --git a/SPECS/pam.spec b/SPECS/pam.spec index c350aeb..10b64b0 100644 --- a/SPECS/pam.spec +++ b/SPECS/pam.spec @@ -3,7 +3,7 @@ Summary: An extensible library which provides authentication for applications Name: pam Version: 1.3.1 -Release: 33%{?dist} +Release: 33%{?dist}.inferit # 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+. @@ -111,6 +111,8 @@ Patch69: pam-1.3.1-access-handle-hostnames.patch # https://github.com/linux-pam/linux-pam/commit/031bb5a5d0d950253b68138b498dc93be69a64cb Patch70: pam-1.3.1-namespace-protect-dir.patch +Patch1000: 0001-Fix-Russian-translation.patch + %define _pamlibdir %{_libdir} %define _moduledir %{_libdir}/security %define _secconfdir %{_sysconfdir}/security @@ -228,6 +230,7 @@ cp %{SOURCE18} . %patch68 -p1 -b .faillock-create-tallydir %patch69 -p1 -b .access-handle-hostnames %patch70 -p1 -b .namespace-protect-dir +%patch1000 -p1 autoreconf -i @@ -244,6 +247,7 @@ autoreconf -i %endif --disable-static \ --disable-prelude +rm -rf %{_builddir}/Linux-PAM-%{version}/po/*.gmo make -C po update-gmo make # we do not use _smp_mflags because the build of sources in yacc/flex fails @@ -481,8 +485,9 @@ done %doc doc/specs/rfc86.0.txt %changelog -* Fri Mar 29 2024 MSVSphere Packaging Team - 1.3.1-33 -- Rebuilt for MSVSphere 8.10 beta +* Thu Mar 14 2024 Sergey Cherevko - 1.3.1-33.inferit +- Fix Russian translation +- Rebuilt for MSVSphere 8.9 * Mon Feb 12 2024 Iker Pedrosa - 1.3.1-33 - pam_namespace: protect_dir(): use O_DIRECTORY to prevent local DoS