Date: Sun, 22 Jan 2006 02:50:01 -0500 (EST) From: "Jeffrey H. Johnson" <CPE1704TKS@bellsouth.net> To: FreeBSD-gnats-submit@FreeBSD.org Cc: CPE1704TKS@bellsouth.net Subject: ports/92138: [NEW PORT] sysutils/cmstape: Read and write an IBM VM/SP CMS dump tape on UNIX Message-ID: <20060122075001.4353A39833@offworld.cqasys.com> Resent-Message-ID: <200601220800.k0M80Gug034886@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 92138 >Category: ports >Synopsis: [NEW PORT] sysutils/cmstape: Read and write an IBM VM/SP CMS dump tape 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 08:00:15 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: Add cmstape while I'm at it -- also searched google but it seems 1.1 is the latest version existing. Might be useful for hercules emulator users. -x- cmstape is a program to read and write IBM CMS "tapedump" tapes on UNIX. cmstape reads and writes either a tape device or a file that has been read off a tape by readtape(1). (That is, a file that contains a 2-byte VAX order (little-endian) tape block size before each data block). This allows you to get the files off a tape with readtape(1) and transfer them over the network to the system where they will actually be extracted. You can also do the opposite: create a tape dump file, transfer it over the network, and write it to a tape device with writetape(1). When writing a tape dump under UNIX, file names preceded by -Fnn cause those files to be written in fixed instead of the default variable for- mat. If nn is specified, it will be used for the record length, other- wise 80 is assumed. Under CMS, this switch is ignored; the actual record length and format maintained by the filesystem are used. -x- Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- cmstape-1.1.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: # # cmstape # cmstape/files # cmstape/files/patch-aa # cmstape/Makefile # cmstape/distinfo # cmstape/pkg-descr # cmstape/pkg-plist # echo c - cmstape mkdir -p cmstape > /dev/null 2>&1 echo c - cmstape/files mkdir -p cmstape/files > /dev/null 2>&1 echo x - cmstape/files/patch-aa sed 's/^X//' >cmstape/files/patch-aa << 'END-of-cmstape/files/patch-aa' X*** Makefile.orig Sun Jan 22 02:37:11 2006 X--- Makefile Sun Jan 22 02:38:06 2006 X*************** X*** 4,13 **** X $(CC) -o cmstape $(OBJS) X cmstape.o: cmstape.c X ebcdic.o: ebcdic.c X X install: cmstape X! install -s cmstape /usr/local X! cp cmstape.1 /usr/man/manl/cmstape.l X clean: X! rm -f *.o X X--- 4,13 ---- X $(CC) -o cmstape $(OBJS) X cmstape.o: cmstape.c X ebcdic.o: ebcdic.c X X install: cmstape X! install -m 0755 -s cmstape ${PREFIX}/bin/cmstape X! install -m 0644 cmstape.1 ${PREFIX}/man/man1/cmstape.1 X clean: X! rm -f *.o cmstape X END-of-cmstape/files/patch-aa echo x - cmstape/Makefile sed 's/^X//' >cmstape/Makefile << 'END-of-cmstape/Makefile' X# New ports collection makefile for: cmstape X# Date created: 22 January 2006 X# Whom: Jeffrey H. Johnson <CPE1704TKS@bellsouth.net> X# X# $FreeBSD: ports/sysutils/cmstape/Makefile,v 1.00 2006/01/22 02:41:20 trn Exp $ X# X XPORTNAME= cmstape XPORTVERSION= 1.1 XCATEGORIES= sysutils XMASTER_SITES= ftp://ftp.unicamp.br/pub/unix-c/tapes/ \ X http://ftp.br.xemacs.org/pub/unix-c/tapes/ XDISTNAME= cmstape XEXTRACT_SUFX= .tar.Z X XMAINTAINER= CPE1704TKS@bellsouth.net XCOMMENT= Read and write an IBM VM/SP CMS dump tape on UNIX X XALL_TARGET= ${PORTNAME} XMAN1= cmstape.1 X X.include <bsd.port.mk> END-of-cmstape/Makefile echo x - cmstape/distinfo sed 's/^X//' >cmstape/distinfo << 'END-of-cmstape/distinfo' XSIZE (cmstape.tar.Z) = 20485 XMD5 (cmstape.tar.Z) = 20f9a9bc1f5842fb129a6e138fdf6a4d XSHA256 (cmstape.tar.Z) = c0c111d4ecd0646f5a8cc1dea82db73c441d98370d39e61705eb6550836d1077 END-of-cmstape/distinfo echo x - cmstape/pkg-descr sed 's/^X//' >cmstape/pkg-descr << 'END-of-cmstape/pkg-descr' Xcmstape is a program to read and write IBM CMS "tapedump" tapes on UNIX. X Xcmstape reads and writes either a tape device or a file that has been Xread off a tape by readtape(1). (That is, a file that contains a 2-byte XVAX order (little-endian) tape block size before each data block). This Xallows you to get the files off a tape with readtape(1) and transfer Xthem over the network to the system where they will actually be extracted. XYou can also do the opposite: create a tape dump file, transfer it over Xthe network, and write it to a tape device with writetape(1). X XWhen writing a tape dump under UNIX, file names preceded by -Fnn cause Xthose files to be written in fixed instead of the default variable for- Xmat. If nn is specified, it will be used for the record length, other- Xwise 80 is assumed. Under CMS, this switch is ignored; the actual Xrecord length and format maintained by the filesystem are used. END-of-cmstape/pkg-descr echo x - cmstape/pkg-plist sed 's/^X//' >cmstape/pkg-plist << 'END-of-cmstape/pkg-plist' Xbin/cmstape END-of-cmstape/pkg-plist exit --- cmstape-1.1.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?20060122075001.4353A39833>