diff options
author | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-04-28 18:44:04 +0000 |
---|---|---|
committer | Bryan Drewery <bdrewery@FreeBSD.org> | 2015-04-28 18:44:04 +0000 |
commit | aa6ad6e726c3c4a5cd1f2bf3d5dad7ff89df6a2f (patch) | |
tree | 2b59a6775d67f0b251944f26266df4b96cde831b /mail | |
parent | e4b6dab17f52d5c3ebeaf15568d9426f260a6c7a (diff) | |
download | ports-aa6ad6e726c3c4a5cd1f2bf3d5dad7ff89df6a2f.tar.gz ports-aa6ad6e726c3c4a5cd1f2bf3d5dad7ff89df6a2f.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.
Notes
Notes:
svn path=/head/; revision=384932
Diffstat (limited to 'mail')
-rw-r--r-- | mail/libetpan/distinfo | 4 | ||||
-rw-r--r-- | mail/mu/distinfo | 4 | ||||
-rw-r--r-- | mail/roundcube-contextmenu/distinfo | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/mail/libetpan/distinfo b/mail/libetpan/distinfo index c5b6e02a7a1a..a3c41edbc757 100644 --- a/mail/libetpan/distinfo +++ b/mail/libetpan/distinfo @@ -1,2 +1,2 @@ -SHA256 (libetpan-1.6_GH0.tar.gz) = 7962b1f9445be24d1eb72daddabaebb427074c14a50e9dad0cebdec044c71e17 -SIZE (libetpan-1.6_GH0.tar.gz) = 6144117 +SHA256 (dinhviethoa-libetpan-1.6_GH0.tar.gz) = 7962b1f9445be24d1eb72daddabaebb427074c14a50e9dad0cebdec044c71e17 +SIZE (dinhviethoa-libetpan-1.6_GH0.tar.gz) = 6144117 diff --git a/mail/mu/distinfo b/mail/mu/distinfo index 90d9621738f5..5e23050aca01 100644 --- a/mail/mu/distinfo +++ b/mail/mu/distinfo @@ -1,2 +1,2 @@ -SHA256 (mu-v0.9.11_GH0.tar.gz) = d01993299a634126bb7431d4390fc3be941f1a22e98a91ec2d55bb4bf0a7c106 -SIZE (mu-v0.9.11_GH0.tar.gz) = 2192943 +SHA256 (djcb-mu-v0.9.11_GH0.tar.gz) = d01993299a634126bb7431d4390fc3be941f1a22e98a91ec2d55bb4bf0a7c106 +SIZE (djcb-mu-v0.9.11_GH0.tar.gz) = 2192943 diff --git a/mail/roundcube-contextmenu/distinfo b/mail/roundcube-contextmenu/distinfo index b374f9395b4b..f1ae3b2dbda3 100644 --- a/mail/roundcube-contextmenu/distinfo +++ b/mail/roundcube-contextmenu/distinfo @@ -1,2 +1,2 @@ -SHA256 (contextmenu-2.1.2_GH0.tar.gz) = d38950728dd917d4f8d82656d3564c033a04c416adbe9bf6b352d87d2eab21af -SIZE (contextmenu-2.1.2_GH0.tar.gz) = 48454 +SHA256 (JohnDoh-Roundcube-Plugin-Context-Menu-2.1.2_GH0.tar.gz) = d38950728dd917d4f8d82656d3564c033a04c416adbe9bf6b352d87d2eab21af +SIZE (JohnDoh-Roundcube-Plugin-Context-Menu-2.1.2_GH0.tar.gz) = 48454 |