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 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name torsocks |
---|
7 | version 1.2 |
---|
8 | revision 2 |
---|
9 | categories net security |
---|
10 | platforms darwin |
---|
11 | license GPL-2+ |
---|
12 | #dist_subdir ${name}/${version}_1 |
---|
13 | maintainers yopmail.com:sami.laine |
---|
14 | description A transparent socks proxy for use with tor |
---|
15 | long_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. |
---|
22 | homepage http://torsocks.googlecode.com/ |
---|
23 | master_sites googlecode |
---|
24 | #master_sites https://torsocks.googlecode.com/files/ |
---|
25 | checksums sha256 bea57d3624d723724fd1e260f0e6b2a354c0da742c023aa994c7692270d111d4 |
---|
26 | |
---|
27 | configure.args --datarootdir=${prefix}/share/doc/torsocks |
---|
28 | post-destroot { |
---|
29 | move ${destroot}${prefix}/etc/torsocks.conf \ |
---|
30 | ${destroot}${prefix}/etc/torsocks.conf.default |
---|
31 | } |
---|
32 | |
---|
33 | post-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). |
---|