aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--comms/Makefile1
-rw-r--r--comms/pr/Makefile20
-rw-r--r--comms/pr/distinfo1
-rw-r--r--comms/pr/pkg-comment1
-rw-r--r--comms/pr/pkg-descr19
-rw-r--r--comms/pr/pkg-plist6
6 files changed, 48 insertions, 0 deletions
diff --git a/comms/Makefile b/comms/Makefile
index b3d43f16138d..c2de1c11613a 100644
--- a/comms/Makefile
+++ b/comms/Makefile
@@ -17,6 +17,7 @@
SUBDIR += mlan
SUBDIR += mserver
SUBDIR += plp
+ SUBDIR += pr
SUBDIR += qico
SUBDIR += qpage
SUBDIR += seyon
diff --git a/comms/pr/Makefile b/comms/pr/Makefile
new file mode 100644
index 000000000000..25f9dfa998a5
--- /dev/null
+++ b/comms/pr/Makefile
@@ -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>
diff --git a/comms/pr/distinfo b/comms/pr/distinfo
new file mode 100644
index 000000000000..7332551e9b1a
--- /dev/null
+++ b/comms/pr/distinfo
@@ -0,0 +1 @@
+MD5 (pr-1.0.tar.gz) = 40bba24500e910681e436519f5a26d0d
diff --git a/comms/pr/pkg-comment b/comms/pr/pkg-comment
new file mode 100644
index 000000000000..4cfd6a26be5c
--- /dev/null
+++ b/comms/pr/pkg-comment
@@ -0,0 +1 @@
+A daemon that connects local terminal device to a terminal server
diff --git a/comms/pr/pkg-descr b/comms/pr/pkg-descr
new file mode 100644
index 000000000000..0c2f1e46b12d
--- /dev/null
+++ b/comms/pr/pkg-descr
@@ -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
diff --git a/comms/pr/pkg-plist b/comms/pr/pkg-plist
new file mode 100644
index 000000000000..dbe0e4cd046c
--- /dev/null
+++ b/comms/pr/pkg-plist
@@ -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