Ticket #11652: patch-Portfile

File patch-Portfile, 1.8 KB (added by darren.bane@…, 17 years ago)

Patch against net/tsocks/Portfile

Line 
1--- Portfile.orig       2007-03-28 12:30:06.000000000 +0100
2+++ Portfile    2007-03-28 13:19:32.000000000 +0100
3@@ -2,10 +2,9 @@
4 
5 PortSystem 1.0
6 name             tsocks
7-version          1.8beta5
8-revision         4
9+version          1.8.3
10 categories       net
11-maintainers      darren.bane@ul.ie
12+maintainers      darren.bane@gmail.com
13 description      Transparent SOCKS proxying library
14 long_description \
15        tsocks allows non SOCKS aware applications (e.g \
16@@ -14,18 +13,20 @@
17        calls that applications make to establish \
18        network connections and negotating them through \
19        a SOCKS server as necessary.
20-homepage         http://tsocks.sourceforge.net/
21+homepage         http://giig.ugr.es/~rgarcia/tsocks/
22+master_sites     ${homepage}
23+extract.suffix   .tar.bz2
24+use_bzip2        yes
25 platforms        darwin
26-master_sites     sourceforge
27-checksums        md5 51caefd77e5d440d0bbd6443db4fc0f8
28-worksrcdir       ${name}-1.8
29+checksums        md5 42eafd7fe0ee08cb27bb3228295fb36c
30+worksrcdir       ${name}-1.8.3
31 use_autoconf     yes
32 patchfiles       patch-configure.in \
33                 patch-Makefile.in \
34                 patch-tsocks.in \
35                 patch-tsocks.c \
36-                patch-parser.c \
37-                patch-tsocks.h
38+                patch-tsocks.h \
39+                patch-dead_pool.c
40 
41 configure.args   --with-conf=${prefix}/etc/tsocks.conf \
42                 --libdir=${prefix}/lib \
43@@ -33,10 +34,6 @@
44 
45 post-extract {
46        reinplace "s|/etc/tsocks.conf|${prefix}/etc/tsocks.conf|g" \
47-               ${worksrcpath}/tsocks.1 \
48-               ${worksrcpath}/tsocks.8
49-
50-       reinplace "s|TSOCKS_CONFFILE|TSOCKS_CONF_FILE|g" \
51                 ${worksrcpath}/tsocks.8
52 }
53 
54@@ -54,5 +51,5 @@
55 }
56 
57 post-activate { ui_msg "\n
58-The tsocks.conf.sample file is in ${prefix}/etc.  Rename it to tsocks.conf to use it. \n"
59+The tsocks.conf.sample file is in ${prefix}/etc.  Rename it to tsocks.conf to use it.  You should set tordns_enable to false if you're not using Tor.\n"
60 }