]>
git.ipfire.org Git - thirdparty/libarchive.git/log
Michihiro NAKAJIMA [Sun, 11 Nov 2012 09:39:07 +0000 (18:39 +0900)]
Fix build failure on FreeBSD.
Michihiro NAKAJIMA [Thu, 8 Nov 2012 06:29:29 +0000 (15:29 +0900)]
Add support for __MACOSX directory in Zip archives, which resource
forks are stored in.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 11:32:26 +0000 (20:32 +0900)]
Fix build failure without zlib and liblzo.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 10:43:17 +0000 (19:43 +0900)]
Increase the number of data bytes reading from the tail of
a zip archive file up to 16K bytes because Info-Zip may do so.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 07:20:59 +0000 (16:20 +0900)]
Fix build failure with zlib on Win64.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 06:32:05 +0000 (15:32 +0900)]
Fix test failure on Windows. A '\' is a path separater on Windows.
Michihiro NAKAJIMA [Wed, 7 Nov 2012 06:25:47 +0000 (15:25 +0900)]
Fix build failure on Win64.
Michihiro NAKAJIMA [Fri, 26 Oct 2012 06:02:24 +0000 (15:02 +0900)]
Add support for TAR_WRITE_OPTIONS and TAR_READ_OPTIONS environmment
variables to set default options to writing or reading archives with
bsdtar.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 22:58:23 +0000 (07:58 +0900)]
Use memcmp to check null bytes for iso9660 bidder to improve
the performance.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 21:49:01 +0000 (06:49 +0900)]
Fix style. No functional changes.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 11:20:38 +0000 (20:20 +0900)]
Fix issue 271; Handle the central directory including a zip comment.
Michihiro NAKAJIMA [Tue, 6 Nov 2012 00:05:03 +0000 (16:05 -0800)]
Merge pull request #29 from travitch/archive-read-open-file-fix
Fix an error test on the result from fread
Michihiro NAKAJIMA [Mon, 5 Nov 2012 23:17:03 +0000 (08:17 +0900)]
Remove debug code for HFS+ compresison.
Michihiro NAKAJIMA [Sun, 4 Nov 2012 00:22:28 +0000 (09:22 +0900)]
Do not directly copy mac metadata to the data fork file if the file
is compressed by HFS+ compression through copyfile() because it makes
the file uncompressed.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 06:21:48 +0000 (15:21 +0900)]
Cancel HFS+ compression if the compressed size is not enouph small.
Tristan Ravitch [Fri, 2 Nov 2012 14:49:44 +0000 (09:49 -0500)]
Fix an error test on the result from fread
fread returns a short byte count on error (and ferror has to be used
to determine if it really was an error). There was a check for < 0,
which fread cannot return.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 00:42:02 +0000 (09:42 +0900)]
Improve a test for HFS+ Compression.
Michihiro NAKAJIMA [Fri, 2 Nov 2012 00:12:09 +0000 (09:12 +0900)]
Correct the location the resource fork footer is added.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 23:50:47 +0000 (08:50 +0900)]
If a restoring file name begins with "._" and its form is
AppleDouble, link it with the data fork file and remove it.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:50:05 +0000 (05:50 +0900)]
Use mkstemp rather than tempnam for security.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:29:20 +0000 (05:29 +0900)]
Change compiling conditions for support for HFS+ Compression
since it is only for MacOS X.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 20:20:49 +0000 (05:20 +0900)]
Ignore .DS_Store made by Finder on MacOS X.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:53:57 +0000 (20:53 +0900)]
Do not process HFS+ compression if the file name begins with "._".
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:41:33 +0000 (20:41 +0900)]
If ARCHIVE_EXTRACT_FFLAGS is not set, do not set file flags with
the exception of UF_COMPRESSED when HFS+ compression is processed.
Michihiro NAKAJIMA [Thu, 1 Nov 2012 11:09:43 +0000 (20:09 +0900)]
Plug memory leaks on Mac.
Michihiro NAKAJIMA [Wed, 31 Oct 2012 03:55:42 +0000 (12:55 +0900)]
Add --nopreserveHFSCompression option to bsdtar to prevent
a file which was compressed before archived from automatically
HFS+ Compression.
Michihiro NAKAJIMA [Wed, 31 Oct 2012 02:01:09 +0000 (11:01 +0900)]
Ignore a request of HFS+ Compression if the filesystem a file
is restoring on does not support.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:59:22 +0000 (08:59 +0900)]
Early versions of Mac OS X do not support HFS+ Compression.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:47:36 +0000 (08:47 +0900)]
Correct handling user_umask in create_filesystem_object function.
It usually made a new file with a zero file mode though that
was changed later.
The file its mode was a zero prevented doing fsetxattr system call
in success with the exception of running by super user on Mac.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 23:25:19 +0000 (08:25 +0900)]
Fix making Resource Fork header and footer for HFS+ Compression.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 21:07:14 +0000 (06:07 +0900)]
Remove an unnecessary check of file xattrs used for HFS+ compression
since the file was removed if existent.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 18:22:42 +0000 (03:22 +0900)]
Fix a segmentation fault when files for assertionEqualFile do not exist.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 18:17:28 +0000 (03:17 +0900)]
Fix a segmentation fault when getting xattr list failed.
Michihiro NAKAJIMA [Tue, 30 Oct 2012 17:10:14 +0000 (02:10 +0900)]
Fix build failure on Mac OS X Mountain Lion.
Michihiro NAKAJIMA [Sat, 27 Oct 2012 12:58:37 +0000 (21:58 +0900)]
Simplify converting endianness of the decmpfs header and flushing
the last compressed block.
Michihiro NAKAJIMA [Sat, 27 Oct 2012 01:28:33 +0000 (10:28 +0900)]
Do not depend on sys/decmpfs.h since Snow Leopard does not have it.
Michihiro NAKAJIMA [Fri, 26 Oct 2012 06:10:45 +0000 (15:10 +0900)]
Set UF_COMPRESSED flag before write Resource Frok.
Michihiro NAKAJIMA [Fri, 26 Oct 2012 00:53:36 +0000 (09:53 +0900)]
Add experimental support for HFS+ Compression.
- bsdtar provides --hfsCompression option.
Michihiro NAKAJIMA [Tue, 23 Oct 2012 00:21:40 +0000 (09:21 +0900)]
Add lacking filter entries to the table of
archive_write_add_filter function.
Michihiro NAKAJIMA [Tue, 23 Oct 2012 00:13:53 +0000 (09:13 +0900)]
Update a comment about lzop.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 23:25:40 +0000 (08:25 +0900)]
Fix typo; mtree utility is section 8.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 22:09:45 +0000 (07:09 +0900)]
Describe lrzip:compression, lrzip:compression-level and
lzop:compression-level.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 21:32:08 +0000 (06:32 +0900)]
Change the minimum number of gzip:compression-level from 0 to 1
described in bsdtar.1 since an external gzip(1) utility does not
handle compression level 0.
Michihiro NAKAJIMA [Mon, 22 Oct 2012 21:22:23 +0000 (06:22 +0900)]
Introduce gzip:timestamp option into gzip write filter to
control recording timestamp.
Michihiro NAKAJIMA [Sun, 21 Oct 2012 08:05:28 +0000 (17:05 +0900)]
Introduce -a/--auto-compress option into bsdtar.
This automatically decides on a creation format and filters by
the archive suffix.
Michihiro NAKAJIMA [Sun, 21 Oct 2012 04:07:37 +0000 (13:07 +0900)]
Use lzo_adler32 instead of using own founction when if zlib unavailable.
Michihiro NAKAJIMA [Thu, 18 Oct 2012 03:40:19 +0000 (12:40 +0900)]
Add support for writing v7 tar format.
Michihiro NAKAJIMA [Sun, 21 Oct 2012 02:26:07 +0000 (11:26 +0900)]
Add test_compat_lzop_1.tar.lzo entry into the test_fuzz list for
the lzop read filter.
Michihiro NAKAJIMA [Sun, 21 Oct 2012 02:11:46 +0000 (11:11 +0900)]
Use liblzo2 for the lzop write filter.
Michihiro NAKAJIMA [Sat, 20 Oct 2012 05:06:37 +0000 (14:06 +0900)]
Remove debug lines.
Michihiro NAKAJIMA [Fri, 19 Oct 2012 04:29:01 +0000 (13:29 +0900)]
Add mtree test entries into CMakefile.txt.
Michihiro NAKAJIMA [Fri, 19 Oct 2012 04:14:32 +0000 (13:14 +0900)]
Use liblzo2 for the lzop reader filter if available.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 07:07:47 +0000 (16:07 +0900)]
Make sure that we consume remaining data bytes before reading
entries in a directory in case of reading the ISO image made
by makefs.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 05:10:08 +0000 (14:10 +0900)]
Remove redundant initialization.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 05:00:42 +0000 (14:00 +0900)]
Perform 'bzip2 -d -V' instead of 'bzip2 -V' for a bzip2 availableness
test because the process on FreeBSD 9 does not finish its program
when redirecting stdout to /dev/null.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:33:43 +0000 (10:33 +0900)]
Add test_option_j to the bsdtar_test.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:27:36 +0000 (10:27 +0900)]
Add test_option_z to the bsdtar_test.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:14:40 +0000 (10:14 +0900)]
Fix a skip message in no zlib.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 01:10:51 +0000 (10:10 +0900)]
Fix build failure without zlib.
Michihiro NAKAJIMA [Tue, 16 Oct 2012 00:40:50 +0000 (09:40 +0900)]
Fix build and test failure without libbz2.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 19:27:52 +0000 (04:27 +0900)]
Fix a handing of readdir_r on AIX. The meaning of the return value is
different from other posix systems.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:26:05 +0000 (14:26 +0900)]
Make external programs lzip, lzma and xz be quiet when reading
corrupted compressed data.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:17:07 +0000 (14:17 +0900)]
Switch an external program for xz decompression from "unxz" to
"xz -d".
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:08:46 +0000 (14:08 +0900)]
Switch an external program for lzma decompression from "unlzma" to
"lzma -d".
Michihiro NAKAJIMA [Sun, 14 Oct 2012 05:00:04 +0000 (14:00 +0900)]
Switch an external program for lzip decompression from "lunzip" to
"lzip -d".
Michihiro NAKAJIMA [Sun, 14 Oct 2012 04:47:58 +0000 (13:47 +0900)]
Correct detection error messages in a lack of liblzma.
Michihiro NAKAJIMA [Sun, 14 Oct 2012 04:42:32 +0000 (13:42 +0900)]
Fix an external program name for lzip decompression.
Michihiro NAKAJIMA [Sat, 13 Oct 2012 10:31:16 +0000 (19:31 +0900)]
Fix typo.
Michihiro NAKAJIMA [Sat, 13 Oct 2012 10:28:37 +0000 (19:28 +0900)]
Enable bzip2 compression to use an external bzip2 program when
libbz2 is unavailable.
Michihiro NAKAJIMA [Sat, 13 Oct 2012 09:56:11 +0000 (18:56 +0900)]
Switch an external program for bzip2 decompression from "bunzip2"
to "bzip2 -d".
Michihiro NAKAJIMA [Sat, 13 Oct 2012 07:30:17 +0000 (16:30 +0900)]
Integrate __archive_write_program_set_cmd into __archive_write_program_open.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 21:57:36 +0000 (06:57 +0900)]
Use an external gzip program when zlib is unavailable.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 21:30:25 +0000 (06:30 +0900)]
Properly call next filter even if the external program is already closed
or not opend.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 20:15:29 +0000 (05:15 +0900)]
Move archive_compressor_gzip_free and archive_compressor_gzip_options
after archive_write_add_filter_gzip. This is preparation to use an
external program gzip if zlib is not available.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 20:08:02 +0000 (05:08 +0900)]
Fix style.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 10:51:52 +0000 (19:51 +0900)]
Add a test for archive_cmdline.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 10:51:08 +0000 (19:51 +0900)]
Fix few bugs in archive_cmdline.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 06:01:20 +0000 (15:01 +0900)]
canGunzip is no longer needed. We use "gzip -d" for gzip decompression.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 05:36:56 +0000 (14:36 +0900)]
Set warning messages.
Michihiro NAKAJIMA [Thu, 11 Oct 2012 02:13:20 +0000 (11:13 +0900)]
Parse a command line instead of using
archive_write_add_filter_programl,
archive_write_add_filter_programv,
archive_read_support_filter_programl,
archive_read_support_filter_programv,
archive_read_support_filter_programl_signature and
archive_read_support_filter_programv_signature.
And so remove those functions, which I recently added.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 23:04:22 +0000 (08:04 +0900)]
Support lzop options for writing.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 22:58:40 +0000 (07:58 +0900)]
Support lrzip options for writing.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 22:33:00 +0000 (07:33 +0900)]
Improve archive_write_filter_program handing to be able to
use options for an external program from
archive_write_filter_{grzip,lrzip,lzop}.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 02:19:20 +0000 (11:19 +0900)]
Place canGrzip before canGzip.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 23:17:05 +0000 (08:17 +0900)]
Add support for grzip compression.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 01:11:44 +0000 (10:11 +0900)]
Fix matching test name to correctly check a test name terminator.
Michihiro NAKAJIMA [Wed, 10 Oct 2012 00:54:49 +0000 (09:54 +0900)]
Set correct arg0; consider that arg0 may have space characters.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 20:48:42 +0000 (05:48 +0900)]
Fix style and Make source files be somewhat readable.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 12:40:33 +0000 (21:40 +0900)]
Remove outdated comments.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 06:44:26 +0000 (15:44 +0900)]
Enable the iso9660 reader to seek a file pointer for reading
its contents.
Michihiro NAKAJIMA [Tue, 9 Oct 2012 05:37:30 +0000 (14:37 +0900)]
- Clean up style.
- Divide archive_read_format_iso9660_read_header function into two
functions to be somewhat readable.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:52:40 +0000 (07:52 +0900)]
Set deprecated attribute to remaining deprecated functions.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:49:06 +0000 (07:49 +0900)]
Replace deprecated archive_read_finish by archive_read_free
and deprecated archive_write_finish by archive_write_free.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:30:41 +0000 (07:30 +0900)]
Replace deprecated macro ARCHIVE_COMPRESSION_* by ARCHIVE_FILTER_*.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 22:22:36 +0000 (07:22 +0900)]
Make lrzip and lzop write filters set correct filter name and code
even if thery actually use archive_write_filter_program.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 21:38:23 +0000 (06:38 +0900)]
Rename test_compat_lrzip.tar.lrz.uu to test_read_filter_lrzip.tar.lrz.uu
Michihiro NAKAJIMA [Mon, 8 Oct 2012 21:25:24 +0000 (06:25 +0900)]
Rename filter_fork.c to filter_fork_posix.c.
It is clear the file is used for which platform.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 07:49:46 +0000 (16:49 +0900)]
Add decompression tests to bsdcpio and bsdtar.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 06:36:57 +0000 (15:36 +0900)]
s/test_write_compress_/test_write_filter_/
So as to match the API names.
Michihiro NAKAJIMA [Mon, 8 Oct 2012 03:38:04 +0000 (12:38 +0900)]
Introduce b64encode filter.