]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
17 years agoMerge r588 from trunk: Don't write more data than was read.
Tim Kientzle [Sun, 8 Feb 2009 22:07:22 +0000 (17:07 -0500)] 
Merge r588 from trunk:  Don't write more data than was read.
In particular, this causes bsdtar to write garbage data after
entries in shar archives.  Other output formats seem unaffected
by this gaffe.

SVN-Revision: 589

17 years agoFrom FreeBSD-CURRENT: don't write more data than we just read
Tim Kientzle [Sun, 8 Feb 2009 22:05:39 +0000 (17:05 -0500)] 
From FreeBSD-CURRENT: don't write more data than we just read
from the file.  This seems to only impact the shar writer, since
other formats proactively truncate the output.

SVN-Revision: 588

17 years agoA critical re-examination of r584 suggested some ways to make
Tim Kientzle [Sun, 8 Feb 2009 19:13:58 +0000 (14:13 -0500)] 
A critical re-examination of r584 suggested some ways to make
this a little clearer:
 * The old child_in_buf/child_in_buf_avail is redundant with
   the read_ahead/consume facility.
 * Lots of minor renamings to try to make the code clearer.
 * If there's a signature, don't inhibit subsequent bids.

SVN-Revision: 587

17 years agoAvoid unnecessary memory copy in mtree.
Michihiro NAKAJIMA [Sun, 8 Feb 2009 11:07:58 +0000 (06:07 -0500)] 
Avoid unnecessary memory copy in mtree.

SVN-Revision: 586

17 years agoIf libarchive is built without ZLib support, try to use an external "gunzip"
Tim Kientzle [Sun, 8 Feb 2009 04:43:04 +0000 (23:43 -0500)] 
If libarchive is built without ZLib support, try to use an external "gunzip"
program instead of just giving up.

SVN-Revision: 585

17 years agoRefactor the read_compression_program support to expose two new capabilities:
Tim Kientzle [Sun, 8 Feb 2009 04:41:57 +0000 (23:41 -0500)] 
Refactor the read_compression_program support to expose two new capabilities:
 * Public API:  You can now register a program along with a signature string;
the program will be run only on input that matches the signature
string.
 * Internal API: You can now use the init() function here to run an external
program.  In particular, this allows us to build decompression
handlers that use an outside program with a bidder that's more
sophisticated than just a signature check.

SVN-Revision: 584

17 years agoStyle: Use more informative assertXXXX() macros.
Tim Kientzle [Sun, 8 Feb 2009 02:10:43 +0000 (21:10 -0500)] 
Style:  Use more informative assertXXXX() macros.

SVN-Revision: 583

17 years agoMove the joliet option into the dynamically-allocated format private
Tim Kientzle [Sun, 8 Feb 2009 01:27:43 +0000 (20:27 -0500)] 
Move the joliet option into the dynamically-allocated format private
data.

SVN-Revision: 582

17 years agoAdd iso9660 format option to ignore the Joliet extension.
Andreas Henriksson [Sat, 7 Feb 2009 18:28:26 +0000 (13:28 -0500)] 
Add iso9660 format option to ignore the Joliet extension.

Needed to see RR on an image containing both RR and Joliet.

Example: bsdtar -xvf example.iso --format-options '!joliet'

SVN-Revision: 581

17 years agoAdd XZ files to the FreeBSD Makefile.
Tim Kientzle [Sat, 7 Feb 2009 06:47:43 +0000 (01:47 -0500)] 
Add XZ files to the FreeBSD Makefile.

SVN-Revision: 575

17 years agoFix build on systems without liblzma.
Tim Kientzle [Sat, 7 Feb 2009 06:47:16 +0000 (01:47 -0500)] 
Fix build on systems without liblzma.

SVN-Revision: 574

17 years agoFix a compile warning when built without liblzma.
Tim Kientzle [Sat, 7 Feb 2009 06:46:32 +0000 (01:46 -0500)] 
Fix a compile warning when built without liblzma.

SVN-Revision: 573

17 years agoCatch up on r569.
Michihiro NAKAJIMA [Sat, 7 Feb 2009 06:16:35 +0000 (01:16 -0500)] 
Catch up on r569.
Remove entry of test_read_format_isojolietrr_bz2.c.

SVN-Revision: 572

17 years agoFix off-by-one in Joliet code.
Andreas Henriksson [Fri, 6 Feb 2009 18:54:47 +0000 (13:54 -0500)] 
Fix off-by-one in Joliet code.

Reported by Michihiro NAKAJIMA.

SVN-Revision: 571

17 years agoAdd some new tests to the FreeBSD makefile.
Tim Kientzle [Fri, 6 Feb 2009 16:27:02 +0000 (11:27 -0500)] 
Add some new tests to the FreeBSD makefile.

SVN-Revision: 570

17 years agoRework the Joliet test just a bit by bringing the two related
Tim Kientzle [Fri, 6 Feb 2009 16:25:55 +0000 (11:25 -0500)] 
Rework the Joliet test just a bit by bringing the two related
variants into a single file.  In particular, the test harness
doesn't like multiple test definitions, even if some of them are
commented out.

Of course, the Joliet+RR test should either be fixed or removed.

SVN-Revision: 569

17 years agoConst correction and fill in an incomplete initializer.
Tim Kientzle [Fri, 6 Feb 2009 16:14:35 +0000 (11:14 -0500)] 
Const correction and fill in an incomplete initializer.

SVN-Revision: 568

17 years agoConst-correction.
Tim Kientzle [Fri, 6 Feb 2009 16:13:48 +0000 (11:13 -0500)] 
Const-correction.

SVN-Revision: 567

17 years agoFix sign mismatch.
Tim Kientzle [Fri, 6 Feb 2009 16:13:12 +0000 (11:13 -0500)] 
Fix sign mismatch.

SVN-Revision: 566

17 years agoAdd test of cpio with xz compression.
Michihiro NAKAJIMA [Fri, 6 Feb 2009 16:07:32 +0000 (11:07 -0500)] 
Add test of cpio with xz compression.

SVN-Revision: 565

17 years agoBug fix.
Michihiro NAKAJIMA [Fri, 6 Feb 2009 14:48:33 +0000 (09:48 -0500)] 
Bug fix.
When read archive with options, segument fault occurred.
Option framework could not call callback function for read format.

SVN-Revision: 564

17 years agoAdd mtree format test.
Michihiro NAKAJIMA [Fri, 6 Feb 2009 11:27:35 +0000 (06:27 -0500)] 
Add mtree format test.

SVN-Revision: 563

17 years agoCatch up on r558 and r559 for cmake.
Michihiro NAKAJIMA [Fri, 6 Feb 2009 08:40:22 +0000 (03:40 -0500)] 
Catch up on r558 and r559 for cmake.

SVN-Revision: 562

17 years agoVery minor optimization: If we already have enough data, we don't
Tim Kientzle [Fri, 6 Feb 2009 07:09:45 +0000 (02:09 -0500)] 
Very minor optimization:  If we already have enough data, we don't
need to keep calling down into archive_read_filter_ahead() to
extend the read-ahead.

SVN-Revision: 561

17 years agoChange /set keyword to be optional and don't output
Michihiro NAKAJIMA [Fri, 6 Feb 2009 05:52:08 +0000 (00:52 -0500)] 
Change /set keyword to be optional and don't output
/set keyword by default.

SVN-Revision: 560

17 years agoadd sub-second timestamp resolution for GNU Hurd
Björn Jacke [Thu, 5 Feb 2009 23:52:55 +0000 (18:52 -0500)] 
add sub-second timestamp resolution for GNU Hurd

SVN-Revision: 559

17 years agoAdd Joliet Extension support for iso9660.
Andreas Henriksson [Thu, 5 Feb 2009 17:25:11 +0000 (12:25 -0500)] 
Add Joliet Extension support for iso9660.

Joliet extension will currently be preferred (meaning RockRidge will not
be spotted if the iso has both, option to ignore Joliet coming soon).

This implementation limits the max filename length to 64 characters according
to spec, but there are indications about some implementations allowing more
so that might need to be bumped.

Also includes testcases for joliet and joliet+rr.
The joliet+rr testcase is currently disabled as libarchive (currently) can't
handle both extensions at the same time.

SVN-Revision: 558

17 years agoFix indent handling. A position of line feed was wrong
Michihiro NAKAJIMA [Thu, 5 Feb 2009 12:57:47 +0000 (07:57 -0500)] 
Fix indent handling. A position of line feed was wrong
if length of the file name was longer than 15.

SVN-Revision: 557

17 years agoCatch up latest configure.ac.
Michihiro NAKAJIMA [Thu, 5 Feb 2009 12:09:53 +0000 (07:09 -0500)] 
Catch up latest configure.ac.

SVN-Revision: 556

17 years agoReimplement /set keyword handling to mtree format.
Michihiro NAKAJIMA [Thu, 5 Feb 2009 11:32:44 +0000 (06:32 -0500)] 
Reimplement /set keyword handling to mtree format.

SVN-Revision: 555

17 years agoPrepare reimplementation of /set keyword handling for mtree format.
Michihiro NAKAJIMA [Thu, 5 Feb 2009 11:05:21 +0000 (06:05 -0500)] 
Prepare reimplementation of /set keyword handling for mtree format.

SVN-Revision: 554

17 years agoRemove unnecessary condition check.
Michihiro NAKAJIMA [Thu, 5 Feb 2009 10:30:29 +0000 (05:30 -0500)] 
Remove unnecessary condition check.

SVN-Revision: 553

17 years agoadd support for sub-second resolution timestamps on Tru64 and AIX
Björn Jacke [Thu, 5 Feb 2009 10:01:52 +0000 (05:01 -0500)] 
add support for sub-second resolution timestamps on Tru64 and AIX

SVN-Revision: 552

17 years agoI finally rebuilt the gzip decompressor to fully take advantage of
Tim Kientzle [Thu, 5 Feb 2009 07:23:45 +0000 (02:23 -0500)] 
I finally rebuilt the gzip decompressor to fully take advantage of
the recent read filter refactoring.  This has a much better bidder
(which actually verifies a lot more of the header), handles
concatenated gzip streams (I uncommented the test for this), and
I think is a much cleaner code organization.

I plan to work through the other read filters and use these same
techniques on them as time permits.

SVN-Revision: 551

17 years agoFix test_read_compress_program: The internal state structure
Tim Kientzle [Thu, 5 Feb 2009 05:32:56 +0000 (00:32 -0500)] 
Fix test_read_compress_program:  The internal state structure
that tracks the I/O with the forked child wasn't being correctly
zeroed before use.

SVN-Revision: 550

17 years agoTo verify the group name lookup capabilities, this test looks up
Tim Kientzle [Wed, 4 Feb 2009 17:53:00 +0000 (12:53 -0500)] 
To verify the group name lookup capabilities, this test looks up
the name for group 0.  It used to verify the result was "wheel",
but that's rather BSD-specific.  Generalize this to accept any
name on a list of common names for group 0.

SVN-Revision: 544

17 years agoInitialize variables; fix a compile warning.
Tim Kientzle [Wed, 4 Feb 2009 17:51:25 +0000 (12:51 -0500)] 
Initialize variables; fix a compile warning.

SVN-Revision: 543

17 years agoMinor compile warning fix.
Tim Kientzle [Wed, 4 Feb 2009 17:50:50 +0000 (12:50 -0500)] 
Minor compile warning fix.

SVN-Revision: 542

17 years agoMinor compile warning fix.
Tim Kientzle [Tue, 3 Feb 2009 18:28:07 +0000 (13:28 -0500)] 
Minor compile warning fix.

SVN-Revision: 541

17 years agoNo inttypes.h on SFU.
Joerg Sonnenberger [Tue, 3 Feb 2009 18:25:41 +0000 (13:25 -0500)] 
No inttypes.h on SFU.

SVN-Revision: 540

17 years agoGCC on 64-bit Linux has 32-bit int and 64-bit size_t; not
Tim Kientzle [Tue, 3 Feb 2009 18:21:12 +0000 (13:21 -0500)] 
GCC on 64-bit Linux has 32-bit int and 64-bit size_t; not
taking this into account led to a stack overwrite that broke
most of the new decompression code on this platform.

SVN-Revision: 539

17 years agoInclude ACL and xattr headers, fix a minor compile warning.
Tim Kientzle [Tue, 3 Feb 2009 18:19:19 +0000 (13:19 -0500)] 
Include ACL and xattr headers, fix a minor compile warning.

SVN-Revision: 538

17 years agoLinux build requires us to check for acl and xattr-related headers.
Tim Kientzle [Tue, 3 Feb 2009 18:18:44 +0000 (13:18 -0500)] 
Linux build requires us to check for acl and xattr-related headers.

SVN-Revision: 537

17 years agoMake xattr support at least compile properly on Linux. <sigh>
Tim Kientzle [Tue, 3 Feb 2009 17:57:00 +0000 (12:57 -0500)] 
Make xattr support at least compile properly on Linux. <sigh>
This still needs testing, obviously.

SVN-Revision: 536

17 years agoAdd support MD5/SHA1/SHA256/SHA384/SHA512 on Windows.
Michihiro NAKAJIMA [Mon, 2 Feb 2009 12:18:15 +0000 (07:18 -0500)] 
Add support MD5/SHA1/SHA256/SHA384/SHA512 on Windows.
It use CryptoAPI. Unfortunately, SHA256 nor SHA384 nor
SHA512 are not supported on Windows XP and Windows 2000,
and therefore I haven't tested those functions yet.

SVN-Revision: 535

17 years agoRemove unused variable.
Michihiro NAKAJIMA [Mon, 2 Feb 2009 08:11:15 +0000 (03:11 -0500)] 
Remove unused variable.

SVN-Revision: 534

17 years agoDon't return error if file system is not supported
Michihiro NAKAJIMA [Mon, 2 Feb 2009 07:59:39 +0000 (02:59 -0500)] 
Don't return error if file system is not supported
extended attributes.

SVN-Revision: 533

17 years agoRemove including md5global.h, because mtree of pkgsrc
Michihiro NAKAJIMA [Sun, 1 Feb 2009 20:26:52 +0000 (15:26 -0500)] 
Remove including md5global.h, because  mtree of pkgsrc
isn't including it. it seems md5global.h is unnecessary.

SVN-Revision: 532

17 years agoBackout /set keyword handling of r514.
Michihiro NAKAJIMA [Sun, 1 Feb 2009 19:56:21 +0000 (14:56 -0500)] 
Backout /set keyword handling of r514.
keep indent handling for somebody who read or edit
the mtree file, but it is a option whose name is
'indent' and default is off.

SVN-Revision: 531

17 years agoDon't use ctype.h in the library, it is locale dependent.
Joerg Sonnenberger [Sun, 1 Feb 2009 17:07:13 +0000 (12:07 -0500)] 
Don't use ctype.h in the library, it is locale dependent.

SVN-Revision: 530

17 years agoMerge improved ext2fs_fs.h handling from pkgsrc.
Joerg Sonnenberger [Sun, 1 Feb 2009 16:08:33 +0000 (11:08 -0500)] 
Merge improved ext2fs_fs.h handling from pkgsrc.

SVN-Revision: 529

17 years agoFix initialize stream.avail_in and error handling.
Michihiro NAKAJIMA [Sun, 1 Feb 2009 09:05:40 +0000 (04:05 -0500)] 
Fix initialize stream.avail_in and error handling.

SVN-Revision: 528

17 years agoFix uninitialized pointer access.
Michihiro NAKAJIMA [Sun, 1 Feb 2009 07:10:30 +0000 (02:10 -0500)] 
Fix uninitialized pointer access.
I was silly changing after xz compression tested.

SVN-Revision: 527

17 years agoRemove unnecessary #ifdef.
Michihiro NAKAJIMA [Sun, 1 Feb 2009 06:03:53 +0000 (01:03 -0500)] 
Remove unnecessary #ifdef.
lzma_bidder_bid of xz isn't compiled if liblzma is unavailable.

SVN-Revision: 526

17 years agoSome ar writers seem to pad the filename table with `.
Tim Kientzle [Sun, 1 Feb 2009 02:30:07 +0000 (21:30 -0500)] 
Some ar writers seem to pad the filename table with `.
Permit this.

SVN-Revision: 525

17 years agoFix linking error when neither lzmadec nor lzma isn't available.
Michihiro NAKAJIMA [Sat, 31 Jan 2009 07:14:47 +0000 (02:14 -0500)] 
Fix linking error when neither lzmadec nor lzma isn't available.

SVN-Revision: 524

17 years agoFix a minor bug in r521 and add xz files entry into CMakeLists.txt.
Michihiro NAKAJIMA [Sat, 31 Jan 2009 06:49:33 +0000 (01:49 -0500)] 
Fix a minor bug in r521 and add xz files entry into CMakeLists.txt.

SVN-Revision: 523

17 years agoFix a minor bug in r520
Michihiro NAKAJIMA [Sat, 31 Jan 2009 06:44:42 +0000 (01:44 -0500)] 
Fix a minor bug in r520

SVN-Revision: 522

17 years agoAdd support xz format and compressing lzma format.
Michihiro NAKAJIMA [Sat, 31 Jan 2009 06:31:15 +0000 (01:31 -0500)] 
Add support xz format and compressing lzma format.

SVN-Revision: 521

17 years agoUse CMAKE_PREFIX_PATH directly by the people who use cmake.
Michihiro NAKAJIMA [Sat, 31 Jan 2009 06:18:47 +0000 (01:18 -0500)] 
Use CMAKE_PREFIX_PATH directly by the people who use cmake.
On Windows, set "C:/Program Files/GnuWin32" to
CMAKE_PREFIX_PATH instead of "C:/Program Files/GnuWin32/lib".
Add check that path is existed.

SVN-Revision: 520

17 years agoFix build when neither <rmd160.h> nor <ripemd.h> nor <openssl/ripemd.h>
Tim Kientzle [Sat, 31 Jan 2009 05:24:19 +0000 (00:24 -0500)] 
Fix build when neither <rmd160.h> nor <ripemd.h> nor <openssl/ripemd.h>
is available.

SVN-Revision: 519

17 years agoFreeBSD has <ctype.h>
Tim Kientzle [Sat, 31 Jan 2009 05:22:51 +0000 (00:22 -0500)] 
FreeBSD has <ctype.h>

SVN-Revision: 518

17 years agoUse ~0 instead of -1 to set all bits on for a 'all' keyword.
Michihiro NAKAJIMA [Fri, 30 Jan 2009 06:11:33 +0000 (01:11 -0500)] 
Use ~0 instead of -1 to set all bits on for a 'all' keyword.

SVN-Revision: 517

17 years agoBug fix in mtree format. does not add '\' character
Michihiro NAKAJIMA [Fri, 30 Jan 2009 06:06:28 +0000 (01:06 -0500)] 
Bug fix in mtree format. does not add '\' character
to the end of a entry when the entry is only a filename
whose length is longer than 15bytes.

SVN-Revision: 516

17 years agoIn mtree format, add support dironly keyword.
Michihiro NAKAJIMA [Fri, 30 Jan 2009 05:53:44 +0000 (00:53 -0500)] 
In mtree format, add support dironly keyword.
It's like mtree(8) -d option.

SVN-Revision: 515

17 years agoIn mtree format.
Michihiro NAKAJIMA [Fri, 30 Jan 2009 05:49:56 +0000 (00:49 -0500)] 
In mtree format.
- Use /set keyword.
- Indent output form.
- Convert one line to multiple lines for output
  if the line is longer than 77.

SVN-Revision: 514

17 years agoFix read attribute keywords of a file with multiple lines
Michihiro NAKAJIMA [Fri, 30 Jan 2009 03:53:15 +0000 (22:53 -0500)] 
Fix read attribute keywords of a file with multiple lines
in mtree format.

SVN-Revision: 513

17 years agoIn mtree format, add support ripemd160digest/rmd160/rmd160digest.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 10:22:43 +0000 (05:22 -0500)] 
In mtree format, add support ripemd160digest/rmd160/rmd160digest.

SVN-Revision: 512

17 years agoIn mtree format, add nano second entry to the time keyword output.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 09:20:44 +0000 (04:20 -0500)] 
In mtree format, add nano second entry to the time keyword output.
It is the same as mtree(8).

SVN-Revision: 511

17 years agoFix some compiling error when use strict warning options.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 08:40:43 +0000 (03:40 -0500)] 
Fix some compiling error when use strict warning options.

SVN-Revision: 510

17 years agoImprove portability of MD5/SHA* headers and functions
Michihiro NAKAJIMA [Thu, 29 Jan 2009 08:10:43 +0000 (03:10 -0500)] 
Improve portability of MD5/SHA* headers and functions
used in mtree format.
It tested on FreeBSD, NetBSD and Ubuntu.

SVN-Revision: 509

17 years agoAlways swallow the PK\007\008 end-of-data marker, even if this
Tim Kientzle [Thu, 29 Jan 2009 07:01:48 +0000 (02:01 -0500)] 
Always swallow the PK\007\008 end-of-data marker, even if this
is a non-regular file.  In particular, it seems that some "jar"
programs store directory entries using length-at-end semantics.
Which is wasteful (a directory is always zero length, so there's
no point in storing the additional data), but entirely legal.

SVN-Revision: 508

17 years agoUse isdigit instead of isnumber. some platform don't have it.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 03:49:23 +0000 (22:49 -0500)] 
Use isdigit instead of isnumber. some platform don't have it.

SVN-Revision: 507

17 years agoEliminate compiling error on linux.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 03:42:18 +0000 (22:42 -0500)] 
Eliminate compiling error on linux.

SVN-Revision: 506

17 years agoFix %ju handling in archive_string_sprintf()
Tim Kientzle [Thu, 29 Jan 2009 03:08:40 +0000 (22:08 -0500)] 
Fix %ju handling in archive_string_sprintf()

SVN-Revision: 505

17 years agoIn mtree format, add support sha256/sha256digest,
Michihiro NAKAJIMA [Thu, 29 Jan 2009 02:38:07 +0000 (21:38 -0500)] 
In mtree format, add support sha256/sha256digest,
sha384/sha384digest and sha512/sha512digest keywords.

SVN-Revision: 504

17 years agoIn mtree format, add support sha1/sha1digest keyword.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 02:22:07 +0000 (21:22 -0500)] 
In mtree format, add support sha1/sha1digest keyword.

SVN-Revision: 503

17 years agoIn mtree format, add support md5/md5digest keyword.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 02:16:46 +0000 (21:16 -0500)] 
In mtree format, add support md5/md5digest keyword.

SVN-Revision: 502

17 years agoIn mtree format, add support cksum keyword.
Michihiro NAKAJIMA [Thu, 29 Jan 2009 02:13:44 +0000 (21:13 -0500)] 
In mtree format, add support cksum keyword.

SVN-Revision: 501

17 years agoAllow numerics to the option name of the options frame work.
Michihiro NAKAJIMA [Wed, 28 Jan 2009 11:31:12 +0000 (06:31 -0500)] 
Allow numerics to the option name of the options frame work.

SVN-Revision: 500

17 years agomtree format support options frame work.
Michihiro NAKAJIMA [Wed, 28 Jan 2009 04:01:17 +0000 (23:01 -0500)] 
mtree format support options frame work.

SVN-Revision: 499

17 years agoInclude the new test_write_disk_sparse in the autoconf and cmake builds.
Tim Kientzle [Tue, 27 Jan 2009 17:22:21 +0000 (12:22 -0500)] 
Include the new test_write_disk_sparse in the autoconf and cmake builds.

SVN-Revision: 498

17 years agoRemove unnecessary handling for list.h.
Michihiro NAKAJIMA [Tue, 27 Jan 2009 09:02:24 +0000 (04:02 -0500)] 
Remove unnecessary handling for list.h.
It make sure an "out-of-source" build.

SVN-Revision: 497

17 years agoResolve the problem of list.h that compiling error
Michihiro NAKAJIMA [Tue, 27 Jan 2009 08:41:00 +0000 (03:41 -0500)] 
Resolve the problem of list.h that compiling error
(compiler can't find list.h) occured when using
cmake and an "out-of-source" build.

SVN-Revision: 496

17 years agoAvoid compiling error with cmake on FreeBSD.
Michihiro NAKAJIMA [Tue, 27 Jan 2009 06:03:36 +0000 (01:03 -0500)] 
Avoid compiling error with cmake on FreeBSD.

SVN-Revision: 495

17 years agoRemove dated comment.
Michihiro NAKAJIMA [Mon, 26 Jan 2009 14:55:01 +0000 (09:55 -0500)] 
Remove dated comment.

SVN-Revision: 494

17 years agoAdd support "compression-level" option which can cange
Michihiro NAKAJIMA [Mon, 26 Jan 2009 14:40:16 +0000 (09:40 -0500)] 
Add support "compression-level" option which can cange
a compression level of a deflate between 0 and 9 to
the gzip compressor.

SVN-Revision: 493

17 years agoAdd support "--format-options" option to bsdtar to use
Michihiro NAKAJIMA [Mon, 26 Jan 2009 14:36:09 +0000 (09:36 -0500)] 
Add support "--format-options" option to bsdtar to use
format option frame work.

SVN-Revision: 492

17 years agoImplement format/filter/compressor option frame work.
Michihiro NAKAJIMA [Mon, 26 Jan 2009 14:27:50 +0000 (09:27 -0500)] 
Implement format/filter/compressor option frame work.

SVN-Revision: 491

17 years agoInclude sys/time.h; Linux requires it for futimes/lutimes.
Tim Kientzle [Mon, 26 Jan 2009 05:53:19 +0000 (00:53 -0500)] 
Include sys/time.h; Linux requires it for futimes/lutimes.

SVN-Revision: 490

17 years agoInclude sys/time.h; Linux requires it for futimes/lutimes.
Tim Kientzle [Mon, 26 Jan 2009 05:53:19 +0000 (00:53 -0500)] 
Include sys/time.h; Linux requires it for futimes/lutimes.

SVN-Revision: 490

17 years agoMerge r187704 from FreeBSD-CURRENT: This fixes ARCHIVE_EXTRACT_SPARSE
Tim Kientzle [Mon, 26 Jan 2009 05:48:18 +0000 (00:48 -0500)] 
Merge r187704 from FreeBSD-CURRENT: This fixes ARCHIVE_EXTRACT_SPARSE
handling and adds a test for this feature to prevent regressions.

This should fix "tar -S"

SVN-Revision: 489

17 years agoReport srcpath here. I'm not sure it really matters, but some
Tim Kientzle [Thu, 22 Jan 2009 06:01:21 +0000 (01:01 -0500)] 
Report srcpath here.  I'm not sure it really matters, but some
people seem to prefer it.

SVN-Revision: 459

17 years agoPrefer sourcepath to pathname. For directory walks that use
Tim Kientzle [Thu, 22 Jan 2009 05:59:06 +0000 (00:59 -0500)] 
Prefer sourcepath to pathname.  For directory walks that use
the chdir strategy, the sourcepath is the correct way to access
the file.

SVN-Revision: 458

17 years agoDon't append the strerror() information here; we're returning
Tim Kientzle [Thu, 22 Jan 2009 05:58:23 +0000 (00:58 -0500)] 
Don't append the strerror() information here; we're returning
the errno anyway, so the client can do that if they want.
In particular, this fixes a lot of duplicated errno information.

SVN-Revision: 457

17 years agoMerge r455 from trunk: Fix Solaris 10/OpenSolaris build
Tim Kientzle [Wed, 21 Jan 2009 06:34:28 +0000 (01:34 -0500)] 
Merge r455 from trunk: Fix Solaris 10/OpenSolaris build

Submitted by: Fabian Groffen

SVN-Revision: 456

17 years agoFix Solaris 10 and OpenSolaris builds of bsdcpio.
Tim Kientzle [Wed, 21 Jan 2009 06:31:26 +0000 (01:31 -0500)] 
Fix Solaris 10 and OpenSolaris builds of bsdcpio.

Submitted by: Fabian Groffen

SVN-Revision: 455

17 years agolibarchive 2.6.1 v2.6.1
Tim Kientzle [Mon, 19 Jan 2009 06:34:26 +0000 (01:34 -0500)] 
libarchive 2.6.1

SVN-Revision: 454

17 years agoRead extended attributes from disk on FreeBSD.
Tim Kientzle [Mon, 19 Jan 2009 06:33:42 +0000 (01:33 -0500)] 
Read extended attributes from disk on FreeBSD.
This should be the last piece needed for functional extended attribute
handling on FreeBSD.  More testing is required, though.

SVN-Revision: 453

17 years agoStub out the "close" entry for archive_read_disk.
Tim Kientzle [Mon, 19 Jan 2009 06:32:41 +0000 (01:32 -0500)] 
Stub out the "close" entry for archive_read_disk.

SVN-Revision: 452