void-packages/srcpkgs/tsocks/template

39 lines
1.4 KiB
Text
Raw Normal View History

2012-03-08 15:21:57 +00:00
# Template file for 'tsocks'
pkgname=tsocks
version=1.8beta5
revision=1
2012-03-08 15:21:57 +00:00
wrksrc="tsocks-1.8"
build_style=gnu-configure
configure_args="--libdir=/usr/lib"
short_desc="Transparent SOCKS proxying library"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://tsocks.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/tsocks/tsocks-$version.tar.gz"
2012-03-08 15:21:57 +00:00
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
}
tsocks_package() {
pkg_install() {
vmove usr
}
}