svn commit: r375010 - head/Mk

Adam Weinberger adamw at adamw.org
Sun Dec 21 19:56:53 UTC 2014


> On Dec 21, 2014, at 12:42, Steve Wills <swills at FreeBSD.org> wrote:
> 
>> On 12/21/14 19:28, Adam Weinberger wrote:
>> 
>> 
>> Sure, same as other ports. Only difference is that, same as other
>> ports, you don't need to come up with the commit SHA hash as well.
>> You're portmgr, it's your call of course, I just thought it was a
>> nice alternative for ports with release tarballs on github to use a
>> simpler method.
> 
> I thought you were talking about ones that didn't use the GitHub release.
> 
> For ones that do use the GitHub release, making using those easier was
> the goal of this commit. For example, after this commit, I can change
> net/syncthing like so:
> 
> -MASTER_SITES=
> https://github.com/${PORTNAME}/${PORTNAME}/archive/v${PORTVERSION}.tar.gz?dummy=/
> 
> +MASTER_SITES=  GHR
> +DISTVERSIONPREFIX=     v
> +USE_GITHUB=    yes
> 
> No commit hash in either one. Also note there are some additional
> changes for USE_GITHUB in the pipeline:
> 
> https://reviews.freebsd.org/D748

Oooh that's even better! I didn't pick that up when I saw the diff. Sorry about the noise, I blame lack of coffee at the time. Can I suggest altering the PH or CHANGES to reflect the new behaviour?

# Adam


--
Adam Weinberger
adamw at adamw.org
http://www.adamw.org



More information about the svn-ports-head mailing list