From da9513fa763a44b90f27fd15102c920daaa181f1 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Tue, 5 Dec 2017 23:13:54 +0100 Subject: [PATCH] restund: remove build timestamp Build timestamps prevent reproducible builds [0]. [0] https://reproducible-builds.org/docs/timestamps/ Signed-off-by: Alexander Couzens --- net/restund/Makefile | 2 +- net/restund/patches/100-reproducible-builds.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 net/restund/patches/100-reproducible-builds.patch diff --git a/net/restund/Makefile b/net/restund/Makefile index bceeded..d2518cd 100644 --- a/net/restund/Makefile +++ b/net/restund/Makefile @@ -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 diff --git a/net/restund/patches/100-reproducible-builds.patch b/net/restund/patches/100-reproducible-builds.patch new file mode 100644 index 0000000..6179de9 --- /dev/null +++ b/net/restund/patches/100-reproducible-builds.patch @@ -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, "\n"); + mbuf_write_str(mb, + " \n"); +- mbuf_write_str(mb, +- " \n"); + mbuf_printf(mb, " \n", + fmt_human_time, &uptime); + mbuf_write_str(mb, "
Version:" VERSION "
Built:" __DATE__ " " __TIME__ +- "
Uptime:%H
\n"); -- 2.30.2