# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 PortSystem 1.0 name torsocks version 2.3.0 revision 0 categories net security license GPL-2+ maintainers yopmail.com:sami.laine description A transparent socks proxy for use with tor long_description Torsocks is an application for Linux, BSD and \ OS X that allows you to use network applications \ such as ssh and irssi with Tor. 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 are using. homepage https://git.torproject.org/torsocks.git master_sites https://people.torproject.org/~dgoulet/torsocks/ use_xz yes # See https://trac.torproject.org/projects/tor/ticket/28538 # This same patch is being used by the Homebrew torsocks formula patchfiles 0001-Fix-macros-for-accept4-2.patch checksums rmd160 f8ca8158424b0befd272a136cd3f97416dff76dd \ sha256 b9f1b981d6b3fd4e1820de1eee325f8a7038c84765d5a6cd9af12571d5cc3622 \ size 313072 depends_build path:libexec/coreutils/libstdbuf.so:coreutils configure.args --disable-silent-rules post-destroot { move ${destroot}${prefix}/etc/tor/torsocks.conf \ ${destroot}${prefix}/etc/tor/torsocks.conf.default } post-activate { if {![file exists ${prefix}/etc/tor/torsocks.conf]} { file copy ${prefix}/etc/tor/torsocks.conf.default \ ${prefix}/etc/tor/torsocks.conf } } test.run yes test.target check