Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jan 2002 19:38:19 +0100 (CET)
From:      Oliver Breuninger <ob@breuninger.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/34346: Port for cotty
Message-ID:  <200201271838.g0RIcJx02276@www.partner.de>

next in thread | raw e-mail | index | archive | help

>Number:         34346
>Category:       ports
>Synopsis:       Port for cotty
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 27 10:40:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Breuninger
>Release:        FreeBSD 4.4-RELEASE i386
>Organization:
>Environment:
>Description:

# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	cotty
#	cotty/Makefile
#	cotty/distinfo
#	cotty/pkg-comment
#	cotty/pkg-descr
#	cotty/pkg-plist
#
echo c - cotty
mkdir -p cotty > /dev/null 2>&1
echo x - cotty/Makefile
sed 's/^X//' >cotty/Makefile << 'END-of-cotty/Makefile'
X# New ports collection makefile for:	cotty
X# Date created:		26 January 2001
X# Whom:			Oliver Breuninger <ob@breuninger.org>
X#
X
XPORTNAME=	cotty
XPORTVERSION=	0.4c
XCATEGORIES=	sysutils
XMASTER_SITES=	http://fare.tunes.org/files/fwprc/
X
XDISTFILES=	cotty-0.4c.c.gz
X
XMAINTAINER=	ob@breuninger.org
X
Xextract:
X	${MKDIR} ${WRKSRC}
X	${CP} ${DISTDIR}/${DISTFILES} ${WRKSRC}
X	gzip -d ${WRKSRC}/${DISTFILES}
X
Xdo-build:
X	gcc -Os -fomit-frame-pointer -Wall -W -o ${WRKSRC}/cotty -s ${WRKSRC}/${PORTNAME}-${PORTVERSION}.c
X
Xdo-install:
X	install -s -m 755 -o root -g daemon ${WRKSRC}/cotty /usr/local/bin/
X
X.include <bsd.port.mk>
END-of-cotty/Makefile
echo x - cotty/distinfo
sed 's/^X//' >cotty/distinfo << 'END-of-cotty/distinfo'
XMD5 (cotty-0.4c.c.gz) = a0603589857faeeb7d102b678233641e
END-of-cotty/distinfo
echo x - cotty/pkg-comment
sed 's/^X//' >cotty/pkg-comment << 'END-of-cotty/pkg-comment'
XSimple command-line pseudo terminal manager
END-of-cotty/pkg-comment
echo x - cotty/pkg-descr
sed 's/^X//' >cotty/pkg-descr << 'END-of-cotty/pkg-descr'
X
Xcotty 0.4c
X
XSimple command-line pseudo terminal manager:
Xallows to run coprocesses talking to each other thru their tty and/or pty.
X
XMost useful to drive from scripts programs that want a tty, as in
X	cotty -d -- pppd silent 192.168.0.1:192.168.0.2 \
X		-- ssh -t root@remote pppd
XThis particular use has been obsoleted under Linux
X(but probably not under the various free BSDs and proprietary Unices),
Xas it can be done without cotty with
X	pppd pty 'ssh -t root@remote pppd' silent 192.168.0.1:192.168.0.2
XOther uses of cotty remain, as called by fwprc, or by my lispm script.
XSee the Firewall-Piercing mini-HOWTO.
X
XCopyright (c) 1998-2001 François-René Rideau DDa(.ng-Vu~ Ba^n <fare@tunes.org>
X
XMany thanks to master hacker Robert Ehrlich <Robert.Ehrlich@inria.fr>
Xfor his kind and insightful advice and code snippet.
XThanks to Vladimir Geogjaev <vg@wave.sio.rssi.ru> for his codeful suggestions.
X
XThis program is free software; you can redistribute it and/or modify
Xit under the terms of the GNU General Public License as published by
Xthe Free Software Foundation, either version 2, or (at your option)
Xany later version.
X
XActually, you may also redistribute it under the bugroff license
X(at your option).
X
XRelevant URLs:
Xhttp://fare.tunes.org/files/fwprc/
Xhttp://www.linuxdoc.org/HOWTO/mini/Firewall-Piercing.html
Xhttp://www.geocities.com/SoHo/Cafe/5947/bugroff.html
X
END-of-cotty/pkg-descr
echo x - cotty/pkg-plist
sed 's/^X//' >cotty/pkg-plist << 'END-of-cotty/pkg-plist'
Xbin/cotty
END-of-cotty/pkg-plist
exit

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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