Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 02:35:09 -0500 (EST)
From:      "Jeffrey H. Johnson" <CPE1704TKS@bellsouth.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        CPE1704TKS@bellsouth.net
Subject:   ports/92141: [NEW PORT] sysutils/ansitape: Read or write ANSI, VMS, RSTS/E, RSX-11, RT-11, and other tapes
Message-ID:  <20060122073509.1E06C39833@offworld.cqasys.com>
Resent-Message-ID: <200601220850.k0M8o3Y0066310@freefall.freebsd.org>

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

>Number:         92141
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/ansitape: Read or write ANSI, VMS, RSTS/E, RSX-11, RT-11, and other tapes
>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:   Sun Jan 22 08:50:02 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Jeffrey H. Johnson
>Release:        FreeBSD 6.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD offworld.cqasys.com 6.0-STABLE FreeBSD 6.0-STABLE #21: Wed Jan 18 22:35:45 EST 2006
>Description:

While adding ports for applications that I use from the unix-c archive,
I couldn't help but believe a more up to date version of ANSITAPE might
exist, but after Googling I couldn't find one - only Solaris patches.

Good to have around, esp. with utilities like copytape already in ports.

-x-

Ansitape reads from or writes to a magnetic tape in ANSI labelled tape
format, which is a useful format for exchange of ASCII character files
with non-UNIX sites.  The transfer of binary files is supported in the
sense that the program will let you write them on the tape.

Ansitape supports the standard defined in ANSI X3.27-1978, Magnetic
Tape Labels and File Structure for Information Interchange. Only 
System levels 1, 2, and 3 are supported, System level 4 (spanned records)
is not supported.  

In addition, special options have been included to read and write tapes 
for RT-11, RSTS, RSX, and VMS systems, which use a slightly modified 
version of the standard.

-x-

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- ansitape-1.4.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:
#
#	ansitape
#	ansitape/files
#	ansitape/files/patch-aa
#	ansitape/files/patch-ab
#	ansitape/Makefile
#	ansitape/distinfo
#	ansitape/pkg-descr
#	ansitape/pkg-plist
#
echo c - ansitape
mkdir -p ansitape > /dev/null 2>&1
echo c - ansitape/files
mkdir -p ansitape/files > /dev/null 2>&1
echo x - ansitape/files/patch-aa
sed 's/^X//' >ansitape/files/patch-aa << 'END-of-ansitape/files/patch-aa'
X*** Makefile.orig	Sun Jan 22 02:06:03 2006
X--- Makefile	Sun Jan 22 02:08:09 2006
X***************
X*** 1,16 ****
X  ROFF = nroff
X  CFLAGS = -O 
X! DESTDIR = 
X  
X  ansitape: ansitape.c
X  	cc $(CFLAGS) -o ansitape ansitape.c
X  
X  doc: ansitape.1
X  	$(ROFF) -man ansitape.1
X  
X  install:
X! 	install -s -m 755 ansitape $(DESTDIR)/usr/ecn/ansitape
X  
X  clean:
X! 	rm -f *.o core a.out
X  
X--- 1,18 ----
X  ROFF = nroff
X  CFLAGS = -O 
X! 
X! all: ansitape
X  
X  ansitape: ansitape.c
X  	cc $(CFLAGS) -o ansitape ansitape.c
X  
X  doc: ansitape.1
X  	$(ROFF) -man ansitape.1
X  
X  install:
X! 	install -s -m 755 ansitape ${PREFIX}/bin/ansitape
X! 	install -m 644 ansitape.1 ${PREFIX}/man/man1
X  
X  clean:
X! 	rm -f *.o core a.out ansitape 
X  
END-of-ansitape/files/patch-aa
echo x - ansitape/files/patch-ab
sed 's/^X//' >ansitape/files/patch-ab << 'END-of-ansitape/files/patch-ab'
X*** ansitape.c.orig	Sun Jan 22 02:08:51 2006
X--- ansitape.c	Sun Jan 22 02:12:29 2006
X***************
X*** 90,104 ****
X  #include <sys/resource.h>
X  #include <sys/ioctl.h>
X  #include <sys/file.h>
X  #include <sys/mtio.h>
X  #include <sys/stat.h>
X! #include <sys/dir.h>
X  #include <stdio.h>
X  #include <ctype.h>
X  #include <pwd.h>
X  
X  #define TRUE		1
X  #define FALSE		0
X  #define DBYTES		4
X  #define MAXLINE		2048		/* THIS IS 255 IN ANSITAR.C !!!!! */
X  #define ISOBLOCK	2048
X--- 90,107 ----
X  #include <sys/resource.h>
X  #include <sys/ioctl.h>
X  #include <sys/file.h>
X  #include <sys/mtio.h>
X  #include <sys/stat.h>
X! #include <sys/cdefs.h>
X! #include <dirent.h>
X  #include <stdio.h>
X  #include <ctype.h>
X  #include <pwd.h>
X  
X+ #define direct          dirent
X+  
X  #define TRUE		1
X  #define FALSE		0
X  #define DBYTES		4
X  #define MAXLINE		2048		/* THIS IS 255 IN ANSITAR.C !!!!! */
X  #define ISOBLOCK	2048
END-of-ansitape/files/patch-ab
echo x - ansitape/Makefile
sed 's/^X//' >ansitape/Makefile << 'END-of-ansitape/Makefile'
X# New ports collection makefile for:    ansitape
X# Date created:         22 January 2006
X# Whom:                 Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
X#
X# $FreeBSD: ports/sysutils/ansitape/Makefile,v 1.00 2006/01/22 02:15:25 irn Exp $
X#
X
XPORTNAME=	ansitape
XPORTVERSION=	1.4
XCATEGORIES=	sysutils
XMASTER_SITES=	ftp://ftp.unicamp.br/pub/unix-c/tapes/ \
X		http://ftp.br.xemacs.org/pub/unix-c/tapes/
XDISTNAME=	ansitape
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	CPE1704TKS@bellsouth.net
XCOMMENT=	Read or write ANSI, VMS, RSTS/E, RSX-11, RT-11, and other tapes
X
XALL_TARGET=	${PORTNAME}
XMAN1=		ansitape.1
X
X.include <bsd.port.mk>
END-of-ansitape/Makefile
echo x - ansitape/distinfo
sed 's/^X//' >ansitape/distinfo << 'END-of-ansitape/distinfo'
XSIZE (ansitape.tar.Z) = 38503
XMD5 (ansitape.tar.Z) = 4eed0456997ff0ff7a9435e4279802d5
XSHA256 (ansitape.tar.Z) = 9c09b2a36544e2279e7d7d891796950707b2df4d8bcfc80e924bb073f916a2f3
END-of-ansitape/distinfo
echo x - ansitape/pkg-descr
sed 's/^X//' >ansitape/pkg-descr << 'END-of-ansitape/pkg-descr'
XAnsitape reads from or writes to a magnetic tape in ANSI labelled tape
Xformat, which is a useful format for exchange of ASCII character files
Xwith non-UNIX sites.  The transfer of binary files is supported in the
Xsense that the program will let you write them on the tape.
X
XAnsitape supports the standard defined in ANSI X3.27-1978, Magnetic
XTape Labels and File Structure for Information Interchange. Only 
XSystem levels 1, 2, and 3 are supported, System level 4 (spanned records)
Xis not supported.  
X
XIn addition, special options have been included to read and write tapes 
Xfor RT-11, RSTS, RSX, and VMS systems, which use a slightly modified 
Xversion of the standard.
END-of-ansitape/pkg-descr
echo x - ansitape/pkg-plist
sed 's/^X//' >ansitape/pkg-plist << 'END-of-ansitape/pkg-plist'
Xbin/ansitape
END-of-ansitape/pkg-plist
exit
--- ansitape-1.4.shar ends here ---

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



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