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

Collapse All | Expand All

(-)pr/Makefile (-4 / +30 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
WRKSRC=		${WRKDIR}/pr
13
LICENSE=	ARTPERL10
14
14
15
USE_XZ=		yes
16
17
WRKSRC=		${WRKDIR}/${PORTNAME}
18
19
PROGRAMS=	PortRedirector PortTest
20
21
ETCFILES=	PortRedirector.conf.sample
22
23
RCDFILES=	pr.sh.sample
24
25
DOCFILES=	PR.html
26
15
NO_BUILD=	YES
27
NO_BUILD=	YES
16
28
17
NO_STAGE=	yes
29
do-install:
30
.for a in ${PROGRAMS}
31
	${CP} ${WRKSRC}/sbin/$a ${STAGEDIR}${PREFIX}/sbin
32
.endfor
33
.for b in ${ETCFILES} 
34
	${CP} ${WRKSRC}/etc/$b ${STAGEDIR}${PREFIX}/etc
35
.endfor
36
.for c in ${RCDFILES}
37
	${CP} ${WRKSRC}/etc/rc.d/$c ${STAGEDIR}${PREFIX}/etc/rc.d
38
.endfor
39
.for D in ${DOCFILES}
40
	@${MKDIR} ${STAGEDIR}${DOCSDIR}
41
	${INSTALL_DATA} ${WRKSRC}/share/doc/pr/$D ${STAGEDIR}${DOCSDIR}
42
.endfor
43
18
.include <bsd.port.mk>
44
.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