[Pkg-samba-maint] [samba] 08/08: Remove unreproducible build environment

Mathieu Parent sathieu at moszumanska.debian.org
Thu Apr 28 07:52:20 UTC 2016


This is an automated email from the git hooks/post-receive script.

sathieu pushed a commit to branch selftest
in repository samba.

commit 74df3603a1ccacf40d3ccd6779c9ee60d1141842
Author: Mathieu Parent <math.parent at gmail.com>
Date:   Thu Apr 28 09:35:59 2016 +0200

    Remove unreproducible build environment
---
 debian/patches/no_build_env.patch | 32 ++++++++++++++++++++++++++++++++
 debian/patches/series             |  1 +
 source3/script/build_env.sh       | 11 -----------
 3 files changed, 33 insertions(+), 11 deletions(-)

diff --git a/debian/patches/no_build_env.patch b/debian/patches/no_build_env.patch
new file mode 100644
index 0000000..1f53978
--- /dev/null
+++ b/debian/patches/no_build_env.patch
@@ -0,0 +1,32 @@
+From b387c7c7a0c935841c3b6446cc0685dfe611179b Mon Sep 17 00:00:00 2001
+From: Mathieu Parent <math.parent at gmail.com>
+Date: Thu, 28 Apr 2016 09:35:59 +0200
+Subject: [PATCH] Remove unreproducible build environment
+
+---
+ source3/script/build_env.sh | 11 -----------
+ 1 file changed, 11 deletions(-)
+
+diff --git a/source3/script/build_env.sh b/source3/script/build_env.sh
+index eb54f37..bdaa2c6 100755
+--- a/source3/script/build_env.sh
++++ b/source3/script/build_env.sh
+@@ -27,15 +27,4 @@ host=`hostname`
+ cat <<EOF
+ /* This file is automatically generated with "make include/build_env.h". DO NOT EDIT */
+ 
+-#ifndef _BUILD_ENV_H
+-#define _BUILD_ENV_H
+-
+-#define BUILD_ENV_UNAME "${uname}"
+-#define BUILD_ENV_DATE "${date}"
+-#define BUILD_ENV_SRCDIR "${srcdir}"
+-#define BUILD_ENV_BUILDDIR "${builddir}"
+-#define BUILD_ENV_USER "${whoami}"
+-#define BUILD_ENV_HOST "${host}"
+-#define BUILD_ENV_COMPILER "${compiler}"
+-#endif /* _BUILD_ENV_H */
+ EOF
+-- 
+2.8.0.rc3
+
diff --git a/debian/patches/series b/debian/patches/series
index a3779ac..1b49181 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,4 +13,5 @@ heimdal-rfc3454.txt
 Fix-privacy-breach-on-google.com.patch
 fix-cluster-build.diff
 ctdb-Fix-detection-of-gnukfreebsd.patch
+no_build_env.patch
 no_build_system.patch
diff --git a/source3/script/build_env.sh b/source3/script/build_env.sh
index eb54f37..bdaa2c6 100755
--- a/source3/script/build_env.sh
+++ b/source3/script/build_env.sh
@@ -27,15 +27,4 @@ host=`hostname`
 cat <<EOF
 /* This file is automatically generated with "make include/build_env.h". DO NOT EDIT */
 
-#ifndef _BUILD_ENV_H
-#define _BUILD_ENV_H
-
-#define BUILD_ENV_UNAME "${uname}"
-#define BUILD_ENV_DATE "${date}"
-#define BUILD_ENV_SRCDIR "${srcdir}"
-#define BUILD_ENV_BUILDDIR "${builddir}"
-#define BUILD_ENV_USER "${whoami}"
-#define BUILD_ENV_HOST "${host}"
-#define BUILD_ENV_COMPILER "${compiler}"
-#endif /* _BUILD_ENV_H */
 EOF

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-samba/samba.git




More information about the Pkg-samba-maint mailing list