ports/net/tsocks/files/patch-tsocks.1
Emanuel Haupt 7640c426a5 - Install inspectsocks and validateconf which are mentioned in the manpage
- Add license
- Use SUB_FILES for pkg-message
- Use DISTVERSION instead of PORTVERSION
- Recreate patch files to satisfy portlint
- Reformat pkg-message to what the PHB (section 8.5) defines as a good format
- Bump PORTREVISION
- Take maintainership
2016-08-19 16:15:17 +00:00

63 lines
1.8 KiB
Groff

--- tsocks.1.orig 2002-03-16 10:34:44 UTC
+++ tsocks.1
@@ -1,24 +1,24 @@
-.TH TSOCKS 1 "" "TSOCKS"
-
-.SH NAME
+.\"
+.TH "TSOCKS" "1" "" "TSOCKS" ""
+.SH "NAME"
.BR tsocks
\- Shell wrapper to simplify the use of the tsocks(8) library to
transparently allow an application to use a SOCKS proxy
-.SH SYNOPSIS
+.SH "SYNOPSIS"
.B tsocks
.RB [application\ [application's\ arguments]]
-.br
+.br
or
.B tsocks
.RB [on|off]
-.br
+.br
or
.B tsocks
-.SH DESCRIPTION
+.SH "DESCRIPTION"
.B tsocks
is a wrapper between the tsocks library and the application what you
would like to run socksified.
-.SH OPTIONS
+.SH "OPTIONS"
.IP \fB[application\ \fB[application's\ arguments]]
run the application as specified with the environment (LD_PRELOAD) set
such that tsocks(8) will transparently proxy SOCKS connections in
@@ -28,19 +28,19 @@ this option adds or removes tsocks(8) fr
variable. When tsocks(8) is in this variable all executed
applications are automatically socksified. If you want to
use this function, you HAVE to source the shell script from yours,
-like this: "source /usr/bin/tsocks" or ". /usr/bin/tsocks"
-.br
+like this: "source /usr/local/bin/tsocks" or ". /usr/local/bin/tsocks"
+.br
Example:
-.br
-". tsocks on" -- add the tsocks lib to LD_PRELOAD
-.br
-". tsocks off" -- remove the tsocks lib from LD_PRELOAD
+.br
+". tsocks on" \-\- add the tsocks lib to LD_PRELOAD
+.br
+". tsocks off" \-\- remove the tsocks lib from LD_PRELOAD
.IP \fB[show|sh]
show the current value of the LD_PRELOAD variable
.IP \fB<without\ any\ argument>
create a new shell with LD_PRELOAD including tsocks(8).
-.PP
-.SH AUTHOR
+.PP
+.SH "AUTHOR"
This script was created by Tamas SZERB <toma@rulez.org> for the debian
package of tsocks. It (along with this manual page) have since been
adapted into the main tsocks project and modified.