mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
tsocks: Add tsocks to meta-network/recipes-protocols
The tsocks program is frequently used to easily wrap any generic program such as telnet, ssh, wget or any other tcp socket program using an LD_PRELOAD library. One might use an ssh tunnel and wget for example. Example of tunnel via ssh to remote url: ssh -N -D 1080 $REMOTE_HOST_TUNNEL_ENDPOINT & cat<<EOF>tsocks.conf server_port = 1080 server = 127.0.0.1 EOF TSOCKS_CONF_FILE=$PWD/tsocks.conf tsocks curl $REMOTE_URL Signed-off-by: Jason Wessel <jason.wessel@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
parent
b851e928ea
commit
9d923033cb
23
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
Normal file
23
meta-networking/recipes-protocols/tsocks/tsocks_1.8beta5.bb
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
SUMMARY = "Libraries and wrapper for using a SOCKS proxy"
|
||||
DESCRIPTION = "The role of tsocks is to allow non SOCKS aware \
|
||||
applications (e.g telnet, ssh, ftp etc) to use SOCKS without any \
|
||||
modification. It does this by intercepting the calls that applications \
|
||||
make to establish network connections and negotating them through a \
|
||||
SOCKS server as necessary."
|
||||
HOMEPAGE = "http://sourceforge.net/projects/tsocks/"
|
||||
SECTION = "net"
|
||||
LICENSE = "GPL-2.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=18810669f13b87348459e611d31ab760"
|
||||
|
||||
SRC_URI = "http://downloads.sourceforge.net/tsocks/tsocks-${PV}.tar.gz"
|
||||
|
||||
SRC_URI[md5sum] = "51caefd77e5d440d0bbd6443db4fc0f8"
|
||||
SRC_URI[sha256sum] = "849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347"
|
||||
|
||||
inherit autotools-brokensep
|
||||
|
||||
S = "${WORKDIR}/tsocks-1.8"
|
||||
|
||||
FILES_${PN} = "${libdir}/* ${bindir}/tsocks"
|
||||
FILES_${PN}-dev = ""
|
||||
INSANE_SKIP_${PN} = "dev-so"
|
||||
Loading…
Reference in New Issue
Block a user