[101676] trunk/dports/net/tsocks/Portfile
ryandesign at macports.org
ryandesign at macports.org
Wed Jan 16 19:46:07 PST 2013
Revision: 101676
https://trac.macports.org/changeset/101676
Author: ryandesign at macports.org
Date: 2013-01-16 19:46:06 -0800 (Wed, 16 Jan 2013)
Log Message:
-----------
tsocks: *not* replaced_by torsocks (#37666)
Modified Paths:
--------------
trunk/dports/net/tsocks/Portfile
Modified: trunk/dports/net/tsocks/Portfile
===================================================================
--- trunk/dports/net/tsocks/Portfile 2013-01-16 23:43:39 UTC (rev 101675)
+++ trunk/dports/net/tsocks/Portfile 2013-01-17 03:46:06 UTC (rev 101676)
@@ -3,12 +3,64 @@
PortSystem 1.0
-replaced_by torsocks
-PortGroup obsolete 1.0
-
name tsocks
+epoch 1
version 1.8.4
-revision 3
+revision 2
categories net
platforms darwin
+maintainers nomaintainer
+license GPL-2+
+
+description Transparent SOCKS proxying library
+
+long_description tsocks allows non SOCKS aware applications (e.g \
+ telnet, ssh, ftp etc) to use SOCKS without any \
+ modification. It does this by intercepting the \
+ calls that applications make to establish \
+ network connections and negotating them through \
+ a SOCKS server as necessary.
+
homepage http://ima.udg.edu/~rgarcia/tsocks/
+master_sites ${homepage}
+use_bzip2 yes
+
+checksums md5 dccf57d632136b62dbe7ec7970b6c3e3 \
+ rmd160 4d0fc09ed1815cf66d067e9663061b596171d668 \
+ sha256 a73ec8dc9ff74b1d3261afd6c5a6f7af8e129e470deddb1adde01adefac137c8
+
+patchfiles patch-Makefile.in \
+ patch-configure.in \
+ patch-dead_pool.c \
+ patch-tsocks.c \
+ patch-tsocks.h \
+ patch-tsocks.in
+
+post-extract {
+ reinplace "s|/etc/tsocks.conf|${prefix}/etc/tsocks.conf|g" ${worksrcpath}/tsocks.8
+}
+
+use_autoconf yes
+
+configure.args --with-conf=${prefix}/etc/tsocks.conf \
+ --libdir=${prefix}/lib \
+ --mandir=${prefix}/share/man
+
+configure.universal_args-delete --disable-dependency-tracking
+
+post-destroot {
+ xinstall -m 755 -W ${worksrcpath} inspectsocks validateconf ${destroot}${prefix}/bin
+ xinstall -m 644 ${worksrcpath}/tsocks.conf.simple.example ${destroot}${prefix}/etc/tsocks.conf.sample
+
+ xinstall -m 755 -d ${destroot}${prefix}/share/examples/tsocks
+ eval xinstall -m 644 [glob ${worksrcpath}/*.example] ${destroot}${prefix}/share/examples/tsocks
+
+ xinstall -m 755 -d ${destroot}${prefix}/share/doc/tsocks
+ xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog FAQ INSTALL TODO ${destroot}${prefix}/share/doc/tsocks
+}
+
+notes "
+The tsocks.conf.sample file is in ${prefix}/etc.\
+Copy it to tsocks.conf to use it.\
+You should set tordns_enable to false if you're not using Tor.
+"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130116/fa169d44/attachment.html>
More information about the macports-changes
mailing list