Skip to content

Commit

Permalink
Merge pull request #856 from greenbone/disable-openvasd-in-oldstable
Browse files Browse the repository at this point in the history
Change: Disable build of openvasd for oldstable
  • Loading branch information
mattmundell authored Dec 5, 2024
2 parents eeea93c + 119ce70 commit 5b8b543
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .docker/prod-oldstable.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN apt-get update && \
libcgreen1-dev \
lcov \
&& rm -rf /var/lib/apt/lists/*
RUN cmake -DCMAKE_BUILD_TYPE=Release -B/build /source
RUN cmake -DCMAKE_BUILD_TYPE=Release -DOPENVASD=0 -B/build /source
RUN DESTDIR=/install cmake --build /build -- install

FROM debian:oldstable-slim
Expand Down
6 changes: 5 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ endif (NOT CMAKE_BUILD_TYPE)
OPTION(BUILD_STATIC "Build static versions of the libraries" OFF)
OPTION(ENABLE_COVERAGE "Enable support for coverage analysis" OFF)
OPTION(BUILD_TESTS "Build tests for the libraries" OFF)
OPTION(OPENVASD "Build openvasd library" ON)

if (NOT BUILD_STATIC)
set (BUILD_SHARED ON)
Expand Down Expand Up @@ -258,9 +259,12 @@ if (NOT SKIP_SRC)
add_subdirectory (base)
add_subdirectory (boreas)
add_subdirectory (util)
add_subdirectory (openvasd)
add_subdirectory (osp)
add_subdirectory (gmp)

if (OPENVASD)
add_subdirectory (openvasd)
endif (OPENVASD)
endif (NOT SKIP_SRC)

## Documentation
Expand Down

0 comments on commit 5b8b543

Please sign in to comment.