From 7d6c68d623040d81d02024f86b3978faad284a72 Mon Sep 17 00:00:00 2001 From: Con Kolivas Date: Sat, 22 May 2010 10:07:18 +1000 Subject: [PATCH] Add lrzuntar man, update manpages and prep for 0.46 release. --- BUGS | 5 ++-- ChangeLog | 6 +++++ Makefile.in | 6 ++--- README | 8 +++--- TODO | 4 +-- WHATS-NEW | 7 ++++++ configure.ac | 2 +- man/Makefile | 7 +++++- man/lrunzip.1.pod | 3 +++ man/lrzip.1 | 19 +++++++++++--- man/lrztar.1.pod | 10 +++++--- man/lrzuntar.1.pod | 63 ++++++++++++++++++++++++++++++++++++++++++++++ rzip.h | 2 +- 13 files changed, 120 insertions(+), 22 deletions(-) create mode 100644 man/lrzuntar.1.pod diff --git a/BUGS b/BUGS index 531ee15..2234a05 100644 --- a/BUGS +++ b/BUGS @@ -1,4 +1,3 @@ -BUGME November 2009 +BUGME May 2010 -MacOSX build is broken as of v0.41. No easy fix is planned -at the moment. \ No newline at end of file +Nil known. diff --git a/ChangeLog b/ChangeLog index edf3fd1..aaac100 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,10 @@ lrzip ChangeLog +MAY 2010, version 0.46, Con Kolivas, Ed Avis. +* Suppress final [OK] message with -q flag EA +* Handle mkstemp() errors correctly EA +* Add lrzuntar manpage +* Update manpages + APRIL 2010, version 0.45, Con Kolivas, Jon Tibble, George Makrydakis * Fixes the nasm program test (AC_CHECK_PROG doesn't overwrite a variable that is already set so do it manually) JT diff --git a/Makefile.in b/Makefile.in index 040ddf3..c92dc0b 100644 --- a/Makefile.in +++ b/Makefile.in @@ -51,7 +51,7 @@ DOCFILES= AUTHORS BUGS ChangeLog COPYING README README-NOT-BACKWARD-COMPATIBLE \ DOCFILES_LZMA= lzma/7zC.txt lzma/7zFormat.txt lzma/Methods.txt \ lzma/history.txt lzma/lzma.txt lzma/README lzma/README-Alloc -MAN1FILES= man/lrzip.1 man/lrunzip.1 man/lrztar.1 +MAN1FILES= man/lrzip.1 man/lrunzip.1 man/lrztar.1 man/lrzuntar.1 MAN5FILES= man/lrzip.conf.5 #note that the -I. is needed to handle config.h when using VPATH @@ -116,7 +116,7 @@ install: all uninstall: rm -rf $(DESTDIR)${INSTALL_BIN}/{lrztar,lrzuntar,lrunzip,lrzip} rm -rf $(DESTDIR)${INSTALL_DOC} - rm -rf $(DESTDIR)${INSTALL_MAN1}/{lrunzip.1,lrzip.1,lrztar.1} + rm -rf $(DESTDIR)${INSTALL_MAN1}/{lrunzip.1,lrzip.1,lrztar.1,lrzuntar.1} rm -rf $(DESTDIR)${INSTALL_MAN5}/lrzip.conf.5 lrzip: $(OBJS) $(CXX) $(LDFLAGS) -o lrzip $(OBJS) $(LIBS) @@ -126,7 +126,7 @@ static: $(OBJS) clean: -${RM} *~ $(OBJS) lrzip config.cache config.log config.status *.o \ - man/lrunzip.1 man/lrztar.1 + man/lrunzip.1 man/lrztar.1 man/lrzuntar.1 distclean: clean -rm -rf autom4te.cache config.h Makefile diff --git a/README b/README index 3f2fe51..9327ca1 100644 --- a/README +++ b/README @@ -1,4 +1,4 @@ -lrzip v0.45 +lrzip v0.46 Long Range ZIP or Lzma RZIP @@ -14,7 +14,7 @@ Quick lowdown of the most used options: lrztar directory This will produce an archive directory.tar.lrz compressed with lzma - lrztar -d directory.tar.lrz + lrzuntar directory.tar.lrz This will completely extract an archived directory lrzip filename @@ -325,11 +325,11 @@ to LZMALib.cpp and for Makefile.in suggestions, and everyone else who coded along the way. Huge thanks to Peter Hyman for most of the 0.19-0.24 changes, and the update to the multithreaded lzma library and all sorts of other features. Thanks to René Rhéaume for fixing executable stacks and -Ed Avis for write permissions. Thanks to Matt Mahoney for zpaq code. Thanks to +Ed Avis for various fixes. Thanks to Matt Mahoney for zpaq code. Thanks to Jukka Laurila for Darwin support. Thanks to George Makrydakis for lrztar. Con Kolivas -Thursday, Wed, 30 Dec 2009 +Sat, 22 May 2010 Also documented by Peter Hyman diff --git a/TODO b/TODO index eea201c..c902d8c 100644 --- a/TODO +++ b/TODO @@ -13,6 +13,6 @@ Consider ncurses version or even GUI one. Consider using LZMA Filters for processor-optimized coding to increase compression. -Write a wrapper script for tarballing directories. +Get the ASM working on 64bit. -Get the ASM working on 64bit. \ No newline at end of file +Clean up the config system since it's a mystery to me. \ No newline at end of file diff --git a/WHATS-NEW b/WHATS-NEW index 4d3af13..02f6d7a 100644 --- a/WHATS-NEW +++ b/WHATS-NEW @@ -1,5 +1,12 @@ lrzip-0.45 +Added lrzuntar which works the same as lrztar -d. + +Con Kolivas +May 2010 + +lrzip-0.45 + Added docs for lrztar and lrunzip. Added distclean and maintainer-clean make targets. Created git repo: http://github.com/ckolivas/lrzip diff --git a/configure.ac b/configure.ac index 1ed18e7..75bb831 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -AC_INIT([lrzip],[0.45],[kernel@kolivas.org],[lrzip-0.45]) +AC_INIT([lrzip],[0.46],[kernel@kolivas.org],[lrzip-0.46]) AC_CONFIG_HEADER(config.h) # see what our system is! AC_CANONICAL_HOST diff --git a/man/Makefile b/man/Makefile index 4d1e707..4dbb869 100755 --- a/man/Makefile +++ b/man/Makefile @@ -2,6 +2,7 @@ # # Copyright information # +# Copyright (C) 2010 Con Kolivas # Copyright (C) 2010 Jari Aalto # # License @@ -21,7 +22,7 @@ PODCENTER = Lrzip -all: lrunzip.1 lrztar.1 +all: lrunzip.1 lrztar.1 lrzuntar.1 lrunzip.1: lrunzip.1.pod podchecker $< @@ -31,4 +32,8 @@ lrztar.1: lrztar.1.pod podchecker $< $(MAKE) -f pod2man.mk PACKAGE=lrztar PODCENTER=$(PODCENTER) makeman +lrzuntar.1: lrzuntar.1.pod + podchecker $< + $(MAKE) -f pod2man.mk PACKAGE=lrzuntar PODCENTER=$(PODCENTER) makeman + # End of file diff --git a/man/lrunzip.1.pod b/man/lrunzip.1.pod index b5de8ff..f82b1b0 100644 --- a/man/lrunzip.1.pod +++ b/man/lrunzip.1.pod @@ -1,5 +1,6 @@ # Copyright # +# Copyright (C) 2010 Con Kolivas # Copyright (C) 2009-2009 Jari Aalto # # License @@ -70,6 +71,8 @@ lzop(1), lrzip(1), rzip(1), zip(1) +lrztar(1), +lrzip.conf(5) =head1 AUTHORS diff --git a/man/lrzip.1 b/man/lrzip.1 index 61fa966..18125f8 100644 --- a/man/lrzip.1 +++ b/man/lrzip.1 @@ -1,4 +1,4 @@ -.TH "lrzip" "1" "December 2009" "" "" +.TH "lrzip" "1" "May 2010" "" "" .SH "NAME" lrzip \- a large-file compression program .SH "SYNOPSIS" @@ -13,6 +13,8 @@ lrztar [lrzip options] .br lrztar \-d [lrzip options] .br +lrzuntar [lrzip options] +.br LRZIP=NOCONFIG [lrzip|lrunzip] [OPTIONS] .PP .SH "DESCRIPTION" @@ -53,7 +55,7 @@ Here is a summary of the options to lrzip\&. \-t test compressed file integrity \-i show compressed file information -If no filenames or "-" is specified, stdin/out will be used. +If no filenames or "-" is specified, stdin/out will be used (stdin/out is inefficient with lrzip and not recommended usage). .fi @@ -248,11 +250,20 @@ with increasing ram sizes. .PP .SH "BUGS" .PP -Probably lots. +Nil known. Probably lots. .PP .SH "SEE ALSO" -lrzip.conf(5) +lrzip.conf(5), +bzip2(1), +gzip(1), +lzop(1), +lrzip(1), +rzip(1), +zip(1) +lrztar(1), +lrzuntar(1) + .PP .SH "AUTHOR and CREDITS" .br diff --git a/man/lrztar.1.pod b/man/lrztar.1.pod index f4fdd2e..4166696 100644 --- a/man/lrztar.1.pod +++ b/man/lrztar.1.pod @@ -1,5 +1,6 @@ # Copyright # +# Copyright (C) 2010 Con Kolivas # Copyright (C) 2009-2010 Jari Aalto # # License @@ -46,11 +47,13 @@ lrztar - Directory wrapper for lrzip lrztar [options] DIRECTORY lrztar -d [options] DIRECTORY.tar.lrz + lrzuntar [options] DIRECTORY.tar.lrz =head1 DESCRIPTION -lrztar is a wrapper for compressing and decompressing while directories with lrzip(1) -to corresponding file C. +lrztar is a wrapper for compressing and decompressing whole directories with lrzip(1) +to corresponding file C. lrzuntar is identical to C. +lrztar takes the same options as lrzip. =head1 OPTIONS @@ -71,7 +74,8 @@ gzip(1), lzop(1), lrzip(1), rzip(1), -zip(1) +zip(1), +lrzip.conf(5) =head1 AUTHORS diff --git a/man/lrzuntar.1.pod b/man/lrzuntar.1.pod new file mode 100644 index 0000000..0f85e3d --- /dev/null +++ b/man/lrzuntar.1.pod @@ -0,0 +1,63 @@ +# Copyright +# +# Copyright (C) 2010 Con Kolivas +# +# License +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 2 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program. If not, see . +# + +=pod + +=head1 NAME + +lrzuntar - Extract whole tarball from .tar.lrz files + +=head1 SYNOPSIS + + lrzuntar [options] DIRECTORY.tar.lrz + +=head1 DESCRIPTION + +lrzuntar is identical to C used to decompress lrzip compressed +tarballs. + +=head1 OPTIONS + +See lrzip(1) + +=head1 ENVIRONMENT + +None. + +=head1 FILES + +None. + +=head1 SEE ALSO + +lrztar(1), +bzip2(1), +gzip(1), +lzop(1), +lrzip(1), +rzip(1), +zip(1), +lrzip.conf(5) + +=head1 AUTHORS + +Con Kolivas. + +=cut diff --git a/rzip.h b/rzip.h index 318db65..3d4ce4b 100644 --- a/rzip.h +++ b/rzip.h @@ -19,7 +19,7 @@ #define LRZIP_MAJOR_VERSION 0 #define LRZIP_MINOR_VERSION 4 -#define LRZIP_MINOR_SUBVERSION 5 +#define LRZIP_MINOR_SUBVERSION 6 #define NUM_STREAMS 2