MFH: r503074
tsocks(8) suggests the the following line (twice): LD_PRELOAD=/usr/local/lib/tsocks/libtsocks.so This is wrong, because the library is installed under regular path, without the `tsocks' subdirectory. Fix the manpage accordingly. Notified by: danfe Approved by: ports-secteam (blanket)
This commit is contained in:
parent
a0aa357d28
commit
353e0a2285
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=503075
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= tsocks
|
||||
DISTVERSION= 1.8.b5
|
||||
PORTREVISION= 7
|
||||
PORTREVISION= 8
|
||||
CATEGORIES= net security
|
||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.8%20beta%205 \
|
||||
http://ftp1.sourceforge.net/tsocks/ \
|
||||
@ -15,10 +15,11 @@ COMMENT= Allow non SOCKS aware applications to use SOCKS without modification
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= gmake
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.b.*//}
|
||||
|
||||
CONFIGURE_ARGS= --with-conf=${PREFIX}/etc/tsocks.conf \
|
||||
|
@ -25,17 +25,17 @@
|
||||
+Bash, Ksh and Bourne shell \-
|
||||
|
||||
-export LD_PRELOAD=/lib/libtsocks.so
|
||||
+export LD_PRELOAD=/usr/local/lib/tsocks/libtsocks.so
|
||||
+export LD_PRELOAD=/usr/local/lib/libtsocks.so
|
||||
|
||||
-C Shell -
|
||||
+C Shell \-
|
||||
|
||||
-setenv LD_PRELOAD=/lib/libtsocks.so
|
||||
+setenv LD_PRELOAD=/usr/local/lib/tsocks/libtsocks.so
|
||||
+setenv LD_PRELOAD=/usr/local/lib/libtsocks.so
|
||||
|
||||
This process can be automated (for Bash, Bourne and Korn shell
|
||||
users) for a single command or for all commands in a shell session
|
||||
@@ -30,13 +29,12 @@ automatically use it, a very useful conf
|
||||
@@ -30,13 +29,12 @@ automatically use it, a very useful configuration. For
|
||||
information on this configuration see the CAVEATS section of this
|
||||
manual page.
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
it is not, the library redirects the connection to a SOCKS server
|
||||
specified in the configuration file. It then negotiates that connection
|
||||
with the SOCKS server and passes the connection back to the calling
|
||||
@@ -52,42 +50,42 @@ the SOCKSified TCP/IP stacks seen on oth
|
||||
@@ -52,42 +50,42 @@ the SOCKSified TCP/IP stacks seen on other platforms.
|
||||
Most arguments to
|
||||
.BR tsocks
|
||||
are provided in the configuration file (the location of which is defined
|
||||
@ -104,7 +104,7 @@
|
||||
.I TSOCKS_USERNAME
|
||||
This environment variable can be used to specify the username to be used when
|
||||
version 5 SOCKS servers request username/password authentication. This
|
||||
@@ -95,7 +93,7 @@ overrides the default username that can
|
||||
@@ -95,7 +93,7 @@ overrides the default username that can be specified i
|
||||
file using 'default_user', see tsocks.conf(8) for more information. This
|
||||
variable is ignored for version 4 SOCKS servers.
|
||||
|
||||
@ -113,7 +113,7 @@
|
||||
.I TSOCKS_PASSWORD
|
||||
This environment variable can be used to specify the password to be used when
|
||||
version 5 SOCKS servers request username/password authentication. This
|
||||
@@ -115,11 +113,12 @@ consult the INSTALL file for more inform
|
||||
@@ -115,11 +113,12 @@ consult the INSTALL file for more information.
|
||||
.BR tsocks
|
||||
will generate error messages and print them to stderr when there are
|
||||
problems with the configuration file or the SOCKS negotiation with the
|
||||
@ -128,7 +128,7 @@
|
||||
.BR tsocks
|
||||
will not in the above configuration be able to provide SOCKS proxying to
|
||||
setuid applications or applications that are not run from a shell. You can
|
||||
@@ -132,8 +131,7 @@ the INSTALL file for more info). THIS I
|
||||
@@ -132,8 +131,7 @@ the INSTALL file for more info). THIS IS A ***WARNING
|
||||
careful. Also be sure the library is in the root filesystem as all hell
|
||||
will break loose if the directory it is in is not available at boot time.
|
||||
|
||||
@ -138,7 +138,7 @@
|
||||
.BR tsocks
|
||||
can only proxy outgoing TCP connections
|
||||
|
||||
@@ -157,21 +155,21 @@ not. This introduces overhead and should
|
||||
@@ -157,21 +155,21 @@ not. This introduces overhead and should only be used
|
||||
.BR tsocks
|
||||
uses ELF dynamic loader features to intercept dynamic function calls from
|
||||
programs in which it is embedded. As a result, it cannot trace the
|
||||
|
Loading…
Reference in New Issue
Block a user