Add pr 1.0, a daemon that connects local terminal device to a
terminal server. PR: 26197 Submitted by: Anton Voronin <anton@urc.ac.ru>
This commit is contained in:
parent
e674705786
commit
14b3d82157
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=40615
@ -17,6 +17,7 @@
|
||||
SUBDIR += mlan
|
||||
SUBDIR += mserver
|
||||
SUBDIR += plp
|
||||
SUBDIR += pr
|
||||
SUBDIR += qico
|
||||
SUBDIR += qpage
|
||||
SUBDIR += seyon
|
||||
|
20
comms/pr/Makefile
Normal file
20
comms/pr/Makefile
Normal file
@ -0,0 +1,20 @@
|
||||
# New ports collection makefile for: pr
|
||||
# Date created: 27 March 2001
|
||||
# Whom: Anton Voronin <anton@urc.ac.ru>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= pr
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= comms net
|
||||
MASTER_SITES= http://rnoc.urc.ac.ru/~anton/projects/files/
|
||||
DISTNAME= pr-${PORTVERSION}
|
||||
|
||||
MAINTAINER= anton@urc.ac.ru
|
||||
|
||||
WRKSRC= ${WRKDIR}/pr
|
||||
|
||||
NO_BUILD= YES
|
||||
|
||||
.include <bsd.port.mk>
|
1
comms/pr/distinfo
Normal file
1
comms/pr/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (pr-1.0.tar.gz) = 40bba24500e910681e436519f5a26d0d
|
1
comms/pr/pkg-comment
Normal file
1
comms/pr/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
A daemon that connects local terminal device to a terminal server
|
19
comms/pr/pkg-descr
Normal file
19
comms/pr/pkg-descr
Normal file
@ -0,0 +1,19 @@
|
||||
The package consists of two programs - PortRedorector and PortTest.
|
||||
|
||||
PortRedirector is a daemon that runs telnet to the remote port of the
|
||||
terminal server and redirects its input and output to a virtual
|
||||
terminal device (/dev/pty*). The corresponding slave device (dev/tty*)
|
||||
then can be used by an application that expects a local async terminal
|
||||
port. For example, to monitor a UPS (connected to AUX ports on a Cisco router)
|
||||
using nut.
|
||||
|
||||
Whenever telnet subprocess terminates on any reason, it is restarted
|
||||
as soon as any data received from the terminal device.
|
||||
|
||||
It can also work when authentication is required, i.e. it can pass username
|
||||
and password specified in its configuration file.
|
||||
|
||||
PortTest is something like cu(1). You can use either of them to test the
|
||||
connection.
|
||||
|
||||
WWW: http://rnoc.urc.ac.ru/~anton/projects/pr/PR.html
|
6
comms/pr/pkg-plist
Normal file
6
comms/pr/pkg-plist
Normal file
@ -0,0 +1,6 @@
|
||||
etc/PortRedirector.conf.sample
|
||||
etc/rc.d/pr.sh.sample
|
||||
sbin/PortRedirector
|
||||
sbin/PortTest
|
||||
share/doc/pr/PR.html
|
||||
@dirrm share/doc/pr
|
Loading…
Reference in New Issue
Block a user