From owner-freebsd-ports@FreeBSD.ORG Tue Nov 17 21:59:34 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 DE6E81065695 for ; Tue, 17 Nov 2009 21:59:34 +0000 (UTC) (envelope-from eitanadlerlist@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.189]) by mx1.freebsd.org (Postfix) with ESMTP id 726798FC13 for ; Tue, 17 Nov 2009 21:59:34 +0000 (UTC) Received: by gv-out-0910.google.com with SMTP id p33so151233gvf.39 for ; Tue, 17 Nov 2009 13:59:33 -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=e5Oi3VPDGz9tTLpytubmTOeTa+xgHCW7McDKFaAyQZA=; b=Td4df/Ds+TqBwk6MYZh012ImRt0Sc6s93YIWYtZNE2BLXckrrxMmThgOxxkWkx+QG5 TlBepJ1KUXdnOlHcUFNcSyoOXmBCO3fpXYkLkJewiZmxjXzs6tkPG7q1Y7KQ/mWI5Z0b DYQ89DfBWX9S5d9KpO6c4EgjQydLq9NP6hc/w= 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=ota255AZIO3u22m6Iut+umTdPmLNhtmc6Yw8snC48C8o3ekHDzF0p1AmPYlUgc21m8 P1W4KfKk6AvCB59HjZGnjBEE8lKKnWXt12DAZLJMsVuHlRBmRiL7rADKBBq34uEb0Y2B Bk8+8q37jAFDKm4DFUnUfejEedkh7lb90/Uyc= MIME-Version: 1.0 Received: by 10.239.183.17 with SMTP id s17mr972081hbg.172.1258495173192; Tue, 17 Nov 2009 13:59:33 -0800 (PST) In-Reply-To: References: <20091116121622.GA79691@hades.panopticon> From: Eitan Adler Date: Tue, 17 Nov 2009 23:59:13 +0200 Message-ID: To: Mel Flynn Content-Type: text/plain; charset=ISO-8859-1 Cc: ports@freebsd.org, 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: Tue, 17 Nov 2009 21:59:34 -0000 > 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 ;) Anyway lets take your script above modify it so that it uploads the tarball to freebsd mirrors and includes the checksum as of the time the maintainer created the tar. This would be much closer to my proposal.