diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2015-04-29 02:44:04 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2015-04-29 02:44:04 +0800 |
commit | a473097cd9ecbfd932d8af3d57148839382f88a6 (patch) | |
tree | 2b59a6775d67f0b251944f26266df4b96cde831b /archivers | |
parent | af12d2a8888352af367d4fc7353318911515fd0b (diff) | |
download | freebsd-ports-graphics-a473097cd9ecbfd932d8af3d57148839382f88a6.tar.gz freebsd-ports-graphics-a473097cd9ecbfd932d8af3d57148839382f88a6.tar.zst freebsd-ports-graphics-a473097cd9ecbfd932d8af3d57148839382f88a6.zip |
USE_GITHUB: For the new support, fix DISTNAME to be more consistent.
When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.
Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.
empty() is used rather than (!defined || !${}) to support fmake.
The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.
PR: 199069
With hat: portmgr
Testing done: All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/liblz4/distinfo | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/liblz4/distinfo b/archivers/liblz4/distinfo index 751a9a06249..d4cc7c74937 100644 --- a/archivers/liblz4/distinfo +++ b/archivers/liblz4/distinfo @@ -1,2 +1,2 @@ -SHA256 (lz4-r128_GH0.tar.gz) = cb08a99a9d0bea4aa5a4707070c574fc0e4dab549522a171b8078b8a1f50c7d1 -SIZE (lz4-r128_GH0.tar.gz) = 157689 +SHA256 (Cyan4973-lz4-r128_GH0.tar.gz) = cb08a99a9d0bea4aa5a4707070c574fc0e4dab549522a171b8078b8a1f50c7d1 +SIZE (Cyan4973-lz4-r128_GH0.tar.gz) = 157689 |