Browse Source

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 <lynxis@fe80.eu>
lilik-openwrt-22.03
Alexander Couzens 7 years ago
parent
commit
89e40113f6
No known key found for this signature in database GPG Key ID: C29E9DA6A0DF8604
2 changed files with 13 additions and 1 deletions
  1. +1
    -1
      net/uanytun/Makefile
  2. +12
    -0
      net/uanytun/patches/100-reproducible-builds.patch

+ 1
- 1
net/uanytun/Makefile View File

@ -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/


+ 12
- 0
net/uanytun/patches/100-reproducible-builds.patch View File

@ -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)

Loading…
Cancel
Save