diff options
author | Rosen Penev <rosenp@gmail.com> | 2021-02-02 22:33:59 -0800 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2021-02-02 22:38:12 -0800 |
commit | 1d04c219db159a84737a33678d4b6abe6239ed22 (patch) | |
tree | 019a4037b19fde07537506cb0230330926bce4b8 | |
parent | 04c911aeb069cfb9d70e55d57d2695501828e251 (diff) |
alpine: try to make reproducible
Signed-off-by: Rosen Penev <rosenp@gmail.com>
-rw-r--r-- | mail/alpine/Makefile | 2 | ||||
-rw-r--r-- | mail/alpine/patches/020-reproducible.patch | 18 |
2 files changed, 19 insertions, 1 deletions
diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile index 909e659c2..6d6cbeccb 100644 --- a/mail/alpine/Makefile +++ b/mail/alpine/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=alpine PKG_VERSION:=2.24 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz PKG_SOURCE_URL:=http://alpine.x10host.com/alpine/release/src diff --git a/mail/alpine/patches/020-reproducible.patch b/mail/alpine/patches/020-reproducible.patch new file mode 100644 index 000000000..97efdd512 --- /dev/null +++ b/mail/alpine/patches/020-reproducible.patch @@ -0,0 +1,18 @@ +--- a/pico/blddate.c ++++ b/pico/blddate.c +@@ -28,6 +28,7 @@ main(argc, argv) + exit(1); + } + ++/* + time(<ime); + t = localtime(<ime); + fprintf(outfile,"char datestamp[]=\"%02d-%s-%d\";\n", t->tm_mday, +@@ -46,6 +47,7 @@ main(argc, argv) + 1900 + t->tm_year); + + fprintf(outfile, "char hoststamp[]=\"random-pc\";\n"); ++*/ + fprintf(outfile, "char configoptions[] = \"\";\n"); + + fclose(outfile); |