Ticket #37352: Portfile

File Portfile, 1.5 KB (added by sami.laine@…, 11 years ago)
Line 
1# -*- 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
2# $Id$
3
4PortSystem        1.0
5
6name              torsocks
7version           1.2
8revision          2
9categories        net security
10platforms         darwin
11license           GPL-2+
12#dist_subdir       ${name}/${version}_1
13maintainers       yopmail.com:sami.laine
14description       A transparent socks proxy for use with tor
15long_description  Torsocks is an application for Linux, BSD and \
16                  Mac OSX that allows you to use network applications \
17                  such as ssh and irssi with Tor. Torsocks allows you \
18                  to use most socks-friendly applications in a safe \
19                  way with Tor. It ensures that DNS requests are \
20                  handled safely and explicitly rejects UDP traffic \
21                  from the application you're using.
22homepage          http://torsocks.googlecode.com/
23master_sites      googlecode
24#master_sites      https://torsocks.googlecode.com/files/
25checksums         sha256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4
26
27configure.args   --datarootdir=${prefix}/share/doc/torsocks
28post-destroot {
29  move ${destroot}${prefix}/etc/torsocks.conf \
30       ${destroot}${prefix}/etc/torsocks.conf.default
31}
32
33post-activate {
34  if {![file exists ${prefix}/etc/torsocks.conf]} {
35    file copy ${prefix}/etc/torsocks.conf.default \
36              ${prefix}/etc/torsocks.conf
37  }
38}
39
40# end of file (I'm pretty sure this might be left here).