Date: Wed, 18 Nov 2009 11:59:26 +0200 From: Eitan Adler <eitanadlerlist@gmail.com> To: Scot Hetzel <swhetzel@gmail.com> Cc: ports@freebsd.org, Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net>, Dmitry Marakasov <amdmi3@amdmi3.ru> Subject: Re: RFC: svn for make fetch Message-ID: <a0777e080911180159n59a20c8fla87353e100db2c48@mail.gmail.com> In-Reply-To: <790a9fff0911171619q351717d2wd77ec37cad24d26b@mail.gmail.com> References: <a0777e080911080731w461e6733peb0a5473acf07aa8@mail.gmail.com> <20091116121622.GA79691@hades.panopticon> <ceb3742532e6ac07cc450aafafa6022e@sbmail.office-on-the.net> <a0777e080911171359o728a78feye321912557cdcea4@mail.gmail.com> <790a9fff0911171619q351717d2wd77ec37cad24d26b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Nov 18, 2009 at 2:19 AM, Scot Hetzel <swhetzel@gmail.com> wrote: > On Tue, Nov 17, 2009 at 3:59 PM, Eitan Adler <eitanadlerlist@gmail.com> wrote: >>> Actually, I *had* a patch that got the source from svn, tarred it >>> and checksummed it, with little modification to the do-fetch target >>> and abusing FETCH_* variables. >>> The unsolvable problem I ran in to, is that svn doesn't adjust >>> timestamps for directories on export, so the checksum for the tar >>> was always different. Hacking svn export was outside my timeframe >>> and hacking tar to grow an option that sets all created dirs to >>> a fixed time stamp, seemed too hackish, so I let it go. >> >> Creating deterministic tars (ignoring "metadeta") sounds like it >> should be a solved problem by now. If it isn't then I will have to >> make it my next project ;) >> > Instead of creating tar files, create zip files and then run them > through torrentzip > > http://www.freebsd.org/cgi/cvsweb.cgi/ports/archivers/torrentzip/ > > Torrentzip resets the date/time on the files and directories in the > zip archive so that the checksum of the file will match, no matter who > builds the zip file using the same set of files. > > Scot > Does such a tool exist for tar archives?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a0777e080911180159n59a20c8fla87353e100db2c48>