[open62541] install libmbedtls dependency (#1167)

This commit is contained in:
Stefan Profanter 2018-02-15 15:40:38 +00:00 committed by Abhishek Arya
parent f51acfafc2
commit 57c8009bb4
3 changed files with 9 additions and 3 deletions

View File

@ -16,7 +16,13 @@
FROM gcr.io/oss-fuzz-base/base-builder
MAINTAINER git@s.profanter.me
RUN apt-get update && apt-get install -y make cmake python-six
RUN apt-get update && apt-get install -y make cmake python-six wget
# We need libmbedtls > 2.5.1 otherwise it does not include the lib for static linking
RUN wget http://ftp.us.debian.org/debian/pool/main/m/mbedtls/libmbedtls-dev_2.6.0-1_amd64.deb && \
wget http://ftp.us.debian.org/debian/pool/main/m/mbedtls/libmbedcrypto0_2.6.0-1_amd64.deb && \
wget http://ftp.us.debian.org/debian/pool/main/m/mbedtls/libmbedtls10_2.6.0-1_amd64.deb && \
wget http://ftp.us.debian.org/debian/pool/main/m/mbedtls/libmbedx509-0_2.6.0-1_amd64.deb && \
dpkg -i *.deb
RUN git clone --depth 1 https://github.com/open62541/open62541.git -bmaster open62541
WORKDIR open62541
RUN git submodule update --init --recursive

View File

@ -30,6 +30,7 @@ cd $WORK/open62541
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DUA_ENABLE_AMALGAMATION=OFF \
-DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \
-DBUILD_SHARED_LIBS=OFF -DUA_BUILD_EXAMPLES=OFF -DUA_LOGLEVEL=600 \
-DUA_ENABLE_ENCRYPTION=ON \
-DUA_BUILD_OSS_FUZZ=ON \
$SRC/open62541/

View File

@ -2,9 +2,8 @@ homepage: "https://open62541.org/"
primary_contact: "Stefan.Profanter@gmail.com"
auto_ccs:
- "julius.pfrommer@gmail.com"
- "f.palm@plt.rwth-aachen.de"
- "chris_paul.iatrou@tu-dresden.de"
sanitizers:
- address
- undefined
- memory
- memory