From: Arturo Borrero Gonzalez Date: Sat, 15 Mar 2025 13:37:24 +0000 (+0100) Subject: Patch to make the suricata build reproducible This patch makes some changes to the... X-Git-Tag: archive/raspbian/1%7.0.8-2+rpi1^2~10 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ef6b0adfddf210bcee318f9bd7537a11935f607f;p=suricata.git 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 --- diff --git a/configure.ac b/configure.ac index 0b7ca961..fa0d129c 100644 --- a/configure.ac +++ b/configure.ac @@ -2738,7 +2738,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 "