1 From deb013d93c3ce78891386637d6b3300289130df6 Mon Sep 17 00:00:00 2001
2 From: Thomas Preud'homme <robotux@celest.fr>
3 Date: Sun, 7 Aug 2016 22:28:50 +0100
4 Subject: Make build reproducible
6 Remove build date from the binary so that two builds on different dates
9 Origin: upstream, https://github.com/hugosantos/mrd6/commit/14f27d5528a3e4c8e5369bdee0e35961a2491661
10 Forwarded: https://github.com/hugosantos/mrd6/pull/30
11 Last-Update: 2016-08-09
12 Applied-Upstream: commit: 14f27d5528a3e4c8e5369bdee0e35961a2491661
16 2 files changed, 3 deletions(-)
20 @@ -185,7 +185,6 @@ endif
21 $(MRD_VERSION_CPP): $(SOURCES) Makefile Makefile.options
22 @set -e; mkdir -p $(dir $@); \
23 echo '/* This file is automatically generated */' > $(MRD_VERSION_CPP); \
24 - echo 'const char *BuildDate = "$(NOW)";' >> $(MRD_VERSION_CPP)
26 $(MODULES_CPP): Makefile Makefile.options
27 @set -e; mkdir -p $(dir $@); \
34 -extern const char *BuildDate;
35 static const char *VersionInfo = "mrd6 0.10.0";
37 static const char *defaultconffiles[] = {
38 @@ -2335,7 +2334,6 @@ bool mrd::socket_regs(base_stream &out,
40 void mrd::show_base_info(base_stream &out) const {
41 out.xprintf("Version: %s\n", VersionInfo);
42 - out.xprintf("Build date: %s\n", BuildDate);
45 bool mrd::show_info(base_stream &out, const std::vector<std::string> &ctx) {