From owner-freebsd-ports@FreeBSD.ORG Sat Aug 2 16:52:28 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B9D71AB0 for ; Sat, 2 Aug 2014 16:52:28 +0000 (UTC) Received: from bein.link (unknown [IPv6:2a02:2770:3:0:21a:4aff:fee6:9061]) by mx1.freebsd.org (Postfix) with ESMTP id 814EA25D1 for ; Sat, 2 Aug 2014 16:52:28 +0000 (UTC) Received: from quad.localnet (unknown [172.16.32.6]) by bein.link (Postfix) with ESMTPSA id 26306404D9; Sat, 2 Aug 2014 18:52:12 +0200 (CEST) From: Maxim V FIlimonov To: freebsd-ports@freebsd.org Subject: Re: devel/stlink Date: Sat, 02 Aug 2014 20:52:25 +0400 Message-ID: <2269028.6G6mfBQYyp@quad> User-Agent: KMail/4.12.5 (FreeBSD/10.0-RELEASE; KDE/4.12.5; amd64; ; ) In-Reply-To: References: <4443341.EiikNYngQK@quad> <20140802141819.GH2644@home.opsec.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: Dreamcat4 , Kurt Jaeger X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 02 Aug 2014 16:52:28 -0000 On Saturday 02 August 2014 17:45:51 Dreamcat4 wrote: > It is always possible to download HEAD using this distfiles URL: > > https://github.com/${PORTNAME}/${PORTNAME}/archive/master.tar.gz > Didn't know about that, thank you for the info. > The problem with doing that is then you must disable the checksum > "distinfo". There is no way to know what the hash of such archive file is > supposed to be. Since that archive file itself is being dynamically > generated from the most recent commit... Well, anyway I don't think that getting HEAD is the best possible idea. One of the reasons is the one you mentioned, the other is that you can't really know which exact commit you're going to get. -- wbr, Maxim Filimonov che@bein.link