From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Jan 22 08:00:17 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 859BB16A422 for ; Sun, 22 Jan 2006 08:00:17 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D4BFA43D46 for ; Sun, 22 Jan 2006 08:00:16 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k0M80Gxi034887 for ; Sun, 22 Jan 2006 08:00:16 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k0M80Gug034886; Sun, 22 Jan 2006 08:00:16 GMT (envelope-from gnats) Resent-Date: Sun, 22 Jan 2006 08:00:16 GMT Resent-Message-Id: <200601220800.k0M80Gug034886@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, "Jeffrey H. Johnson" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B970116A41F for ; Sun, 22 Jan 2006 07:50:08 +0000 (GMT) (envelope-from root@offworld.cqasys.com) Received: from imf23aec.mail.bellsouth.net (imf23aec.mail.bellsouth.net [205.152.59.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43ACB43D46 for ; Sun, 22 Jan 2006 07:50:08 +0000 (GMT) (envelope-from root@offworld.cqasys.com) Received: from ibm66aec.bellsouth.net ([65.7.181.160]) by imf23aec.mail.bellsouth.net with ESMTP id <20060122075002.SSZU24493.imf23aec.mail.bellsouth.net@ibm66aec.bellsouth.net> for ; Sun, 22 Jan 2006 02:50:02 -0500 Received: from offworld.cqasys.com ([65.7.181.160]) by ibm66aec.bellsouth.net with ESMTP id <20060122075001.LONG19353.ibm66aec.bellsouth.net@offworld.cqasys.com>; Sun, 22 Jan 2006 02:50:01 -0500 Received: by offworld.cqasys.com (Postfix, from userid 0) id 4353A39833; Sun, 22 Jan 2006 02:50:01 -0500 (EST) Message-Id: <20060122075001.4353A39833@offworld.cqasys.com> Date: Sun, 22 Jan 2006 02:50:01 -0500 (EST) From: "Jeffrey H. Johnson" To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: CPE1704TKS@bellsouth.net Subject: ports/92138: [NEW PORT] sysutils/cmstape: Read and write an IBM VM/SP CMS dump tape on UNIX X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jan 2006 08:00:17 -0000 >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 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 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: