[MacPorts] #52198: sshuttle - where transparent proxy meets VPN meets ssh
MacPorts
noreply at macports.org
Thu Sep 15 19:26:23 CEST 2016
#52198: sshuttle - where transparent proxy meets VPN meets ssh
------------------------+--------------------------------
Reporter: iamsudo@… | Owner: macports-tickets@…
Type: request | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords:
Port: sshuttle |
------------------------+--------------------------------
Comment (by ken.cunningham.webuse@…):
OK -- I have a portfile available for testing, if anyone is interested. It
appears to work well. Lots of manual installation details as that part
wasn't in the port itself. To try it out, put it in your local repo under
./net/sshuttle/Portfile.
There are a couple of idiosyncracies with this one. It uses an unusual
build system. For some reason that I have not yet been able to debug,
there is noticeable pause between the build phase and the destroot phase
-- the build system is doing something, but I can't figure out what it is.
It seems to be waiting for some command to finish, and then times out. So
don't be too impatient with it -- it seems to always finish.
{{{
Removing stamp files...
---LONG PAUSE!------ then action continues ...
make: Leaving directory
'/opt/local/var/macports/build/_opt_myports_net_sshuttle/sshuttle/work
/sshuttle-29d2e06bf5cd3d575015e23c638ca9e5a10ee29c'
---> Staging sshuttle into destroot
}}}
The machine you're connecting to needs to have at least python 3.4
running. So I had to upgrade an older Tiger PPC machine I use for this to
a newer python version to make it work.
I should specify that it should use python27 for building somewhere in the
portfile. I asked it to install python27 versions of the dependencies it
requires. The build script appears to just 'shebang' python, so perhaps
the best way I could add that would be to set a build environment variable
to python27.
For running it, it just uses the system's default python settings it
appears, so I haven't exhaustively tested which versions of python might
or might not work. I have my defaults set to python27 for both python and
python2.
{{{
if python2 -V 2>/dev/null; then
exec python2 "$DIR/main.py" python2 "$@"
else
exec python "$DIR/main.py" python "$@"
fi
}}}
Hope the testing goes well for anyone interested, and we'll see what warts
shake loose initially, prior to any attempt at a final release of this.
Best, Ken
--
Ticket URL: <https://trac.macports.org/ticket/52198#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list