diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-12 08:31:14 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2005-03-12 08:31:14 +0000 |
commit | 166b859cb306900cbc4695acd6e8df621378fae7 (patch) | |
tree | 66f6ec23eb4f31674a28f04dcfe6c0d63be8cf4c /emulators | |
parent | - Update to 4.1.3 (diff) |
- Update to 4.0
- pkg-descr reformat, add WWW field
PR: ports/78716
Submitted by: Danny Koenig <dako@bsdberlin.org>
Notes
Notes:
svn path=/head/; revision=130964
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/vmsbackup/Makefile | 18 | ||||
-rw-r--r-- | emulators/vmsbackup/distinfo | 4 | ||||
-rw-r--r-- | emulators/vmsbackup/files/patch-aa | 43 | ||||
-rw-r--r-- | emulators/vmsbackup/files/patch-ab | 162 | ||||
-rw-r--r-- | emulators/vmsbackup/files/patch-ac | 15 | ||||
-rw-r--r-- | emulators/vmsbackup/pkg-descr | 16 |
6 files changed, 21 insertions, 237 deletions
diff --git a/emulators/vmsbackup/Makefile b/emulators/vmsbackup/Makefile index cce76c89a306..e5ce0105b4f4 100644 --- a/emulators/vmsbackup/Makefile +++ b/emulators/vmsbackup/Makefile @@ -6,21 +6,23 @@ # PORTNAME= vmsbackup -PORTVERSION= 3.0 +PORTVERSION= 4.0 CATEGORIES= emulators sysutils -MASTER_SITES= ftp://ftp.cs.uni-sb.de/pub/utils/ -# slightly different version -# MASTER_SITES+= ftp://ftp.uni-passau.de/pub/unix/system/backup/ -DISTNAME= ${PORTNAME} -EXTRACT_SUFX= .tgz +MASTER_SITES= http://www.bsdberlin.org/~dako/distfiles/emulators/ +DISTNAME= ${PORTNAME}-${PORTVERSION} +EXTRACT_SUFX= .tar -MAINTAINER= ports@FreeBSD.org +MAINTAINER= dako@bsdberlin.org COMMENT= Reads VMS BACKUP tapes MAN1= vmsbackup.1 MANCOMPRESSED= yes PLIST_FILES= bin/vmsbackup - MAKE_FLAGS= BINDIR=${PREFIX}/bin MANDIR=${PREFIX}/man/man1 -f +USE_REINPLACE= yes + +post-patch: + @${REINPLACE_CMD} -e 's#gets(ans);#fgets(ans, 80, stdin);#' ${WRKSRC}/vmsbackup.c + @${REINPLACE_CMD} -e 's#"getopt.h"#<unistd.h>#' ${WRKSRC}/getoptmain.c .include <bsd.port.mk> diff --git a/emulators/vmsbackup/distinfo b/emulators/vmsbackup/distinfo index aa9405ceb53b..731a935759d9 100644 --- a/emulators/vmsbackup/distinfo +++ b/emulators/vmsbackup/distinfo @@ -1,2 +1,2 @@ -MD5 (vmsbackup.tgz) = c39a2fae9c29b48701cf1c93890562ce -SIZE (vmsbackup.tgz) = 9589 +MD5 (vmsbackup-4.0.tar) = 8474a1b215a6380a00cfccd5c6e4829b +SIZE (vmsbackup-4.0.tar) = 59392 diff --git a/emulators/vmsbackup/files/patch-aa b/emulators/vmsbackup/files/patch-aa deleted file mode 100644 index 6f04db249edd..000000000000 --- a/emulators/vmsbackup/files/patch-aa +++ /dev/null @@ -1,43 +0,0 @@ -*** 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 diff --git a/emulators/vmsbackup/files/patch-ab b/emulators/vmsbackup/files/patch-ab deleted file mode 100644 index fc7aa54eb5a3..000000000000 --- a/emulators/vmsbackup/files/patch-ab +++ /dev/null @@ -1,162 +0,0 @@ -*** 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 diff --git a/emulators/vmsbackup/files/patch-ac b/emulators/vmsbackup/files/patch-ac deleted file mode 100644 index c0db716002af..000000000000 --- a/emulators/vmsbackup/files/patch-ac +++ /dev/null @@ -1,15 +0,0 @@ -*** vmsbackup.c Tue Sep 23 17:27:13 1997 ---- ../../src/vmsbackup.c Tue Sep 23 17:30:12 1997 -*************** -*** 262,266 **** - printf("extract %s [ny]",filename); - fflush(stdout); -! gets(ans); - if(*ans != 'y') procf = NULL; - } ---- 262,266 ---- - printf("extract %s [ny]",filename); - fflush(stdout); -! fgets(ans, 80, stdin); - if(*ans != 'y') procf = NULL; - } diff --git a/emulators/vmsbackup/pkg-descr b/emulators/vmsbackup/pkg-descr index 01ae5309be7c..b117de2d1b2b 100644 --- a/emulators/vmsbackup/pkg-descr +++ b/emulators/vmsbackup/pkg-descr @@ -1,8 +1,10 @@ - VMSBACKUP reads VMS BACKUP tapes. +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. +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. + +WWW: http://www.panix.com/~kingdon/vms/backup.html |