From f71332bc2383fcf2ab7d83f21206dd47f499d945 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 8 Mar 2012 16:21:57 +0100 Subject: [PATCH] New package: tsocks-1.8beta5. --- srcpkgs/tsocks/template | 31 +++++++++++++++++++++++++++++++ srcpkgs/tsocks/tsocks.rshlibs | 2 ++ 2 files changed, 33 insertions(+) create mode 100644 srcpkgs/tsocks/template create mode 100644 srcpkgs/tsocks/tsocks.rshlibs diff --git a/srcpkgs/tsocks/template b/srcpkgs/tsocks/template new file mode 100644 index 00000000000..38fd6d7fbbc --- /dev/null +++ b/srcpkgs/tsocks/template @@ -0,0 +1,31 @@ +# Template file for 'tsocks' +pkgname=tsocks +version=1.8beta5 +wrksrc="tsocks-1.8" +homepage="http://tsocks.sourceforge.net/" +distfiles="${SOURCEFORGE_SITE}/tsocks/tsocks-$version.tar.gz" +build_style=gnu-configure +configure_args="--libdir=/usr/lib" +short_desc="Transparent SOCKS proxying library" +maintainer="Juan RP " +license="GPL-2" +checksum=849d7ef5af80d03e76cc05ed9fb8fa2bcc2b724b51ebfd1b6be11c7863f5b347 +long_desc=" + SOCKS servers are a form of proxy that are commonly used in firewalled LAN + environments to allow access between networks, and often to the Internet. + The problem is that most applications don't know how to gain access through + SOCKS servers. This means that network based applications that don't + understand SOCKS are very limited in networks they can reach. An example of + this is simple 'telnet'. If you're on a network firewalled from the internet + with a SOCKS server for outside access, telnet can't use this server and + thus can't telnet out to the Internet. + + tsocks' role is to allow these 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." + +post_install() { + vmkdir usr/share/examples/tsocks + install -m644 *.example ${DESTDIR}/usr/share/examples/tsocks +} diff --git a/srcpkgs/tsocks/tsocks.rshlibs b/srcpkgs/tsocks/tsocks.rshlibs new file mode 100644 index 00000000000..d02f93f9161 --- /dev/null +++ b/srcpkgs/tsocks/tsocks.rshlibs @@ -0,0 +1,2 @@ +libdl.so.2 +libc.so.6