Changeset 100724


Ignore:
Timestamp:
Dec 21, 2012, 8:01:55 AM (8 years ago)
Author:
ryandesign@…
Message:

tsocks: replaced_by torsocks (#36808)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/net/tsocks/Portfile

    r99237 r100724  
     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
    12# $Id$
    23
    34PortSystem              1.0
    45
     6replaced_by             torsocks
     7PortGroup               obsolete 1.0
     8
    59name                    tsocks
    610version                 1.8.4
    7 revision                2
     11revision                3
    812categories              net
    913platforms               darwin
    10 maintainers             nomaintainer
    11 
    12 description             Transparent SOCKS proxying library
    13 
    14 long_description        tsocks allows non SOCKS aware applications (e.g \
    15                         telnet, ssh, ftp etc) to use SOCKS without any \
    16                         modification. It does this by intercepting the \
    17                         calls that applications make to establish \
    18                         network connections and negotating them through \
    19                         a SOCKS server as necessary.
    20 
    2114homepage                http://ima.udg.edu/~rgarcia/tsocks/
    22 master_sites            ${homepage}
    23 use_bzip2               yes
    24 
    25 checksums               md5     dccf57d632136b62dbe7ec7970b6c3e3
    26 
    27 patchfiles              patch-Makefile.in \
    28                         patch-configure.in \
    29                         patch-dead_pool.c \
    30                         patch-tsocks.c \
    31                         patch-tsocks.h \
    32                         patch-tsocks.in
    33 
    34 post-extract {
    35     reinplace "s|/etc/tsocks.conf|${prefix}/etc/tsocks.conf|g" \
    36         ${worksrcpath}/tsocks.8
    37 }
    38 
    39 use_autoconf            yes
    40 
    41 configure.args          --with-conf=${prefix}/etc/tsocks.conf \
    42                         --libdir=${prefix}/lib \
    43                         --mandir=${prefix}/share/man
    44 
    45 configure.universal_args-delete --disable-dependency-tracking
    46 
    47 post-destroot {
    48     xinstall -m 755 -W ${worksrcpath} inspectsocks validateconf \
    49         ${destroot}${prefix}/bin
    50     xinstall -m 644 ${worksrcpath}/tsocks.conf.simple.example ${destroot}${prefix}/etc/tsocks.conf.sample
    51    
    52     xinstall -m 755 -d ${destroot}${prefix}/share/examples/tsocks
    53     eval xinstall -m 644 [glob ${worksrcpath}/*.example] ${destroot}${prefix}/share/examples/tsocks
    54    
    55     xinstall -m 755 -d ${destroot}${prefix}/share/doc/tsocks
    56     xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog FAQ INSTALL TODO ${destroot}${prefix}/share/doc/tsocks
    57 }
    58 
    59 notes "
    60 The tsocks.conf.sample file is in ${prefix}/etc.\
    61 Copy it to tsocks.conf to use it.\
    62 You should set tordns_enable to false if you're not using Tor.
    63 "
Note: See TracChangeset for help on using the changeset viewer.