From johs@unity.copyleft.no  Tue Mar 25 15:45:40 2003
Return-Path: <johs@unity.copyleft.no>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 19AB137B401
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 2003 15:45:40 -0800 (PST)
Received: from unity.copyleft.no (unity.copyleft.no [212.71.72.23])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 6E98B43F3F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 25 Mar 2003 15:45:39 -0800 (PST)
	(envelope-from johs@unity.copyleft.no)
Received: from johs by unity.copyleft.no with local (Exim 3.36 #1)
	id 18xy6K-000DAa-00
	for FreeBSD-gnats-submit@freebsd.org; Wed, 26 Mar 2003 00:45:04 +0100
Message-Id: <E18xy6K-000DAa-00@unity.copyleft.no>
Date: Wed, 26 Mar 2003 00:45:04 +0100
From: Johannes Groedem <johs@copyleft.no>
Sender: "Johannes Groedem,Copyleft Software" <johs@unity.copyleft.no>
Reply-To: Johannes Groedem <johs@copyleft.no>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] detachtty: Run interactive program non-interactively
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>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:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 25 15:50:05 PST 2003
>Closed-Date:    Sat Sep 06 17:14:39 PDT 2003
>Last-Modified:  Sat Sep 06 17:14:39 PDT 2003
>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:
State-Changed-From-To: open->closed 
State-Changed-By: foxfair 
State-Changed-When: Sat Sep 6 17:14:01 PDT 2003 
State-Changed-Why:  
Committed.thanks! 


http://www.freebsd.org/cgi/query-pr.cgi?pr=50303 
>Unformatted:
