Projects
openEuler:Mainline
pam
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
Expand all
Collapse all
Changes of Revision 2
View file
_service:tar_scm:pam.spec
Changed
@@ -4,7 +4,7 @@ %define _pamconfdir %{_sysconfdir}/pam.d Name: pam Version: 1.5.2 -Release: 2 +Release: 6 Summary: Pluggable Authentication Modules for Linux License: BSD and GPLv2+ URL: http://www.linux-pam.org/ @@ -21,9 +21,9 @@ Provides: %{name}-sm3 = %{version}-%{release} Patch1: bugfix-pam-1.1.8-faillock-systemtime.patch -Patch9000:openEuler-change-ndbm-to-gdbm.patch -Patch9001:0001-bugfix-cannot-open-database-file.patch -Patch9002:add-sm3-crypt-support.patch +Patch9000:change-ndbm-to-gdbm.patch +Patch9001:add-sm3-crypt-support.patch +Patch9002:1003-Change-chinese-translation.patch BuildRequires: autoconf automake libtool bison flex sed cracklib-devel gdbm-devel BuildRequires: perl-interpreter pkgconfig gettext-devel libtirpc-devel libnsl2-devel @@ -178,6 +178,15 @@ %changelog +* Thu Mar 09 2023 wangyu <wangyu283@huawei.com> - 1.5.2-6 +- revert: bugfix with cannot open database file + +* Mon Dec 12 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.5.2-4 +- Change Chinese translation + +* Tue Nov 29 2022 dongyuzhen <dongyuzhen@h-partners.com> - 1.5.2-3 +- modify the patch name for the problem of vendor hard code + * Fri Jan 14 2022 wangyu <wangyu283@huawei.com> - 1.5.2-2 - add sm3 crypt support
View file
_service:tar_scm:0001-bugfix-cannot-open-database-file.patch
Deleted
@@ -1,44 +0,0 @@ -From 3bd5a1244a35974c8a0e21a9ac866cb5935f662e Mon Sep 17 00:00:00 2001 -From: yaqiang chen <chenyaqiang@huawei.com> -Date: Wed, 15 Sep 2021 10:05:49 +0800 -Subject: PATCH bugfix cannot open database file - ---- - modules/pam_userdb/pam_userdb.c | 17 ++++++++++++++--- - 1 file changed, 14 insertions(+), 3 deletions(-) - -diff --git a/modules/pam_userdb/pam_userdb.c b/modules/pam_userdb/pam_userdb.c -index dc2ca23..a9992a7 100644 ---- a/modules/pam_userdb/pam_userdb.c -+++ b/modules/pam_userdb/pam_userdb.c -@@ -147,13 +147,24 @@ user_lookup (pam_handle_t *pamh, const char *database, const char *cryptmode, - { - DBM *dbm; - datum key, data; -+ int retval; - - /* Open the DB file. */ - dbm = dbm_open(database, O_RDONLY, 0644); - if (dbm == NULL) { -- pam_syslog(pamh, LOG_ERR, -- "user_lookup: could not open database `%s': %m", database); -- return -2; -+ retval = dbminit(database); -+ if (retval){ -+ pam_syslog(pamh, LOG_ERR, -+ "user_lookup: could not init database `%s': %m", database); -+ return -2; -+ } else { -+ dbm = dbm_open(database, O_RDONLY, 0644); -+ if (dbm == NULL) { -+ pam_syslog(pamh, LOG_ERR, -+ "user_lookup: could not open database `%s': %m", database); -+ return -2; -+ } -+ } - } - - /* dump out the database contents for debugging */ --- -1.8.3.1 -
View file
_service:tar_scm:1003-Change-chinese-translation.patch
Added
@@ -0,0 +1,24 @@ +From 92c97988c58661e9df3b5e710de22717359c4783 Mon Sep 17 00:00:00 2001 +From: longcheng <longcheng@kylinos.com.cn> +Date: Thu, 17 Mar 2022 17:17:35 +0800 +Subject: PATCH Change chinese translation + +--- + po/zh_CN.po | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/po/zh_CN.po b/po/zh_CN.po +index 4f8e040..ba7e901 100644 +--- a/po/zh_CN.po ++++ b/po/zh_CN.po +@@ -478,7 +478,7 @@ msgstr "您必须选择一个更长的密码。" + #: modules/pam_unix/pam_unix_passwd.c:692 + #, c-format + msgid "Changing password for %s." +-msgstr "为 %s 更改 STRESS 密码。" ++msgstr "为 %s 更改密码。" + + #: modules/pam_unix/pam_unix_passwd.c:722 + msgid "You must wait longer to change your password." +-- +2.27.0
View file
_service:tar_scm:change-ndbm-to-gdbm.patch
Added
@@ -0,0 +1,24 @@ +From c8ff297d3ca1d5a195147c32859b87dba820c281 Mon Sep 17 00:00:00 2001 +From: gaoyi <gaoyi15$huawei.com> +Date: Wed, 28 Oct 2020 19:37:25 +0800 +Subject: PATCH change ndbm to gdbm + +--- + configure.ac | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/configure.ac b/configure.ac +index d537907..ecbaa2d 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -435,7 +435,7 @@ if test x"$WITH_DB" !=xno ; then + LIBS=$old_libs + fi + if test -z "$LIBDB" ; then +- AC_CHECK_LIB(ndbm,dbm_store, LIBDB="-lndbm", LIBDB="") ++ AC_CHECK_LIB(gdbm_compat,dbm_store, LIBDB="-lgdbm_compat", LIBDB="") + if test -n "$LIBDB" ; then + AC_CHECK_HEADERS(ndbm.h) + fi +-- +2.23.0
View file
_service:tar_scm:openEuler-change-ndbm-to-gdbm.patch
Deleted
@@ -1,24 +0,0 @@ -From c8ff297d3ca1d5a195147c32859b87dba820c281 Mon Sep 17 00:00:00 2001 -From: gaoyi <gaoyi15$huawei.com> -Date: Wed, 28 Oct 2020 19:37:25 +0800 -Subject: PATCH change ndbm to gdbm - ---- - configure.ac | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index d537907..ecbaa2d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -435,7 +435,7 @@ if test x"$WITH_DB" !=xno ; then - LIBS=$old_libs - fi - if test -z "$LIBDB" ; then -- AC_CHECK_LIB(ndbm,dbm_store, LIBDB="-lndbm", LIBDB="") -+ AC_CHECK_LIB(gdbm_compat,dbm_store, LIBDB="-lgdbm_compat", LIBDB="") - if test -n "$LIBDB" ; then - AC_CHECK_HEADERS(ndbm.h) - fi --- -2.23.0
View file
_service
Changed
@@ -2,7 +2,7 @@ <service name="tar_scm"> <param name="scm">git</param> <param name="url">git@gitee.com:src-openeuler/pam.git</param> - <param name="revision">c41196a19717829b97f2d8d17ffae1c967adefc1</param> + <param name="revision">master</param> <param name="exclude">*</param> <param name="extract">*</param> </service>
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2