From: Arturo Borrero Gonzalez Date: Sun, 30 Mar 2025 10:03:02 +0000 (+0200) Subject: Patch to make the suricata build reproducible This patch makes some changes to the... X-Git-Tag: archive/raspbian/1%6.0.1-3+rpi1+deb11u1^2~21 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=34a868706e4b5b14b29ad9e8a3cc28a9bcdfeb9a;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 ed44907a..b5b87af2 100644 --- a/configure.ac +++ b/configure.ac @@ -2873,7 +2873,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 "