[MacPorts] #45867: getopt portfile checksums not matched

MacPorts noreply at macports.org
Wed Nov 12 20:45:08 PST 2014


#45867: getopt portfile checksums not matched
-------------------------+--------------------------------
  Reporter:  teige-mp@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:  fixed       |   Keywords:
      Port:  getopt      |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * status:  new => closed
 * cc: larryv@…, ryandesign@… (added)
 * resolution:   => fixed


Comment:

 Whoever maintains the web server for the getopt project rearranged their
 URLs, and did not have the foresight to install proper HTTP redirects at
 the old previously-valid URLs. Instead they apparently installed a catch-
 all HTTP redirect, sending all requests at the old server, including
 requests for tarballs and other non-HTML files, to the main HTML page at
 the new server. Had they not installed any redirects at all, MacPorts
 would have recognized that the old server no longer existed and continued
 on to the next server. Or had they installed correct redirects, MacPorts
 would have been able to find the file at the new server. But because they
 installed a redirect that delivered a `302 Found` ("the file you want is
 at this new URL") response followed by a `200 OK` ("here is the file you
 requested") response, MacPorts assumed it had been given the file it
 requested, then had to exit when the checksums of the incorrect file it
 was given did not match those that were expected (as listed in the
 portfile).

 Larry fixed the problem by updating the URLs in the portfile in r128063.

-- 
Ticket URL: <https://trac.macports.org/ticket/45867#comment:3>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list