From e95473dc18a490cf632fb93f25439f794ff78d65 Mon Sep 17 00:00:00 2001
From: Toys0125 <marcus.g.stange@gmail.com>
Date: Wed, 17 Apr 2024 13:49:16 -0500
Subject: [PATCH] OpenVas-Scanner Adding information on missing package

When I went over the documentation, I had the issue of missing Libcurl when trying to build from cmake. According to the online documentation, Ubuntu doesn't have a direct libcurl-dev package, and using libcurl4-openssl-dev fixes the issue.
---
 src/22.4/source-build/openvas-scanner/build.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/22.4/source-build/openvas-scanner/build.md b/src/22.4/source-build/openvas-scanner/build.md
index edd1aac4..07d947e4 100644
--- a/src/22.4/source-build/openvas-scanner/build.md
+++ b/src/22.4/source-build/openvas-scanner/build.md
@@ -14,6 +14,9 @@ cmake $SOURCE_DIR/openvas-scanner-$OPENVAS_SCANNER_VERSION \
 
 make -j$(nproc)
 ```
+```{warning}
+If missing libcurl error in Ubuntu install libcurl4-openssl-dev `sudo apt install -y libcurl4-openssl-dev`
+```
 
 ```{code-block}
 :caption: Installing openvas-scanner