FreeBSD Ports

comms/pr 1.1_1

Daemon that connects local terminal device to a terminal server

Repository
FreeBSD ports
Maintainer
[email protected]
License
ARTPERL10
Categories
comms, net
Package size
5.4 KiB, 11.0 KiB installed

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.

Install

As a binary package — by origin, or by package name:

pkg install comms/pr
pkg install pr

From the ports tree:

cd /usr/ports/comms/pr/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	pr>0:comms/pr

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.1_11.1_11.1_11.1_11.1_1
FreeBSD:14:quarterly1.1_11.1_1n/a1.1_11.1_1
FreeBSD:15:latest1.1_11.1_1n/a1.1_11.1_1
FreeBSD:15:quarterly1.1_11.1_1n/an/an/a
FreeBSD:16:latest1.1_11.1_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

No port depends on this one.

Configuration

Options name: comms_pr

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
shebangfix tar:xz
Service scripts
none

Files

pkg-plist 5
  • etc/PortRedirector.conf.sample
  • etc/rc.d/pr.sh.sample
  • sbin/PortRedirector
  • sbin/PortTest
  • share/doc/pr/PR.html
distinfo 1
FileSizeSHA256
pr-1.1.tar.xz42568c1e4327a407dc21491d6f110a62c69e1f1290be51fd88e9a9d23b2a451f78ca
Master sites 1
  • https://BSDforge.com/projects/source/comms/pr/

Commit history 0

No commits in the history this site was built from.