aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-09-17 14:33:00 +0800
committerijliao <ijliao@FreeBSD.org>2002-09-17 14:33:00 +0800
commitca137ed1d896b9a5acf1d53d49fe6d0e9ff4e1cc (patch)
treebad61ddd0df6ac8636d46764d6bb7d8019ad6afc
parent45fbf13192088c83c5fbe337d0f546da18e216d1 (diff)
downloadfreebsd-ports-gnome-ca137ed1d896b9a5acf1d53d49fe6d0e9ff4e1cc.tar.gz
freebsd-ports-gnome-ca137ed1d896b9a5acf1d53d49fe6d0e9ff4e1cc.tar.zst
freebsd-ports-gnome-ca137ed1d896b9a5acf1d53d49fe6d0e9ff4e1cc.zip
add cotty 0.4c
Simple command-line pseudo terminal manager PR: 34346 Submitted by: Oliver Breuninger <ob@breuninger.org>
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/cotty/Makefile27
-rw-r--r--sysutils/cotty/distinfo1
-rw-r--r--sysutils/cotty/pkg-comment1
-rw-r--r--sysutils/cotty/pkg-descr10
-rw-r--r--sysutils/cotty/pkg-plist1
6 files changed, 41 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index 7a171d296c2d..b048f38514e3 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -35,6 +35,7 @@
SUBDIR += consolehm
SUBDIR += contool
SUBDIR += copytape
+ SUBDIR += cotty
SUBDIR += cpbk
SUBDIR += cpdup
SUBDIR += cpuburn
diff --git a/sysutils/cotty/Makefile b/sysutils/cotty/Makefile
new file mode 100644
index 000000000000..291a0b762157
--- /dev/null
+++ b/sysutils/cotty/Makefile
@@ -0,0 +1,27 @@
+# New ports collection makefile for: cotty
+# Date created: 26 January 2001
+# Whom: Oliver Breuninger <ob@breuninger.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= cotty
+PORTVERSION= 0.4c
+CATEGORIES= sysutils
+MASTER_SITES= http://fare.tunes.org/files/fwprc/
+EXTRACT_SUFX= .c.gz
+
+MAINTAINER= ob@breuninger.org
+
+NO_WRKSUBDIR= yes
+EXTRACT_CMD= ${GZCAT}
+EXTRACT_BEFORE_ARGS= # empty
+EXTRACT_AFTER_ARGS= > ${WRKSRC}/${DISTNAME}.c
+
+do-build:
+ ${CC} ${CFLAGS} -o ${WRKSRC}/cotty ${WRKSRC}/${DISTNAME}.c
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/cotty ${PREFIX}/bin
+
+.include <bsd.port.mk>
diff --git a/sysutils/cotty/distinfo b/sysutils/cotty/distinfo
new file mode 100644
index 000000000000..17e4acb917ef
--- /dev/null
+++ b/sysutils/cotty/distinfo
@@ -0,0 +1 @@
+MD5 (cotty-0.4c.c.gz) = a0603589857faeeb7d102b678233641e
diff --git a/sysutils/cotty/pkg-comment b/sysutils/cotty/pkg-comment
new file mode 100644
index 000000000000..132f0e6e9421
--- /dev/null
+++ b/sysutils/cotty/pkg-comment
@@ -0,0 +1 @@
+Simple command-line pseudo terminal manager
diff --git a/sysutils/cotty/pkg-descr b/sysutils/cotty/pkg-descr
new file mode 100644
index 000000000000..19f2c95e211c
--- /dev/null
+++ b/sysutils/cotty/pkg-descr
@@ -0,0 +1,10 @@
+Simple command-line pseudo terminal manager:
+allows to run coprocesses talking to each other thru their tty and/or pty.
+
+Most useful to drive from scripts programs that want a tty, as in
+ cotty -d -- pppd silent 192.168.0.1:192.168.0.2 \
+ -- ssh -t root@remote pppd
+This particular use has been obsoleted under Linux
+(but probably not under the various free BSDs and proprietary Unices),
+as it can be done without cotty with
+ pppd pty 'ssh -t root@remote pppd' silent 192.168.0.1:192.168.0.2
diff --git a/sysutils/cotty/pkg-plist b/sysutils/cotty/pkg-plist
new file mode 100644
index 000000000000..1bce4096c291
--- /dev/null
+++ b/sysutils/cotty/pkg-plist
@@ -0,0 +1 @@
+bin/cotty