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: Portfile 111353 2013-09-19 07:21:56Z ryandesign@macports.org $ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name tor |
---|
7 | conflicts tor-devel |
---|
8 | version 0.2.4.20 |
---|
9 | categories security |
---|
10 | platforms darwin |
---|
11 | maintainers nomaintainer |
---|
12 | license BSD |
---|
13 | |
---|
14 | description anonymizing overlay network for TCP |
---|
15 | |
---|
16 | long_description Tor provides a distributed network of servers \ |
---|
17 | (onion routers). Users bounce their TCP streams \ |
---|
18 | (web traffic, FTP, SSH, etc.) around the \ |
---|
19 | routers. This makes it hard for recipients, \ |
---|
20 | observers, and even the onion routers \ |
---|
21 | themselves to track the source of the stream. |
---|
22 | |
---|
23 | homepage https://www.torproject.org/ |
---|
24 | master_sites ${homepage}dist/ |
---|
25 | |
---|
26 | checksums rmd160 a06c0f7e423fdc457adbd6f60350194ea5006bc5 \ |
---|
27 | sha256 ccc51747cbcbf98f658c34d5c693ff8a868698da0349d056e98287ef2e294d9f |
---|
28 | |
---|
29 | depends_lib port:libevent \ |
---|
30 | port:openssl \ |
---|
31 | port:zlib |
---|
32 | |
---|
33 | configure.args --mandir=${prefix}/share/man |
---|
34 | |
---|
35 | test.run yes |
---|
36 | test.target check |
---|
37 | |
---|
38 | post-destroot { |
---|
39 | set tsocksconf ${destroot}${prefix}/etc/tor/tor-tsocks.conf |
---|
40 | move ${tsocksconf} ${tsocksconf}.sample |
---|
41 | } |
---|
42 | |
---|
43 | livecheck.type regex |
---|
44 | livecheck.url ${master_sites}?C=M\;O=D |
---|
45 | livecheck.regex tor-(\\d+\\.\\d+\\.\\d+\\.\\d+)${extract.suffix} |
---|