[MacPorts] #62218: netperf @2.7.0: checksum mismatch

MacPorts noreply at macports.org
Thu Feb 4 06:44:24 UTC 2021


#62218: netperf @2.7.0: checksum mismatch
----------------------+------------------------
  Reporter:  hpux735  |      Owner:  grimreaper
      Type:  defect   |     Status:  assigned
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:  2.6.4
Resolution:           |   Keywords:
      Port:  netperf  |
----------------------+------------------------
Changes (by ryandesign):

 * cc: ryandesign (added)


Comment:

 In this case, there is no difference in the content of the tarball we
 mirrored in 2018 and the one available from GitHub today, however there is
 a difference in the enclosing dictectory name. The file we mirrored in
 2018 has an enclosing directory name netperf-netperf-2.7.0 and the one
 available from GitHub today has an enclosing directory name
 HewlettPackard-netperf-f46c031.

 In [b88ae2fe8a89f10d7548dcd5798c667cc8c19768/macports-ports] the port's
 `master_sites` were switched from ftp.netperf.org to GitHub to fix #55803.
 As a result of this, we mirrored the file in 2018.

 The problem was introduced by [6935f6ab1cf8b99c9ca0cdaa2f8d03a5566b4e73
 /macports-ports] in which the `master_sites` referring to GitHub archives
 was removed. This effectively changed which file the port downloads (from
 "archive" type to "tarball" type) thereby changing the cbecksums of the
 file. (This commit also removed a comment I had added explaining that this
 line should be removed with the next version update. This commit was not a
 version update, therefore the line should not have been removed at that
 time.)

 I recommend adding `github.tarball_from archive`, which is the current
 equivalent of what the port had been specifying manually before by
 overriding `master_sites`. I'll make this change momentarily.

-- 
Ticket URL: <https://trac.macports.org/ticket/62218#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list