From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 MKHmEOM7FGb4WwAAqHPOHw:P1 (envelope-from ) for ; Mon, 08 Apr 2024 20:48:03 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id MKHmEOM7FGb4WwAAqHPOHw (envelope-from ) for ; Mon, 08 Apr 2024 20:48:03 +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=KDBtVwBU; 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=1712602083; a=rsa-sha256; cv=none; b=fhPzV3Zedq8nAlF0r75cEepPrMCoHEonHvVk8oFv7mHySkAopUATTKbmfhVHN6V+f5Ovuk PKraxLRwCuQL82C0wfu8Pi9pA8LywXtU4RUM/Ik7rrRceNV4gOdTO/LeHNOdbPc5VEKdtm uzy9+50ulRipti2Mlyt3T2GHlwYrayiDOJfkqV/ws6wr//PftBsYH5LnwjOs/0g+P4Z9xj OzsqyxaCU7yAebwEu0fe/g+bppIPyOPx97pj0NqNibqLa+W6DDanBuFCsj/MxGIHhyKnPr 8wVJvuYKlTx7Z0aCgkYSoBf88oTofoWTM63+Nnl6BxywViPED4zp9ABM+krh2Q== 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=KDBtVwBU; 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=1712602083; 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=6PcbzI8Tvzh+9t6jWSV4bp1geKrDMl7v8LvWcHhZagE=; b=HcurmLosPRhvplP4j9W7B1bW/UUvX1yLxiJfZtxghyRxfv5ACj5djPqv3owOKUHL87RYgN G2uN4w7wVSE+N4IM90AqXSxPV5PAdBeDsxzHSN+mdRhzZuLm+9xCry5IyccVJdyMc0YLZh pY4DEArfG1rvCfcjF80l6AEq8PE9hM/+j/M+0edspm4Qn5Zp7OHwxIPhrXfNN/8pKLNh1E BalZMXyIWS0zNj8Q+j+Q86HgsaMHJuiwlLIzw4DDPXcdLc0oT5lc4CA58K3A7r/fUbHYQT kTT2ze9egnyVqNCTNgCOWxzkGhMBva4bMvAxAlz7zMrk1nhUVpwHZ6l5cSx7dA== 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 086FF2508A for ; Mon, 8 Apr 2024 20:48:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rtu29-00042x-Q8; Mon, 08 Apr 2024 14:47:57 -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 1rtu28-00042N-BF for guix-patches@gnu.org; Mon, 08 Apr 2024 14:47:56 -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 1rtu28-00056A-2x for guix-patches@gnu.org; Mon, 08 Apr 2024 14:47:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rtu2F-0005Wh-K7 for guix-patches@gnu.org; Mon, 08 Apr 2024 14:48:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#70169] [PATCH v3 03/13] maint: Use reproducible timestamps and name for tarball. Resent-From: Janneke Nieuwenhuizen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 08 Apr 2024 18:48:03 +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.171260205420925 (code B ref 70169); Mon, 08 Apr 2024 18:48:03 +0000 Received: (at 70169) by debbugs.gnu.org; 8 Apr 2024 18:47:34 +0000 Received: from localhost ([127.0.0.1]:47644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtu1l-0005RK-FO for submit@debbugs.gnu.org; Mon, 08 Apr 2024 14:47:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rtu1e-0005Pf-0W for 70169@debbugs.gnu.org; Mon, 08 Apr 2024 14:47:28 -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 1rtu1Q-00050n-VU; Mon, 08 Apr 2024 14:47:13 -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=6PcbzI8Tvzh+9t6jWSV4bp1geKrDMl7v8LvWcHhZagE=; b=KDBtVwBURnGUsfeKENtK oUtfjt0FayK54WC3LqyW1HWJwfl23Ot7R8oBXucGVXE4a2YN7Jmqkybp+eHjlOp/36NAW8sP2O+Sg TucdE5xkkmhe0G5coXvszHs9d70PC9owk7oqcnNBPJO6tzEd3jPuym3iDJCMnzx9YCWWUJMlQrRvn KZQW/tfnikW2E8v5kWaN/s82zuT8KG3RGg6cLHHfrvtpl27mD+rqD3t3uwEL2KQFKHNXyHu3K7g5C UD5bHiNuYvAtxTKJbr+9fsAeqNjhJFxzmZEbFcDg0B8VuYLMXZ4SVaEbNp5G3n9FgQ0VT/3Zy7m74 FD5SwsPYFry4sg==; From: Janneke Nieuwenhuizen Date: Mon, 8 Apr 2024 18:46:46 +0000 Message-ID: <99a54f6f3b2f5707fe51c3d6c6561ce9d30e0d01.1712600307.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.07 X-Migadu-Queue-Id: 086FF2508A X-Migadu-Spam-Score: -6.07 X-Migadu-Scanner: mx10.migadu.com X-TUID: T5iyn+Yw1y/o * 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. --- Makefile.am | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 2b5e145095..a5e49bc406 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 +override GZIP_ENV = --best --no-name +# Be friendly to Debian; avoid using EPOCH +override 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