From owner-freebsd-ports@freebsd.org Fri May 13 13:54:12 2016 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 3CA41B3A2F6 for ; Fri, 13 May 2016 13:54:12 +0000 (UTC) (envelope-from dewaynegeraghty@gmail.com) Received: from mail-lf0-x236.google.com (mail-lf0-x236.google.com [IPv6:2a00:1450:4010:c07::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB33C1BCE; Fri, 13 May 2016 13:54:11 +0000 (UTC) (envelope-from dewaynegeraghty@gmail.com) Received: by mail-lf0-x236.google.com with SMTP id m64so88520025lfd.1; Fri, 13 May 2016 06:54:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=jhWYwgTWgut2fIZ1T2OZD/TqWrtEb1MquHgJUmzG7WY=; b=G//jTvKWms8nJvkh7SHAXd+gWgFbLt0ZykEURokmXolZkkfrnGTE8WIq4i1u5Bo6N9 nVaqIRGz4gAkqI+AgZH023YUqcP0Mq4tPrT4HEA2l6KGj+h18beTuAocCGshC1lKz0W2 /E00DlFYGk0MA+JdIKFhrUZheSyPBwdoTyiHncOdiABrBtG6z/f270NFingWieGEOdBP gcXeUeNLLU5yNatwvQKFC8iuMXoDVweHtW6ugKBnDnYo486YEHhlAxNC5Rz3EsU3kEp6 83vWMK6tcFcd/GFurNND4bL/TeZJKTIZC9xfRzyIXDzqOBkuneODVNb9E5HAPXXB+1G4 Iw4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=jhWYwgTWgut2fIZ1T2OZD/TqWrtEb1MquHgJUmzG7WY=; b=OmpBBCX4jx3d0HcMRVv/Z8kaxZaQGMdPwdmTqr8b5xs0q4cv0xjxwPF49GWOcK4BSd yVyue1XxRAeDgfqsRdqvqIWcQC1RQX5BRsUAaBkY1ROOpdwDR6dB32JiBsexFWWwSULD 03MIAC+G0jQtMhnK4r/VNlLoAMm0Eisg4OB6ogMxrpoVl00TNifNEGbIenoepsBh5KUI Iy6eSDZ5OhNrvUcpgV2/v3hVXr4RK/W8rSDg7vgxqSvIlbshoUS01KgP/opJA1WV2kZW lAX+P+Qy6tmBF7LLka5qGdjyXhicEvtopJ2FdKymKKEm2iyZDV917IAaH2A1XhzvVIh3 jy0w== X-Gm-Message-State: AOPr4FUiL7lKeNKt1lc/MGgrBZyrXXs3oEwRpRfXtyEUEaRVYKQM4AftpepqN2cVIelyZx7Sc8IUgKj0DN29sA== X-Received: by 10.25.15.96 with SMTP id e93mr6705775lfi.103.1463147649551; Fri, 13 May 2016 06:54:09 -0700 (PDT) MIME-Version: 1.0 Received: by 10.25.131.70 with HTTP; Fri, 13 May 2016 06:53:39 -0700 (PDT) In-Reply-To: References: From: Dewayne Geraghty Date: Fri, 13 May 2016 23:53:39 +1000 Message-ID: Subject: Re: Recording TIMESTAMPs in distinfo for reproducible builds work To: Ed Maste Cc: ports-list freebsd Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2016 13:54:12 -0000 On 13 May 2016 at 04:08, 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. > > We considered a few different ideas, and have settled on experimenting > with the time 'make makesum' is run. > > I have a bsd.port.mk change that I'll commit shortly to record the > TIMESTAMP when "make makesum" is run. I want to do this now so that > this data is collected and stored "for free" along with regular > distfile updates. This will allow experimentation and development of > reproducible package builds with real data. > > For now ports that have no distinfo file, and distfile updates done > without using "make makesum," can just ignore the TIMESTAMP. > > -Ed > _______________________________________________ > freebsd-ports@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org" > A nice idea as the version changes PORTVERSION/REVISION aren't always a reliable indicator. If you're trying to tag a port build(s) as being unchanged from one build cycle to another, how will the changes to /usr/ports/Mk be tagged? We currently mtree the /usr/ports/Mk dir/subdirs so we can easily determine where we need to look if there's a problem and/or we need to revert something quickly. Regards, Dewayne