restund: remove build timestamp

Build timestamps prevent reproducible builds [0].

[0] https://reproducible-builds.org/docs/timestamps/

Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
This commit is contained in:
Alexander Couzens 2017-12-05 23:13:54 +01:00
parent c9e3dd5718
commit da9513fa76
No known key found for this signature in database
GPG key ID: C29E9DA6A0DF8604
2 changed files with 13 additions and 1 deletions

View file

@ -10,7 +10,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=restund
PKG_VERSION:=0.4.12
PKG_RELEASE:=2
PKG_RELEASE:=3
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://www.creytiv.com/pub

View file

@ -0,0 +1,12 @@
--- a/modules/status/status.c
+++ b/modules/status/status.c
@@ -30,9 +30,6 @@ static void server_info(struct mbuf *mb)
mbuf_write_str(mb, "<table>\n");
mbuf_write_str(mb,
" <tr><td>Version:</td><td>" VERSION "</td></tr>\n");
- mbuf_write_str(mb,
- " <tr><td>Built:</td><td>" __DATE__ " " __TIME__
- "</td></tr>\n");
mbuf_printf(mb, " <tr><td>Uptime:</td><td>%H</td></tr>\n",
fmt_human_time, &uptime);
mbuf_write_str(mb, "</table>\n");