mirror of https://github.com/google/oss-fuzz.git
Use latest developements for ntp project (#2787)
This commit is contained in:
parent
a1a80dd3c4
commit
b889b43350
|
@ -17,9 +17,11 @@
|
||||||
FROM gcr.io/oss-fuzz-base/base-builder
|
FROM gcr.io/oss-fuzz-base/base-builder
|
||||||
MAINTAINER security@ntp.org
|
MAINTAINER security@ntp.org
|
||||||
RUN apt-get update && apt-get install -y make autoconf automake libtool bison flex rsync lynx
|
RUN apt-get update && apt-get install -y make autoconf automake libtool bison flex rsync lynx
|
||||||
#TODO use bitkeeper repo from http://bk.ntp.org
|
ADD https://www.bitkeeper.org/downloads/7.3.3/bk-7.3.3-x86_64-glibc213-linux.bin bk-7.3.3-x86_64-glibc213-linux.bin
|
||||||
#or wait for update of RUN rsync -a archive.ntp.org::ntp-dev-src ntp-dev-src
|
RUN chmod +x bk-7.3.3-x86_64-glibc213-linux.bin
|
||||||
ADD http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ntp-dev-4.3.99.tar.gz ntp-dev.tar.gz
|
RUN ./bk-7.3.3-x86_64-glibc213-linux.bin /usr/local/bitkeeper
|
||||||
|
RUN ln -s /usr/local/bitkeeper/bk /usr/local/bin/bk
|
||||||
|
RUN bk clone http://bk.ntp.org/ntp-dev
|
||||||
WORKDIR $SRC
|
WORKDIR $SRC
|
||||||
COPY build.sh $SRC/
|
COPY build.sh $SRC/
|
||||||
COPY patch.diff $SRC/
|
COPY patch.diff $SRC/
|
||||||
|
|
|
@ -15,8 +15,7 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
tar -xvf ntp-dev.tar.gz
|
cd ntp-dev
|
||||||
cd ntp-dev-4.3.99
|
|
||||||
git apply ../patch.diff
|
git apply ../patch.diff
|
||||||
#avoids https://bugs.llvm.org/show_bug.cgi?id=34636
|
#avoids https://bugs.llvm.org/show_bug.cgi?id=34636
|
||||||
cp /usr/bin/ld.gold /usr/bin/ld
|
cp /usr/bin/ld.gold /usr/bin/ld
|
||||||
|
|
Loading…
Reference in New Issue