aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2013-06-06 09:52:36 +0800
committerbdrewery <bdrewery@FreeBSD.org>2013-06-06 09:52:36 +0800
commit278a161f44a0450432db01bf7d8539dd62b989d9 (patch)
treec075d5e437fedd301b7a639f3d0f3446818bc776 /Mk
parent83de4c1cf54abedc7a8a8c9174d0e1f4623f9b5c (diff)
downloadfreebsd-ports-gnome-278a161f44a0450432db01bf7d8539dd62b989d9.tar.gz
freebsd-ports-gnome-278a161f44a0450432db01bf7d8539dd62b989d9.tar.zst
freebsd-ports-gnome-278a161f44a0450432db01bf7d8539dd62b989d9.zip
Explicitly mark ports using 'master' from github
as BROKEN, as they will immediately fail checksum as soon as the branch is updated
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.sites.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.sites.mk b/Mk/bsd.sites.mk
index 6967aeb1ac92..3cf207059bae 100644
--- a/Mk/bsd.sites.mk
+++ b/Mk/bsd.sites.mk
@@ -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%