[sr-dev] git:4.3:fb2af610: kex: support VERSION_NODATE and VERSION_DATE for reproducible builds

Daniel-Constantin Mierla miconda at gmail.com
Wed Jul 29 12:17:11 CEST 2015

Module: kamailio
Branch: 4.3
Commit: fb2af6107a9c6cd3552fe0a95c699c30e4edad4c
URL: https://github.com/kamailio/kamailio/commit/fb2af6107a9c6cd3552fe0a95c699c30e4edad4c

Author: Victor Seva <linuxmaniac at torreviejawireless.org>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-07-29T12:08:42+02:00

kex: support VERSION_NODATE and VERSION_DATE for reproducible builds

support added e03d1279f49709e0d320478fa1ff7c27161c30ed

Related: #60
(cherry picked from commit 8f1fbd7b17440b1b7d87cbee5793ae9b1adebf90)


Modified: modules/kex/mi_core.c


Diff:  https://github.com/kamailio/kamailio/commit/fb2af6107a9c6cd3552fe0a95c699c30e4edad4c.diff
Patch: https://github.com/kamailio/kamailio/commit/fb2af6107a9c6cd3552fe0a95c699c30e4edad4c.patch


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"
+#define BUILD_STR __FILE__ " compiled with " COMPILER "\n"
+#define BUILD_STR __FILE__ " compiled on " VERSION_DATE " with " COMPILER "\n"
 #define BUILD_STR __FILE__ " compiled on "__TIME__ " " __DATE__ " with " COMPILER "\n"
 #define BUILD_STR_LEN (sizeof(BUILD_STR)-1)

More information about the sr-dev mailing list