[Debian-ha-commits] [resource-agents] 02/03: debian/patches: make the package build reproducible
Valentin Vidic
vvidic-guest at moszumanska.debian.org
Tue Aug 22 18:20:10 UTC 2017
This is an automated email from the git hooks/post-receive script.
vvidic-guest pushed a commit to branch master
in repository resource-agents.
commit 952b76093ca26fafcac2321163b36700aa74f8ea
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date: Tue Aug 22 18:17:15 2017 +0200
debian/patches: make the package build reproducible
---
debian/patches/reproducible.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 20 insertions(+)
diff --git a/debian/patches/reproducible.patch b/debian/patches/reproducible.patch
new file mode 100644
index 0000000..c7b0c96
--- /dev/null
+++ b/debian/patches/reproducible.patch
@@ -0,0 +1,19 @@
+Description: Try to make the package build reproducible
+ Some compile options cause the build to be unreproducible:
+ -ggdb3: debug info and Build ID in the binaries change
+Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
+Forwarded: not-needed
+Last-Update: 2017-08-22
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/configure.ac
++++ b/configure.ac
+@@ -758,7 +758,7 @@
+ CFLAGS="$CFLAGS -g"
+ enable_fatal_warnings=no
+ else
+- CFLAGS="$CFLAGS -ggdb3"
++ CFLAGS="$CFLAGS -ggdb2"
+
+ # We had to eliminate -Wnested-externs because of libtool changes
+ # Also remove -Waggregate-return because we use one libnet
diff --git a/debian/patches/series b/debian/patches/series
index feaf3c6..a8091a8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -6,3 +6,4 @@ ocft-configs.patch
pgsql-9.6
xen-toolstack.patch
gitignore.patch
+reproducible.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/resource-agents.git
More information about the Debian-HA-Commits
mailing list