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

Collapse All | Expand All

(-)pr/Makefile (-3 / +31 lines)
Lines 4-18 Link Here
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
USE_XZ= yes
14
13
WRKSRC=		${WRKDIR}/pr
15
WRKSRC=		${WRKDIR}/pr
14
16
17
# What a silly mess!
18
# Next time no fixing.
19
# I'm writting these from scratch!
20
ETCFILES=	PortRedirector.conf.sample
21
22
RCDFILES=	pr.sh.sample
23
24
PROGRAMS=	PortRedirector PortTest
25
26
DOCFILES=	PR.html
27
15
NO_BUILD=	YES
28
NO_BUILD=	YES
16
29
17
NO_STAGE=	yes
30
do-install:
31
.for P in ${PROGRAMS}
32
	${CP} ${WRKSRC}/sbin/$P ${STAGEDIR}${PREFIX}/sbin
33
.endfor
34
.for C in ${ETCFILES} 
35
	${CP} ${WRKSRC}/etc/$C ${STAGEDIR}${PREFIX}/etc
36
.endfor
37
.for R in ${RCDFILES}
38
	${CP} ${WRKSRC}/etc/rc.d/$R ${STAGEDIR}${PREFIX}/etc/rc.d
39
.endfor
40
41
.for D in ${DOCFILES}
42
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
43
	${INSTALL_DATA} ${WRKSRC}/share/doc/pr/$D ${STAGEDIR}${DOCSDIR}
44
.endfor
45
18
.include <bsd.port.mk>
46
.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) = 261a380a8d0c1f255f9bc835dcf65e87dde028329f4700773bdec6a8e1d9c300
2
SIZE (pr-1.1.tar.gz) = 4260
2
SIZE (pr-1.1.tar.xz) = 4236
(-)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