Skip to content
Commits on Source (2)
389-ds-base (1.3.7.10-1) UNRELEASED; urgency=medium
389-ds-base (1.3.7.10-2) UNRELEASED; urgency=medium
* fix-saslpath.diff: Updated to support ppc64el and s390x. (LP:
#1764744)
-- Timo Aaltonen <tjaalton@debian.org> Thu, 19 Apr 2018 10:00:58 +0300
389-ds-base (1.3.7.10-1) unstable; urgency=medium
* New upstream release.
- fix CVE-2018-1054 (Closes: #892124)
......@@ -6,7 +13,7 @@
now on. Drop kklimonda from uploaders.
* control: Update VCS urls.
-- Timo Aaltonen <tjaalton@debian.org> Tue, 13 Mar 2018 10:30:45 +0200
-- Timo Aaltonen <tjaalton@debian.org> Tue, 13 Mar 2018 11:32:29 +0200
389-ds-base (1.3.7.9-1) unstable; urgency=medium
......
--- a/ldap/servers/slapd/ldaputil.c
+++ b/ldap/servers/slapd/ldaputil.c
@@ -980,10 +980,10 @@ ldaputil_get_saslpath()
@@ -962,10 +962,14 @@ ldaputil_get_saslpath()
if (PR_SUCCESS != PR_Access(saslpath, PR_ACCESS_EXISTS)) {
#ifdef CPU_arm
/* the 64-bit ARMv8 architecture. */
- saslpath = "/usr/lib/aarch64-linux-gnu";
+ saslpath = "/usr/lib/aarch64-linux-gnu/sasl2";
+#elif defined(CPU_powerpc64le)
+ saslpath = "/usr/lib/powerpc64le-linux-gnu/sasl2";
+#elif defined(CPU_s390x)
+ saslpath = "/usr/lib/s390x-linux-gnu/sasl2";
#else
/* Try x86_64 gnu triplet */
- saslpath = "/usr/lib/x86_64-linux-gnu";
......@@ -13,7 +17,7 @@
#endif
}
#else
@@ -991,14 +991,14 @@ ldaputil_get_saslpath()
@@ -973,14 +977,14 @@ ldaputil_get_saslpath()
if (PR_SUCCESS != PR_Access(saslpath, PR_ACCESS_EXISTS)) {
#ifdef CPU_arm
/* the latest 32 bit ARM architecture using the hard-float version of EABI. */
......@@ -31,3 +35,23 @@
#endif
}
#endif
--- a/configure.ac
+++ b/configure.ac
@@ -563,7 +563,8 @@ case $host in
arm-*-linux*)
AC_DEFINE([CPU_arm], [], [cpu type arm])
;;
- ppc64le-*-linux*)
+ powerpc64le-*-linux*)
+ AC_DEFINE([CPU_powerpc64le], [], [cpu type powerpc64le])
;;
ppc64-*-linux*)
;;
@@ -572,6 +573,7 @@ case $host in
s390-*-linux*)
;;
s390x-*-linux*)
+ AC_DEFINE([CPU_s390x], [], [cpu type s390x])
;;
esac
# some programs use the native thread library directly