Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Sep 2014 17:36:35 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r367459 - head/comms/pr
Message-ID:  <201409061736.s86HaZ7a021479@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Sat Sep  6 17:36:34 2014
New Revision: 367459
URL: http://svnweb.freebsd.org/changeset/ports/367459
QAT: https://qat.redports.org/buildarchive/r367459/

Log:
  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

Modified:
  head/comms/pr/Makefile
  head/comms/pr/distinfo
  head/comms/pr/pkg-descr

Modified: head/comms/pr/Makefile
==============================================================================
--- head/comms/pr/Makefile	Sat Sep  6 17:31:48 2014	(r367458)
+++ head/comms/pr/Makefile	Sat Sep  6 17:36:34 2014	(r367459)
@@ -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>

Modified: head/comms/pr/distinfo
==============================================================================
--- head/comms/pr/distinfo	Sat Sep  6 17:31:48 2014	(r367458)
+++ head/comms/pr/distinfo	Sat Sep  6 17:36:34 2014	(r367459)
@@ -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

Modified: head/comms/pr/pkg-descr
==============================================================================
--- head/comms/pr/pkg-descr	Sat Sep  6 17:31:48 2014	(r367458)
+++ head/comms/pr/pkg-descr	Sat Sep  6 17:36:34 2014	(r367459)
@@ -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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409061736.s86HaZ7a021479>