Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Mar 2003 00:45:04 +0100
From:      Johannes Groedem <johs@copyleft.no>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/50303: [NEW PORT] detachtty: Run interactive program non-interactively
Message-ID:  <E18xy6K-000DAa-00@unity.copyleft.no>

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

>Number:         50303
>Category:       ports
>Synopsis:       [NEW PORT] detachtty: Run interactive program non-interactively
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 15:50:05 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Johannes Groedem <johs@copyleft.no>
>Release:        FreeBSD 4.5-RELEASE-p5 i386
>Organization:
>Environment:
System: FreeBSD unity.copyleft.no 4.5-RELEASE-p5 FreeBSD 4.5-RELEASE-p5 #0: Mon May 20 22:14:18 CEST 2002 daniel@unity.copyleft.no:/usr/obj/usr/src/sys/UNITY i386

>Description:
	New port. detachtty lets you run interactive programs
	non-interactively, and connect to them over the network when
	you do need to interact with them.  It's a similar concept
	to screen, but without tty emulation, etc.  (So you can use
	it to connect to a remote Lisp from a local ilisp-session,
	for example.  This is what it was written for, but you don't
	have to use it for that.)
	Licensed under GPLv2.  (The license is in debian/copyright.)

>How-To-Repeat:

>Fix:

--- detachtty.shar begins here ---
# 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:
#
#	detachtty
#	detachtty/distinfo
#	detachtty/Makefile
#	detachtty/pkg-descr
#	detachtty/pkg-plist
#	detachtty/files
#	detachtty/files/patch-aa
#
echo c - detachtty
mkdir -p detachtty > /dev/null 2>&1
echo x - detachtty/distinfo
sed 's/^X//' >detachtty/distinfo << 'END-of-detachtty/distinfo'
XMD5 (detachtty_6.tar.gz) = a6eb413286998b1635436da9ef876b54
END-of-detachtty/distinfo
echo x - detachtty/Makefile
sed 's/^X//' >detachtty/Makefile << 'END-of-detachtty/Makefile'
X# New ports collection makefile for:	detachtty
X# Date created:		25 March 2003
X# Whom:			johs
X#
X# $FreeBSD$
X#
X
XPORTNAME=	detachtty
XPORTVERSION=	6
XCATEGORIES=	misc
XMASTER_SITES=	ftp://ftp.linux.org.uk/pub/lisp/
XDISTNAME=	${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=	johs@copyleft.no
XCOMMENT=	Run interactive programs non-interactively
X
XWRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}
XUSE_GMAKE=	yes
X
XMAN1=		detachtty.1
XMLINKS=		detachtty.1 attachtty.1
XMANCOMPRESSED=	no
X
Xpost-install:
X.if !defined(NO_INSTALL_MANPAGES)
X	${INSTALL_MAN} ${WRKSRC}/detachtty.1 ${MANPREFIX}/man/man1
X.endif
X
X.include <bsd.port.mk>
END-of-detachtty/Makefile
echo x - detachtty/pkg-descr
sed 's/^X//' >detachtty/pkg-descr << 'END-of-detachtty/pkg-descr'
Xdetachtty is a Unix utility that lets you run interactive programs
Xnon-interactively, and connect to them over the network when you do
Xneed to interact with them. It's intended for use with long-running
Xserver processes running in Common Lisp implementations.
X
XWWW: http://www.cliki.net/detachtty
X
X- Johannes Groedem
Xjohs@copyleft.no
END-of-detachtty/pkg-descr
echo x - detachtty/pkg-plist
sed 's/^X//' >detachtty/pkg-plist << 'END-of-detachtty/pkg-plist'
Xbin/attachtty
Xbin/detachtty
END-of-detachtty/pkg-plist
echo c - detachtty/files
mkdir -p detachtty/files > /dev/null 2>&1
echo x - detachtty/files/patch-aa
sed 's/^X//' >detachtty/files/patch-aa << 'END-of-detachtty/files/patch-aa'
X--- Makefile.orig	Wed Sep 18 00:41:36 2002
X+++ Makefile	Tue Mar 25 23:20:18 2003
X@@ -3,9 +3,9 @@
X # for details
X 
X # Linux 2.4
X-OS_CFLAGS=-DNEED_PTY_H                       
X+#OS_CFLAGS=-DNEED_PTY_H                       
X # FreeBSD, version unknown
X-#OS_CFLAGS=-DNEED_LIBUTIL_H                  
X+OS_CFLAGS=-DNEED_LIBUTIL_H                  
X # Solaris, some version of
X #OS_CFLAGS=-DNEED_STRINGS_H -DNEED_LOCAL_FORKPTY_H
X 
X@@ -19,7 +19,7 @@
X # no forkpty in Solaris
X # OS_OBJECTS=forkpty.o
X 
X-INSTALL_DIR=/usr/local/bin
X+INSTALL_DIR=${PREFIX}/bin
X 
X # You probably don't need to edit anything below this line
X 
X@@ -31,7 +31,7 @@
X 	-rm *.o *~ attachtty detachtty
X 
X install: all
X-	install detachtty attachtty $(DESTDIR)$(INSTALL_DIR)
X+	install detachtty attachtty $(INSTALL_DIR)
X 
X deb:
X 	rm -rf /usr/local/src/Packages/detachtty/ 
END-of-detachtty/files/patch-aa
exit
--- detachtty.shar ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E18xy6K-000DAa-00>