Skip to content
GitLab
Explore
Sign in
Register
Commits on Source (2)
releasing package 389-ds-base version 1.3.7.10-1
· 8ba69e02
Timo Aaltonen
authored
Mar 13, 2018
8ba69e02
fix-saslpath.diff: Updated to support ppc64el and s390x. (LP: #1764744)
· 8fe5ebae
Timo Aaltonen
authored
Apr 19, 2018
8fe5ebae
Show whitespace changes
Inline
Side-by-side
debian/changelog
View file @
8fe5ebae
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 1
0
:3
0:45
+0200
-- Timo Aaltonen <tjaalton@debian.org> Tue, 13 Mar 2018 1
1
:3
2:29
+0200
389-ds-base (1.3.7.9-1) unstable; urgency=medium
...
...
debian/patches/fix-saslpath.diff
View file @
8fe5ebae
--- a/ldap/servers/slapd/ldaputil.c
+++ b/ldap/servers/slapd/ldaputil.c
@@ -9
80
,10 +9
80
,1
0
@@
ldaputil_get_saslpath()
@@ -9
62
,10 +9
62
,1
4
@@
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
@@ -9
91
,14 +9
91
,14 @@
ldaputil_get_saslpath()
@@ -9
73
,14 +9
77
,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