# -*- 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 # $Id$ PortSystem 1.0 name tor-devel conflicts tor version 0.2.4.9-alpha categories security platforms darwin maintainers nomaintainer license BSD description anonymizing overlay network for TCP long_description Tor provides a distributed network of servers \ (onion routers). Users bounce their TCP streams \ (web traffic, FTP, SSH, etc.) around the \ routers. This makes it hard for recipients, \ observers, and even the onion routers \ themselves to track the source of the stream. homepage https://www.torproject.org/ master_sites ${homepage}dist/ dist_subdir tor distname tor-${version} checksums rmd160 a75c6b47c52a283ae42c8c93a47415003a362284 \ sha256 6a0a0069faea0c58187381b7f603bb31a44bb8d4e0341385e225d03b6a32c463 depends_lib port:libevent \ port:openssl \ port:zlib # http://llvm.org/bugs/show_bug.cgi?id=15201 if {[variant_isset universal]} { compiler.blacklist-append clang macports-clang-2.9 macports-clang-3.0 macports-clang-3.1 macports-clang-3.2 macports-clang-3.3 } configure.args --disable-asciidoc \ --disable-silent-rules \ --with-libevent-dir=${prefix} \ --with-openssl-dir=${prefix} \ --with-zlib-dir=${prefix} test.run yes test.target check post-destroot { set tsocksconf ${destroot}${prefix}/etc/tor/tor-tsocks.conf move ${tsocksconf} ${tsocksconf}.sample } livecheck.type regex livecheck.url ${master_sites}?C=M\;O=D livecheck.regex [suffix tor-(\\d+\\.\\d+\\.\\d+\\.\\d+(-alpha|-beta|-rc)?)]