mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 19:13:27 -04:00
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 MFH: 2019Q2
This commit is contained in:
parent
b79011506d
commit
e9a96e4257
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=503074
2 changed files with 11 additions and 10 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= tsocks
|
PORTNAME= tsocks
|
||||||
DISTVERSION= 1.8.b5
|
DISTVERSION= 1.8.b5
|
||||||
PORTREVISION= 7
|
PORTREVISION= 8
|
||||||
CATEGORIES= net security
|
CATEGORIES= net security
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.8%20beta%205 \
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/1.8%20beta%205 \
|
||||||
http://ftp1.sourceforge.net/tsocks/ \
|
http://ftp1.sourceforge.net/tsocks/ \
|
||||||
|
@ -15,10 +15,11 @@ COMMENT= Allow non SOCKS aware applications to use SOCKS without modification
|
||||||
|
|
||||||
LICENSE= GPLv2
|
LICENSE= GPLv2
|
||||||
|
|
||||||
GNU_CONFIGURE= yes
|
|
||||||
USES= gmake
|
USES= gmake
|
||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
|
|
||||||
|
GNU_CONFIGURE= yes
|
||||||
|
|
||||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.b.*//}
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/.b.*//}
|
||||||
|
|
||||||
CONFIGURE_ARGS= --with-conf=${PREFIX}/etc/tsocks.conf \
|
CONFIGURE_ARGS= --with-conf=${PREFIX}/etc/tsocks.conf \
|
||||||
|
|
|
@ -25,17 +25,17 @@
|
||||||
+Bash, Ksh and Bourne shell \-
|
+Bash, Ksh and Bourne shell \-
|
||||||
|
|
||||||
-export LD_PRELOAD=/lib/libtsocks.so
|
-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 -
|
||||||
+C Shell \-
|
+C Shell \-
|
||||||
|
|
||||||
-setenv LD_PRELOAD=/lib/libtsocks.so
|
-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
|
This process can be automated (for Bash, Bourne and Korn shell
|
||||||
users) for a single command or for all commands in a shell session
|
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
|
information on this configuration see the CAVEATS section of this
|
||||||
manual page.
|
manual page.
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
it is not, the library redirects the connection to a SOCKS server
|
it is not, the library redirects the connection to a SOCKS server
|
||||||
specified in the configuration file. It then negotiates that connection
|
specified in the configuration file. It then negotiates that connection
|
||||||
with the SOCKS server and passes the connection back to the calling
|
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
|
Most arguments to
|
||||||
.BR tsocks
|
.BR tsocks
|
||||||
are provided in the configuration file (the location of which is defined
|
are provided in the configuration file (the location of which is defined
|
||||||
|
@ -104,7 +104,7 @@
|
||||||
.I TSOCKS_USERNAME
|
.I TSOCKS_USERNAME
|
||||||
This environment variable can be used to specify the username to be used when
|
This environment variable can be used to specify the username to be used when
|
||||||
version 5 SOCKS servers request username/password authentication. This
|
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
|
file using 'default_user', see tsocks.conf(8) for more information. This
|
||||||
variable is ignored for version 4 SOCKS servers.
|
variable is ignored for version 4 SOCKS servers.
|
||||||
|
|
||||||
|
@ -113,7 +113,7 @@
|
||||||
.I TSOCKS_PASSWORD
|
.I TSOCKS_PASSWORD
|
||||||
This environment variable can be used to specify the password to be used when
|
This environment variable can be used to specify the password to be used when
|
||||||
version 5 SOCKS servers request username/password authentication. This
|
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
|
.BR tsocks
|
||||||
will generate error messages and print them to stderr when there are
|
will generate error messages and print them to stderr when there are
|
||||||
problems with the configuration file or the SOCKS negotiation with the
|
problems with the configuration file or the SOCKS negotiation with the
|
||||||
|
@ -128,7 +128,7 @@
|
||||||
.BR tsocks
|
.BR tsocks
|
||||||
will not in the above configuration be able to provide SOCKS proxying to
|
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
|
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
|
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.
|
will break loose if the directory it is in is not available at boot time.
|
||||||
|
|
||||||
|
@ -138,7 +138,7 @@
|
||||||
.BR tsocks
|
.BR tsocks
|
||||||
can only proxy outgoing TCP connections
|
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
|
.BR tsocks
|
||||||
uses ELF dynamic loader features to intercept dynamic function calls from
|
uses ELF dynamic loader features to intercept dynamic function calls from
|
||||||
programs in which it is embedded. As a result, it cannot trace the
|
programs in which it is embedded. As a result, it cannot trace the
|
||||||
|
|
Loading…
Add table
Reference in a new issue