From owner-freebsd-ports@freebsd.org Mon Mar 6 15:13:09 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B1F14CFB2B5 for ; Mon, 6 Mar 2017 15:13:09 +0000 (UTC) (envelope-from 482254ac@razorfever.net) Received: from ironport2-out.teksavvy.com (ironport2-out.teksavvy.com [206.248.154.181]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client CN "*.teksavvy.com", Issuer "DigiCert High Assurance CA-3" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F8B91E2E for ; Mon, 6 Mar 2017 15:13:09 +0000 (UTC) (envelope-from 482254ac@razorfever.net) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BBBQAoe71Y/0StpUVeGQEBAQEBAQEBAQEBBwEBAQEBgjyBFScaI45zc48kAQEBAwUBgR4EKQGVDYINhiICgh5AGAECAQEBAQEBAWsohRYBBTgeMwsYLjkeEwgBAYlrDbIHin0MJoYJgkqCaoUghRkFkFWLVgEBnHEPhlGReIFDHziBAxIhLoc7IooqAQEB X-IPAS-Result: A0BBBQAoe71Y/0StpUVeGQEBAQEBAQEBAQEBBwEBAQEBgjyBFScaI45zc48kAQEBAwUBgR4EKQGVDYINhiICgh5AGAECAQEBAQEBAWsohRYBBTgeMwsYLjkeEwgBAYlrDbIHin0MJoYJgkqCaoUghRkFkFWLVgEBnHEPhlGReIFDHziBAxIhLoc7IooqAQEB X-IronPort-AV: E=Sophos;i="5.35,254,1484024400"; d="scan'208";a="294556031" Received: from 69-165-173-68.dsl.teksavvy.com (HELO mail.razorfever.net) ([69.165.173.68]) by smtp.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 06 Mar 2017 10:12:01 -0500 Received: from [127.0.0.1] (mail.razorfever.net [192.168.0.4]) by mail.razorfever.net (8.15.2/8.14.9) with ESMTP id v26FBvAJ035512 for ; Mon, 6 Mar 2017 10:11:58 -0500 (EST) (envelope-from 482254ac@razorfever.net) X-Authentication-Warning: mail.razorfever.net: Host mail.razorfever.net [192.168.0.4] claimed to be [127.0.0.1] Subject: Re: Recording TIMESTAMPs in distinfo for reproducible builds work To: freebsd-ports@freebsd.org References: From: "Derek (freebsd lists)" <482254ac@razorfever.net> Message-ID: Date: Mon, 6 Mar 2017 10:11:57 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.4 required=5.0 tests=ALL_TRUSTED, FROM_STARTS_WITH_NUMS,RP_MATCHES_RCVD autolearn=disabled version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mail.razorfever.net X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Mar 2017 15:13:09 -0000 On 16-05-12 02:08 PM, Ed Maste wrote: > Baptiste and I have been looking at reproducible builds in the FreeBSD > ports tree, and one thing we'll need is a consistent timestamp that > doesn't change when a port is rebuilt without changes. > Just wondering if any work has gone into consuming these timestamps in the tools? Specifically, looking at tar(1) from -head, I see that it doesn't current support the -mtime flag that GNU tar does, to be able to set the timestamp on all of the files being archived. Any thoughts on what the canonical way will be: e.g. a pass in advance with find/touch or if BSD tar is planned to support this internally? Thanks! Derek