From owner-freebsd-ports@FreeBSD.ORG Wed Nov 18 09:59:48 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 2FA8E106566B for ; Wed, 18 Nov 2009 09:59:48 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id A73328FC0C for ; Wed, 18 Nov 2009 09:59:47 +0000 (UTC) Received: by bwz5 with SMTP id 5so1081997bwz.3 for ; Wed, 18 Nov 2009 01:59:46 -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 :from:date:message-id:subject:to:cc:content-type; bh=wqTVU41UMrHmsb/XpmxDsQ9JmEXVwxyjjr9ckcoJLEU=; b=UgVCSohtkaMu9Ji/5Mq0k0BWCbPgzrY2ZCX4lOz7JjzVR+yh03bBzuPBwMNUeoOYZL RTQg8Vay6NynrBXSUvBaS9kOH61J1zbfpfi560QWCswPhGtCEy8Ro04MsRHEPtFeAbV5 NMeYS8MZIamRknbTz+Kn/dNuWd03aDNPt5lqY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=KA2JZAQ2VLA10Qbx1QpCC9Gi1mXJ0nUdJgx+SxbiDiWdjucbg0iTfwj8V9PjAVDITZ gXhRL32dd+z/5XSIpyUA7l7VSi7NUq+QCZirnNOtI0+M5xC6WmSj63he/03g4gEgVAfH KG/SJUs/ZN1KKplvaUncaBZsTwHoXr0gHQm38= MIME-Version: 1.0 Received: by 10.239.183.17 with SMTP id s17mr1035432hbg.172.1258538386086; Wed, 18 Nov 2009 01:59:46 -0800 (PST) In-Reply-To: <790a9fff0911171619q351717d2wd77ec37cad24d26b@mail.gmail.com> References: <20091116121622.GA79691@hades.panopticon> <790a9fff0911171619q351717d2wd77ec37cad24d26b@mail.gmail.com> From: Eitan Adler Date: Wed, 18 Nov 2009 11:59:26 +0200 Message-ID: To: Scot Hetzel 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 09:59:48 -0000 On Wed, Nov 18, 2009 at 2:19 AM, Scot Hetzel wrote: > 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 > Does such a tool exist for tar archives?