diff --git a/projects/bignum-fuzzer/Dockerfile b/projects/bignum-fuzzer/Dockerfile index b1c36eb66..4be6f8efa 100644 --- a/projects/bignum-fuzzer/Dockerfile +++ b/projects/bignum-fuzzer/Dockerfile @@ -15,7 +15,7 @@ ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install -y software-properties-common curl sudo mercurial autoconf bison texinfo libboost-all-dev cmake wget +RUN apt-get update && apt-get install -y software-properties-common python-software-properties wget curl sudo mercurial autoconf bison texinfo libboost-all-dev cmake RUN wget https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.5.1.tar.gz RUN git clone --depth 1 https://github.com/guidovranken/bignum-fuzzer diff --git a/projects/clib/Dockerfile b/projects/clib/Dockerfile index d46f75291..92e14901e 100644 --- a/projects/clib/Dockerfile +++ b/projects/clib/Dockerfile @@ -15,7 +15,7 @@ ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install -y make cmake libcurl4-gnutls-dev -qq +RUN apt-get update && apt-get install -y make cmake ninja libcurl4-gnutls-dev -qq RUN git clone https://github.com/clibs/clib WORKDIR $SRC/ COPY build.sh $SRC/ diff --git a/projects/containerd/Dockerfile b/projects/containerd/Dockerfile index f3aef9a65..b161e268b 100644 --- a/projects/containerd/Dockerfile +++ b/projects/containerd/Dockerfile @@ -15,7 +15,7 @@ ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install -y btrfs-progs libc-dev pkg-config libseccomp-dev gcc wget libbtrfs-dev +RUN apt-get update && apt-get install -y btrfs-progs libc-dev pkg-config libseccomp-dev gcc wget RUN git clone --depth 1 https://github.com/containerd/containerd COPY build.sh $SRC/ WORKDIR $SRC/containerd diff --git a/projects/cpython3/Dockerfile b/projects/cpython3/Dockerfile index d238a7854..6ca60d408 100644 --- a/projects/cpython3/Dockerfile +++ b/projects/cpython3/Dockerfile @@ -1,8 +1,4 @@ -# Using Ubuntu 16.04 because of breakage on Ubuntu 20.04. -# See https://github.com/google/oss-fuzz/issues/6291 for more details. -FROM gcr.io/oss-fuzz-base/base-builder:xenial -# Delete line above and uncomment line below to upgrade to 20.04. -# FROM gcr.io/oss-fuzz-base/base-builder +FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update RUN apt-get install -y build-essential libncursesw5-dev \ diff --git a/projects/cryptofuzz/Dockerfile b/projects/cryptofuzz/Dockerfile index c17fdacf1..ff859a4d4 100644 --- a/projects/cryptofuzz/Dockerfile +++ b/projects/cryptofuzz/Dockerfile @@ -21,7 +21,7 @@ RUN apt-get update && \ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && \ apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' && \ apt-get update && \ - apt-get install -y software-properties-common wget make autoconf automake libtool build-essential cmake mercurial gyp ninja-build zlib1g-dev libsqlite3-dev bison flex texinfo + apt-get install -y software-properties-common python-software-properties make autoconf automake libtool build-essential cmake mercurial gyp ninja-build zlib1g-dev libsqlite3-dev bison flex texinfo RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz RUN git clone --depth 1 https://github.com/guidovranken/cryptofuzz-corpora diff --git a/projects/firefox/Dockerfile b/projects/firefox/Dockerfile index 515e9df26..1d19ca82e 100644 --- a/projects/firefox/Dockerfile +++ b/projects/firefox/Dockerfile @@ -15,16 +15,13 @@ ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && \ - apt-get install -y software-properties-common && \ - add-apt-repository -y ppa:ubuntu-toolchain-r/test && \ - apt-get update && \ - apt-get upgrade -y && \ - apt-get install -y --no-install-recommends \ - gawk \ - libstdc++6 \ - m4 \ - python +RUN add-apt-repository -y ppa:ubuntu-toolchain-r/test +RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \ + gawk \ + libstdc++6 \ + m4 \ + python \ + software-properties-common # This wrapper of cargo seems to interfere with our build system. RUN rm -f /usr/local/bin/cargo diff --git a/projects/flac/build.sh b/projects/flac/build.sh index 3ccf5495d..c94ba22f7 100755 --- a/projects/flac/build.sh +++ b/projects/flac/build.sh @@ -53,7 +53,7 @@ cd $SRC/fuzzing-headers # Build fuzzers cd $SRC/flac-fuzzers/ -$CXX $CXXFLAGS -I $SRC/flac/include/ -I $SRC/ExoPlayer/extensions/flac/src/main/jni/ -I /usr/lib/jvm/java-11-openjdk-amd64/include/ -I /usr/lib/jvm/java-11-openjdk-amd64/include/linux/ fuzzer_exo.cpp \ +$CXX $CXXFLAGS -I $SRC/flac/include/ -I $SRC/ExoPlayer/extensions/flac/src/main/jni/ -I /usr/lib/jvm/java-8-openjdk-amd64/include/ -I /usr/lib/jvm/java-8-openjdk-amd64/include/linux/ fuzzer_exo.cpp \ $SRC/flac/src/libFLAC++/.libs/libFLAC++.a $SRC/flac/src/libFLAC/.libs/libFLAC.a $SRC/libogg-install/lib/libogg.a $LIB_FUZZING_ENGINE -o $OUT/fuzzer_exo $CXX $CXXFLAGS -I $SRC/flac/include/ fuzzer_decoder.cpp $SRC/flac/src/libFLAC++/.libs/libFLAC++.a $SRC/flac/src/libFLAC/.libs/libFLAC.a $SRC/libogg-install/lib/libogg.a $LIB_FUZZING_ENGINE -o $OUT/fuzzer_decoder $CXX $CXXFLAGS -I $SRC/flac/include/ fuzzer_encoder.cpp $SRC/flac/src/libFLAC++/.libs/libFLAC++.a $SRC/flac/src/libFLAC/.libs/libFLAC.a $SRC/libogg-install/lib/libogg.a $LIB_FUZZING_ENGINE -o $OUT/fuzzer_encoder diff --git a/projects/git/Dockerfile b/projects/git/Dockerfile index eb487434d..91c05e426 100644 --- a/projects/git/Dockerfile +++ b/projects/git/Dockerfile @@ -20,7 +20,7 @@ RUN apt-get update && \ cvs cvsps gettext libcgi-pm-perl libcurl4-gnutls-dev \ libdbd-sqlite3-perl liberror-perl libexpat1-dev libhttp-date-perl \ libio-pty-perl libmailtools-perl libpcre2-dev libpcre3-dev libsvn-perl \ - perl-modules libyaml-perl libz-dev python subversion tcl unzip \ + libtime-modules-perl libyaml-perl libz-dev python subversion tcl unzip \ asciidoc docbook-xsl xmlto libssl-dev zip RUN git clone https://github.com/git/git git WORKDIR git diff --git a/projects/gnutls/build.sh b/projects/gnutls/build.sh index 730838c54..a44282784 100755 --- a/projects/gnutls/build.sh +++ b/projects/gnutls/build.sh @@ -16,9 +16,9 @@ ################################################################################ export DEPS_PATH=$SRC/deps -export PKG_CONFIG_PATH=$DEPS_PATH/lib64/pkgconfig:$DEPS_PATH/lib/pkgconfig +export PKG_CONFIG_PATH=$DEPS_PATH/lib/pkgconfig export CPPFLAGS="-I$DEPS_PATH/include" -export LDFLAGS="-L$DEPS_PATH/lib -L$DEPS_PATH/lib64" +export LDFLAGS="-L$DEPS_PATH/lib" export GNULIB_SRCDIR=$SRC/gnulib cd $SRC/libunistring diff --git a/projects/grpc/Dockerfile b/projects/grpc/Dockerfile index 5999a2c59..c4bf37cf0 100644 --- a/projects/grpc/Dockerfile +++ b/projects/grpc/Dockerfile @@ -16,7 +16,7 @@ FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install -y software-properties-common +RUN apt-get update && apt-get install -y software-properties-common python-software-properties RUN add-apt-repository ppa:webupd8team/java RUN apt-get update && apt-get -y install \ vim \ diff --git a/projects/janus-gateway/Dockerfile b/projects/janus-gateway/Dockerfile index 6cf0e14f8..f0c56cd3b 100644 --- a/projects/janus-gateway/Dockerfile +++ b/projects/janus-gateway/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get update && apt-get install -y \ gtk-doc-tools \ libconfig-dev \ libglib2.0-dev \ - libgnutls28-dev \ + libgnutls-dev \ libini-config-dev \ libjansson-dev \ libnice-dev \ diff --git a/projects/knot-dns/build.sh b/projects/knot-dns/build.sh index b49aa69d1..1c88084b9 100755 --- a/projects/knot-dns/build.sh +++ b/projects/knot-dns/build.sh @@ -20,7 +20,7 @@ # Cribbed from projects/wget2, thanks rockdaboot@gmail.com export DEPS_PATH=$SRC/knot_deps -export PKG_CONFIG_PATH=$DEPS_PATH/lib64/pkgconfig:$DEPS_PATH/lib/pkgconfig +export PKG_CONFIG_PATH=$DEPS_PATH/lib/pkgconfig export CPPFLAGS="-I$DEPS_PATH/include" export LDFLAGS="-L$DEPS_PATH/lib" export GNULIB_SRCDIR=$SRC/gnulib diff --git a/projects/liblouis/Dockerfile b/projects/liblouis/Dockerfile index 2d6649e44..40a17c099 100644 --- a/projects/liblouis/Dockerfile +++ b/projects/liblouis/Dockerfile @@ -16,7 +16,7 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake libtool \ - pkg-config zlib1g-dev libpci-dev + pkg-config zlib1g-dev pciutils-dev libpci-dev RUN git clone --depth 1 https://github.com/liblouis/liblouis WORKDIR liblouis COPY build.sh $SRC/ diff --git a/projects/libpsl/build.sh b/projects/libpsl/build.sh index 8aba395c3..ae71a5973 100755 --- a/projects/libpsl/build.sh +++ b/projects/libpsl/build.sh @@ -33,10 +33,6 @@ CPPFLAGS="$CPPFLAGS -fno-sanitize=vptr" \ --disable-tests --disable-samples --with-data-packaging=static --prefix=$DEPS_PATH # ugly hack to avoid build error echo '#include ' >>i18n/digitlst.h - -# Hack so that upgrade to Ubuntu 20.04 works. -ln -s /usr/include/locale.h /usr/include/xlocale.h - make -j make install diff --git a/projects/librawspeed/Dockerfile b/projects/librawspeed/Dockerfile index a480f1542..54bb66d3a 100644 --- a/projects/librawspeed/Dockerfile +++ b/projects/librawspeed/Dockerfile @@ -18,7 +18,7 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && \ apt-get install -y apt-transport-https ca-certificates gnupg software-properties-common wget && \ wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | apt-key add - && \ - apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' && \ + apt-add-repository 'deb https://apt.kitware.com/ubuntu/ xenial main' && \ apt-get update && apt-get install -y cmake make RUN git clone --depth 1 https://github.com/darktable-org/rawspeed.git librawspeed WORKDIR librawspeed diff --git a/projects/libtpms/Dockerfile b/projects/libtpms/Dockerfile index 2f1800010..f8bbb408f 100644 --- a/projects/libtpms/Dockerfile +++ b/projects/libtpms/Dockerfile @@ -19,7 +19,7 @@ RUN \ apt-get update && \ apt-get install -y \ make autoconf automake libtool \ - libstdc++-9-dev \ + libstdc++-5-dev \ libssl-dev libseccomp-dev pkg-config RUN git clone --depth 1 https://github.com/stefanberger/libtpms libtpms WORKDIR libtpms diff --git a/projects/libvips/Dockerfile b/projects/libvips/Dockerfile index 00d966c95..dd0de8d9b 100644 --- a/projects/libvips/Dockerfile +++ b/projects/libvips/Dockerfile @@ -31,10 +31,6 @@ RUN apt-get update && apt-get install -y \ libexpat1-dev \ libffi-dev \ libselinux1-dev \ - glib2.0-dev \ - autopoint \ - gettext \ - libtool \ glib2.0-dev RUN pip3 install meson ninja RUN mkdir afl-testcases @@ -47,7 +43,7 @@ RUN git clone --depth 1 https://github.com/libjpeg-turbo/libjpeg-turbo RUN git clone --depth 1 https://github.com/glennrp/libpng.git RUN git clone --depth 1 https://github.com/randy408/libspng.git RUN git clone --depth 1 https://chromium.googlesource.com/webm/libwebp -RUN git clone --depth 1 https://gitlab.com/libtiff/libtiff +RUN git clone --depth 1 https://gitlab.com/libtiff/libtiff RUN git clone --depth 1 https://aomedia.googlesource.com/aom RUN git clone --depth 1 https://github.com/strukturag/libheif RUN git clone --depth 1 --recursive https://github.com/libjxl/libjxl.git diff --git a/projects/lldb-eval/Dockerfile b/projects/lldb-eval/Dockerfile index b6a0a0467..dc61ec34d 100644 --- a/projects/lldb-eval/Dockerfile +++ b/projects/lldb-eval/Dockerfile @@ -14,11 +14,7 @@ # ################################################################################ -# Using Ubuntu 16.04 because of breakage on Ubuntu 20.04. -# See https://github.com/google/oss-fuzz/issues/6291 for more details. -FROM gcr.io/oss-fuzz-base/base-builder:xenial -# Delete line above and uncomment line below to upgrade to 20.04. -# FROM gcr.io/oss-fuzz-base/base-builder +FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update \ && apt-get install -y wget git patchelf zlib1g-dev python libtinfo-dev --no-install-recommends diff --git a/projects/openh264/Dockerfile b/projects/openh264/Dockerfile index c32bdc88a..f7cc71279 100644 --- a/projects/openh264/Dockerfile +++ b/projects/openh264/Dockerfile @@ -16,7 +16,7 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && \ - apt-get install -y libstdc++-9-dev libstdc++-9-dev:i386 nasm subversion + apt-get install -y libstdc++-5-dev libstdc++-5-dev:i386 nasm subversion RUN git clone --depth 1 https://github.com/cisco/openh264.git openh264 WORKDIR openh264 COPY build.sh decoder_fuzzer.cpp $SRC/ diff --git a/projects/openssh/Dockerfile b/projects/openssh/Dockerfile index e2cf25774..929d57c2f 100644 --- a/projects/openssh/Dockerfile +++ b/projects/openssh/Dockerfile @@ -16,7 +16,7 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake libtool -RUN apt-get install -y libz-dev libssl1.1 libssl-dev libedit-dev zip +RUN apt-get install -y libz-dev libssl1.0.0 libssl-dev libedit-dev zip RUN git clone --depth 1 https://github.com/openssh/openssh-portable openssh RUN git clone --depth 1 https://github.com/djmdjm/openssh-fuzz-cases WORKDIR openssh diff --git a/projects/openvpn/fuzz_crypto.c b/projects/openvpn/fuzz_crypto.c index e9a851be0..116ddae9a 100644 --- a/projects/openvpn/fuzz_crypto.c +++ b/projects/openvpn/fuzz_crypto.c @@ -61,7 +61,7 @@ static int init_frame(struct frame *frame) { } int LLVMFuzzerInitialize(int *argc, char ***argv) { - OPENSSL_malloc_init(); + CRYPTO_malloc_init(); SSL_library_init(); ERR_load_crypto_strings(); diff --git a/projects/openvpn/fuzz_proxy.c b/projects/openvpn/fuzz_proxy.c index 128a6d077..96db36363 100644 --- a/projects/openvpn/fuzz_proxy.c +++ b/projects/openvpn/fuzz_proxy.c @@ -22,7 +22,7 @@ limitations under the License. int LLVMFuzzerInitialize(int *argc, char ***argv) { - OPENSSL_malloc_init(); + CRYPTO_malloc_init(); SSL_library_init(); ERR_load_crypto_strings(); diff --git a/projects/openvpn/fuzz_verify_cert.c b/projects/openvpn/fuzz_verify_cert.c index c73a6ac82..cf4ae3144 100644 --- a/projects/openvpn/fuzz_verify_cert.c +++ b/projects/openvpn/fuzz_verify_cert.c @@ -40,7 +40,7 @@ static int parse_x509(const uint8_t *data, size_t size, X509 **out) { int LLVMFuzzerInitialize(int *argc, char ***argv) { - OPENSSL_malloc_init(); + CRYPTO_malloc_init(); SSL_library_init(); ERR_load_crypto_strings(); diff --git a/projects/openvswitch/Dockerfile b/projects/openvswitch/Dockerfile index 65a4ea463..f7c149f86 100644 --- a/projects/openvswitch/Dockerfile +++ b/projects/openvswitch/Dockerfile @@ -17,7 +17,7 @@ FROM gcr.io/oss-fuzz-base/base-builder RUN apt-get update && apt-get install -y make autoconf automake \ libtool python python3-pip \ - libz-dev libssl-dev libssl1.1 wget + libz-dev libssl-dev libssl1.0.0 wget RUN pip3 install six RUN git clone --depth 1 https://github.com/openvswitch/ovs.git openvswitch RUN git clone --depth 1 https://github.com/openvswitch/ovs-fuzzing-corpus.git \ diff --git a/projects/openweave/Dockerfile b/projects/openweave/Dockerfile index 99533e81d..39442ba84 100644 --- a/projects/openweave/Dockerfile +++ b/projects/openweave/Dockerfile @@ -14,15 +14,11 @@ # ################################################################################ -# Using Ubuntu 16.04 because of breakage on Ubuntu 20.04. -# See https://github.com/google/oss-fuzz/issues/6291 for more details. -FROM gcr.io/oss-fuzz-base/base-builder:xenial -# Delete line above and uncomment line below to upgrade to 20.04. -# FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install -y python3-pip python-setuptools bridge-utils \ +FROM gcr.io/oss-fuzz-base/base-builder +RUN apt-get update && apt-get install -y python-pip python-setuptools bridge-utils \ libglib2.0-dev libdbus-1-dev libudev-dev \ libical-dev libreadline-dev udev \ - libtool autoconf automake systemd + libtool autoconf automake RUN pip3 install --user google-cloud googleapis-common-protos grpcio protobuf pycryptodomex RUN cpan -i Text::Template RUN git clone --depth 1 https://github.com/openweave/openweave-core diff --git a/projects/powerdns/Dockerfile b/projects/powerdns/Dockerfile index 6d02406ec..db7614c37 100644 --- a/projects/powerdns/Dockerfile +++ b/projects/powerdns/Dockerfile @@ -20,7 +20,7 @@ FROM gcr.io/oss-fuzz-base/base-builder # maintainer for this file # install required packages to build your project -RUN apt-get update && apt-get install -y autoconf automake bison dh-autoreconf flex boost1.71-all-dev libluajit-5.1-dev libedit-dev libprotobuf-dev libssl-dev libtool make pkg-config protobuf-compiler ragel +RUN add-apt-repository -y ppa:savoury1/boost-defaults-1.71 && apt-get update && apt-get install -y autoconf automake bison dh-autoreconf flex boost1.71-dev libluajit-5.1-dev libedit-dev libprotobuf-dev libssl-dev libtool make pkg-config protobuf-compiler ragel # checkout all sources needed to build your project RUN git clone https://github.com/PowerDNS/pdns.git pdns diff --git a/projects/skia/Dockerfile b/projects/skia/Dockerfile index 4af5722aa..e42908840 100644 --- a/projects/skia/Dockerfile +++ b/projects/skia/Dockerfile @@ -17,7 +17,7 @@ FROM gcr.io/oss-fuzz-base/base-builder # Mesa and libz/zlib needed to build swiftshader -RUN apt-get update && apt-get install -y python wget libglu1-mesa-dev cmake lib32z1-dev zlib1g-dev libxext-dev +RUN apt-get update && apt-get install -y python wget libglu1-mesa-dev cmake lib32z1-dev zlib1g-dev RUN git clone 'https://chromium.googlesource.com/chromium/tools/depot_tools.git' --depth 1 ENV PATH="${SRC}/depot_tools:${PATH}" diff --git a/projects/tmux/build.sh b/projects/tmux/build.sh index f4fe555e5..53de126ac 100644 --- a/projects/tmux/build.sh +++ b/projects/tmux/build.sh @@ -44,8 +44,3 @@ cat "${SRC}/tmux-fuzzing-corpus/iterm2"/* | \ split -a5 -db$MAXLEN - iterm2. zip -q -j -r "${OUT}/input-fuzzer_seed_corpus.zip" \ "${WORK}/fuzzing_corpus/" - -# Handle libevent not existing on runner. -mkdir $OUT/lib -cp /lib/x86_64-linux-gnu/libevent_core* $OUT/lib -patchelf --set-rpath '$ORIGIN/lib' $OUT/input-fuzzer diff --git a/projects/tpm2/Dockerfile b/projects/tpm2/Dockerfile index f008ce398..3cd80b8ed 100644 --- a/projects/tpm2/Dockerfile +++ b/projects/tpm2/Dockerfile @@ -5,7 +5,7 @@ # Defines a docker image that can build fuzzers. # FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install -y make libssl-dev binutils libgcc-9-dev +RUN apt-get update && apt-get install -y make libssl-dev binutils libgcc-5-dev RUN git clone --depth 1 https://chromium.googlesource.com/chromiumos/third_party/tpm2 WORKDIR tpm2 RUN cp /src/tpm2/fuzz/build.sh /src/ diff --git a/projects/usbguard/build.sh b/projects/usbguard/build.sh index 1504da82f..5c7daf68e 100644 --- a/projects/usbguard/build.sh +++ b/projects/usbguard/build.sh @@ -81,10 +81,3 @@ if [[ ! -d "$SRC/usbguard/src/Tests/Fuzzers/$corpus_dir" ]] ; then cp -R "$SRC/usbguard/src/Tests/USB/data" "${corpus_dir}" zip -r "${zip_name}" "${corpus_dir}" fi - -# Ubuntu 20.04 doesn't have a static libqb. -mkdir -p $OUT/lib -cp /lib/x86_64-linux-gnu/libqb* $OUT/lib -patchelf --set-rpath '$ORIGIN/lib' $OUT/fuzzer-uevent -patchelf --set-rpath '$ORIGIN/lib' $OUT/fuzzer-usb-descriptor -patchelf --set-rpath '$ORIGIN/lib' $OUT/fuzzer-rules diff --git a/projects/wget/build.sh b/projects/wget/build.sh index 6ba95d1c9..92b72783f 100755 --- a/projects/wget/build.sh +++ b/projects/wget/build.sh @@ -16,7 +16,7 @@ ################################################################################ export WGET_DEPS_PATH=$SRC/wget_deps -export PKG_CONFIG_PATH=$WGET_DEPS_PATH/lib64/pkgconfig:$WGET_DEPS_PATH/lib/pkgconfig +export PKG_CONFIG_PATH=$WGET_DEPS_PATH/lib/pkgconfig export CPPFLAGS="-I$WGET_DEPS_PATH/include" export LDFLAGS="-L$WGET_DEPS_PATH/lib" export GNULIB_SRCDIR=$SRC/gnulib diff --git a/projects/wget2/build.sh b/projects/wget2/build.sh index 6a8ac6f63..3ad4e04bd 100755 --- a/projects/wget2/build.sh +++ b/projects/wget2/build.sh @@ -16,7 +16,7 @@ ################################################################################ export WGET2_DEPS_PATH=$SRC/wget2_deps -export PKG_CONFIG_PATH=$WGET2_DEPS_PATH/lib64/pkgconfig:$WGET2_DEPS_PATH/lib/pkgconfig +export PKG_CONFIG_PATH=$WGET2_DEPS_PATH/lib/pkgconfig export CPPFLAGS="-I$WGET2_DEPS_PATH/include" export LDFLAGS="-L$WGET2_DEPS_PATH/lib" export GNULIB_SRCDIR=$SRC/gnulib diff --git a/projects/xpdf/Dockerfile b/projects/xpdf/Dockerfile index 5c43ae74a..a3090f06b 100755 --- a/projects/xpdf/Dockerfile +++ b/projects/xpdf/Dockerfile @@ -15,7 +15,7 @@ ################################################################################ FROM gcr.io/oss-fuzz-base/base-builder -RUN apt-get update && apt-get install software-properties-common -y && apt-get update && apt-add-repository ppa:rock-core/qt4 && apt-get install -y make wget cmake libqt4-dev +RUN apt-get update && apt-get install -y make wget cmake libqt4-dev RUN wget --no-check-certificate https://dl.xpdfreader.com/xpdf-latest.tar.gz WORKDIR $SRC