Date: Fri, 13 May 2016 23:53:39 +1000 From: Dewayne Geraghty <dewaynegeraghty@gmail.com> To: Ed Maste <emaste@freebsd.org> Cc: ports-list freebsd <freebsd-ports@freebsd.org> Subject: Re: Recording TIMESTAMPs in distinfo for reproducible builds work Message-ID: <CAGnMC6pogCO8MSsech7%2B19GU6O2iT=xkURWTW_BsU7YFxU_YcQ@mail.gmail.com> In-Reply-To: <CAPyFy2DFaELRDhonnzm70iXDzC%2Bw0D0kQsnEwes-o4upCatd6Q@mail.gmail.com> References: <CAPyFy2DFaELRDhonnzm70iXDzC%2Bw0D0kQsnEwes-o4upCatd6Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 13 May 2016 at 04:08, Ed Maste <emaste@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAGnMC6pogCO8MSsech7%2B19GU6O2iT=xkURWTW_BsU7YFxU_YcQ>