Re: distfile downloads failing on https

2018-02-28 Thread Ryan Schmidt
On Feb 28, 2018, at 01:12, Jan Stary wrote: > Back to the original problem: using depends_fetch is not a solution > to downloads of tar.gz failing on some https sites, right? Because > whatever the port adds to depends_fetch, the https fetching will > still be done with the (lib)curl macports

Re: distfile downloads failing on https

2018-02-27 Thread Jan Stary
> If I am reading https://guide.macports.org/chunked/reference.phases.html > right, there is are no "fetch dependencies". Would it make sense > to introduce fetch dependencies just like we have build dependencies > and run dependencies, so that the affected ports could specify

Re: distfile downloads failing on https

2018-02-27 Thread Ryan Schmidt
On Feb 26, 2018, at 00:57, Jan Stary wrote: > On Feb 22 19:04:41, Jan Stary wrote: >> On Feb 22 17:09:22, Rainer Mueller wrote: >>> On 2018-02-21 20:14, Jan Stary wrote: If I am reading https://guide.macports.org/chunked/reference.phases.html right, there is are no "fetch

Re: distfile downloads failing on https

2018-02-25 Thread Jan Stary
On Feb 22 19:04:41, h...@stare.cz wrote: > On Feb 22 17:09:22, rai...@macports.org wrote: > > On 2018-02-21 20:14, Jan Stary wrote: > > > If I am reading https://guide.macports.org/chunked/reference.phases.html > > > right, there is are no "fetch dependencies". Would it make sense > > > to

Re: distfile downloads failing on https

2018-02-23 Thread Ken Cunningham
> On Feb 23, 2018, at 01:49, Jan Stary wrote: > > On Feb 22 18:04:23, ken.cunningham.web...@gmail.com wrote: You are done. No more circular dependency. >>> Yes. One installation of MP depends on another installation. >>> >> >> That's not circular. Circular is when an

Re: distfile downloads failing on https

2018-02-23 Thread Jan Stary
On Feb 22 18:04:23, ken.cunningham.web...@gmail.com wrote: > >> You are done. No more circular dependency. > > Yes. One installation of MP depends on another installation. > > > > That's not circular. Circular is when an installation of MacPorts depends on > itself, > and is therefore fragile.

Re: distfile downloads failing on https

2018-02-22 Thread Ken Cunningham
On 2018-02-21, at 11:14 AM, Jan Stary wrote: >> You are done. No more circular dependency. > > Yes. One installation of MP depends on another installation. > That's not circular. CIrcular is when an installation of MacPorts depends on itself, and is therefore fragile. The installation of

Re: distfile downloads failing on https

2018-02-22 Thread Jan Stary
On Feb 22 19:04:41, h...@stare.cz wrote: > > depends_fetch exists, but apparently is not documented in the guide. > > Thanks for the insight. Currently, nothing is using it, > except: these explicitly clear it (why?) Is there a default nonempty value for depends_fetch that makes these ports want

Re: distfile downloads failing on https

2018-02-22 Thread Jan Stary
On Feb 22 17:09:22, rai...@macports.org wrote: > On 2018-02-21 20:14, Jan Stary wrote: > > If I am reading https://guide.macports.org/chunked/reference.phases.html > > right, there is are no "fetch dependencies". Would it make sense > > to introduce fetch dependencies just like we have build

Re: distfile downloads failing on https

2018-02-22 Thread Rainer Müller
On 2018-02-21 20:14, Jan Stary wrote: > If I am reading https://guide.macports.org/chunked/reference.phases.html > right, there is are no "fetch dependencies". Would it make sense > to introduce fetch dependencies just like we have build dependencies > and run dependencies, so that the affected

Re: distfile downloads failing on https

2018-02-21 Thread Clemens Lang
Hi Jan, On Wed, Feb 21, 2018 at 08:14:13PM +0100, Jan Stary wrote: > If I am reading > https://guide.macports.org/chunked/reference.phases.html right, there > is are no "fetch dependencies". Would it make sense to introduce fetch > dependencies just like we have build dependencies and run >

Re: distfile downloads failing on https

2018-02-21 Thread Jan Stary
On Feb 21 08:11:26, ken.cunningham.web...@gmail.com wrote: > I should have been more descriptive about the /opt/bootstrap part of the post > below. > > Like you, I didn't like the circular dependency. If you "sudo port uninstall > active", you're hooped. So here's what I actually do on all

Re: distfile downloads failing on https

2018-02-21 Thread Ken Cunningham
I should have been more descriptive about the /opt/bootstrap part of the post below. Like you, I didn't like the circular dependency. If you "sudo port uninstall active", you're hooped. So here's what I actually do on all systems 10.4 to 10.7 using Macports from this page

Re: distfile downloads failing on https

2018-02-21 Thread Ken Cunningham
see https://trac.macports.org/ticket/51516#comment:19 for a workaround that works quite well on Tiger up until this gets fixed K > On Feb 21, 2018, at 04:26, Jan Stary wrote: > >> On Feb 21 13:18:47, h...@stare.cz wrote: >>> On Feb 21 12:43:28, h...@stare.cz wrote: >>> A more

Re: distfile downloads failing on https

2018-02-21 Thread Jan Stary
On Feb 21 12:43:28, h...@stare.cz wrote: > A more general proposed solution was to bunlde a newer curl with MP, > in partcular one built against a newer SSL/TLS library: > https://trac.macports.org/ticket/51516 It was also suggested there to recompile MP using its own already installed curl port.

distfile downloads failing on https

2018-02-21 Thread Jan Stary
Recently, I have tweaked textproc/lowdown https://github.com/macports/macports-ports/pull/1245 to download the distfile from a http master site, not a https one, because the https server rejects the weak ssl of some older MacOS systems, which could not download the distfile then. That worked for