From 4131f9b5c0f5a8165ae0b4278107a971ffdd1a4b Mon Sep 17 00:00:00 2001 From: Arturo Borrero Gonzalez Date: Thu, 8 Feb 2024 23:22:40 +0100 Subject: [PATCH] Patch to make the suricata build reproducible This patch makes some changes to the suricata build to make it reproducible . Currently, it only filters out the -fdebug-prefix-map CFLAG which embeds the build path. Forwarded: not-needed Last-Update: 2016-09-05 Gbp-Pq: Name reproducible.patch --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4b2bb94a..94cc2b11 100644 --- a/configure.ac +++ b/configure.ac @@ -2699,7 +2699,8 @@ Generic build parameters: echo echo "$SURICATA_BUILD_CONF" echo "printf(" >src/build-info.h -echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' >>src/build-info.h +echo "$SURICATA_BUILD_CONF" | sed -e 's/^/"/' | sed -e 's/$/\\n"/' \ + | sed 's/-fdebug-prefix-map=.*=. //' >>src/build-info.h echo ");" >>src/build-info.h echo " -- 2.30.2