ports/118537: minor doc-bug in net/rinetd

Dan Mahoney danm at prime.gushi.org
Mon Dec 10 21:20:02 UTC 2007


>Number:         118537
>Category:       ports
>Synopsis:       minor doc-bug in net/rinetd
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 10 21:20:01 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dan Mahoney
>Release:        FreeBSD 6.2-PRERELEASE i386
>Organization:
Gushi Systems
>Environment:
System: FreeBSD prime.gushi.org 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #0: Wed Dec 20 05:43:31 EST 2006 danm at prime.gushi.org:/usr/obj/usr/src/sys/GENERIC i386

>Description:

In patching rinetd as part of ports, the default configuration file is changed from the "distributed" /etc/rinetd.conf to 
the "portsified" /usr/local/etc/rinetd.conf

>How-To-Repeat:

Install /usr/ports/net/rinetd, man rinetd VERSUS strings /usr/local/sbin/rinetd|grep rinetd.conf

>Fix:

A small patch (not sure I did it right):

--- rinetd.8.orig	Mon Apr 14 21:19:44 2003
+++ rinetd.8	Mon Dec 10 16:14:08 2007
@@ -10,14 +10,14 @@
 .Nd internet
 .Dq redirection server
 .Sh SYNOPSIS
-.Nm /usr/sbin/rinetd
+.Nm /usr/local/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 /usr/local/etc/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 @@
 .Pp
 rinetd is typically launched at boot time, using the following syntax:
 .Pp
-/usr/sbin/rinetd
+/usr/local/sbin/rinetd
 .Pp
-The configuration file is found in the file /etc/rinetd.conf, unless
+The configuration file is found in the file /usr/local/etc/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

NOTE: I originally had emailed the ports author since I felt this was a small and not pr-worthy-fix, but I ran into an issue 
whereby his mailer rejected my SPF because it didn't recognize the FreeBSD forwarder.
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list