[Pkg-voip-commits] [kamailio] 04/07: upstream patch supporting repoducible builds

Victor Seva Lopez maniac-guest at moszumanska.debian.org
Tue Aug 11 14:52:13 UTC 2015


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

maniac-guest pushed a commit to branch master
in repository kamailio.

commit 60a7dd9243772faef8daa68b476c77fd518e87d3
Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Date:   Mon Jul 20 20:50:58 2015 +0200

    upstream patch supporting repoducible builds
---
 debian/patches/series                              |  1 +
 ...-VERSION_NODATE-and-VERSION_DATE-for-repr.patch | 36 ++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/debian/patches/series b/debian/patches/series
index 4c0ffd7..680e08b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+upstream/0001-kex-support-VERSION_NODATE-and-VERSION_DATE-for-repr.patch
 no_lib64_on_64_bits.patch
 no_INSTALL_file.patch
 fix_export.patch
diff --git a/debian/patches/upstream/0001-kex-support-VERSION_NODATE-and-VERSION_DATE-for-repr.patch b/debian/patches/upstream/0001-kex-support-VERSION_NODATE-and-VERSION_DATE-for-repr.patch
new file mode 100644
index 0000000..bccfec0
--- /dev/null
+++ b/debian/patches/upstream/0001-kex-support-VERSION_NODATE-and-VERSION_DATE-for-repr.patch
@@ -0,0 +1,36 @@
+From 8f1fbd7b17440b1b7d87cbee5793ae9b1adebf90 Mon Sep 17 00:00:00 2001
+From: Victor Seva <linuxmaniac at torreviejawireless.org>
+Date: Mon, 20 Jul 2015 19:38:32 +0200
+Subject: [PATCH] kex: support VERSION_NODATE and VERSION_DATE for reproducible
+ builds
+
+support added e03d1279f49709e0d320478fa1ff7c27161c30ed
+
+Related: #60
+---
+ modules/kex/mi_core.c | 8 ++++++++
+ 1 file changed, 8 insertions(+)
+
+diff --git a/modules/kex/mi_core.c b/modules/kex/mi_core.c
+index 9174809..9a1dcc8 100644
+--- a/modules/kex/mi_core.c
++++ b/modules/kex/mi_core.c
+@@ -51,7 +51,15 @@
+ #include "../../cfg/cfg.h"
+ #include "../../cfg/cfg_ctx.h"
+ 
++#ifdef VERSION_NODATE
++#define BUILD_STR __FILE__ " compiled with " COMPILER "\n"
++#else
++#ifdef VERSION_DATE
++#define BUILD_STR __FILE__ " compiled on " VERSION_DATE " with " COMPILER "\n"
++#else
+ #define BUILD_STR __FILE__ " compiled on "__TIME__ " " __DATE__ " with " COMPILER "\n"
++#endif
++#endif
+ #define BUILD_STR_LEN (sizeof(BUILD_STR)-1)
+ 
+ #ifndef SVNREVISION
+-- 
+2.1.4
+

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



More information about the Pkg-voip-commits mailing list