mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-16 22:23:14 +00:00
OpenLDAP 2.5.9 Release (2021/10/25) Fixed slapo-accesslog to initialize minCSN on import of 2.4 databases (ITS#9720) Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
36 lines
1.1 KiB
Diff
36 lines
1.1 KiB
Diff
openldap: assume /dev/urandom exists
|
|
|
|
When we are cross-compiling, we want to assume
|
|
that /dev/urandom exists. We could change the source
|
|
code to look for it, but this is the easy way out.
|
|
|
|
Upstream-Status: Inappropriate [embedded specific]
|
|
|
|
Signed-off-by: Joe Slater <jslater@windriver.com>
|
|
|
|
--- a/configure.ac
|
|
+++ b/configure.ac
|
|
@@ -2117,6 +2117,7 @@ AC_SUBST(systemdsystemunitdir)
|
|
|
|
dnl ----------------------------------------------------------------
|
|
dnl Check for entropy sources
|
|
+dev=no
|
|
if test $cross_compiling != yes && test "$ac_cv_mingw32" != yes ; then
|
|
dev=no
|
|
if test -r /dev/urandom ; then
|
|
@@ -2131,9 +2132,11 @@ if test $cross_compiling != yes && test "$ac_cv_mingw32" != yes ; then
|
|
dev="/idev/random";
|
|
fi
|
|
|
|
- if test $dev != no ; then
|
|
- AC_DEFINE_UNQUOTED(URANDOM_DEVICE,"$dev",[set to urandom device])
|
|
- fi
|
|
+elif test $cross_compiling == yes ; then
|
|
+ dev="/dev/urandom";
|
|
+fi
|
|
+if test $dev != no ; then
|
|
+ AC_DEFINE_UNQUOTED(URANDOM_DEVICE,"$dev",[set to urandom device])
|
|
fi
|
|
|
|
dnl ----------------------------------------------------------------
|