Configuring MacPorts to work via a proxy

Andrew Luke Nesbit ullbeking at andrewnesbit.org
Sun Sep 9 18:49:47 UTC 2018


Dear all,

I am preparing to install and configure MacPorts on a new machine that
has been supplied by my employer.  It will be used in a corporate
network with strict access controls between the intranet and the Internet.

The only option is to configure MacPorts to use HTTPS through the
official proxy.  The proxy mediates TLS connections using a MITM
approach.  MacPorts and its subtools need to be able to find the root
certificate, which is officially available for installation where required.

I checked the macports.org website today but I couldn't find
instructions on how to do this.  Also, since I last configured MacPorts,
it has moved from Subversion to GitHub.

Does anybody have any information that could help me?

I found a placemarker for an unwritten HOWTO at
https://trac.macports.org/wiki/howto .  I would be happy to help write
this document, or at least to get it started.

Any help would be appreciated.  Thank you!!

Andrew

P.S. Background context and past experience is as follows.

On my previous machine, I was able to configure MacPorts so that `port
sync` worked well over SVN+HTTPS and most port installations worked
properly.  I was never able to get `port selfupdate` working because
rsync is blocked.

This was a couple of years ago.  Configuration was a complex and
time-consuming job due to the constrained environment and lack of
documentation.  I eventually got a mostly-working setup by aggregating
information from blog posts, Subversion documentation, other
documentation, and Stack Exchange.

-- 
OpenPGP key: EB28 0338 28B7 19DA DAB0  B193 D21D 996E 883B E5B9


More information about the macports-users mailing list