From owner-freebsd-ports@FreeBSD.ORG Wed Nov 18 00:43:35 2009 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1EE98106566C for ; Wed, 18 Nov 2009 00:43:35 +0000 (UTC) (envelope-from swhetzel@gmail.com) Received: from mail-iw0-f190.google.com (mail-iw0-f190.google.com [209.85.223.190]) by mx1.freebsd.org (Postfix) with ESMTP id D92D98FC12 for ; Wed, 18 Nov 2009 00:43:34 +0000 (UTC) Received: by iwn28 with SMTP id 28so513689iwn.3 for ; Tue, 17 Nov 2009 16:43:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ydneMW2a7UZXf/hHruuu6k43LDFsZwCXsYjlUs/N5EY=; b=c19H3APnJfT7fKHGYwULUxKOwQSJPOP6CuZExiUT/x/CGpsDadVNoiLxL1ixXa+so1 TUW287Du/g3Wi55D8tSKKdNGebzR651qe22xifjl9M1sbIM77rzIJFMAgqCZgWJ9XrV6 DUUdbA7Ei/lznanIPrwMI2i7e/MBhACxQxjIk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=JnQvmsWaHxyQLXkSRVTXQTAv8OZfIrNSwg0twdrOrBo8SbI9MHI4NUjGUT2LY6TdLX hTKYCkiAk7G1f1xbKrJ3UxOTcOOiFbbrIEt4sdJOabxz5GBI0OK1OaA6zf0O/IXM97Lo JUO1paUt4MXzeAM5rneTG5FYnpxiDv3qwFFsc= MIME-Version: 1.0 Received: by 10.231.21.157 with SMTP id j29mr2649742ibb.28.1258503554942; Tue, 17 Nov 2009 16:19:14 -0800 (PST) In-Reply-To: References: <20091116121622.GA79691@hades.panopticon> Date: Tue, 17 Nov 2009 18:19:14 -0600 Message-ID: <790a9fff0911171619q351717d2wd77ec37cad24d26b@mail.gmail.com> From: Scot Hetzel To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, Mel Flynn , Dmitry Marakasov Subject: Re: RFC: svn for make fetch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Nov 2009 00:43:35 -0000 On Tue, Nov 17, 2009 at 3:59 PM, Eitan Adler 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