Fixed Russian translation

i8-beta changed/i8/pam-1.3.1-33.el8.inferit
Sergey Cherevko 10 months ago committed by tigro
parent 501aa94635
commit e6808a2f9c
Signed by: tigro
GPG Key ID: 1EC08A25C9DB2503

@ -0,0 +1,40 @@
From 0d07891ec991d1a3acb80f098d5a1b3ea3ad1480 Mon Sep 17 00:00:00 2001
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
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

@ -3,7 +3,7 @@
Summary: An extensible library which provides authentication for applications Summary: An extensible library which provides authentication for applications
Name: pam Name: pam
Version: 1.3.1 Version: 1.3.1
Release: 33%{?dist} Release: 33%{?dist}.inferit
# The library is BSD licensed with option to relicense as GPLv2+ # The library is BSD licensed with option to relicense as GPLv2+
# - this option is redundant as the BSD license allows that anyway. # - this option is redundant as the BSD license allows that anyway.
# pam_timestamp, pam_loginuid, and pam_console modules are GPLv2+. # 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 # https://github.com/linux-pam/linux-pam/commit/031bb5a5d0d950253b68138b498dc93be69a64cb
Patch70: pam-1.3.1-namespace-protect-dir.patch Patch70: pam-1.3.1-namespace-protect-dir.patch
Patch1000: 0001-Fix-Russian-translation.patch
%define _pamlibdir %{_libdir} %define _pamlibdir %{_libdir}
%define _moduledir %{_libdir}/security %define _moduledir %{_libdir}/security
%define _secconfdir %{_sysconfdir}/security %define _secconfdir %{_sysconfdir}/security
@ -228,6 +230,7 @@ cp %{SOURCE18} .
%patch68 -p1 -b .faillock-create-tallydir %patch68 -p1 -b .faillock-create-tallydir
%patch69 -p1 -b .access-handle-hostnames %patch69 -p1 -b .access-handle-hostnames
%patch70 -p1 -b .namespace-protect-dir %patch70 -p1 -b .namespace-protect-dir
%patch1000 -p1
autoreconf -i autoreconf -i
@ -244,6 +247,7 @@ autoreconf -i
%endif %endif
--disable-static \ --disable-static \
--disable-prelude --disable-prelude
rm -rf %{_builddir}/Linux-PAM-%{version}/po/*.gmo
make -C po update-gmo make -C po update-gmo
make make
# we do not use _smp_mflags because the build of sources in yacc/flex fails # 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 %doc doc/specs/rfc86.0.txt
%changelog %changelog
* Fri Mar 29 2024 MSVSphere Packaging Team <packager@msvsphere-os.ru> - 1.3.1-33 * Thu Mar 14 2024 Sergey Cherevko <s.cherevko@msvsphere-os.ru> - 1.3.1-33.inferit
- Rebuilt for MSVSphere 8.10 beta - Fix Russian translation
- Rebuilt for MSVSphere 8.9
* Mon Feb 12 2024 Iker Pedrosa <ipedrosa@redhat.com> - 1.3.1-33 * Mon Feb 12 2024 Iker Pedrosa <ipedrosa@redhat.com> - 1.3.1-33
- pam_namespace: protect_dir(): use O_DIRECTORY to prevent local DoS - pam_namespace: protect_dir(): use O_DIRECTORY to prevent local DoS

Loading…
Cancel
Save