Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 04:32:53 -0500 (EST)
From:      "Jeffrey H. Johnson" <CPE1704TKS@bellsouth.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        CPE1704TKS@bellsouth.net
Subject:   ports/92145: [NEW PORT] sysutils/read20: A program to read TOPS-20 "DUMPER" tapes on UNIX
Message-ID:  <20060122093253.22E3639833@offworld.cqasys.com>
Resent-Message-ID: <200601220950.k0M9o25s012739@freefall.freebsd.org>

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

>Number:         92145
>Category:       ports
>Synopsis:       [NEW PORT] sysutils/read20: A program to read TOPS-20 "DUMPER" tapes on UNIX
>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 09:50:01 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:

Latest version I could find, again from unix-c archive.  This is also
a very useful program for SIMH users who want to use TOPS-20, which is
now freely available.

-x-

Read20 reads tapes produced by the TOPS-20 backup and archival program
DUMPER, producing directory listings and extracting files. 

-x-

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

--- read20-1.15.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:
#
#	read20
#	read20/files
#	read20/files/patch-aa
#	read20/files/patch-ab
#	read20/Makefile
#	read20/distinfo
#	read20/pkg-descr
#	read20/pkg-plist
#
echo c - read20
mkdir -p read20 > /dev/null 2>&1
echo c - read20/files
mkdir -p read20/files > /dev/null 2>&1
echo x - read20/files/patch-aa
sed 's/^X//' >read20/files/patch-aa << 'END-of-read20/files/patch-aa'
X*** Makefile.orig	Sun Jan 22 04:10:42 2006
X--- Makefile	Sun Jan 22 04:16:02 2006
X***************
X*** 1,20 ****
X! DESTDIR=
X  CFLAGS= -O
X  
X  SRCS= dump.h read20.c sindex.c fold.h fold.c
X  OBJS= read20.o sindex.o fold.o
X  
X  read20:	$(OBJS)
X! 	cc ${CFLAGS} -o read20 $(OBJS)
X  
X  read20.o: dump.h read20.c
X  
X  fold.o: fold.h fold.c
X  
X  install: read20
X! 	install -s read20 $(DESTDIR)/usr/local
X  
X  clean: FRC
X  	rm -f *.o read20 core a.out errs Errs
X  
X  
X--- 1,21 ----
X! DESTDIR=${PREFIX}
X  CFLAGS= -O
X  
X  SRCS= dump.h read20.c sindex.c fold.h fold.c
X  OBJS= read20.o sindex.o fold.o
X  
X  read20:	$(OBJS)
X! 	cc ${CFLAGS} -o read20 $(OBJS) -lcompat
X  
X  read20.o: dump.h read20.c
X  
X  fold.o: fold.h fold.c
X  
X  install: read20
X! 	install -s -m 755 read20 $(DESTDIR)/bin/read20
X! 	install -m 644 read20.1 $(DESTDIR)/man/man1
X  
X  clean: FRC
X  	rm -f *.o read20 core a.out errs Errs
X  
X  
END-of-read20/files/patch-aa
echo x - read20/files/patch-ab
sed 's/^X//' >read20/files/patch-ab << 'END-of-read20/files/patch-ab'
X*** read20.c.orig	Sun Jan 22 04:09:39 2006
X--- read20.c	Sun Jan 22 04:10:21 2006
X***************
X*** 564,574 ****
X  
X  /*VARARGS2*/
X  punt(prterrno, fmt, a1, a2)
X  char *fmt;
X  {
X!     extern int errno, sys_nerr;
X  
X      fprintf(stderr, fmt, a1, a2);
X      if (prterrno) {
X  	fprintf(stderr, ": ");
X  	if (errno >= 0 && errno < sys_nerr)
X--- 564,574 ----
X  
X  /*VARARGS2*/
X  punt(prterrno, fmt, a1, a2)
X  char *fmt;
X  {
X!      extern int errno;
X  
X      fprintf(stderr, fmt, a1, a2);
X      if (prterrno) {
X  	fprintf(stderr, ": ");
X  	if (errno >= 0 && errno < sys_nerr)
END-of-read20/files/patch-ab
echo x - read20/Makefile
sed 's/^X//' >read20/Makefile << 'END-of-read20/Makefile'
X# New ports collection makefile for:    read20
X# Date created:         22 January 2006
X# Whom:                 Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
X#
X# $FreeBSD: ports/sysutils/read20/Makefile,v 1.00 2006/01/22 04:19:29 trn Exp $
X#
X
XPORTNAME=	read20
XPORTVERSION=	1.15
XCATEGORIES=	sysutils
XMASTER_SITES=	ftp://ftp.unicamp.br/pub/unix-c/tapes/ \
X		http://ftp.br.xemacs.org/pub/unix-c/tapes/
XDISTNAME=	read20
XEXTRACT_SUFX=	.tar.Z
X
XMAINTAINER=	CPE1704TKS@bellsouth.net
XCOMMENT=	A program to read TOPS-20 "DUMPER" tapes on UNIX
X
XWRKSRC=		${WRKDIR}
X
XALL_TARGET=	${PORTNAME}
XMAN1=		read20.1
X
Xpost-extract:
X	(cd ${WRKSRC} ; \
X	${RM} "read20.c,v")
X
X.include <bsd.port.mk>
END-of-read20/Makefile
echo x - read20/distinfo
sed 's/^X//' >read20/distinfo << 'END-of-read20/distinfo'
XSIZE (read20.tar.Z) = 40265
XMD5 (read20.tar.Z) = 78042a05e3f3a2cb7e5e7fa50cda6662
XSHA256 (read20.tar.Z) = 0d2112c76a0860c457bffff43e555a88cd043198a5296ef197e16fbdf4242898
END-of-read20/distinfo
echo x - read20/pkg-descr
sed 's/^X//' >read20/pkg-descr << 'END-of-read20/pkg-descr'
XRead20 reads tapes produced by the TOPS-20 backup and archival program
XDUMPER, producing directory listings and extracting files. 
END-of-read20/pkg-descr
echo x - read20/pkg-plist
sed 's/^X//' >read20/pkg-plist << 'END-of-read20/pkg-plist'
Xbin/read20
END-of-read20/pkg-plist
exit
--- read20-1.15.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?20060122093253.22E3639833>