]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
13 years agoUpdate shared library version computation for upcoming 3.0.0a release.
Tim Kientzle [Sun, 6 Nov 2011 20:41:49 +0000 (15:41 -0500)] 
Update shared library version computation for upcoming 3.0.0a release.

SVN-Revision: 3754

13 years agoIssue 190: Fix build when liblzma is installed through MacPorts.
Tim Kientzle [Sun, 6 Nov 2011 19:09:58 +0000 (14:09 -0500)] 
Issue 190:  Fix build when liblzma is installed through MacPorts.

The probe for liblzma finds it in /opt/local, which adds
/opt/local/include to the include search path, which causes
iconv.h to be found there at compile time, which breaks because
libiconv was found in /usr at configure time.

This change causes cmake to prefer /opt/local for everything,
so that libiconv is pulled from /opt/local, and we avoid
the breakage from iconv mismatch.

I have a nasty suspicion that similar problems can happen
with many package systems.

SVN-Revision: 3753

13 years agoRather than marking the LZMA variables "not advanced", just
Tim Kientzle [Sun, 6 Nov 2011 19:01:45 +0000 (14:01 -0500)] 
Rather than marking the LZMA variables "not advanced", just
don't mark them "advanced" in the first place.

SVN-Revision: 3752

13 years agoMask SIGPIPE for libarchive test, tar, and cpio.
Tim Kientzle [Sat, 5 Nov 2011 23:34:57 +0000 (19:34 -0400)] 
Mask SIGPIPE for libarchive test, tar, and cpio.

As reported at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=641265

The SIGPIPE occurs when feeding data through a decompression
program; the external program may see an end-of-data marker
and exit before we've finished feeding it all of the data.
(This happens when the data has garbage padding at the end.)
We want to catch and ignore the EPIPE since we can still
read the data coming out of the decompression program.

SVN-Revision: 3751

13 years agoActually, it's OpenSSL that's deprecated on Mac OS, not RMD.
Tim Kientzle [Sat, 5 Nov 2011 23:28:13 +0000 (19:28 -0400)] 
Actually, it's OpenSSL that's deprecated on Mac OS, not RMD.

SVN-Revision: 3750

13 years agoDisable RMD160 checks on Darwin.
Tim Kientzle [Sat, 5 Nov 2011 20:12:01 +0000 (16:12 -0400)] 
Disable RMD160 checks on Darwin.
Without this, we find RMD160 in OpenSSL but then fail to build because
of deprecation errors.
There are certainly better ways to handle this.

SVN-Revision: 3749

13 years agoIssue 165: Use GNU tar-style hHrRsS trailing flags to
Tim Kientzle [Sat, 5 Nov 2011 05:29:29 +0000 (01:29 -0400)] 
Issue 165: Use GNU tar-style hHrRsS trailing flags to
control hardlink, regular filename, and symlink substitutions.

SVN-Revision: 3748

13 years agoAdd a test inspired by Issue #186.
Tim Kientzle [Sat, 5 Nov 2011 04:16:35 +0000 (00:16 -0400)] 
Add a test inspired by Issue #186.
I believe this shows that the issue reported there is not
due to a problem in libarchive.

SVN-Revision: 3747

13 years agoIssue 188: Bump maximum line length to 64k.
Tim Kientzle [Fri, 4 Nov 2011 04:34:06 +0000 (00:34 -0400)] 
Issue 188: Bump maximum line length to 64k.

SVN-Revision: 3746

13 years agoUse the original filename for reporting errors, instead of the processed one.
Tim Kientzle [Fri, 4 Nov 2011 04:33:28 +0000 (00:33 -0400)] 
Use the original filename for reporting errors, instead of the processed one.

SVN-Revision: 3745

13 years agoWhen tar is appending one archive to another,
Tim Kientzle [Thu, 3 Nov 2011 05:36:00 +0000 (01:36 -0400)] 
When tar is appending one archive to another,
propagate read errors back as well as write errors.

SVN-Revision: 3744

13 years agoIssue #189: Don't rely on dev/ino being zero when they
Tim Kientzle [Thu, 3 Nov 2011 05:21:30 +0000 (01:21 -0400)] 
Issue #189:  Don't rely on dev/ino being zero when they
have not been set.  Instead, explicitly track when these
values are set.  In particular, this fixes the check
that prevents adding an archive to itself on NetBSD.

SVN-Revision: 3743

13 years agoRemove test for 'self == NULL' in bzip2_reader_init. It isn't needed,
Colin Percival [Wed, 2 Nov 2011 21:13:46 +0000 (17:13 -0400)] 
Remove test for 'self == NULL' in bzip2_reader_init.  It isn't needed,
since the caller is responsible for providing a non-NULL pointer; and
it's meaningless because we've already dereferenced self a few lines
earlier.

Submitted by: Carlo Teubner (via Tarsnap bug bounties)

SVN-Revision: 3742

13 years agoSupport FreeBSD's libmd library for common message digest functions.
Tim Kientzle [Sat, 22 Oct 2011 22:19:22 +0000 (18:19 -0400)] 
Support FreeBSD's libmd library for common message digest functions.

SVN-Revision: 3741

13 years agoUse archive_clear_error() to clear the error markers.
Tim Kientzle [Sat, 22 Oct 2011 18:26:55 +0000 (14:26 -0400)] 
Use archive_clear_error() to clear the error markers.

SVN-Revision: 3740

13 years agoCorrect spelling of getgrgid and getpwuid
Tim Kientzle [Sat, 22 Oct 2011 17:49:46 +0000 (13:49 -0400)] 
Correct spelling of getgrgid and getpwuid

SVN-Revision: 3739

13 years agoPort the --gname, --uname, --uid, --gid options from libarchive/trunk.
Tim Kientzle [Sat, 22 Oct 2011 16:39:25 +0000 (12:39 -0400)] 
Port the --gname, --uname, --uid, --gid options from libarchive/trunk.

SVN-Revision: 3738

13 years agoProbes for libmd on FreeBSD.
Tim Kientzle [Wed, 19 Oct 2011 03:44:38 +0000 (23:44 -0400)] 
Probes for libmd on FreeBSD.

SVN-Revision: 3737

13 years agoFirst part of libmd support for FreeBSD.
Tim Kientzle [Sun, 16 Oct 2011 22:27:38 +0000 (18:27 -0400)] 
First part of libmd support for FreeBSD.

SVN-Revision: 3736

13 years agoMerge r3247 from trunk: Clear errors before returning
Tim Kientzle [Sat, 15 Oct 2011 17:19:30 +0000 (13:19 -0400)] 
Merge r3247 from trunk: Clear errors before returning
from archive_read_support_format_all()

SVN-Revision: 3735

13 years agoMerge r1989: archive_clear_error should set errno to 0.
Tim Kientzle [Sat, 15 Oct 2011 17:17:43 +0000 (13:17 -0400)] 
Merge r1989:  archive_clear_error should set errno to 0.

SVN-Revision: 3734

13 years agoFix a typo that prevented CommonCrypto (part of libSystem) from being
Tim Kientzle [Wed, 5 Oct 2011 05:01:31 +0000 (01:01 -0400)] 
Fix a typo that prevented CommonCrypto (part of libSystem) from being
properly used on Darwin.

Note that Mac OS X 10.7 has deprecated OpenSSL in favor of CommonCrypto.
We still pick up RIPEMD160 from OpenSSL if it's available, which breaks
strict warnings because of the deprecation.  This seems unavoidable;
CommonCrypto doesn't seem to support RIPEMD160.  To avoid the deprecation
warning on Mac OS X 10.7, disable the OpenSSL checks.  That loses
RIPEMD160 support, though.

SVN-Revision: 3733

13 years agoIssue 182. Merge r3702 from trunk.
Michihiro NAKAJIMA [Sun, 25 Sep 2011 06:53:12 +0000 (02:53 -0400)] 
Issue 182. Merge r3702 from trunk.

SVN-Revision: 3731

13 years agoFix issue 174; largely merge r3692 from trunk.
Michihiro NAKAJIMA [Sun, 25 Sep 2011 06:43:10 +0000 (02:43 -0400)] 
Fix issue 174; largely merge r3692 from trunk.
Correctly handle Windows style full-path names, which are
leading \\.\ or \\?\ or \\?\\UNC\ or \\?\Volume{GUID}\ or C:\,
in archive_write_disk.c.

SVN-Revision: 3730

13 years agoProvide slightly more descriptive summary.
Andres Mejia [Sat, 24 Sep 2011 17:33:25 +0000 (13:33 -0400)] 
Provide slightly more descriptive summary.

SVN-Revision: 3729

13 years agoMake note that seek support is in the works.
Andres Mejia [Sat, 24 Sep 2011 17:33:20 +0000 (13:33 -0400)] 
Make note that seek support is in the works.

SVN-Revision: 3728

13 years agoRemove a comment that describes how libarchive 1.x used to work.
Tim Kientzle [Sat, 24 Sep 2011 03:53:39 +0000 (23:53 -0400)] 
Remove a comment that describes how libarchive 1.x used to work.
It's no longer even moderately interesting.

SVN-Revision: 3726

13 years agoFix the iconv probe and actually use the result.
Tim Kientzle [Fri, 23 Sep 2011 04:48:23 +0000 (00:48 -0400)] 
Fix the iconv probe and actually use the result.
Thiss fixes the autotool build on Mac OS X 10.6.

SVN-Revision: 3725

13 years agoIssue 185: Include the contributed Zip in the regression test,
Tim Kientzle [Tue, 20 Sep 2011 05:21:22 +0000 (01:21 -0400)] 
Issue 185:  Include the contributed Zip in the regression test,
include this and another recently added test file to the distribution
described by Makefile.am.

SVN-Revision: 3724

13 years agoMerge r3722 from trunk: Fixes extraction of Zip entries that use
Tim Kientzle [Mon, 19 Sep 2011 04:58:34 +0000 (00:58 -0400)] 
Merge r3722 from trunk:  Fixes extraction of Zip entries that use
length-at-end without specifying either the compressed or uncompressed
length.  In particular, fixes bsdtar extraction of such files.

SVN-Revision: 3723

13 years agoTest that archive_read_extract works correctly with Zip entries
Tim Kientzle [Mon, 19 Sep 2011 04:54:56 +0000 (00:54 -0400)] 
Test that archive_read_extract works correctly with Zip entries
that use length-at-end.

SVN-Revision: 3722

13 years agoSupport old Info-Zip 'UX' extension. (Needs test.)
Tim Kientzle [Mon, 19 Sep 2011 04:53:54 +0000 (00:53 -0400)] 
Support old Info-Zip 'UX' extension.  (Needs test.)

SVN-Revision: 3721

13 years agoPrint out the expected contents of a file
Tim Kientzle [Mon, 19 Sep 2011 04:52:29 +0000 (00:52 -0400)] 
Print out the expected contents of a file
for failing tests.

SVN-Revision: 3720

13 years agoMake untar.c build correctly with libarchive 3.0.
Tim Kientzle [Sun, 18 Sep 2011 21:50:00 +0000 (17:50 -0400)] 
Make untar.c build correctly with libarchive 3.0.

SVN-Revision: 3719

13 years agoRemove duplicate entry of -lxml2 in LIBS variable.
Andres Mejia [Sun, 18 Sep 2011 03:24:00 +0000 (23:24 -0400)] 
Remove duplicate entry of -lxml2 in LIBS variable.
Also fixes duplicate entry in libarchive.pc.

SVN-Revision: 3715

13 years agoRemove duplicate libraries in $LIBS variable.
Andres Mejia [Sun, 18 Sep 2011 03:13:58 +0000 (23:13 -0400)] 
Remove duplicate libraries in $LIBS variable.
Fixes duplicates that appear in libarchive.pc.

SVN-Revision: 3714

13 years agoBuild tar and cpio when both ENABLE_TAR and ENABLE_CPIO are OFF on CMake build system.
Michihiro NAKAJIMA [Thu, 15 Sep 2011 08:34:02 +0000 (04:34 -0400)] 
Build tar and cpio when both ENABLE_TAR and ENABLE_CPIO are OFF on CMake build system.

SVN-Revision: 3713

13 years agoFix style.
Michihiro NAKAJIMA [Wed, 14 Sep 2011 09:41:24 +0000 (05:41 -0400)] 
Fix style.

SVN-Revision: 3712

13 years agoWe cannot get proper an xml output from an earlier version of libxml.
Michihiro NAKAJIMA [Wed, 14 Sep 2011 09:34:26 +0000 (05:34 -0400)] 
We cannot get proper an xml output from an earlier version of libxml.
There may be a way to work around it, but right now I cannot find out how to.
I have to, therefore, disable the xar writer if libxlm version is less than 2.7.3,
which version Mac Snow Leopard has.

SVN-Revision: 3711

13 years agoSet explicit unused arguments in order to avoid several warnings about it, which...
Michihiro NAKAJIMA [Wed, 14 Sep 2011 08:58:16 +0000 (04:58 -0400)] 
Set explicit unused arguments in order to avoid several warnings about it, which some C compiler complain about.

SVN-Revision: 3710

13 years agoMake sure a local variable 'parent' is not NULL when access to its member.
Michihiro NAKAJIMA [Wed, 14 Sep 2011 07:41:17 +0000 (03:41 -0400)] 
Make sure a local variable 'parent' is not NULL when access to its member.

SVN-Revision: 3709

13 years agoRemove unused __la_chdir and related definitions in archive_windows.h.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 09:10:47 +0000 (05:10 -0400)] 
Remove unused __la_chdir and related definitions in archive_windows.h.

SVN-Revision: 3708

13 years agoErase \r from archive_read_support_format_mtree.c.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 09:00:39 +0000 (05:00 -0400)] 
Erase \r from archive_read_support_format_mtree.c.

SVN-Revision: 3707

13 years agoOn Windows, make sure an exit status is initialized in case something error happens
Michihiro NAKAJIMA [Tue, 13 Sep 2011 08:37:35 +0000 (04:37 -0400)] 
On Windows, make sure an exit status is initialized in case something error happens
and exit __la_waitpid before we normally invoke GetExitCodeProcess.

SVN-Revision: 3706

13 years agoAdd archive_read_disk_open_w that is a wchar_t version of archive_read_disk_open.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 08:20:15 +0000 (04:20 -0400)] 
Add archive_read_disk_open_w that is a wchar_t version of archive_read_disk_open.

SVN-Revision: 3705

13 years agoFix test_read_format_rar failure on Mac.
Michihiro NAKAJIMA [Tue, 13 Sep 2011 08:04:42 +0000 (04:04 -0400)] 
Fix test_read_format_rar failure on Mac.

SVN-Revision: 3704

13 years agoFix a wrong memory allocation in converting NFC characters on Mac.
Michihiro NAKAJIMA [Mon, 12 Sep 2011 12:29:43 +0000 (08:29 -0400)] 
Fix a wrong memory allocation in converting NFC characters on Mac.

SVN-Revision: 3703

13 years agoIssue 182.
Michihiro NAKAJIMA [Mon, 12 Sep 2011 07:39:51 +0000 (03:39 -0400)] 
Issue 182.
Decide whether ZLIB_WINAPI is needed at configuration time, because there are two types of zlib
on Windows platform: one is built on Visual Studio, which requires ZLIB_WINAPI for use; other is
build on msys, which does not require ZLIB_WINAPI, GnuWin32 project provide such zlib.

SVN-Revision: 3702

13 years agoMore tweaks to mtree numeric range tests.
Tim Kientzle [Sun, 11 Sep 2011 18:38:39 +0000 (14:38 -0400)] 
More tweaks to mtree numeric range tests.

SVN-Revision: 3701

13 years agoCorrectly test the times on the very old files in the sample mtree.
Tim Kientzle [Sun, 11 Sep 2011 18:29:59 +0000 (14:29 -0400)] 
Correctly test the times on the very old files in the sample mtree.
Because time_t varies across platforms (32-bit, 64-bit, signed, and
unsigned), we can't just hard-code the expected value here, but we can
verify the that value returned is the oldest possible time_t value for
this platform.

SVN-Revision: 3700

13 years agoEnsure the returned 'time' value doesn't exceed the range of time_t on the
Tim Kientzle [Sun, 11 Sep 2011 17:23:50 +0000 (13:23 -0400)] 
Ensure the returned 'time' value doesn't exceed the range of time_t on the
local platform.

SVN-Revision: 3699

13 years agoUpdate comment.
Tim Kientzle [Sun, 11 Sep 2011 16:13:34 +0000 (12:13 -0400)] 
Update comment.

SVN-Revision: 3698

13 years agoNewer ZLib DLLs require ZLIB_WINAPI be defined.
Tim Kientzle [Sun, 11 Sep 2011 16:13:07 +0000 (12:13 -0400)] 
Newer ZLib DLLs require ZLIB_WINAPI be defined.

SVN-Revision: 3697

13 years agoAdd RAR SFX archive to test_fuzz.
Andres Mejia [Fri, 9 Sep 2011 14:45:49 +0000 (10:45 -0400)] 
Add RAR SFX archive to test_fuzz.

SVN-Revision: 3696

13 years agoAdd test case for RAR SFX archives.
Andres Mejia [Fri, 9 Sep 2011 14:45:12 +0000 (10:45 -0400)] 
Add test case for RAR SFX archives.

SVN-Revision: 3695

13 years agoAdd support for extracting a RAR SFX file.
Michihiro NAKAJIMA [Fri, 9 Sep 2011 04:29:25 +0000 (00:29 -0400)] 
Add support for extracting a RAR SFX file.

SVN-Revision: 3694

13 years agoFix build failure on Cygwin.
Michihiro NAKAJIMA [Thu, 8 Sep 2011 06:46:04 +0000 (02:46 -0400)] 
Fix build failure on Cygwin.

SVN-Revision: 3693

13 years agoFix issue 174.
Michihiro NAKAJIMA [Thu, 8 Sep 2011 06:18:18 +0000 (02:18 -0400)] 
Fix issue 174.
Correctly handle Windows style full-path names, which are
leading \\.\ or \\?\ or \\?\\UNC\ or \\?\Volume{GUID}\ or C:\,
in archive_write_disk_windows.c.

SVN-Revision: 3692

13 years agoRework the cpio readers and writers to not rely on structure
Tim Kientzle [Thu, 8 Sep 2011 05:11:02 +0000 (01:11 -0400)] 
Rework the cpio readers and writers to not rely on structure
alignment to read headers.

SVN-Revision: 3691

13 years agoCheck if the platform really supports crypto functions at the mtree writer
Michihiro NAKAJIMA [Wed, 7 Sep 2011 06:16:28 +0000 (02:16 -0400)] 
Check if the platform really supports crypto functions at the mtree writer
even if ARCHIVE_HAS_SHA* macros are defined, since Windows XP and earlier version
do not support some cyrpto functions.

SVN-Revision: 3690

13 years agoAvoid test_archive_sha384 and test_archive_sha512 failures on Windows XP, which does not
Michihiro NAKAJIMA [Wed, 7 Sep 2011 05:48:52 +0000 (01:48 -0400)] 
Avoid test_archive_sha384 and test_archive_sha512 failures on Windows XP, which does not
support both SHA384 and SHA512. We can only know that fact when that running time. And so
we should not depend on the compile conditions of crypto functions at our test suite.

SVN-Revision: 3689

13 years agoAdd support for RAR archives generated from BeOS machines.
Andres Mejia [Mon, 5 Sep 2011 17:09:06 +0000 (13:09 -0400)] 
Add support for RAR archives generated from BeOS machines.
I'm assuming RAR archives from BeOS use POSIX file attributes, based on looking
around in the Haiku distribution. I could not find or generate any RAR archives
from a BeOS/Haiku machine.

SVN-Revision: 3683

13 years agoSupport MAC OS generated RAR files.
Andres Mejia [Mon, 5 Sep 2011 16:28:32 +0000 (12:28 -0400)] 
Support MAC OS generated RAR files.
MAC OS generated RAR files use POSIX file attributes.

SVN-Revision: 3682

13 years agoEnable support for RAR files generated from MS-DOS and OS/2.
Andres Mejia [Mon, 5 Sep 2011 16:22:28 +0000 (12:22 -0400)] 
Enable support for RAR files generated from MS-DOS and OS/2.
Because file attributes in MS-DOS, OS/2, and Windows are similar, I am assuming
RAR archives generated from these three systems will use the same attributes. I
could not find or generate any test RAR archives for these cases.

SVN-Revision: 3681

13 years agoProvide basic test case for RAR files generated on Windows machines.
Andres Mejia [Mon, 5 Sep 2011 15:13:11 +0000 (11:13 -0400)] 
Provide basic test case for RAR files generated on Windows machines.

SVN-Revision: 3680

13 years agoRename lzx_br_read_ahead to lzx_br_read_ahead_0, and also rename
Michihiro NAKAJIMA [Mon, 5 Sep 2011 10:38:39 +0000 (06:38 -0400)] 
Rename lzx_br_read_ahead to lzx_br_read_ahead_0, and also rename
lzx_br_ensure to lzx_br_read_ahead so as to have the same meaning
to other bit readers.

SVN-Revision: 3679

13 years agoRename lzh_br_read_ahead, a bit reader macro, to lzh_br_read_ahead_0,
Michihiro NAKAJIMA [Mon, 5 Sep 2011 10:34:16 +0000 (06:34 -0400)] 
Rename lzh_br_read_ahead, a bit reader macro, to lzh_br_read_ahead_0,
and make a new lzh_br_read_ahead that that assures that there are enough
bits in the cache buffer.

SVN-Revision: 3678

13 years agoDo not calculate a next copy position unless it's really needed.
Michihiro NAKAJIMA [Mon, 5 Sep 2011 03:32:37 +0000 (23:32 -0400)] 
Do not calculate a next copy position unless it's really needed.

SVN-Revision: 3677

13 years agoExtend the tar test to verify that symlink and hardlink
Tim Kientzle [Sun, 4 Sep 2011 16:36:08 +0000 (12:36 -0400)] 
Extend the tar test to verify that symlink and hardlink
targets get properly rewritten by default.

Adjust the -s parser so that symlink and hardlink target
rewriting is enabled by default and the 's' or 'S' flags
disable both.

SVN-Revision: 3676

13 years agoLZX fotter-bits can take 17 bits, and so a bit reader should handle
Michihiro NAKAJIMA [Sun, 4 Sep 2011 09:08:25 +0000 (05:08 -0400)] 
LZX fotter-bits can take 17 bits, and so a bit reader should handle
over 16 bits in the bit stream.

SVN-Revision: 3674

13 years agoImprove decoding huffman code in both lha and cab reader.
Michihiro NAKAJIMA [Sun, 4 Sep 2011 07:16:39 +0000 (03:16 -0400)] 
Improve decoding huffman code in both lha and cab reader.
It's about 30% faster than previous version, and a total
extraction time is about 3% faster than previous version.

SVN-Revision: 3673

13 years agoTest integer parsing at the limits of 64-bit integers.
Tim Kientzle [Sat, 3 Sep 2011 18:22:57 +0000 (14:22 -0400)] 
Test integer parsing at the limits of 64-bit integers.

SVN-Revision: 3672

13 years agoRefactor the iconv probe by moving the repetitive try-compile
Tim Kientzle [Sat, 3 Sep 2011 18:01:33 +0000 (14:01 -0400)] 
Refactor the iconv probe by moving the repetitive try-compile
into a parametrized macro.

SVN-Revision: 3671

13 years agoLibarchive 2.8.5 v2.8.5
Tim Kientzle [Sat, 3 Sep 2011 16:20:07 +0000 (12:20 -0400)] 
Libarchive 2.8.5

SVN-Revision: 3670

13 years agoUse Nettle ripemd160 header and functions accepted into Nettle.
Andres Mejia [Fri, 2 Sep 2011 18:28:12 +0000 (14:28 -0400)] 
Use Nettle ripemd160 header and functions accepted into Nettle.

SVN-Revision: 3669

13 years agoIssue 178: compile issue on MSVC2010 with lzma support.
Michihiro NAKAJIMA [Thu, 1 Sep 2011 08:54:53 +0000 (04:54 -0400)] 
Issue 178: compile issue on MSVC2010 with lzma support.
Merge r2365 and r2367 from trunk.

SVN-Revision: 3668

13 years agoIssue 177: Fix --without-zlib compilation.
Michihiro NAKAJIMA [Thu, 1 Sep 2011 08:31:37 +0000 (04:31 -0400)] 
Issue 177: Fix --without-zlib compilation.

SVN-Revision: 3667

13 years agoIssue 176: Const-ify several static arrays.
Michihiro NAKAJIMA [Thu, 1 Sep 2011 08:25:09 +0000 (04:25 -0400)] 
Issue 176: Const-ify several static arrays.

SVN-Revision: 3666

13 years agoDelay a memory allocation for an output buffer at the xar reader
Michihiro NAKAJIMA [Wed, 31 Aug 2011 10:49:12 +0000 (06:49 -0400)] 
Delay a memory allocation for an output buffer at the xar reader
until it's really needed.

SVN-Revision: 3665

13 years agoAll type of LHa headers have a CRC16 value for a valid check to file contents
Michihiro NAKAJIMA [Wed, 31 Aug 2011 10:28:12 +0000 (06:28 -0400)] 
All type of LHa headers have a CRC16 value for a valid check to file contents
except early version of a level 0 header.

SVN-Revision: 3664

13 years agoIssue 175: Simplify filter bidding code.
Tim Kientzle [Wed, 31 Aug 2011 04:10:45 +0000 (00:10 -0400)] 
Issue 175: Simplify filter bidding code.

SVN-Revision: 3663

14 years agoRemove outdated definitions in archive_windows.h.
Michihiro NAKAJIMA [Sun, 28 Aug 2011 06:48:58 +0000 (02:48 -0400)] 
Remove outdated definitions in archive_windows.h.

SVN-Revision: 3662

14 years ago__archive_mktemp function should simply be in one file for maintenance, and so
Michihiro NAKAJIMA [Sun, 28 Aug 2011 06:38:41 +0000 (02:38 -0400)] 
__archive_mktemp function should simply be in one file for maintenance, and so
I migrated that of Windows implementation into archive_util.c.

SVN-Revision: 3661

14 years agoMigrate message digest functions on Windows into archive_crypto.c and
Michihiro NAKAJIMA [Sun, 28 Aug 2011 05:45:30 +0000 (01:45 -0400)] 
Migrate message digest functions on Windows into archive_crypto.c and
remove global function names, __la_hash_Init, __la_hash_Update and __la_hash_Final
since those are used only in archive_crypto.c.

SVN-Revision: 3660

14 years agoFix build failure on Windows.
Michihiro NAKAJIMA [Sun, 28 Aug 2011 04:58:44 +0000 (00:58 -0400)] 
Fix build failure on Windows.

SVN-Revision: 3659

14 years agoFetch current config.guess and config.sub as part of the release build.
Tim Kientzle [Sat, 27 Aug 2011 22:32:50 +0000 (18:32 -0400)] 
Fetch current config.guess and config.sub as part of the release build.

SVN-Revision: 3658

14 years agoPartly as documentation, include a step to fetch up-to-date
Tim Kientzle [Sat, 27 Aug 2011 22:31:45 +0000 (18:31 -0400)] 
Partly as documentation, include a step to fetch up-to-date
config.guess and config.sub as part of release building.

SVN-Revision: 3657

14 years agoImplement crypto support with the Nettle crypto library.
Andres Mejia [Sat, 27 Aug 2011 22:17:38 +0000 (18:17 -0400)] 
Implement crypto support with the Nettle crypto library.

SVN-Revision: 3656

14 years agoChange how crypto support is implemented within libarchive.
Andres Mejia [Sat, 27 Aug 2011 22:17:18 +0000 (18:17 -0400)] 
Change how crypto support is implemented within libarchive.

SVN-Revision: 3655

14 years agoFix warnings in make distcheck.
Tim Kientzle [Sat, 27 Aug 2011 22:17:13 +0000 (18:17 -0400)] 
Fix warnings in make distcheck.

SVN-Revision: 3654

14 years agoFix some warnings in make distcheck.
Tim Kientzle [Sat, 27 Aug 2011 22:16:53 +0000 (18:16 -0400)] 
Fix some warnings in make distcheck.

SVN-Revision: 3653

14 years agodoc/update.sh gets run during distcheck in a write-protected directory.
Tim Kientzle [Sat, 27 Aug 2011 21:54:55 +0000 (17:54 -0400)] 
doc/update.sh gets run during distcheck in a write-protected directory.

SVN-Revision: 3652

14 years agoMerge r3649: fix build on mingwrt 3.20.
Tim Kientzle [Sat, 27 Aug 2011 19:35:34 +0000 (15:35 -0400)] 
Merge r3649:  fix build on mingwrt 3.20.

SVN-Revision: 3651

14 years agoMerge r3605: Rename the iso_gz test to iso_Z to match the
Tim Kientzle [Sat, 27 Aug 2011 19:33:47 +0000 (15:33 -0400)] 
Merge r3605: Rename the iso_gz test to iso_Z to match the
fact that we're using Compress here instead of gzip.

SVN-Revision: 3650

14 years agoFix build with mingwrt 3.20.
Tim Kientzle [Sat, 27 Aug 2011 19:07:35 +0000 (15:07 -0400)] 
Fix build with mingwrt 3.20.

SVN-Revision: 3649

14 years agoAdditional fix to issue 168; merge r3647 from trunk.
Michihiro NAKAJIMA [Sat, 27 Aug 2011 16:48:54 +0000 (12:48 -0400)] 
Additional fix to issue 168; merge r3647 from trunk.

SVN-Revision: 3648

14 years agoAdditional fix to issue 168 because the change of r3642 was not sufficient.
Michihiro NAKAJIMA [Sat, 27 Aug 2011 16:31:33 +0000 (12:31 -0400)] 
Additional fix to issue 168 because the change of r3642 was not sufficient.
  - Make sure "CL" entry appear after its "RE" entry which the "CL" entry
    should be connected with.
  - Give consideration to the case that the top level "RE" entry has already
    been exposed outside before its tree.

SVN-Revision: 3647

14 years agoAdditional changes to r3645 for distribution.
Michihiro NAKAJIMA [Tue, 23 Aug 2011 09:14:50 +0000 (05:14 -0400)] 
Additional changes to r3645 for distribution.

SVN-Revision: 3646

14 years agoFix issue 168. Merge r3642 from trunk.
Michihiro NAKAJIMA [Tue, 23 Aug 2011 09:07:59 +0000 (05:07 -0400)] 
Fix issue 168. Merge r3642 from trunk.

SVN-Revision: 3645

14 years agoFix handling of ~ within the target of a 'tar -s' directive.
Colin Percival [Sat, 20 Aug 2011 07:19:41 +0000 (03:19 -0400)] 
Fix handling of ~ within the target of a 'tar -s' directive.

According to the man page, "~ is substituted with the match", but prior to
this commit it was substituted with the entire source string up to the end
of the matching region.

-s /o/_~/, prior to this commit: foo -> f_foo
-s /o/_~/, after this commit: foo -> f_oo

Reported by: Carlo Teubner

SVN-Revision: 3643