Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jun 2013 01:52:36 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r320048 - head/Mk
Message-ID:  <201306060152.r561qaG8034497@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Jun  6 01:52:36 2013
New Revision: 320048
URL: http://svnweb.freebsd.org/changeset/ports/320048

Log:
  Explicitly mark ports using 'master' from github
  as BROKEN, as they will immediately fail checksum as soon as
  the branch is updated

Modified:
  head/Mk/bsd.sites.mk

Modified: head/Mk/bsd.sites.mk
==============================================================================
--- head/Mk/bsd.sites.mk	Thu Jun  6 01:51:53 2013	(r320047)
+++ head/Mk/bsd.sites.mk	Thu Jun  6 01:52:36 2013	(r320048)
@@ -534,6 +534,11 @@ MASTER_SITE_GENTOO+= \
 #                 default: not set, mandatory
 #
 .if defined(USE_GITHUB)
+.if ${GH_TAGNAME} == master || ${GH_COMMIT} == master
+BROKEN?=	Using master as GH_TAGNAME or GH_COMMIT is invalid. \
+		Must use a version or commit hash so the upstream does\
+		not "reroll" as soon as the branch is updated
+.endif
 MASTER_SITE_GITHUB+=		https://nodeload.github.com/%SUBDIR% \
 				http://nodeload.github.com/%SUBDIR%
 MASTER_SITE_GITHUB_CLOUD+=	http://cloud.github.com/downloads/%SUBDIR%



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306060152.r561qaG8034497>