aboutsummaryrefslogtreecommitdiff
path: root/comms/pr
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-09-06 17:36:34 +0000
committerJohn Marino <marino@FreeBSD.org>2014-09-06 17:36:34 +0000
commit4c675c716d0d125284bc805b373e4e397cf869e9 (patch)
treed446e1c724749d85aad1013098841111fb280078 /comms/pr
parent6d4e5bb4b75cc5459e7119b455b881e2eea6bd85 (diff)
downloadports-4c675c716d0d125284bc805b373e4e397cf869e9.tar.gz
ports-4c675c716d0d125284bc805b373e4e397cf869e9.zip
Stage comms/pr and assign maintainership to submitter
The source files were no longer available, so the submitter is also hosting those. PR: 192878 Submitted by: Chris Hutchinson
Notes
Notes: svn path=/head/; revision=367459
Diffstat (limited to 'comms/pr')
-rw-r--r--comms/pr/Makefile32
-rw-r--r--comms/pr/distinfo4
-rw-r--r--comms/pr/pkg-descr18
3 files changed, 38 insertions, 16 deletions
diff --git a/comms/pr/Makefile b/comms/pr/Makefile
index 310f81d9b354..a2c8ebc52c3a 100644
--- a/comms/pr/Makefile
+++ b/comms/pr/Makefile
@@ -3,16 +3,38 @@
PORTNAME= pr
PORTVERSION= 1.1
+PORTREVISION= 1
CATEGORIES= comms net
-MASTER_SITES= http://www.chelcom.ru/~anton/projects/files/
-DISTNAME= pr-${PORTVERSION}
+MASTER_SITES= http://bsdforge.com/projects/source/comms/pr/
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= portmaster@bsdforge.com
COMMENT= Daemon that connects local terminal device to a terminal server
-WRKSRC= ${WRKDIR}/pr
+LICENSE= ARTPERL10
+USES= shebangfix tar:xz
+SHEBANG_FILES= sbin/PortRedirector sbin/PortTest
NO_BUILD= YES
-NO_STAGE= yes
+WRKSRC= ${WRKDIR}/${PORTNAME}
+PROGRAMS= PortRedirector PortTest
+ETCFLS= PortRedirector.conf.sample
+RCDFILES= pr.sh.sample
+
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
+do-install:
+ (cd ${WRKSRC}/sbin && \
+ ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}/sbin)
+ (cd ${WRKSRC}/etc/rc.d && \
+ ${INSTALL_DATA} ${RCDFILES} ${STAGEDIR}${PREFIX}/etc/rc.d)
+ (cd ${WRKSRC}/etc && \
+ ${INSTALL_DATA} ${ETCFLS} ${STAGEDIR}${PREFIX}/etc)
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/share/doc/pr/PR.html ${STAGEDIR}${DOCSDIR}
+.endif
+
.include <bsd.port.mk>
diff --git a/comms/pr/distinfo b/comms/pr/distinfo
index 571de4a39d49..f7fa9a96b3c1 100644
--- a/comms/pr/distinfo
+++ b/comms/pr/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pr-1.1.tar.gz) = a71ee6f1c543a1f70ddb2920e79561cdef5937ab31d0a17c9128266dc0a818c0
-SIZE (pr-1.1.tar.gz) = 4260
+SHA256 (pr-1.1.tar.xz) = 8c1e4327a407dc21491d6f110a62c69e1f1290be51fd88e9a9d23b2a451f78ca
+SIZE (pr-1.1.tar.xz) = 4256
diff --git a/comms/pr/pkg-descr b/comms/pr/pkg-descr
index 0c2f1e46b12d..a2ffca46595f 100644
--- a/comms/pr/pkg-descr
+++ b/comms/pr/pkg-descr
@@ -1,19 +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)
+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.
+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.
+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
+WWW: http://bsdforge.com/projects/comms/pr/