From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id OEMzEBOqDWbmgAEAe85BDQ:P1 (envelope-from ) for ; Wed, 03 Apr 2024 21:12:19 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id OEMzEBOqDWbmgAEAe85BDQ (envelope-from ) for ; Wed, 03 Apr 2024 21:12:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JGdKIjbR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712171539; a=rsa-sha256; cv=none; b=QxyetaiysEt8sFy4m0Jf87ByXqmPcBiybvdxyfLTDv3njjTAQoVQs8QunJ6flOI1AvPb+h 7pxiY/ofX6vp0NnVTUjcV4zHYhvvBR4RR5J6UBXCG/IEBs2wngN/8gWSggcohKq/JJAfhB gum+fgTVvvgwqiSy3z4bgg3+BiBuXAEEmwb0CSsNXx/Gqcm2Z2hGMW22Aan99Iwtm0CvEL uxAka79CZTEB7CKFOy7TvZiNoxn24qB3fzA5rIk04n3vgv4EIF/N5Zfnv+kl707TaIt45X zwgFCR+833TqTrMkjS5ahMmAfaQgE7wqOVm+Pic53TdcEfJjsYTE2RDHlW2W7Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b=JGdKIjbR; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712171539; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=HP9yacvC/vG8x6eHapwUJBqUkydEWlJa7qyhvBptK1M=; b=mbeGxm88qvjF71XX2QCJUFn73LcgfwGpcEVaGOWTecMqEr3+3ovWvC8V2bfuuSI7Cb9T39 OIVDVBd/18cRva95h08b3H6ghNWeU6f5kTZC4GBwynIzq+CEH0H7uPVfyooFja4QOSOUPQ hRbrBvJ28KDnUaWzn1zd7H5g+zow4lcaznRtwbCbXhsHvh9KZUmFDhDW7/g0LsK5Kh0jsH h8d8P5VH56GCK48bSPivfNahGYKllYEIi/5SeRc2lXRCyBT6ez0AKGSaqreEL+GclMpsZA VQQUBhNwaswhsy2AGQF91vMZIqogSM8KClYBEfPifSDoavRlkoR1/8USiuCTsA== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BA84C6B40C for ; Wed, 3 Apr 2024 21:12:18 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rs61h-0007dt-QI; Wed, 03 Apr 2024 15:12:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rs61g-0007dT-97 for guix-patches@gnu.org; Wed, 03 Apr 2024 15:12:00 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rs61g-0001b2-0Q for guix-patches@gnu.org; Wed, 03 Apr 2024 15:12:00 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rs61k-0001uH-GH for guix-patches@gnu.org; Wed, 03 Apr 2024 15:12:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70169] [PATCH 2/7] maint: Use reproducible timestamps and name for tarball. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Apr 2024 19:12:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 70169 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 70169@debbugs.gnu.org Received: via spool by 70169-submit@debbugs.gnu.org id=B70169.17121715107180 (code B ref 70169); Wed, 03 Apr 2024 19:12:04 +0000 Received: (at 70169) by debbugs.gnu.org; 3 Apr 2024 19:11:50 +0000 Received: from localhost ([127.0.0.1]:59661 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs61W-0001rj-05 for submit@debbugs.gnu.org; Wed, 03 Apr 2024 15:11:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49266) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rs61S-0001qJ-Ao for 70169@debbugs.gnu.org; Wed, 03 Apr 2024 15:11:47 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rs61I-0000xb-GH; Wed, 03 Apr 2024 15:11:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Date:Subject:To: From; bh=HP9yacvC/vG8x6eHapwUJBqUkydEWlJa7qyhvBptK1M=; b=JGdKIjbRTe8Yq/HZD2yW 6tK7rdma8j4NfrH9Nf4mpeXJ0B+7ORAphnx1Bo1YeVrlf/ueEsxzW7T8RqeWby9KQwNLehWe9rZgI PWy8hUs8HNV03Xixfs9/QL96qjUfvkJw+nh6xS4QhX3z007buv/Z1c4awZfkS8iPwz4iw1SyiMbyl Rq2FBkjEnH5bs8nZGtZFHhKON+TSNZbNJyWfRL3vQIF6jlAWglEqorxhbt0ehcAKPtpx9IRmTvK/u uu+KpqQPS88Ma95cq+DwSJTqi1D2BEuSMd9R1DPTuLNRNBPG/FFdG6r8EVf8nDT3sQHF+pjBzCx8F akSZ43EhNLoSaw==; From: Janneke Nieuwenhuizen Date: Wed, 3 Apr 2024 21:11:04 +0200 Message-ID: <05e6677d56a3a23ae8526cc56c14c7de33a8254a.1712165977.git.janneke@gnu.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: -6.06 X-Migadu-Queue-Id: BA84C6B40C X-Migadu-Spam-Score: -6.06 X-Migadu-Scanner: mx10.migadu.com X-TUID: LFtjLiLjZjEw * Makefile.am (gen-tarball-version): Add reproducible timestamp to tarball. (am__tar): Use it in new variable, overriding the Automake default. (GZIP_ENV): New variable, overriding the Automake default. Change-Id: Iea5c2f80eaf24b2f2d80e651c73c348231de8d63 --- Makefile.am | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2b5e145095..c33d69ed9f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,7 +7,7 @@ # Copyright © 2017 Mathieu Othacehe # Copyright © 2017 Leo Famulari # Copyright © 2017 Ricardo Wurmus -# Copyright © 2017, 2020, 2023 Janneke Nieuwenhuizen +# Copyright © 2017, 2020, 2023, 2024 Janneke Nieuwenhuizen # Copyright © 2017 Arun Isaac # Copyright © 2018 Nikita # Copyright © 2018 Julien Lepiller @@ -970,6 +970,7 @@ $(top_srcdir)/.version: config.status gen-tarball-version: echo $(VERSION) > "$(distdir)/.tarball-version" + git show HEAD --format=%ct --no-patch > $(distdir)/.tarball-timestamp gen-ChangeLog: $(AM_V_GEN)if test -e .git; then \ @@ -1002,6 +1003,17 @@ dist-with-updated-version: # Release management. # +# Reproducible tarball +GZIP_ENV = --no-name +# Be friendly to Debian; avoid using EPOCH +am__tar = $${TAR-tar} \ + --sort=name \ + --mode=go=rX,u+rw,a-s \ + --mtime=@$$(cat "$$tardir"/.tarball-timestamp) \ + --owner=0 --group=0 --numeric-owner \ + -cf - \ + "$$tardir" + releasedir = release-$(PACKAGE_VERSION) PACKAGE_FULL_TARNAME = $(PACKAGE_TARNAME)-$(PACKAGE_VERSION) -- 2.41.0