Re: Specifying multiple executable arguments using startupitems

2020-07-30 Thread Ryan Schmidt
On Jun 14, 2020, at 16:08, Ryan Schmidt wrote:

> On Jun 14, 2020, at 11:45, Ryan Schmidt wrote:
> 
>> Is this a bug?
> 
> On the assumption that it is, I believe this is the fix:
> 
> https://github.com/macports/macports-base/pull/191

The bug has been fixed in 2.6.3. Some ports will need to adjust their usage of 
startupitems to be compatible with this change. I believe there are only 4 
ports affected, mentioned in that PR, for which I've filed tickets or PRs.


Re: Distfile Mirror Issues

2020-07-30 Thread Ryan Schmidt



On Jul 29, 2020, at 16:56, Fred Wright wrote:
> On Wed, 29 Jul 2020, Ryan Schmidt wrote:
>> On Jul 28, 2020, at 20:29, Ryan Schmidt wrote:
>> 
>>> I'll ask them if they want to enable older algorithms or allow non-https 
>>> access. If they want to do neither, I'll configure MacPorts to remove that 
>>> mirror on OS versions that can't connect to it.
>> 
>> They've reinstated old ciphers so now it'll work back to Mac OS X 10.6. I'll 
>> get master_sites.tcl and archive_sites.tcl updated to pick this and other 
>> mirrors only on compatible OS versions.
> 
> I'm not sure that's important, since the SSL-related failures are fairly 
> quick, and having to maintain a compatibility du jour list for mirrors versus 
> OS versions is just an added hassle.

It's done. It's not a big difficulty.

> The mirrors that are actually down are more annoying, since that involves 
> timeouts, but that's not something that one would expect to be reflected in a 
> list (except for permanent decommisioning).

Servers that are down and don't respond to pings won't be included in the list 
of servers to try. There could be up to 24 hours during which MacPorts would 
try to contact an offline server, if it was online when it was last pinged.




Re: port "cask" -- installing prebuilt binaries

2020-07-30 Thread Ken Cunningham
> >> From the user's perspective, how does that differ from a port that's 
> > available as a binary archive?  I presume the idea is that it directly uses 
> > a precompiled binary from the upstream source, but from the user's 
> > perspective, does it really matter whether it was a binary from upstream or 
> > a binary from the buildbots?
> > 
> > Or is this for ports where upstream doesn't provide source at all?
> > 
> > Personally, I'd prefer the MacPorts approach if it were less stingy with 
> > the binary archives.  Ideally, one should be *able* to build from source, 
> > but not be *required* to do so.
> 
> How is it stingy? We have binary archives for everything that the buildbots 
> can build that the licenses allow us to distribute, right?
> 
> port, by default, will use the binary archives unless you tell it to build 
> from source instead.
> -- 

These “cask” binaries are generally the official downloadable software packages 
you would get from the project or website of the company or group providing the 
software, built the way they build it, with their libraries integrated into the 
binaries, their update mechanisms, their range of allowed deployment targets. 

There are upsides and downsides to this. Clearly if we can build it, we should. 
But there are things we can’t build, for example “Zoom” is a good one. But 
there are hundreds of others. Until now, MacPorts didn’t try to provide these 
things, but there seems to be a demand for command-line binary installers.

Having used homebrew cask to install about 100 of these in one fell swoop, it 
was convenient, until the warts started showing up and I had to uninstall about 
1/2 of them for various reasons.

I only raise the idea as people are already doing this, and submitting such 
ports, and before we have too many, there is an opportunity to say how it 
should best be done (custom category, naming convention, etc).

K