svn commit: r320048 - head/Mk
Bryan Drewery
bdrewery at FreeBSD.org
Thu Jun 6 01:52:36 UTC 2013
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%
More information about the svn-ports-all
mailing list