Package: ser2net Version: 2.5-1 Severity: minor Tags: patch Hi,
Within /etc/ser2net.conf and /usr/share/doc/ser2net/examples/ser2net.conf, the description of the 'timeout' field is missing. Please find attached a patch to provide this in both files. The field's description was taken from ser2net(8). A couple of spelling errors were also found within ser2net's README, which this patch also corrects. Geoff -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.29-2-686 (SMP w/1 CPU core) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages ser2net depends on: ii libc6 2.9-13 GNU C Library: Shared libraries ser2net recommends no packages. Versions of packages ser2net suggests: pn telnet <none> (no description available) -- no debconf information
diff -u ser2net-2.5/debian/ser2net.conf ser2net-2.5/debian/ser2net.conf --- ser2net-2.5/debian/ser2net.conf +++ ser2net-2.5/debian/ser2net.conf @@ -2,12 +2,12 @@ # This is the configuration file for ser2net. It has the following format: # <TCP port>:<state>:<timeout>:<device>:<options> # TCP port -# Name or number of the TCP/IP port to accept conĀ +# Name or number of the TCP/IP port to accept con- # nections from for this device. A port number may # be of the form [host,]port, such as 127.0.0.1,2000 # or localhost,2000. If this is specified, it will # only bind to the IP address specified. Otherwise -# it will bind to all the ports on the machine. +# it will bind to all the ports on the machine. # # state Either raw or rawlp or telnet or off. off disables # the port from accepting connections. It can be @@ -21,6 +21,11 @@ # col on the port to set up telnet parameters. This # is most useful for using telnet. # +# timeout +# The time (in seconds) before the port will be dis- +# connected if there is no activity on it. A zero +# value disables this funciton. +# # device The name of the device to connect to. This # must be in the form of /dev/<device>. # @@ -34,7 +39,7 @@ # support. [-]RTSCTS turns on (- off) hardware flow # control and [-]LOCAL turns off (- on) monitoring of # the modem lines. The "remctl" option allow remote -# control (ala RFC 2217) of serial-port configuration. +# control (ala RFC 2217) of serial-port configuration. # A banner name may also be specified, that banner will # be printed for the line. If no banner is given, then # no banner is printed. only in patch2: unchanged: --- ser2net-2.5.orig/ser2net.conf +++ ser2net-2.5/ser2net.conf @@ -3,12 +3,12 @@ # format: # <TCP port>:<state>:<timeout>:<device>:<options> # TCP port -# Name or number of the TCP/IP port to accept conĀ +# Name or number of the TCP/IP port to accept con- # nections from for this device. A port number may # be of the form [host,]port, such as 127.0.0.1,2000 # or localhost,2000. If this is specified, it will # only bind to the IP address specified. Otherwise -# it will bind to all the ports on the machine. +# it will bind to all the ports on the machine. # # state Either raw or rawlp or telnet or off. off disables # the port from accepting connections. It can be @@ -22,6 +22,11 @@ # col on the port to set up telnet parameters. This # is most useful for using telnet. # +# timeout +# The time (in seconds) before the port will be dis- +# connected if there is no activity on it. A zero +# value disables this funciton. +# # device The name of the device to connect to. This # must be in the form of /dev/<device>. # @@ -36,9 +41,9 @@ # hardware flow control, [-]LOCAL turns off (- on) # monitoring of the modem lines, and # [-]HANGUP_WHEN_DONE turns on (- off) lowering the -# modem control lines when the connextion is done. -# NOBREAK disables automatic setting of the break -# setting of the serial port. +# modem control lines when the connextion is done. +# NOBREAK disables automatic setting of the break +# setting of the serial port. # The "remctl" option allow remote control (ala RFC # 2217) of serial-port configuration. A banner name # may also be specified, that banner will be printed only in patch2: unchanged: --- ser2net-2.5.orig/README +++ ser2net-2.5/README @@ -2,5 +2,5 @@ ports. See the man page for information about using the program. Note that ser2net supports RFC 2217 (remote control of serial port -parameters), but you must have a complient client. The only one I -know if is kermit (http://www.columbia.edu/kermit). \ No newline at end of file +parameters), but you must have a compliant client. The only one I +know of is kermit (http://www.columbia.edu/kermit).