source: trunk/dports/net/dsocks/Portfile

Last change on this file was 154481, checked in by ryandesign@…, 13 months ago

dsocks: Update to 1.7

Resolves #52748

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1# $Id: Portfile 154481 2016-10-30 22:29:02Z ryandesign@macports.org $
2
3PortSystem 1.0
4
5name                    dsocks
6version                 1.7
7categories              net
8license                 GPL-2
9maintainers             nomaintainer
10description             SOCKS client wrapper for *BSD / Mac OS X
11long_description        dsocks supports just enough of SOCKS 4 and 5 to allow \
12                        non-SOCKS-aware applications to connect through either \
13                        a local OpenSSH or a local Tor SOCKS proxy.
14platforms               darwin freebsd
15
16homepage                https://monkey.org/~dugsong/dsocks/
17master_sites            googlecode
18
19checksums               rmd160 cdad2b452b255462b1c06e837f7487babbcb091a \
20                        sha256  dea7f476f15be36c314b9c5b5c580d7e08955e40dc71de51827386a3f7ce9dee
21
22depends_run             bin:ssh:openssh
23
24post-patch  {
25    reinplace "s|/usr/local|${prefix}|g" \
26        ${worksrcpath}/dsocks.sh \
27        ${worksrcpath}/dsocks-torify.sh
28}
29
30use_configure           no
31
32build.type              bsd
33
34destroot.post_args      DESTDIR=${destroot} LIBDIR=${prefix}/lib STRIP=''
35
36post-destroot {
37    xinstall -m 755 ${worksrcpath}/dsocks.sh ${destroot}${prefix}/bin
38}
39
40variant tor description {Add support for using the TOR anonymising network} {
41    depends_run-append  bin:tor:tor port:py27-dpkt
42   
43    post-destroot {
44        xinstall -W ${worksrcpath} dsocks.sh dsocks-torify.sh tor-dns-proxy.py ${destroot}${prefix}/bin
45    }
46}
Note: See TracBrowser for help on using the repository browser.