mirror of
https://git.yoctoproject.org/poky
synced 2026-02-10 02:33:02 +01:00
Dropped upstreamed patches(commit-id): - add-checks-for-crypt-returning-NULL.patch(8dc056c) - destdirfix.patch(d7e6b92) - libpam-fix-for-CVE-2010-4708.patch(4c430f6) Dropped backported patches(commit-id): - pam_timestamp-fix-potential-directory-traversal-issu.patch(9dcead8) - reflect-the-enforce_for_root-semantics-change-in-pam.patch(bd07ad3) Forward ported patches: - pam-unix-nullok-secure.patch - crypt_configure.patch (From OE-Core rev: 8683206f7ba85f693751415f896a0cc62931e3c4) Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1.0 KiB
Diff
32 lines
1.0 KiB
Diff
This patch fixes a case where it find crypt defined in libc (musl) but
|
|
not in specified libraries then it ends up assigning
|
|
|
|
LIBCRYPT="-l" which then goes into makefile cause all sort of problems
|
|
e.g.
|
|
|
|
ld: cannot find -l-m32
|
|
| collect2: error: ld returned 1 exit status
|
|
|
|
The reason is that -l appears on commandline with out any library and
|
|
compiler treats the next argument as library name whatever it is.
|
|
|
|
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
Index: Linux-PAM-1.1.6/configure.in
|
|
===================================================================
|
|
--- Linux-PAM-1.1.6.org/configure.ac
|
|
+++ Linux-PAM-1.1.6/configure.ac
|
|
@@ -400,7 +400,9 @@ AS_IF([test "x$ac_cv_header_xcrypt_h" =
|
|
[crypt_libs="crypt"])
|
|
|
|
BACKUP_LIBS=$LIBS
|
|
-AC_SEARCH_LIBS([crypt],[$crypt_libs], LIBCRYPT="-l$ac_lib", LIBCRYPT="")
|
|
+AC_SEARCH_LIBS([crypt],[$crypt_libs],
|
|
+ [test "$ac_cv_search_crypt" = "none required" ||
|
|
+ LIBCRYPT="$ac_cv_search_crypt"])
|
|
AC_CHECK_FUNCS(crypt_r crypt_gensalt_r)
|
|
LIBS=$BACKUP_LIBS
|
|
AC_SUBST(LIBCRYPT)
|