1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix the new USE_GITHUB to rename the distfile such that it does not

conflict with the old scheme and cause a "reroll" or "invalid checksums".  This
also avoids clobbering the FreeBSD distcache.

Use a revision in the DISTNAME for USE_GITHUB in case we need to bump this
again for anything. It's more a hint of how to handle it in the future.

Reported by:	mat
Discused with:	mat, antoine, swills
With hat:	portmgr
This commit is contained in:
Bryan Drewery 2015-03-19 20:30:19 +00:00
parent 8f4ff84d95
commit db55af0fea
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=381688
6 changed files with 17 additions and 10 deletions

View File

@ -549,6 +549,13 @@ MASTER_SITES+= GHL
. if !defined(MASTER_SITES) || !${MASTER_SITES:MGH} && !${MASTER_SITES:MGHC}
MASTER_SITES+= GH
. endif
# This new scheme rerolls distfiles. Also ensure they are renamed to avoid
# conflicts. Use _GITHUB_REV in case github changes their zipping or structure
# which has happened before.
_GITHUB_REV= 0
. if ${MASTER_SITES:MGH}
DISTNAME:= ${DISTNAME}_GH${_GITHUB_REV}
. endif
. endif
GH_ACCOUNT?= ${PORTNAME}
GH_PROJECT?= ${PORTNAME}

View File

@ -1,2 +1,2 @@
SHA256 (bundy-0.20150304.tar.gz) = 34fb3e94935acb50d4afff89e091c6c25d09b8a82d5601ead0e51852232c043d
SIZE (bundy-0.20150304.tar.gz) = 5311910
SHA256 (bundy-0.20150304_GH0.tar.gz) = 34fb3e94935acb50d4afff89e091c6c25d09b8a82d5601ead0e51852232c043d
SIZE (bundy-0.20150304_GH0.tar.gz) = 5311910

View File

@ -1,2 +1,2 @@
SHA256 (lg-1.9.s20140622.tar.gz) = 909b1e70811c84a5a0feb0e6992696ea841a43847bb3deb5dae8c98579e89030
SIZE (lg-1.9.s20140622.tar.gz) = 44220
SHA256 (lg-1.9.s20140622_GH0.tar.gz) = 909b1e70811c84a5a0feb0e6992696ea841a43847bb3deb5dae8c98579e89030
SIZE (lg-1.9.s20140622_GH0.tar.gz) = 44220

View File

@ -1,2 +1,2 @@
SHA256 (freebsd-poudriere-3.1.99.20150319-80b7167.tar.gz) = cd7b51dd70bc7fa03bfbbd310f719172023f809cd3ec9b103996023ff187bd90
SIZE (freebsd-poudriere-3.1.99.20150319-80b7167.tar.gz) = 2713351
SHA256 (freebsd-poudriere-3.1.99.20150319-80b7167_GH0.tar.gz) = cd7b51dd70bc7fa03bfbbd310f719172023f809cd3ec9b103996023ff187bd90
SIZE (freebsd-poudriere-3.1.99.20150319-80b7167_GH0.tar.gz) = 2713351

View File

@ -1,2 +1,2 @@
SHA256 (poudriere-3.1.1.tar.gz) = 1d068e311d90298fcac919e7b9eda15ef3585ee295ab4d1c5f732a8f8fb85e68
SIZE (poudriere-3.1.1.tar.gz) = 2713520
SHA256 (poudriere-3.1.1_GH0.tar.gz) = 1d068e311d90298fcac919e7b9eda15ef3585ee295ab4d1c5f732a8f8fb85e68
SIZE (poudriere-3.1.1_GH0.tar.gz) = 2713520

View File

@ -1,2 +1,2 @@
SHA256 (cdiff-0.9.6.20140711.tar.gz) = 4e62c6163644e57986d0868ed9e12baeed4a93975579e7354c68f6adfde62455
SIZE (cdiff-0.9.6.20140711.tar.gz) = 30418
SHA256 (cdiff-0.9.6.20140711_GH0.tar.gz) = 4e62c6163644e57986d0868ed9e12baeed4a93975579e7354c68f6adfde62455
SIZE (cdiff-0.9.6.20140711_GH0.tar.gz) = 30418