View | Details | Raw Unified | Return to bug 192878 | Differences between
and this patch

Collapse All | Expand All

(-)pr/Makefile (-6 / +29 lines)
Lines 1-18 Link Here
1
# Created by: Anton Voronin <anton@urc.ac.ru>
1
# Created by: C Hutchinson <portmaster@bsdforge.com>
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	pr
4
PORTNAME=	pr
5
PORTVERSION=	1.1
5
PORTVERSION=	1.1
6
CATEGORIES=	comms net
6
CATEGORIES=	comms net
7
MASTER_SITES=	http://www.chelcom.ru/~anton/projects/files/
7
MASTER_SITES=	http://bsdforge.com/projects/source/comms/pr/
8
DISTNAME=	pr-${PORTVERSION}
9
8
10
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	portmaster@bsdforge.com
11
COMMENT=	Daemon that connects local terminal device to a terminal server
10
COMMENT=	Daemon that connects local terminal device to a terminal server
12
11
13
WRKSRC=		${WRKDIR}/pr
12
LICENSE=	ARTPERL10
14
13
14
USES=	shebangfix tar:xz
15
16
OPTIONS_DEFINE=	DOCS
17
18
.include <bsd.port.options.mk>
19
20
WRKSRC=		${WRKDIR}/${PORTNAME}
21
22
PROGRAMS=	PortRedirector PortTest
23
24
ETCFLS=		PortRedirector.conf.sample
25
26
SHEBANG_FILES=	sbin/PortRedirector sbin/PortTest
27
28
RCDFILES=	pr.sh.sample
29
15
NO_BUILD=	YES
30
NO_BUILD=	YES
16
31
17
NO_STAGE=	yes
32
do-install:
33
	(cd ${WRKSRC}/sbin && ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}/sbin)
34
	(cd ${WRKSRC}/etc/rc.d && ${INSTALL_DATA} ${RCDFILES} ${STAGEDIR}${PREFIX}/etc/rc.d)
35
	(cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETCFLS} ${STAGEDIR}${PREFIX}/etc)
36
.if ${PORT_OPTIONS:MDOCS}
37
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
38
	${INSTALL_DATA} ${WRKSRC}/share/doc/pr/PR.html ${STAGEDIR}${DOCSDIR}
39
.endif
40
18
.include <bsd.port.mk>
41
.include <bsd.port.mk>
(-)pr/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (pr-1.1.tar.gz) = a71ee6f1c543a1f70ddb2920e79561cdef5937ab31d0a17c9128266dc0a818c0
1
SHA256 (pr-1.1.tar.xz) = 8c1e4327a407dc21491d6f110a62c69e1f1290be51fd88e9a9d23b2a451f78ca
2
SIZE (pr-1.1.tar.gz) = 4260
2
SIZE (pr-1.1.tar.xz) = 4256
(-)pr/pkg-descr (-9 / +9 lines)
Lines 1-19 Link Here
1
The package consists of two programs - PortRedorector and PortTest.
1
The package consists of two programs - PortRedorector and PortTest.
2
2
3
PortRedirector is a daemon that runs telnet to the remote port of the
3
PortRedirector is a daemon that runs telnet to the remote port of the
4
terminal server and redirects its input and output to a virtual
4
terminal server and redirects its input and output to a virtual terminal
5
terminal device (/dev/pty*). The corresponding slave device (dev/tty*)
5
device (/dev/pty*). The corresponding slave device (dev/tty*) then can
6
then can be used by an application that expects a local async terminal
6
be used by an application that expects a local async terminal port. For
7
port. For example, to monitor a UPS (connected to AUX ports on a Cisco router)
7
example, to monitor a UPS (connected to AUX ports on a Cisco router)
8
using nut.
8
using nut.
9
9
10
Whenever telnet subprocess terminates on any reason, it is restarted
10
Whenever telnet subprocess terminates on any reason, it is restarted as
11
as soon as any data received from the terminal device.
11
soon as any data received from the terminal device.
12
12
13
It can also work when authentication is required, i.e. it can pass username
13
It can also work when authentication is required, i.e. it can pass
14
and password specified in its configuration file.
14
username and password specified in its configuration file.
15
15
16
PortTest is something like cu(1). You can use either of them to test the
16
PortTest is something like cu(1). You can use either of them to test the
17
connection.
17
connection.
18
18
19
WWW:	http://rnoc.urc.ac.ru/~anton/projects/pr/PR.html
19
WWW: http://bsdforge.com/projects/comms/pr/

Return to bug 192878