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 /devel | |
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 'devel')
-rw-r--r-- | devel/editline/distinfo | 4 | ||||
-rw-r--r-- | devel/fstrm/distinfo | 4 | ||||
-rw-r--r-- | devel/hub/distinfo | 4 | ||||
-rw-r--r-- | devel/injeqt/distinfo | 4 | ||||
-rw-r--r-- | devel/osc/distinfo | 4 | ||||
-rw-r--r-- | devel/protobuf-c/distinfo | 4 | ||||
-rw-r--r-- | devel/sdl2pp/distinfo | 4 |
7 files changed, 14 insertions, 14 deletions
diff --git a/devel/editline/distinfo b/devel/editline/distinfo index 0c23236a813..0c960392bea 100644 --- a/devel/editline/distinfo +++ b/devel/editline/distinfo @@ -1,2 +1,2 @@ -SHA256 (editline-1.14.2_GH0.tar.gz) = a4ee39906c87f843ecac4d95e4d7586429f6ead92cdadc9a3c1e28fe82c3c9da -SIZE (editline-1.14.2_GH0.tar.gz) = 338506 +SHA256 (troglobit-editline-1.14.2_GH0.tar.gz) = a4ee39906c87f843ecac4d95e4d7586429f6ead92cdadc9a3c1e28fe82c3c9da +SIZE (troglobit-editline-1.14.2_GH0.tar.gz) = 338506 diff --git a/devel/fstrm/distinfo b/devel/fstrm/distinfo index 2589b8c1692..8ce6a9e1775 100644 --- a/devel/fstrm/distinfo +++ b/devel/fstrm/distinfo @@ -1,2 +1,2 @@ -SHA256 (fstrm-v0.2.0_GH0.tar.gz) = bb171e886b2e3aaf1920b6c003f69705bd038703884546ff627f4740bd391c19 -SIZE (fstrm-v0.2.0_GH0.tar.gz) = 184435 +SHA256 (farsightsec-fstrm-v0.2.0_GH0.tar.gz) = bb171e886b2e3aaf1920b6c003f69705bd038703884546ff627f4740bd391c19 +SIZE (farsightsec-fstrm-v0.2.0_GH0.tar.gz) = 184435 diff --git a/devel/hub/distinfo b/devel/hub/distinfo index 0733d11b914..661bc929a10 100644 --- a/devel/hub/distinfo +++ b/devel/hub/distinfo @@ -1,2 +1,2 @@ -SHA256 (hub-v2.2.0_GH0.tar.gz) = 2da1351197eb5696c207f22c69a5422af052d74277b73d0b8661efb9ec1d0eb1 -SIZE (hub-v2.2.0_GH0.tar.gz) = 301460 +SHA256 (github-hub-v2.2.0_GH0.tar.gz) = 2da1351197eb5696c207f22c69a5422af052d74277b73d0b8661efb9ec1d0eb1 +SIZE (github-hub-v2.2.0_GH0.tar.gz) = 301460 diff --git a/devel/injeqt/distinfo b/devel/injeqt/distinfo index 1c034ccb52a..95d7311905c 100644 --- a/devel/injeqt/distinfo +++ b/devel/injeqt/distinfo @@ -1,2 +1,2 @@ -SHA256 (injeqt-1.0.1_GH0.tar.gz) = 81aafaf990134486331bbb5c362be2b8520a3bec86e82869125c17ec652d686d -SIZE (injeqt-1.0.1_GH0.tar.gz) = 63748 +SHA256 (vogel-injeqt-1.0.1_GH0.tar.gz) = 81aafaf990134486331bbb5c362be2b8520a3bec86e82869125c17ec652d686d +SIZE (vogel-injeqt-1.0.1_GH0.tar.gz) = 63748 diff --git a/devel/osc/distinfo b/devel/osc/distinfo index b20d2ecb349..3b7dc650b24 100644 --- a/devel/osc/distinfo +++ b/devel/osc/distinfo @@ -1,2 +1,2 @@ -SHA256 (osc-0.151.2_GH0.tar.gz) = 51a3e2f9230addfa5814766eb2a78b4230ad5f5760ea4ac12a8d7d44d51c025f -SIZE (osc-0.151.2_GH0.tar.gz) = 317944 +SHA256 (openSUSE-osc-0.151.2_GH0.tar.gz) = 51a3e2f9230addfa5814766eb2a78b4230ad5f5760ea4ac12a8d7d44d51c025f +SIZE (openSUSE-osc-0.151.2_GH0.tar.gz) = 317944 diff --git a/devel/protobuf-c/distinfo b/devel/protobuf-c/distinfo index 1e306db68d6..a413df1686a 100644 --- a/devel/protobuf-c/distinfo +++ b/devel/protobuf-c/distinfo @@ -1,2 +1,2 @@ -SHA256 (protobuf-c-v1.1.0_GH0.tar.gz) = 8ced3df85ce862f34dd1d8e773ac79ea1079842065ff39a6a65f51cc83aa2604 -SIZE (protobuf-c-v1.1.0_GH0.tar.gz) = 115866 +SHA256 (protobuf-c-protobuf-c-v1.1.0_GH0.tar.gz) = 8ced3df85ce862f34dd1d8e773ac79ea1079842065ff39a6a65f51cc83aa2604 +SIZE (protobuf-c-protobuf-c-v1.1.0_GH0.tar.gz) = 115866 diff --git a/devel/sdl2pp/distinfo b/devel/sdl2pp/distinfo index cd709afcaab..4fcf9fb8068 100644 --- a/devel/sdl2pp/distinfo +++ b/devel/sdl2pp/distinfo @@ -1,2 +1,2 @@ -SHA256 (sdl2pp-0.7.1_GH0.tar.gz) = feac209d2e1c214b502b148dc8cbeba48748c80bcefb7d290396875bac38ad50 -SIZE (sdl2pp-0.7.1_GH0.tar.gz) = 191440 +SHA256 (AMDmi3-libSDL2pp-0.7.1_GH0.tar.gz) = feac209d2e1c214b502b148dc8cbeba48748c80bcefb7d290396875bac38ad50 +SIZE (AMDmi3-libSDL2pp-0.7.1_GH0.tar.gz) = 191440 |