From 89e40113f6e56f61163cbe7a702f5b8db389e916 Mon Sep 17 00:00:00 2001 From: Alexander Couzens Date: Wed, 6 Dec 2017 22:55:45 +0100 Subject: [PATCH] uanytun: remove build time/host to fix reproducible builds Build timestamps prevents reproducible builds [0]. [0] https://reproducible-builds.org/docs/timestamps/ Signed-off-by: Alexander Couzens --- net/uanytun/Makefile | 2 +- net/uanytun/patches/100-reproducible-builds.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 net/uanytun/patches/100-reproducible-builds.patch diff --git a/net/uanytun/Makefile b/net/uanytun/Makefile index ddce67cbf..ef7b3914d 100644 --- a/net/uanytun/Makefile +++ b/net/uanytun/Makefile @@ -13,7 +13,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=uanytun PKG_VERSION:=0.3.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.anytun.org/download/ diff --git a/net/uanytun/patches/100-reproducible-builds.patch b/net/uanytun/patches/100-reproducible-builds.patch new file mode 100644 index 000000000..a5aa864ae --- /dev/null +++ b/net/uanytun/patches/100-reproducible-builds.patch @@ -0,0 +1,12 @@ +Index: uanytun-0.3.5/src/options.c +=================================================================== +--- uanytun-0.3.5.orig/src/options.c ++++ uanytun-0.3.5/src/options.c +@@ -481,7 +481,6 @@ void options_print_usage() + void options_print_version() + { + printf("%s\n", VERSION_STRING_0); +- printf("%s\n", VERSION_STRING_1); + } + + void options_print(options_t* opt)