2015-01-13 20:42:51 +00:00
|
|
|
SUMMARY="A transparent socks proxy for use with tor"
|
|
|
|
DESCRIPTION="Torsocks allows you to use most socks-friendly applications \
|
|
|
|
in a safe way with Tor. It ensures that DNS requests are handled safely \
|
|
|
|
and explicitly rejects UDP traffic from the application you're using."
|
|
|
|
HOMEPAGE="https://www.torproject.org"
|
2018-08-03 12:50:33 +00:00
|
|
|
COPYRIGHT="
|
|
|
|
2000-2008 Shaun Clowes
|
|
|
|
2008-2011 Robert Hogan
|
|
|
|
2005 Total Information Security Ltd.
|
|
|
|
2010 Alex Rosenberg
|
|
|
|
2004, 2006 Peter Palfrader
|
|
|
|
2000 Alessandro Iurlano
|
|
|
|
2004 Tomasz Kojm
|
|
|
|
"
|
|
|
|
LICENSE="GNU GPL v2"
|
2018-09-05 05:37:48 +00:00
|
|
|
REVISION="2"
|
2015-07-02 15:12:32 +00:00
|
|
|
SOURCE_URI="http://torsocks.googlecode.com/files/torsocks-1.2.tar.gz"
|
2015-01-13 20:42:51 +00:00
|
|
|
CHECKSUM_SHA256="bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4"
|
2018-08-03 12:50:33 +00:00
|
|
|
PATCHES="torsocks-1.2.patch"
|
2015-01-13 20:42:51 +00:00
|
|
|
|
2021-09-15 19:40:18 +00:00
|
|
|
ARCHITECTURES="?all x86_gcc2 x86"
|
2015-01-13 20:42:51 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
|
|
|
|
|
2018-08-03 12:50:33 +00:00
|
|
|
GLOBAL_WRITABLE_FILES="
|
|
|
|
settings/torsocks.conf manual
|
|
|
|
"
|
|
|
|
|
2015-01-13 20:42:51 +00:00
|
|
|
PROVIDES="
|
2018-09-05 05:37:48 +00:00
|
|
|
torsocks$secondaryArchSuffix = $portVersion
|
2015-01-13 20:42:51 +00:00
|
|
|
cmd:torsocks$secondaryArchSuffix
|
|
|
|
cmd:usewithtor$secondaryArchSuffix
|
|
|
|
lib:libtorsocks$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix >= $haikuVersion
|
|
|
|
"
|
2018-08-03 12:50:33 +00:00
|
|
|
|
2015-01-13 20:42:51 +00:00
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:aclocal
|
|
|
|
cmd:autoconf
|
|
|
|
cmd:automake
|
2018-08-09 08:34:39 +00:00
|
|
|
cmd:gcc$secondaryArchSuffix
|
|
|
|
cmd:ld$secondaryArchSuffix
|
|
|
|
cmd:libtoolize
|
2015-01-13 20:42:51 +00:00
|
|
|
cmd:make
|
|
|
|
"
|
2015-08-04 15:59:44 +00:00
|
|
|
|
2015-01-13 20:42:51 +00:00
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
libtoolize --force --copy --install
|
|
|
|
aclocal
|
|
|
|
autoconf
|
|
|
|
automake
|
2015-08-04 15:59:44 +00:00
|
|
|
|
2015-01-13 20:42:51 +00:00
|
|
|
runConfigure ./configure
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
make install
|
2015-08-04 15:59:44 +00:00
|
|
|
|
2015-01-13 20:42:51 +00:00
|
|
|
# Documentation is put into $dataDir/torsocks
|
|
|
|
# as opposed to $dataDir
|
2015-08-04 15:59:44 +00:00
|
|
|
|
2015-01-13 20:42:51 +00:00
|
|
|
mkdir /temp
|
|
|
|
mv $dataDir/* /temp
|
|
|
|
mkdir $dataDir/torsocks
|
|
|
|
mv /temp/* $dataDir/torsocks
|
|
|
|
rm -r /temp
|
|
|
|
}
|