Ticket #41921: Portfile

File Portfile, 1.6 KB (added by jeff@…, 10 years ago)

Portfile for Tor-0.2.4.20

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: Portfile 111353 2013-09-19 07:21:56Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                tor
7conflicts           tor-devel
8version             0.2.4.20
9categories          security
10platforms           darwin
11maintainers         nomaintainer
12license             BSD
13
14description         anonymizing overlay network for TCP
15
16long_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
23homepage            https://www.torproject.org/
24master_sites        ${homepage}dist/
25
26checksums           rmd160  a06c0f7e423fdc457adbd6f60350194ea5006bc5 \
27                    sha256  ccc51747cbcbf98f658c34d5c693ff8a868698da0349d056e98287ef2e294d9f
28
29depends_lib         port:libevent \
30                    port:openssl \
31                    port:zlib
32
33configure.args      --mandir=${prefix}/share/man
34
35test.run            yes
36test.target         check
37
38post-destroot {
39    set tsocksconf ${destroot}${prefix}/etc/tor/tor-tsocks.conf
40    move ${tsocksconf} ${tsocksconf}.sample
41}
42
43livecheck.type      regex
44livecheck.url       ${master_sites}?C=M\;O=D
45livecheck.regex     tor-(\\d+\\.\\d+\\.\\d+\\.\\d+)${extract.suffix}