1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

vmsbackup: read VMS backup tapes

Reviewed by:	jmz
Submitted by:	Jonathan M Bresler <jmb@kryten.atinc.com>
This commit is contained in:
Jean-Marc Zucconi 1995-04-19 02:30:22 +00:00
parent 1c6d79f1fa
commit 29bd114278
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=1463
7 changed files with 242 additions and 0 deletions

View File

@ -0,0 +1,22 @@
# New ports collection makefile for: vmsbackup
# Version required: 3.0
# Date created: 18 Apr 1994
# Whom: Jonathan M. Bresler (jmb)
#
#
DISTNAME= vmsbackup
PKGNAME= vmsbackup-3.0
MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/utils/
MASTER_SITES+= ftp://ftp.uni-passau.de/pub/unix/system/backup/
CATEGORIES+= utilities
EXTRACT_SUFX= .tar.Z
MAINTAINER= jmb@FreeBSD.org
MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 -f
pre-install:
@mkdir -p ${PREFIX}/bin ${PREFIX}/man/man1
.include <bsd.port.mk>

View File

@ -0,0 +1 @@
MD5 (vmsbackup.tar.Z) = 8469f4a156c6d531e491558543eee0b6

View File

@ -0,0 +1,43 @@
*** Makefile Tue Jun 13 04:49:54 1989
--- ../../src/Makefile Tue Apr 18 20:43:30 1995
***************
*** 6,22 ****
CFLAGS= $(SWAP) $(REMOTE) -O
LFLAGS=
! LIBS= -lrmt # remote magtape library
! OWNER=tar # user for remote tape access
! MODE=4755
BINDIR=/usr/local/bin
! MANSEC=l
! MANDIR=/usr/man/man$(MANSEC)
- #
vmsbackup: vmsbackup.o match.o
! cc $(LFLAGS) -o vmsbackup vmsbackup.o match.o -lV
install:
install -m $(MODE) -o $(OWNER) -s vmsbackup $(BINDIR)
! cp vmsbackup.1 $(MANDIR)/vmsbackup.$(MANSEC)
clean:
rm -f vmsbackup *.o core
--- 6,26 ----
CFLAGS= $(SWAP) $(REMOTE) -O
LFLAGS=
! # LIBS= -lrmt # remote magtape library
! OWNER=bin # user for remote tape access
! MODE=755
BINDIR=/usr/local/bin
! MANSEC=1
! MANDIR=/usr/local/man/man$(MANSEC)
!
! all: vmsbackup
vmsbackup: vmsbackup.o match.o
! cc $(LFLAGS) -o vmsbackup vmsbackup.o match.o
!
install:
install -m $(MODE) -o $(OWNER) -s vmsbackup $(BINDIR)
! gzip vmsbackup.1
! cp vmsbackup.1.gz $(MANDIR)
!
clean:
rm -f vmsbackup *.o core

View File

@ -0,0 +1,162 @@
*** vmsbackup.1 Sun Feb 19 10:35:29 1989
--- ../../src/vmsbackup.1 Tue Apr 18 20:59:08 1995
***************
*** 4,18 ****
.SH SYNOPSIS
.B vmsbackup
! .B \-{tx}[cdevw][s setnumber][f tapefile]
[ name ... ]
.SH DESCRIPTION
.I vmsbackup
reads a VMS generated backup tape, converting the files
! to Unix format and writing the files to disc.
The default operation of the program is to go through an entire
! tape, extracting every file and writing it to disc.
This may be modified by the following options.
.TP 8
! .B c
Use complete filenames, including the version number.
A colon and the octal version number will be appended to all filenames.
--- 4,18 ----
.SH SYNOPSIS
.B vmsbackup
! .B \-[txcdevw][s setnumber][f tapefile]
[ name ... ]
.SH DESCRIPTION
.I vmsbackup
reads a VMS generated backup tape, converting the files
! to Unix format and writing the files to disk.
The default operation of the program is to go through an entire
! tape, extracting every file and writing it to disk.
This may be modified by the following options.
.TP 8
! .B -c
Use complete filenames, including the version number.
A colon and the octal version number will be appended to all filenames.
***************
*** 26,33 ****
The default is to ignore version numbers.
.TP 8
! .B d
use the directory structure from VMS, the default value is off.
.TP 8
! .B e
Process all filename extensions.
Since this program is mainly intended to move source code and possibly
--- 26,33 ----
The default is to ignore version numbers.
.TP 8
! .B -d
use the directory structure from VMS, the default value is off.
.TP 8
! .B -e
Process all filename extensions.
Since this program is mainly intended to move source code and possibly
***************
*** 35,39 ****
all files whose filename extension specifies system dependent data.
The file types which will be ignored, unless the
! .B e
option is specified, are
.IP "" 10
--- 35,39 ----
all files whose filename extension specifies system dependent data.
The file types which will be ignored, unless the
! .B -e
option is specified, are
.IP "" 10
***************
*** 57,61 ****
.PP
.TP 8
! .B f
Use the next argument in the command line as the tape device to
be used, rather than the default.
--- 57,61 ----
.PP
.TP 8
! .B -f
Use the next argument in the command line as the tape device to
be used, rather than the default.
***************
*** 83,94 ****
This must be a raw mode tape device.
.TP 8
! .B s saveset
Process only the given saveset number.
.TP 8
! .B t
! Produce a table of contents (a directory listing) on the standard output
! of the files on tape.
.TP 8
! .B v
Verbose output.
Normally
--- 83,94 ----
This must be a raw mode tape device.
.TP 8
! .B -s saveset
Process only the given saveset number.
.TP 8
! .B -t
! Produce a table of contents (a recursive directory listing) on the
! standard output of the files on tape.
.TP 8
! .B -v
Verbose output.
Normally
***************
*** 98,102 ****
tape to disk to be output on the standard output.
.TP 8
! .B w
.I vmsbackup
prints the action to be taken followed by file name, then
--- 98,102 ----
tape to disk to be output on the standard output.
.TP 8
! .B -w
.I vmsbackup
prints the action to be taken followed by file name, then
***************
*** 104,108 ****
is given, the action is done. Any other input means don't do it.
.TP 8
! .B x
extract the named files from the tape.
.TP 8
--- 104,108 ----
is given, the action is done. Any other input means don't do it.
.TP 8
! .B -x
extract the named files from the tape.
.TP 8
***************
*** 111,122 ****
argument specifies one or more filenames to be
searched for specifically on the tape and only those files are to be processed.
! The name may contain the usal sh(1) meta-characters *?![] \nnn.
.SH FILES
! /dev/rmt\fIx\fP
.SH SEE ALSO
! rmtops(3)
.SH BUGS
The filename match uses the complete VMS file names.
!
.SH AUTHOR
John Douglas Carey
--- 111,124 ----
argument specifies one or more filenames to be
searched for specifically on the tape and only those files are to be processed.
! The name may contain the usal
! .I sh(1)
! meta-characters *?![].
.SH FILES
! /dev/rmt\fIx\fP, /dev/rst\fIx\fP
.SH SEE ALSO
! rsh(1), rmt(8)
.SH BUGS
The filename match uses the complete VMS file names.
! Filename matching does not use libregex.a
.SH AUTHOR
John Douglas Carey

View File

@ -0,0 +1 @@
VMSBACKUP reads VMS BACKUP tapes.

View File

@ -0,0 +1,10 @@
VMSBACKUP reads VMS BACKUP tapes.
Main features:
swaps bytes from big-endian to little-endian, if required.
savesets can be selected individually.
can preserve directory structure.
excludes vms specific files (eg executables and objects).
converts vms version numbering semicolons to colons.

View File

@ -0,0 +1,3 @@
@cwd /usr/local
bin/vmsbackup
man/man1/vmsbackup.1.gz