mirror of https://github.com/google/oss-fuzz.git
[ntp] Uses fresh sources for ntp project (#2774)
This commit is contained in:
parent
b2c715031d
commit
03ae506c15
|
@ -16,8 +16,9 @@
|
|||
|
||||
FROM gcr.io/oss-fuzz-base/base-builder
|
||||
MAINTAINER security@ntp.org
|
||||
RUN apt-get update && apt-get install -y make autoconf automake libtool bison flex
|
||||
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
|
||||
#or wait for update of RUN rsync -a archive.ntp.org::ntp-dev-src ntp-dev-src
|
||||
ADD http://www.eecis.udel.edu/~ntp/ntp_spool/ntp4/ntp-dev/ntp-dev-4.3.99.tar.gz ntp-dev.tar.gz
|
||||
WORKDIR $SRC
|
||||
COPY build.sh $SRC/
|
||||
|
|
|
@ -18,7 +18,9 @@
|
|||
tar -xvf ntp-dev.tar.gz
|
||||
cd ntp-dev-4.3.99
|
||||
git apply ../patch.diff
|
||||
autoreconf -i
|
||||
#avoids https://bugs.llvm.org/show_bug.cgi?id=34636
|
||||
cp /usr/bin/ld.gold /usr/bin/ld
|
||||
./bootstrap
|
||||
./configure --enable-fuzztargets
|
||||
make
|
||||
cp tests/fuzz/fuzz_ntpd_receive $OUT/
|
||||
|
|
Loading…
Reference in New Issue