1) Download transconnect source code from its website
2) Uncompress the .tar.gz package, to install it, simply type:
make make install
The above is the standard installation, for others, please refer to INSTALL located within the uncompressed directory.
3) A new directory ‘.tconn’ will be created under your HOME directory by the installer and a config file ‘tconn.conf’ will be copied to that directory. Open ‘tconn.conf’, you will find two options named ‘proxyserv’ and ‘proxyport’. Replace the default value with the proxy you are in use.
And that’s all for setting!
4) It is easy to start transconnect by exporting an environment variable:
LD_PRELOAD=$HOME/.tconn/tconn.so export LD_PRELOAD
After that, try your git client, it should work on current terminal by going through the proxy you have set.
5) It is also easy to stop transconnect. In the terminal you have exported LD_RELOAD, simply unset it.
unset LD_PRELOAD
Yes, that’s all, enjoy!
If you get this warning when using emerge
WARNING: repository at … is missing a repo_name entry
you need to create a file “repo_name” containing the overlay name into the “profiles” directory under your overlay directory. If my overlay is in /opt/my-overlay, i need this file :
# cat /opt/my-overlay/profiles/repo_name
myoverlay