From owner-svn-ports-head@freebsd.org Fri May 13 20:27:43 2016 Return-Path: Delivered-To: svn-ports-head@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 D6805B39187; Fri, 13 May 2016 20:27:43 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: from mail-wm0-x241.google.com (mail-wm0-x241.google.com [IPv6:2a00:1450:400c:c09::241]) (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 6660F1190; Fri, 13 May 2016 20:27:43 +0000 (UTC) (envelope-from baptiste.daroussin@gmail.com) Received: by mail-wm0-x241.google.com with SMTP id n129so5777225wmn.1; Fri, 13 May 2016 13:27:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=WSRUxQlI7pV/5xzQp/DXVx9O6GjJszZmf44+tKSqdF4=; b=rJXe4/2HkOZO+aeTN15xVHOJVtFIuDDaMsQnADqFtY3Cmvyl5x2oZk5zZYXOwc40qf 3RHk4xg9E78cau1gl2ovr0k1nIM45rpQWyAK0PfqwtcTFjpqCQgb/QQO79FkJjoRURRp tjiMgBwDf8Bb8R88ICqS/izUPrn54nKCYY+OQrYFKMmjJzb2cPXVFUo+6PomFU5LQavP Oz9nX+YMqg921aWQfUdsS4BbeQiKPpUB+AQfwXAUms2NdC7PQtmRTWVnmFg9rJ7XThgi g3j2sOrKYpM9yl8e77nLZ13iMUDWL7M8cdW0a6cgLh70mHFkpx8u0j3cRsJXlqRc6NJM /7BQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=WSRUxQlI7pV/5xzQp/DXVx9O6GjJszZmf44+tKSqdF4=; b=jJQTA9v+xnNPIOVut8pGqW/btv7Ul7lhB/9GcKhwLeWLdNnTgmllcn/wrzpP/4/FHI yDRPRFelPW+cVUBGCMUXjVrFIcixYq9c29lONU7iGHLJAuFBUXkCeH1iAX68un9DYmhw lMeZDKmmdQmkV+Q9lQr6ozv206wf2IDAJk6fZVeX/MCGUjkuyl5/7AqVD6TyR7YMb2e9 2AeMDpmu0EYp5MVVers8EWlAKnZbxzQ2+VNpFl8pVSF1x4fldupIcOYio1UZBHTUHwUE MmpGcZVPQPI3o56E939DuFdci2dheuKKDyjAACjznmmbJKSbdhNxJYkji4V8Pf9gJN8I Kc1g== X-Gm-Message-State: AOPr4FVNKcHJ/rqN1UmxcF5mm1xuF2R3eQVSlbgz+6wM4K34+FRaOWJcDF3DmWAINJAnGw== X-Received: by 10.28.157.143 with SMTP id g137mr5435055wme.29.1463171261837; Fri, 13 May 2016 13:27:41 -0700 (PDT) Received: from ivaldir.etoilebsd.net ([2001:41d0:8:db4c::1]) by smtp.gmail.com with ESMTPSA id d23sm4918741wmd.1.2016.05.13.13.27.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 May 2016 13:27:41 -0700 (PDT) Sender: Baptiste Daroussin Date: Fri, 13 May 2016 22:27:39 +0200 From: Baptiste Daroussin To: Alexey Dokuchaev Cc: Ed Maste , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r415078 - in head: . Mk Message-ID: <20160513202739.GG49383@ivaldir.etoilebsd.net> References: <201605121820.u4CIKROJ004026@repo.freebsd.org> <20160513160151.GA30219@FreeBSD.org> <20160513182837.GF49383@ivaldir.etoilebsd.net> <20160513201919.GA48945@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bpVaumkpfGNUagdU" Content-Disposition: inline In-Reply-To: <20160513201919.GA48945@FreeBSD.org> User-Agent: Mutt/1.6.0 (2016-04-01) X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2016 20:27:43 -0000 --bpVaumkpfGNUagdU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, May 13, 2016 at 08:19:19PM +0000, Alexey Dokuchaev wrote: > On Fri, May 13, 2016 at 08:28:37PM +0200, Baptiste Daroussin wrote: > > On Fri, May 13, 2016 at 04:01:51PM +0000, Alexey Dokuchaev wrote: > > > On Thu, May 12, 2016 at 06:20:27PM +0000, Ed Maste wrote: > > > > New Revision: 415078 > > > > URL: https://svnweb.freebsd.org/changeset/ports/415078 > > > >=20 > > > > Log: > > > > Record TIMESTAMP in make makesum > > > > =20 > > > > This is intended to support development and prototyping for ports > > > > reproducible build efforts which require some concept of a "last > > > > updated" time. It is being committed now so that timestamp entries > > > > will be populated "for free" as port distfiles updates happen. > > >=20 > > > Why does it have to be part of distinfo rather than obtained from key= words > > > or "svn info distinfo | grep ..."? (The latter might seem like it co= uld > > > slow things down a bit, but 1) it's unclear if it would make a signif= icant > > > difference without actual tests, and 2) polluting distinfo looks wors= e, to > > > me at least.) > >=20 > > First the svn keyword date will be updated too often (each cosmetic cha= nge > > in a makefile) resulting in making reproducible builds less efficient. > >=20 > > Second the ports tree is available in plenty of forms where the keywords > > are not expanded: git, hg etc. breaking as such the reproducible builds= [.] >=20 > (*sigh* I knew that I shouldn't have brought keywords into the argument.) >=20 > Anyway, why this information can't be fetched from the metadata? Why does > it have to be tied to distinfo? What about patch files, sed(1) calls in > the Makefile, etc.? Is there a place we can read more about this whole > reproducible builds thing? >=20 https://reproducible-builds.org/ https://fosdem.org/2016/schedule/event/reproducible_ecosystem/ https://fosdem.org/2016/schedule/event/reproducible_freebsd_packages/ and more We do not want to bump the dates too often, and the least often solution th= at has been found is to update it when main distfiles are changed. (as for some ports we need to ensure that packaged files are not older than the sources otherwise they can break things at runtime... don't ask :)) the goal is to use this timestamp when packaging to set the timestamp of the files (which is one of the things makes the checksum of the package change = even the content hasn't changed.) Bapt --bpVaumkpfGNUagdU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXNji7AAoJEGOJi9zxtz5aasoQAN5wuVTdlfm+YgLEcwdmUu5a /q/8kF39+L/l7waWvxeU4JimxCFi1CdQjQZtFgBZ3lOwSJP7AOXS7rP7widGADN5 hURAHxs0h10SZaVo+3KFJUOSgjiRYGVHFjN9cdY8+fubcMlVl7z4adD0fbs0sR6Q zMRnC4X/Kq9Gy1+Ievq/ZROFLn/3ZmpbcIxA7cJRFqZJyXx0kwTJom7hzAnI+Lpa MSaCyXxWPRw+Wc94GDmZKy1I6lwH9s8/W/WGb4UObMZ1Tvi8jVmctCZ2E8sGoFb4 MIjB+uS0G23nOzQ5UVBg4gZpiWtwPs5S9njWTgbLxe+041jUiexIKfWC8YpsWDB3 Z0bPU96EiQTG+/csken8tqXLqebrYAnbMPeqvh6kG7/BGJRoTIoSpHzz4roHEGt5 +BO4COg524RgskRJuWIBWy3iWGJnB6A/qSSmbe9cCijhR6GneciruRmB/fKsEteC WgfFrJjX1EsHlUivxMdK/qZLMp1Rx/CV+4UOfXPsykY6QZBMams+UAVALt3QViqr H4G3/Kv0JLrD3MgWONoLPU5A9wTVUcgTdeaXl9E2RGy5Mq8DA7p4++gaVIRHpX2r tOxJe20AVRT6FJjWIz2P0tN3V1gnifX43vSFaCekPxYQSuxHqJ8ZKMg7NeAqW8os Zr1EKm5J0Vnf5kCDsPND =sUhr -----END PGP SIGNATURE----- --bpVaumkpfGNUagdU--