devel/stlink

Maxim V FIlimonov che at bein.link
Sat Aug 2 16:52:28 UTC 2014


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 at bein.link


More information about the freebsd-ports mailing list