1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-25 00:51:21 +00:00

Note that GH_TAGNAME can be any length of the git hash.

This commit is contained in:
Bryan Drewery 2015-03-19 17:57:19 +00:00
parent fc2eae8856
commit 79a21ca825
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381640
2 changed files with 6 additions and 1 deletions

View File

@ -19,6 +19,9 @@ All ports committers are allowed to commit to this file.
that has a different checksum than before due to a changed directory name
for extraction.
GH_TAGNAME can now be any length of the hash as long as it is unique. There
is no longer a 7-character requirement.
The following MASTER_SITES are provided to retain the old checksum and
directory structure (that require GH_COMMIT):
GH -> GHL

View File

@ -519,13 +519,15 @@ MASTER_SITE_GENTOO+= \
#
# GH_TAGNAME - name of the tag to download (2.0.1, hash, ...)
# Using the name of a branch here is incorrect. It is
# possible to do GH_TAGNAME=${GH_COMMIT} to do a snapshot
# possible to do GH_TAGNAME= GIT_HASH to do a snapshot.
# default: ${DISTVERSION}
#
# GH_COMMIT - first 7 digits of the commit that generated GH_TAGNAME
# (man git-describe(1))
# if this is not set, archive corresponding to tag is fetched
# default: not set
# This is a deprecated option. Just set the hash in GH_TAGNAME
# instead.
#
.if defined(USE_GITHUB)
. if defined(GH_TAGNAME) && ${GH_TAGNAME} == master