Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2001 14:13:50 +0600 (YEKST)
From:      anton@urc.ac.ru
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/26197: New port: comms/pr
Message-ID:  <200103290813.f2T8Do531869@belle.rnoc.urc.ac.ru>

next in thread | raw e-mail | index | archive | help

>Number:         26197
>Category:       ports
>Synopsis:       New port: comms/pr
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Mar 29 00:20:01 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anton Voronin
>Release:        FreeBSD 4.2-STABLE i386
>Organization:
Southern Ural State University, Chelyabinsk, Russia
>Environment:

>Description:

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

>How-To-Repeat:

>Fix:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	pr
#	pr/Makefile
#	pr/distinfo
#	pr/pkg-comment
#	pr/pkg-descr
#	pr/pkg-plist
#
echo c - pr
mkdir -p pr > /dev/null 2>&1
echo x - pr/Makefile
sed 's/^X//' >pr/Makefile << 'END-of-pr/Makefile'
X# New ports collection makefile for:   pr
X# Date created:        27 March 2001
X# Whom:                anton
X#
X# $FreeBSD$
X#
X
XPORTNAME=	pr
XPORTVERSION=	1.0
XCATEGORIES=	comms net
XMASTER_SITES=	http://rnoc.urc.ac.ru/~anton/projects/files/
XDISTNAME=	pr-${PORTVERSION}
X
XMAINTAINER=	anton@urc.ac.ru
X
XWRKSRC=		${WRKDIR}/pr
X
XNO_BUILD=	YES
X
X.include <bsd.port.mk>
END-of-pr/Makefile
echo x - pr/distinfo
sed 's/^X//' >pr/distinfo << 'END-of-pr/distinfo'
XMD5 (pr-1.0.tar.gz) = 40bba24500e910681e436519f5a26d0d
END-of-pr/distinfo
echo x - pr/pkg-comment
sed 's/^X//' >pr/pkg-comment << 'END-of-pr/pkg-comment'
XA daemon that connects local terminal device to a terminal server
END-of-pr/pkg-comment
echo x - pr/pkg-descr
sed 's/^X//' >pr/pkg-descr << 'END-of-pr/pkg-descr'
XThe package consists of two programs - PortRedorector and PortTest.
X
XPortRedirector is a daemon that runs telnet to the remote port of the
Xterminal server and redirects its input and output to a virtual
Xterminal device (/dev/pty*). The corresponding slave device (dev/tty*)
Xthen can be used by an application that expects a local async terminal
Xport. For example, to monitor a UPS (connected to AUX ports on a Cisco router)
Xusing nut.
X
XWhenever telnet subprocess terminates on any reason, it is restarted
Xas soon as any data received from the terminal device.
X
XIt can also work when authentication is required, i.e. it can pass username
Xand password specified in its configuration file.
X
XPortTest is something like cu(1). You can use either of them to test the
Xconnection.
X
XWWW:	http://rnoc.urc.ac.ru/~anton/projects/pr/PR.html
END-of-pr/pkg-descr
echo x - pr/pkg-plist
sed 's/^X//' >pr/pkg-plist << 'END-of-pr/pkg-plist'
Xetc/PortRedirector.conf.sample
Xetc/rc.d/pr.sh.sample
Xsbin/PortRedirector
Xsbin/PortTest
Xshare/doc/pr/PR.html
X@dirrm share/doc/pr
END-of-pr/pkg-plist
exit


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103290813.f2T8Do531869>