tawasuyu

sergio/takana

> Una distribución Linux construida con un laboratorio funcional y hermético en el > sótano, y una terminal mutable, clásica y anárquica en el piso de arriba — diseñada > desde el suelo para que una IA programadora entienda, modifique y co…

⎇ main recipes/0020-avoid-regenerating-defsincdate-use-shipped-file.patch 41 siq'ikuna · 1.7 KB Ñawpa willay ch'uya

base-system-3: promover cadena crypto + libusb/usbutils + gnupg (índice 743) ecf05e1b9 · sergio ·

1From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
2Date: Mon, 29 Aug 2016 12:34:42 -0400
3Subject: avoid regenerating defsincdate (use shipped file)
4
5upstream ships doc/defsincdate in its tarballs.  but doc/Makefile.am
6tries to rewrite doc/defsincdate if it notices that any of the files
7have been modified more recently, and it does so assuming that we're
8running from a git repo.
9
10However, we'd rather ship the documents cleanly without regenerating
11defsincdate -- we don't have a git repo available (debian builds from
12upstream tarballs) and any changes to the texinfo files (e.g. from
13debian/patches/) might result in different dates on the files than we
14expect after they're applied by dpkg or quilt or whatever, which makes
15the datestamp unreproducible.
16---
17 doc/Makefile.am | 9 ---------
18 1 file changed, 9 deletions(-)
19
20Patch-Source: https://sources.debian.org/data/main/g/gnupg2/2.2.27-2/debian/patches/debian-packaging/avoid-regenerating-defsincdate-use-shipped-file.patch
21
22diff --git a/doc/Makefile.am b/doc/Makefile.am
23index 2b882c3..6be571b 100644
24--- a/doc/Makefile.am
25+++ b/doc/Makefile.am
26@@ -178,15 +178,6 @@ $(myman_pages) gnupg.7 : yat2m-stamp defs.inc
27 
28 dist-hook: defsincdate
29 
30-defsincdate: $(gnupg_TEXINFOS)
31-	: >defsincdate ; \
32-	if test -e $(top_srcdir)/.git; then \
33-	  (cd $(srcdir) && git log -1 --format='%ct' \
34-               -- $(gnupg_TEXINFOS) 2>/dev/null) >>defsincdate; \
35-        elif test x"$$SOURCE_DATE_EPOCH" != x; then   \
36-	   echo "$$SOURCE_DATE_EPOCH" >>defsincdate ; \
37-	fi
38-
39 defs.inc : defsincdate Makefile mkdefsinc
40 	incd="`test -f defsincdate || echo '$(srcdir)/'`defsincdate"; \
41 	./mkdefsinc -C $(srcdir) --date "`cat $$incd 2>/dev/null`" \