aboutsummaryrefslogtreecommitdiff
path: root/comms/pr
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-31 01:36:29 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-31 01:36:29 +0000
commit14b3d821574df3203db608e86a6431ac5d114ac8 (patch)
treec5205c920c1bfd42df277a714203a19f16174078 /comms/pr
parente6747057865eac8194696c51fc1a377b68618bd5 (diff)
downloadports-14b3d821574df3203db608e86a6431ac5d114ac8.tar.gz
ports-14b3d821574df3203db608e86a6431ac5d114ac8.zip
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>
Notes
Notes: svn path=/head/; revision=40615
Diffstat (limited to 'comms/pr')
-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
5 files changed, 47 insertions, 0 deletions
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