1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00

Explicitly mark ports using 'master' from github

as BROKEN, as they will immediately fail checksum as soon as
the branch is updated
This commit is contained in:
Bryan Drewery 2013-06-06 01:52:36 +00:00
parent 7d7eb14764
commit 1a94a13d0a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=320048

View File

@ -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%