Problems with GITHUB pulls
Wesley Shields
wxs at FreeBSD.org
Wed Jan 30 03:10:20 UTC 2013
On Tue, Jan 29, 2013 at 03:24:31PM -0600, Paul Schmehl wrote:
> I maintain the security/barnyard2 port. It pulls the software from git,
> which is the only place where it's available.
>
> Here's the relevant portion of the port's Makefile:
>
> USE_GITHUB= yes
> GH_ACCOUNT= firnsy
> GH_PROJECT= ${PORTNAME}
> GH_TAGNAME= master
> GH_COMMIT= 4dfdc80
>
> The problem is, master's commit tag and md5 sum and size have changed. I
> *could* update the port by changing the commit tag and the distino file,
> but that's seems rather kludgy to me. The version hasn't changed. The
> developers simply fixed some problems in the software and then bumped
> master to the newer commit.
The point of GH_COMMIT is to checkout a specific commit. I think you
don't need GH_TAGNAME set here as that is probably overriding the
desired behavior (and always fetching the latest from master). For an
idea of how to fetch a specific commit from git check out devel/libhtp.
-- WXS
More information about the freebsd-ports
mailing list