diff --git a/pam.spec b/pam.spec index 7d3cbba91bb9668595927a19886e75a61defa977..0d76775626eb94a4ce551e7d793d677098faa9b8 100644 --- a/pam.spec +++ b/pam.spec @@ -4,7 +4,7 @@ %define _pamconfdir %{_sysconfdir}/pam.d Name: pam Version: 1.4.0 -Release: 6 +Release: 7 Summary: Pluggable Authentication Modules for Linux License: BSD and GPLv2+ URL: http://www.linux-pam.org/ @@ -28,6 +28,8 @@ Patch6: Prevent-SEGFAULT-for-unknown-UID.patch Patch7: change-ndbm-to-gdbm.patch Patch6000: backport-Move-read_passwords-function-from-pam_unix-to-pam_inline.h.patch Patch6001: backport-add-helper-to-handle-SELinux.patch +Patch6002: zh_CN_po_fix_str_meaning_error.patch + Patch9000: 0001-bugfix-cannot-open-database-file.patch BuildRequires: autoconf automake libtool bison flex sed cracklib-devel gdbm-devel @@ -181,6 +183,9 @@ fi %changelog +* Thu Oct 14 2021 yuanxin - 1.4.0-7 +- Fix zh_CN msgster meaning error + * Thu Sep 16 2021 renhongxun - 1.4.0-6 - bugfix on cannot open database file diff --git a/zh_CN_po_fix_str_meaning_error.patch b/zh_CN_po_fix_str_meaning_error.patch new file mode 100644 index 0000000000000000000000000000000000000000..f95e1d08041b1b5d8ab1cceab23269878cf7770b --- /dev/null +++ b/zh_CN_po_fix_str_meaning_error.patch @@ -0,0 +1,22 @@ +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 4227e4f..8836488 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -44,14 +44,13 @@ msgid "Password: " + msgstr "密码:" + + #: libpam/pam_get_authtok.c:41 +-#, fuzzy, c-format ++#, c-format + msgid "Current %s password: " +-msgstr "新的 %s 密码:" ++msgstr "当前的 %s 密码:" + + #: libpam/pam_get_authtok.c:42 +-#, fuzzy + msgid "Current password: " +-msgstr "新的 密码:" ++msgstr "当前的密码:" + + #: libpam/pam_get_authtok.c:44 + #, c-format