bind9: Add libcap-dev as it is mandatory on Linux now (#8949)

Signed-off-by: Ondřej Surý <ondrej@sury.org>
This commit is contained in:
Ondřej Surý 2022-12-07 21:30:38 +01:00 committed by GitHub
parent 296a0fc7b6
commit 6e9d0defcf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -23,6 +23,7 @@ RUN apt-get -y install \
autotools-dev \
bison \
build-essential \
libcap-dev \
libnghttp2-dev \
libssl-dev \
libtool \

View File

@ -17,7 +17,7 @@
# build the project
autoreconf -fi
./configure --disable-shared --enable-static --enable-developer --without-cmocka --without-zlib --disable-linux-caps --prefix="$WORK" --enable-fuzzing=ossfuzz
./configure --disable-shared --enable-static --enable-developer --without-cmocka --without-zlib --prefix="$WORK" --enable-fuzzing=ossfuzz
(cd lib/isc && make -j"$(nproc)" all V=1)
(cd lib/dns && make -j"$(nproc)" all V=1)
@ -26,9 +26,13 @@ LIBDNS_CFLAGS="-Ilib/dns/include"
LIBISC_LIBS="lib/isc/.libs/libisc.a -Wl,-Bstatic -lssl -lcrypto -luv -lnghttp2 -Wl,-Bdynamic"
LIBDNS_LIBS="lib/dns/.libs/libdns.a -Wl,-Bstatic -lcrypto -Wl,-Bdynamic"
# dns_name_fromwire needs old.c/old.h code to be linked in
sed -i 's/#include "old.h"/#include "old.c"/' fuzz/dns_name_fromwire.c
for fuzzer in fuzz/*.c; do
output=$(basename "${fuzzer%.c}")
[ "$output" = "main" ] && continue
[ "$output" = "old" ] && continue
# We need to try little bit harder to link everything statically
(cd fuzz && make -j"$(nproc)" "${output}.o" V=1)
${CXX} ${CXXFLAGS} \

View File

@ -13,7 +13,5 @@ auto_ccs:
- "pspacek@isc.org"
sanitizers:
- address
- memory:
experimental: True
- undefined
main_repo: 'https://gitlab.isc.org/isc-projects/bind9.git'