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

Collapse All | Expand All

(-)pr/Makefile (-5 / +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}
8
DISTNAME=	pr-${PORTVERSION}
9
9
10
MAINTAINER=	ports@FreeBSD.org
10
MAINTAINER=	portmaster@bsdforge.com
11
COMMENT=	Daemon that connects local terminal device to a terminal server
11
COMMENT=	Daemon that connects local terminal device to a terminal server
12
12
13
WRKSRC=		${WRKDIR}/pr
13
LICENSE=	ARTPERL10
14
14
15
USES=	tar:xz
16
17
#PORTDOCS=	*
18
19
#OPTIONS_DEFINE=	DOCS
20
21
#.include <bsd.port.options.mk>
22
23
WRKSRC=		${WRKDIR}/${PORTNAME}
24
25
PROGRAMS=	PortRedirector PortTest
26
27
ETCFLS=		PortRedirector.conf.sample
28
29
RCDFILES=	pr.sh.sample
30
15
NO_BUILD=	YES
31
NO_BUILD=	YES
16
32
17
NO_STAGE=	yes
33
do-install:
34
	(cd ${WRKSRC}/sbin && ${INSTALL_SCRIPT} ${PROGRAMS} ${STAGEDIR}${PREFIX}/sbin)
35
	(cd ${WRKSRC}/etc/rc.d && ${INSTALL_DATA} ${RCDFILES} ${STAGEDIR}${PREFIX}/etc/rc.d)
36
	(cd ${WRKSRC}/etc && ${INSTALL_DATA} ${ETCFLS} ${STAGEDIR}${PREFIX}/etc)
37
#.if ${PORT_OPTIONS:MDOCS}
38
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
39
	${INSTALL_DATA} ${WRKSRC}/share/doc/pr/* ${STAGEDIR}${DOCSDIR}
40
#.endif
41
18
.include <bsd.port.mk>
42
.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