Skip to content
Snippets Groups Projects
Commit 3f19ee28 authored by Xueshan Feng's avatar Xueshan Feng
Browse files

Remove old libsasl-2. Use latest from cyrus sasl installation.

parent 1251c33f
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,6 @@ RUN apt-get update && \
apt-get install -y -qq \
ca-certificates \
coreutils \
libsasl2-2 \
libltdl7 \
libtcmalloc-minimal4 \
libsasl2-modules-gssapi-mit \
......
......@@ -48,7 +48,8 @@ function install_cyrus_sasl {
--prefix=${ARTIFACTS}/usr \
--sysconfdir='${prefix}/etc' \
--libexecdir='${prefix}/lib' \
CFLAGS="-Wno-cast-function-type -Wno-implicit-function-declaration" && make && make install
CFLAGS="-Wno-cast-function-type -Wno-implicit-function-declaration"
make && make install
ln -s ${ARTIFACTS}/usr/lib/sasl2 /usr/lib/sasl2
}
......@@ -66,12 +67,12 @@ function install_openldap {
--enable-slapd --enable-dynacl --enable-aci --enable-cleartext --enable-crypt --enable-spasswd \
--enable-rewrite --enable-rlookups --enable-slapi --enable-backends=mod --enable-overlays=mod \
--with-subdir=ldap --with-cyrus-sasl --with-threads --with-tls=openssl \
LDFLAGS="-L/artifacts/usr/lib -Wl,-rpath,/artifacts/usr/lib" \
CFLAGS="-Wno-cast-function-type \
-Wno-implicit-function-declaration \
-Wno-incompatible-pointer-types \
-Wno-pointer-compare"
make depend && make
make install
make depend && make && make install
}
## MAIN
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment