From owner-freebsd-ports Thu Mar 29 0:20:23 2001 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 3141837B71A for ; Thu, 29 Mar 2001 00:20:10 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f2T8KAj70631; Thu, 29 Mar 2001 00:20:10 -0800 (PST) (envelope-from gnats) Received: from belle.rnoc.urc.ac.ru (belle.rnoc.urc.ac.ru [193.233.85.10]) by hub.freebsd.org (Postfix) with ESMTP id 5B7C637B729 for ; Thu, 29 Mar 2001 00:13:57 -0800 (PST) (envelope-from anton@belle.rnoc.urc.ac.ru) Received: (from anton@localhost) by belle.rnoc.urc.ac.ru (8.11.1/8.11.1) id f2T8Do531869; Thu, 29 Mar 2001 14:13:50 +0600 (YEKST) (envelope-from anton) Message-Id: <200103290813.f2T8Do531869@belle.rnoc.urc.ac.ru> Date: Thu, 29 Mar 2001 14:13:50 +0600 (YEKST) From: anton@urc.ac.ru Reply-To: anton@urc.ac.ru To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/26197: New port: comms/pr Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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 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