source: trunk/dports/net/torsocks/Portfile

Last change on this file was 147634, checked in by khindenburg@…, 16 months ago

torsocks: update to 2.1.0; change homepage/master_sites; enable tests #44674

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
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 147634 2016-04-11 02:34:54Z ryandesign@macports.org $
3
4PortSystem        1.0
5
6name              torsocks
7version           2.1.0
8categories        net security
9license           GPL-2+
10platforms         darwin
11maintainers       yopmail.com:sami.laine
12description       A transparent socks proxy for use with tor
13long_description  Torsocks is an application for Linux, BSD and \
14                  OS X that allows you to use network applications \
15                  such as ssh and irssi with Tor. Torsocks allows you \
16                  to use most socks-friendly applications in a safe \
17                  way with Tor. It ensures that DNS requests are \
18                  handled safely and explicitly rejects UDP traffic \
19                  from the application you are using.
20homepage          https://git.torproject.org/torsocks.git
21master_sites      https://people.torproject.org/~dgoulet/torsocks/
22use_bzip2         yes
23
24checksums           rmd160  5f7df0de757095301526d3f2109b42d0ad51b670 \
25                    sha256  3c3831cb751ff477d97fb826c79cb2cfedc514e5eb89a3b10f341fb3abdf87db
26
27depends_build       port:coreutils
28
29post-destroot {
30    move ${destroot}${prefix}/etc/tor/torsocks.conf \
31        ${destroot}${prefix}/etc/torsocks.conf.default
32}
33
34post-activate {
35    if {![file exists ${prefix}/etc/torsocks.conf]} {
36        file copy ${prefix}/etc/torsocks.conf.default \
37            ${prefix}/etc/torsocks.conf
38  }
39}
40
41test.run            yes
42test.target         check
Note: See TracBrowser for help on using the repository browser.