Opened 4 years ago

Last modified 14 months ago

#62325 new defect

some sourceforge mirrors serve HTML instead of redirecting

Reported by: jmroot (Joshua Root) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port:

Description

Most recently, octave-optim failed to mirror because of this, and I remember seeing a few reports of issues with other ports.

I guess we have two choices:

  1. always avoid redirects (will require work on many older ports including ones using the octave portgroup), or
  2. try to identify the bad mirrors and remove them until/unless they are fixed. The problematic one for octave-optim was phoenixnap.

Change History (10)

comment:1 Changed 4 years ago by jmroot (Joshua Root)

In beba7a8ca3b876b882080999f814943fb225a2fd/macports-ports (master):

octave pg: add non-redirecting master_sites entry

This should help with some octave ports failing to fetch correctly,
such as octave-optim. Unfortunately, older ports use distfiles that are
in various other subdirs on sourceforge and so still rely on the
redirect. These will likely still fetch bad distfiles for some users,
so more work is needed.

See: #62325

comment:2 Changed 4 years ago by jmroot (Joshua Root)

#62305 was a case of this involving the pilotfiber mirror.

comment:3 in reply to:  description ; Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

#62583 was a case of this involving the iweb mirror.

Replying to jmroot:

I guess we have two choices:

  1. always avoid redirects

We've been advising portfile authors to do this since at least 2012; see wiki:howto/AvoidRedirects. It is beyond high time for all ports to follow that advice.

comment:4 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In 014d9ffbdffc15ef8c9f20dc1b6fbd268942a657/macports-ports (master):

x3270: Specify full SourceForge download path

See: #62325

comment:5 in reply to:  3 Changed 4 years ago by jmroot (Joshua Root)

Replying to ryandesign:

We've been advising portfile authors to do this since at least 2012; see wiki:howto/AvoidRedirects. It is beyond high time for all ports to follow that advice.

I am aware; it's just a significant amount of work to fix all of them.

comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In 656755dceb83530d620a42a1cb933a4b2ebbe8f8/macports-ports (master):

pwgen: Move to GitHub; avoid redirects; add size

The project has moved to GitHub so use the github portgroup.

Closes: #62562

There hasn't been a release there yet so continue to download from
SourceForge but specify the full file path.

See: #62325

Also add size to checksums.

comment:7 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In 0ed62e18c902b70845e9b94d6cf287849edd48b3/macports-ports (master):

rxvt: Specify full SourceForge file path

See: #62325

Also modernize checksums.

comment:8 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In 7667309352f7b53c368c6868bc87919dc51cb04e/macports-ports (master):

monafont: Specify full SourceForge file path

and modernize checksums.

See: #62325

comment:9 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

In 2e3656e7cafcb927cd3f042995c2ea3e68d79535/macports-ports (master):

plplot: Specify full SourceForge download path

See: #62325

comment:10 Changed 14 months ago by jmroot (Joshua Root)

In 39330e726f9f9b9546900ff95655377dbc340e0d/macports-ports (master):

xmlcatmgr: avoid sourceforge redirects

See: #62325
See: #68129

Note: See TracTickets for help on using tickets.