From owner-freebsd-ports@FreeBSD.ORG Fri Sep 9 13:24:47 2011 Return-Path: Delivered-To: freebsd-ports@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C7241065672 for ; Fri, 9 Sep 2011 13:24:47 +0000 (UTC) (envelope-from aehlig@linta.de) Received: from linta.de (isilmar-3.linta.de [188.40.101.200]) by mx1.freebsd.org (Postfix) with ESMTP id B2AE78FC18 for ; Fri, 9 Sep 2011 13:24:45 +0000 (UTC) Received: (qmail 23845 invoked by uid 10); 9 Sep 2011 13:24:45 -0000 Received: from kta1c10 by isilmar.linta.de with BSMTP; 9 Sep 2011 13:24:45 -0000 Received: by kta1c10.sesnet.soton.ac.uk (Postfix, from userid 1001) id CB88B3981D; Fri, 9 Sep 2011 14:24:37 +0100 (BST) Date: Fri, 9 Sep 2011 14:24:37 +0100 From: "Klaus T. Aehlig" To: Baptiste Daroussin Message-ID: <20110909132437.GA66311@kta1c10.sesnet.soton.ac.uk> References: <765103585.20110909143052@serebryakov.spb.ru> <20110909130458.GO31003@azathoth.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110909130458.GO31003@azathoth.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Lev Serebryakov , freebsd-ports@FreeBSD.org Subject: Re: [RFC] New ports idea: github / gitorious / bitbucket direct support. 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: Fri, 09 Sep 2011 13:24:47 -0000 > The main problem with that is: we have no way to keep a valid sum of the > distfiles if it is autogenerated (in particular with github) and this sum is > really important. With github this fortunately is a non-issue. Even though they autogenerate their tar balls, they keep enough information to make them reproduciable. Just try: /tmp>fetch https://github.com/Dieterbe/uzbl/tarball/2011.07.25 2011.07.25 100% of 143 kB 177 kBps /tmp>sha256 2011.07.25 SHA256 (2011.07.25) = 2e61fa6c62e48d3f13e95a4ea7e7aead65345f6c88a688844ef921685dffe565 /tmp>cat /usr/ports/www/uzbl/distinfo SHA256 (uzbl-0.0.0.2011.07.25.tar.gz) = 2e61fa6c62e48d3f13e95a4ea7e7aead65345f6c88a688844ef921685dffe565 SIZE (uzbl-0.0.0.2011.07.25.tar.gz) = 146851 /tmp> There still remain some minor issuses, like * due to autogeneration, you're quite likely to get a http-redirect, * filenames like 2011.07.25 are not too suitable for a distfile. But they certainly can be fixed by an appropriate framework. The nice thing is, github does the autogeneration right. Best, Klaus