aboutsummaryrefslogtreecommitdiffstats
path: root/net/GeoIP/distinfo
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-04-29 02:44:04 +0800
committerBryan Drewery <bdrewery@FreeBSD.org>2015-04-29 02:44:04 +0800
commitaa6ad6e726c3c4a5cd1f2bf3d5dad7ff89df6a2f (patch)
tree2b59a6775d67f0b251944f26266df4b96cde831b /net/GeoIP/distinfo
parente4b6dab17f52d5c3ebeaf15568d9426f260a6c7a (diff)
downloadfreebsd-ports-gnome-aa6ad6e726c3c4a5cd1f2bf3d5dad7ff89df6a2f.tar.gz
freebsd-ports-gnome-aa6ad6e726c3c4a5cd1f2bf3d5dad7ff89df6a2f.tar.zst
freebsd-ports-gnome-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.
Diffstat (limited to 'net/GeoIP/distinfo')
-rw-r--r--net/GeoIP/distinfo4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/GeoIP/distinfo b/net/GeoIP/distinfo
index a138fe79a10b..2ea14a1c9e52 100644
--- a/net/GeoIP/distinfo
+++ b/net/GeoIP/distinfo
@@ -1,2 +1,2 @@
-SHA256 (GeoIP-v1.6.5_GH0.tar.gz) = 4a151b35e9d9db976b82645c758662a6cb778c669b2c65635d5834e4f885942e
-SIZE (GeoIP-v1.6.5_GH0.tar.gz) = 156441
+SHA256 (maxmind-geoip-api-c-v1.6.5_GH0.tar.gz) = 4a151b35e9d9db976b82645c758662a6cb778c669b2c65635d5834e4f885942e
+SIZE (maxmind-geoip-api-c-v1.6.5_GH0.tar.gz) = 156441