Files
packages/utils/unzip/patches/0010-unix.c-Remove-build-date.patch
Florian Eckert f9e7e2db94 unzip: add valid patche headers and missing CVE informations
This commit adds a valid git patch header for each patch, so that
additional information can be stored. This is in this case and 'CVE:' tag.
This can be used by CVE scanner to find out if the patch fixes a CVE.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
2025-09-08 09:23:42 +02:00

29 lines
688 B
Diff

From 634103b6311206b8206ef15b076b21fd32fd495f Mon Sep 17 00:00:00 2001
From: OpenWrt community <openwrt-devel@lists.openwrt.org>
Date: Mon, 30 Oct 2023 14:54:43 +0100
Subject: [PATCH] unix.c: Remove build date
In order to make unzip build reproducibly, we remove the (already optional)
build date from the binary.
Bug-Debian: https://bugs.debian.org/782851
---
unix/unix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/unix/unix.c b/unix/unix.c
index efa97fc..816e3da 100644
--- a/unix/unix.c
+++ b/unix/unix.c
@@ -1705,7 +1705,7 @@ void version(__G)
#endif /* Sun */
#endif /* SGI */
-#ifdef __DATE__
+#if 0
" on ", __DATE__
#else
"", ""
--