[MacPorts] #16237: Fetch phase with redirects
#16237: Fetch phase with redirects -------------------------------+-------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Keywords: | -------------------------------+-------------------------------------------- Here’s the scenario: I’m trying to fetch the latest postgresql update, but the first master site url (http://ftp8.us.postgresql.org/postgresql/) does not resolve. Since I’m using OpenDNS, the original request is redirected to a custom web page and that’s what curl downloads to the disk. Obviously, the checksum fails. Maybe it could be sensibile to avoid redirects. -- Ticket URL: <http://trac.macports.org/ticket/16237> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16237: Fetch phase with redirects --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by blb@macports.org): Following redirects is also useful (eg, when using sourceforge's downloads.sourceforge.net redirector); DNS should be returning an NXDOMAIN for that hostname, but OpenDNS appears to point to hit- nxdomain.opendns.com instead. -- Ticket URL: <http://trac.macports.org/ticket/16237#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16237: Fetch phase with redirects --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by dluke@macports.org): OpenDNS is cool, but breaks normal DNS behavior unless you configure it to not do it. hit-nxdomain.opendns.com is returned instead of NXDOMAIN so that they can do the typo correction. I don't think MacPorts should do anything special to help OpenDNS users. -- Ticket URL: <http://trac.macports.org/ticket/16237#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16237: Fetch phase with redirects --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by ryandesign@macports.org): Right. I tried OpenDNS for about 5 minutes until I discovered that it was broken by design in this way. -- Ticket URL: <http://trac.macports.org/ticket/16237#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16237: Fetch phase with redirects --------------------------------+------------------------------------------- Reporter: giorgio_v@mac.com | Owner: macports-tickets@lists.macosforge.org Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts base enhancements Component: base | Version: 1.6.0 Resolution: | Keywords: --------------------------------+------------------------------------------- Comment (by giorgio_v@mac.com): Replying to [ticket:16237 giorgio_v@mac.com]:
Maybe it could be sensibile to avoid redirects.
I agree. I think it’s fair to close this ticket. On the other hand, it could be useful to try next mirrored site if the checksum fails. -- Ticket URL: <http://trac.macports.org/ticket/16237#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16237: Don't follow redirects in fetch phase --------------------------------+------------------------------------------- Reporter: giorgio_v@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.6.0 Resolution: wontfix | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by jmr@…): * status: new => closed * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/16237#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#16237: Don't follow redirects in fetch phase --------------------------------+------------------------------------------- Reporter: giorgio_v@… | Owner: macports-tickets@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: base | Version: 1.6.0 Resolution: wontfix | Keywords: Port: | --------------------------------+------------------------------------------- Changes (by jmr@…): * milestone: MacPorts Future => -- Ticket URL: <https://trac.macports.org/ticket/16237#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts