From 1d04c219db159a84737a33678d4b6abe6239ed22 Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Tue, 2 Feb 2021 22:33:59 -0800 Subject: [PATCH] alpine: try to make reproducible Signed-off-by: Rosen Penev --- mail/alpine/Makefile | 2 +- mail/alpine/patches/020-reproducible.patch | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 mail/alpine/patches/020-reproducible.patch diff --git a/mail/alpine/Makefile b/mail/alpine/Makefile index 909e659c26..6d6cbeccb4 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 0000000000..97efdd512c --- /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); -- 2.30.2