aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/suricata
diff options
context:
space:
mode:
Diffstat (limited to 'projects/suricata')
-rw-r--r--projects/suricata/Dockerfile2
-rwxr-xr-xprojects/suricata/build.sh2
2 files changed, 3 insertions, 1 deletions
diff --git a/projects/suricata/Dockerfile b/projects/suricata/Dockerfile
index e4486b94..40352073 100644
--- a/projects/suricata/Dockerfile
+++ b/projects/suricata/Dockerfile
@@ -28,7 +28,7 @@ ADD https://rules.emergingthreats.net/open/suricata/emerging.rules.zip emerging.
RUN cargo install --force cbindgen
RUN git clone --depth 1 https://github.com/OISF/suricata.git suricata
-RUN git clone --depth 1 https://github.com/OISF/libhtp.git suricata/libhtp
+RUN git clone --depth 1 https://github.com/OISF/libhtp.git libhtp
RUN git clone --depth 1 https://github.com/OISF/suricata-verify suricata-verify
WORKDIR $SRC
COPY build.sh $SRC/
diff --git a/projects/suricata/build.sh b/projects/suricata/build.sh
index d569ed0b..d0e152d8 100755
--- a/projects/suricata/build.sh
+++ b/projects/suricata/build.sh
@@ -46,6 +46,8 @@ cd ..
export CARGO_BUILD_TARGET="x86_64-unknown-linux-gnu"
+#we did not put libhtp there before so that cifuzz does not remove it
+mv libhtp suricata/
# build project
cd suricata
sh autogen.sh