pkgsrc/net/rinetd/patches/patch-ac
grant 38fd9dcbc9 Initial import of rinetd-0.62 into The NetBSD Packages Collection.
Redirects TCP connections from one IP address and port to another.
rinetd is a single-process server which handles any number of
connections address/port pairs. Since rinetd runs as a single
process using nonblocking I/O, it is able to redirect a large
number of connections without a severe impact on the machine.
2003-10-01 01:15:44 +00:00

42 lines
1.7 KiB
Text

$NetBSD: patch-ac,v 1.1.1.1 2003/10/01 01:15:44 grant Exp $
--- rinetd.8.orig 2003-04-15 11:19:44.000000000 +1000
+++ rinetd.8
@@ -10,14 +10,14 @@
.Nd internet
.Dq redirection server
.Sh SYNOPSIS
-.Nm /usr/sbin/rinetd
+.Nm @PREFIX@/sbin/rinetd
.Sh VERSION
Version 0.62, 04/14/2003.
.Sh DESCRIPTION
.Nm rinetd
redirects TCP connections from one IP address and port to another. rinetd
is a single-process server which handles any number of connections to
-the address/port pairs specified in the file /etc/rinetd.conf.
+the address/port pairs specified in the file @PKG_SYSCONFDIR@/rinetd.conf.
Since rinetd runs as a single process using nonblocking I/O, it is
able to redirect a large number of connections without a severe
impact on the machine. This makes it practical to run TCP services
@@ -26,9 +26,9 @@ redirect FTP, because FTP requires more
.Pp
rinetd is typically launched at boot time, using the following syntax:
.Pp
-/usr/sbin/rinetd
+@PREFIX@/sbin/rinetd
.Pp
-The configuration file is found in the file /etc/rinetd.conf, unless
+The configuration file is found in the file @PKG_SYSCONFDIR@/rinetd.conf, unless
another file is specified using the -c command line option.
.Sh FORWARDING RULES
Most entries in the configuration file are forwarding rules. The
@@ -157,7 +157,7 @@ The -v command line option displays the
The kill -1 signal (SIGHUP) can be used to cause rinetd
to reload its configuration file without interrupting existing
connections.
-Under Linux\(tm the process id is saved in the file \fI/var/run/rinetd.pid\fR
+The process id is saved in the file \fI/var/run/rinetd.pid\fR
to facilitate the kill -HUP. An alternate
filename can be provided by using the <code>pidlogfile</code>
configuration file option.