diff options
author | Darren Hart <dvhart@linux.intel.com> | 2013-02-08 14:27:22 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-02-11 22:53:00 +0000 |
commit | 62867f56da0e0904f0108f113324c2432659fbac (patch) | |
tree | 1f3ffd159d1b3013d87d8e89458106186bd26a42 /scripts/oe-git-proxy-socks-command | |
parent | c485322fa2b89eb90efd88969d0c73575f128af7 (diff) | |
download | openembedded-core-62867f56da0e0904f0108f113324c2432659fbac.tar.gz openembedded-core-62867f56da0e0904f0108f113324c2432659fbac.tar.bz2 openembedded-core-62867f56da0e0904f0108f113324c2432659fbac.zip |
oe-git-proxy: Add a new comprehensive git proxy script
oe-git-proxy.sh is a simple tool to be used via GIT_PROXY_COMMAND. It
uses BSD netcat to make SOCKS5 or HTTPS proxy connections. It uses
ALL_PROXY to determine the proxy server, protocol, and port. It uses
NO_PROXY to skip using the proxy for a comma delimited list of hosts,
host globs (*.example.com), IPs, or CIDR masks (192.168.1.0/24). It is
known to work with both bash and dash shells.
V2: Implement recommendations by Enrico Scholz:
o Use exec for the nc calls
o Use "$@" instead of $* to avoid quoting issues inherent with $*
o Use bash explicitly and simplify some of the string manipulations
Also:
o Drop the .sh in the name per Otavio Salvador
o Remove a stray debug statement
V3: Implement recommendations by Otavio Salvador
o GPL license blurb
o Fix minor typo in comment block
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Cc: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Cc: Otavio Salvador <otavio@ossystems.com.br>
git-proxy cleanup
Signed-off-by: Darren Hart <dvhart@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/oe-git-proxy-socks-command')
0 files changed, 0 insertions, 0 deletions