Bug 34346 - Port for cotty
Summary: Port for cotty
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-27 18:40 UTC by ob
Modified: 2002-09-17 07:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ob 2002-01-27 18:40:00 UTC
# 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
Comment 1 Ying-Chieh Liao freebsd_committer freebsd_triage 2002-09-17 07:33:10 UTC
State Changed
From-To: open->closed

committed ,thanks