From: Arturo Borrero Gonzalez Date: Tue, 31 Jan 2023 13:34:17 +0000 (+0000) Subject: Patch to make the suricata build reproducible This patch makes some changes to the... X-Git-Tag: archive/raspbian/1%6.0.10-1+rpi1^2~11 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=c295e0d571de16670338421b1b6a702b789cd466;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 13b2d4a8..0f25e654 100644 --- a/configure.ac +++ b/configure.ac @@ -2894,7 +2894,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 "