]> git.ipfire.org Git - thirdparty/libarchive.git/log
thirdparty/libarchive.git
15 years agoMake sure that fd has a valid value.
Joerg Sonnenberger [Mon, 26 Apr 2010 20:26:40 +0000 (16:26 -0400)] 
Make sure that fd has a valid value.

SVN-Revision: 2316

15 years agoMove isoent_find_entry() to proper place for maintenance.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 12:55:59 +0000 (08:55 -0400)] 
Move isoent_find_entry() to proper place for maintenance.

SVN-Revision: 2315

15 years agoFix memory leaks.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 09:47:20 +0000 (05:47 -0400)] 
Fix memory leaks.

SVN-Revision: 2313

15 years agoThe type of a zisofs option is now boolean.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 05:03:58 +0000 (01:03 -0400)] 
The type of a zisofs option is now boolean.

SVN-Revision: 2310

15 years agoRemove an allow-period option.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 04:58:29 +0000 (00:58 -0400)] 
Remove an allow-period option.

Suggested by : Tim Kientzle

SVN-Revision: 2309

15 years agoadd test_filter_count to cmake... dual build frameworks--. thanks to ggcueroad for...
Brian Harring [Mon, 26 Apr 2010 03:27:41 +0000 (23:27 -0400)] 
add test_filter_count to cmake... dual build frameworks--.  thanks to ggcueroad for the heads up.

SVN-Revision: 2303

15 years agoRemove an allow-sharp-tilde option.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 03:26:04 +0000 (23:26 -0400)] 
Remove an allow-sharp-tilde option.

Suggested by : Tim Kientzle

SVN-Revision: 2302

15 years agoRemove an allow-multidot option.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 03:20:42 +0000 (23:20 -0400)] 
Remove an allow-multidot option.

Suggested by : Tim Kientzle

SVN-Revision: 2301

15 years agoRemove an allow-lowercase option.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 03:14:56 +0000 (23:14 -0400)] 
Remove an allow-lowercase option.

Suggested by : Tim Kientzle

SVN-Revision: 2300

15 years agoRemove an allow-ldot option.
Michihiro NAKAJIMA [Mon, 26 Apr 2010 03:10:26 +0000 (23:10 -0400)] 
Remove an allow-ldot option.

Suggested by : Tim Kientzle

SVN-Revision: 2299

15 years agoadd the test implementation I missed in the last commit
Brian Harring [Mon, 26 Apr 2010 01:54:56 +0000 (21:54 -0400)] 
add the test implementation I missed in the last commit

SVN-Revision: 2295

15 years agofix archive_filter_count to actually work; implementation of this aparently was never...
Brian Harring [Mon, 26 Apr 2010 01:44:24 +0000 (21:44 -0400)] 
fix archive_filter_count to actually work; implementation of this aparently was never finished, vtable stubs never had any implementation for this functionality, thus an instant segfault on invocatoin

SVN-Revision: 2294

15 years agoget_parent_and_basename() is used when HAVE_ZLIB_H(for zisofs support) is defined.
Michihiro NAKAJIMA [Sun, 25 Apr 2010 13:23:30 +0000 (09:23 -0400)] 
get_parent_and_basename() is used when HAVE_ZLIB_H(for zisofs support) is defined.

SVN-Revision: 2293

15 years agoUnbreak build on cygwin.
Michihiro NAKAJIMA [Sun, 25 Apr 2010 13:13:52 +0000 (09:13 -0400)] 
Unbreak build on cygwin.

SVN-Revision: 2292

15 years agoTo be simple, remove zisofs-exclude option.
Michihiro NAKAJIMA [Sun, 25 Apr 2010 10:00:12 +0000 (06:00 -0400)] 
To be simple, remove zisofs-exclude option.

SVN-Revision: 2278

15 years agoFix an ISO writer test failure, which cannot write correct UCS2 identifications,...
Michihiro NAKAJIMA [Sun, 25 Apr 2010 09:27:19 +0000 (05:27 -0400)] 
Fix an ISO writer test failure, which cannot write correct UCS2 identifications, on Windows.

SVN-Revision: 2276

15 years agoTo be simple, remove zisofs=indirect option.
Michihiro NAKAJIMA [Sun, 25 Apr 2010 09:14:57 +0000 (05:14 -0400)] 
To be simple, remove zisofs=indirect option.

Suggested by: Tim Kientzle

SVN-Revision: 2275

15 years agoUnbreak build on Visual Studio.
Michihiro NAKAJIMA [Sun, 25 Apr 2010 08:34:33 +0000 (04:34 -0400)] 
Unbreak build on Visual Studio.

SVN-Revision: 2272

15 years agoSort the list of long options.
Tim Kientzle [Sun, 25 Apr 2010 06:04:56 +0000 (02:04 -0400)] 
Sort the list of long options.

SVN-Revision: 2271

15 years agoMerge r2250:
Joerg Sonnenberger [Fri, 23 Apr 2010 20:37:10 +0000 (16:37 -0400)] 
Merge r2250:
Reorder sections to canonical order. Escape backslashes.

SVN-Revision: 2270

15 years agoOnly include the FreeBSD-style extended attribute support, if
Joerg Sonnenberger [Mon, 19 Apr 2010 22:27:50 +0000 (18:27 -0400)] 
Only include the FreeBSD-style extended attribute support, if
EXTATTR_NAMESPACE_USER is defined. It is missing on FreeBSD 4 and
DragonFly. Reported by Antonio Huete Jimenez as NetBSD's pkg/43175.

SVN-Revision: 2269

15 years agothis could stand review, but should be right; setting ret to ARCHIVE_FAILED here...
Brian Harring [Mon, 19 Apr 2010 05:24:01 +0000 (01:24 -0400)] 
this could stand review, but should be right; setting ret to ARCHIVE_FAILED here is a pointless no op so archive_format_gnutar_header assignment shortly after wipes the ret... potentially this should be set to a warn and then combined w/ the other returns

SVN-Revision: 2268

15 years agotypo in the code assigning to the wrong var; realistically ret2 probably isn't needed...
Brian Harring [Mon, 19 Apr 2010 05:13:04 +0000 (01:13 -0400)] 
typo in the code assigning to the wrong var; realistically ret2 probably isn't needed, but preserving the original intent (just fixing it to work)

SVN-Revision: 2267

15 years agos/ /\t/g to match normal formatting of other sources
Brian Harring [Mon, 19 Apr 2010 05:07:15 +0000 (01:07 -0400)] 
s/        /\t/g to match normal formatting of other sources

SVN-Revision: 2266

15 years agoIf the local filesystem is set up for NFS4 ACLs, then the POSIX.1e ACL test should...
Tim Kientzle [Sun, 18 Apr 2010 23:42:28 +0000 (19:42 -0400)] 
If the local filesystem is set up for NFS4 ACLs, then the POSIX.1e ACL test should be skipped.

SVN-Revision: 2265

15 years agoBasic implementation of a GNU tar-compatible writer. This uses
Tim Kientzle [Sun, 18 Apr 2010 05:56:53 +0000 (01:56 -0400)] 
Basic implementation of a GNU tar-compatible writer.  This uses
the header conventions used by GNU tar 1.13 and later.  In particular:
 * name and linkname are permitted to fill their respective fields
   (Earlier GNU tar guaranteed a trailing null)
 * mode field does not include the file type
   (Earlier GNU tar included file type bits in the mode field)
 * Most fields are filled with leading '0' characters
   (Earlier GNU tar used leading spaces)

SVN-Revision: 2264

15 years agoDon't set atime and ctime unless the header actually specifies them.
Tim Kientzle [Sun, 18 Apr 2010 05:36:35 +0000 (01:36 -0400)] 
Don't set atime and ctime unless the header actually specifies them.

SVN-Revision: 2263

15 years agoIntroduce a shared __archive_write_nulls() method and remove
Tim Kientzle [Sun, 18 Apr 2010 01:20:13 +0000 (21:20 -0400)] 
Introduce a shared __archive_write_nulls() method and remove
the duplicate copies of this function.

SVN-Revision: 2262

15 years agoReorder sections to canonical order. Escape backslashes.
Joerg Sonnenberger [Mon, 12 Apr 2010 19:06:51 +0000 (15:06 -0400)] 
Reorder sections to canonical order. Escape backslashes.

SVN-Revision: 2250

15 years agoReorder sections to canonical order.
Joerg Sonnenberger [Mon, 12 Apr 2010 19:06:23 +0000 (15:06 -0400)] 
Reorder sections to canonical order.

SVN-Revision: 2249

15 years agowrong file path, should be keep_newer_files not keep_newer
Brian Harring [Mon, 12 Apr 2010 10:14:10 +0000 (06:14 -0400)] 
wrong file path, should be keep_newer_files not keep_newer

SVN-Revision: 2247

15 years agoTest tar -n
Tim Kientzle [Mon, 12 Apr 2010 02:37:06 +0000 (22:37 -0400)] 
Test tar -n

SVN-Revision: 2244

15 years ago--keep-newer-files is the correct option name.
Tim Kientzle [Mon, 12 Apr 2010 02:11:28 +0000 (22:11 -0400)] 
--keep-newer-files is the correct option name.

SVN-Revision: 2243

15 years agoCorrect the documentation: -X does not obey --null
Tim Kientzle [Mon, 12 Apr 2010 02:04:05 +0000 (22:04 -0400)] 
Correct the documentation: -X does not obey --null

SVN-Revision: 2242

15 years agoTest for tar -U and documentation corrections.
Tim Kientzle [Mon, 12 Apr 2010 01:58:50 +0000 (21:58 -0400)] 
Test for tar -U and documentation corrections.

SVN-Revision: 2241

15 years agoTest tar -O
Tim Kientzle [Mon, 12 Apr 2010 00:20:02 +0000 (20:20 -0400)] 
Test tar -O

SVN-Revision: 2240

15 years agoIf it's not an error to skip an older file, then don't set an error message.
Tim Kientzle [Mon, 12 Apr 2010 00:17:26 +0000 (20:17 -0400)] 
If it's not an error to skip an older file, then don't set an error message.

SVN-Revision: 2239

15 years agoFix tar -k by making it not an error if you specify
Tim Kientzle [Sun, 11 Apr 2010 23:53:29 +0000 (19:53 -0400)] 
Fix tar -k by making it not an error if you specify
ARCHIVE_EXTRACT_NO_OVERWRITE and the file already exists.

SVN-Revision: 2238

15 years agoRemove a debugging shim.
Tim Kientzle [Sun, 11 Apr 2010 23:38:59 +0000 (19:38 -0400)] 
Remove a debugging shim.

SVN-Revision: 2237

15 years agoTest -H and -L options to tar.
Tim Kientzle [Sun, 11 Apr 2010 23:36:59 +0000 (19:36 -0400)] 
Test -H and -L options to tar.

SVN-Revision: 2236

15 years agoDon't try to write a body if libarchive won't accept it.
Tim Kientzle [Sun, 11 Apr 2010 22:46:21 +0000 (18:46 -0400)] 
Don't try to write a body if libarchive won't accept it.

SVN-Revision: 2235

15 years agoFix tar --keep-newer
Tim Kientzle [Sun, 11 Apr 2010 21:29:32 +0000 (17:29 -0400)] 
Fix tar --keep-newer

This solution isn't ideal; bsdtar does the right thing now
(doesn't overwrite and exits without error) but it should
display a warning message about the failure to extract
the file.

SVN-Revision: 2234

15 years agoIf we're not creating the file because of the NEWER test, tell the
Tim Kientzle [Sun, 11 Apr 2010 21:18:09 +0000 (17:18 -0400)] 
If we're not creating the file because of the NEWER test, tell the
writer not to bother sending us the file data.

SVN-Revision: 2233

15 years agoDon't bother trying to write data into a zero-sized file.
Tim Kientzle [Sun, 11 Apr 2010 21:16:38 +0000 (17:16 -0400)] 
Don't bother trying to write data into a zero-sized file.

SVN-Revision: 2232

15 years agoIssue 83: Directory timestamps truncated to microsecond resolution.
Tim Kientzle [Sun, 11 Apr 2010 19:11:36 +0000 (15:11 -0400)] 
Issue 83:  Directory timestamps truncated to microsecond resolution.

This patch reworks the time-restore logic to use the same
system calls in both the end-of-archive cleanup pass and
the regular file restore case.  This ensures consistent
timestamp restores for both cases.  It also isolates the
BSD birthtime support into one place so it will be consistently
applied.

Submitted by: a.bocaniciu  computer.org

SVN-Revision: 2231

15 years agoUpdate the --exclude test to cover the cases listed in
Tim Kientzle [Sun, 11 Apr 2010 18:29:28 +0000 (14:29 -0400)] 
Update the --exclude test to cover the cases listed in
the commit message for r2229.

SVN-Revision: 2230

15 years agoImprove the testing of tar -X and try to correctly handle some odd cases.
Tim Kientzle [Sun, 11 Apr 2010 18:08:36 +0000 (14:08 -0400)] 
Improve the testing of tar -X and try to correctly handle some odd cases.
Here are some of the cases currently handled
(assuming test.tar contains a single entry "file1"):

 $ tar xf test.tar file1

Extracts file1 with no error.

 $ tar xf test.tar file1 file2

Extracts file1, error because file2 was requested but not found.

 $ tar xf test.tar file1 'file2*'

Extracts file1, error because 'file2*' pattern matched no entries.

 $ tar xf test.tar file1 file1

Extracts file1 with no error

 $ tar xf test.tar file1 'file*'

Extracts file1 with no error

 $ tar xf test.tar --exclude=file1

Does not extract file1, no error.

 $ tar xf test.tar --exclude=file1 file1

Does not extract file1, no error.

 $ tar xf test.tar --exclude=file2 file1

Extracts file1, no error.

SVN-Revision: 2229

15 years agoRemove an unused header.
Tim Kientzle [Sun, 11 Apr 2010 17:56:16 +0000 (13:56 -0400)] 
Remove an unused header.

SVN-Revision: 2228

15 years agoStyle: remove extra blank line
Tim Kientzle [Sun, 11 Apr 2010 01:15:57 +0000 (21:15 -0400)] 
Style:  remove extra blank line

SVN-Revision: 2227

15 years agoStyle: tab follows #define
Tim Kientzle [Sun, 11 Apr 2010 01:11:54 +0000 (21:11 -0400)] 
Style: tab follows #define

SVN-Revision: 2226

15 years agoRemove an unnecessary variable.
Tim Kientzle [Sun, 11 Apr 2010 01:08:56 +0000 (21:08 -0400)] 
Remove an unnecessary variable.

SVN-Revision: 2225

15 years agoAdjust this test slightly so it doesn't depend on a
Tim Kientzle [Sun, 11 Apr 2010 00:10:58 +0000 (20:10 -0400)] 
Adjust this test slightly so it doesn't depend on a
particular order of traversing the directory.

In particular, this test almost passes against
GNU tar 1.23.  The difference being that GNU tar
considers it an error when a hardlink cannot
be extracted because the target was erased by
--strip-components and bsdtar does not consider
this an error.  Both extract the same files;
the only difference is that GNU tar emits
some error messages and exits with an error
status, while bsdtar exits with success.

SVN-Revision: 2224

15 years agoRefine the -C test a bit.
Tim Kientzle [Sat, 10 Apr 2010 21:32:39 +0000 (17:32 -0400)] 
Refine the -C test a bit.

SVN-Revision: 2223

15 years agoTest -C
Tim Kientzle [Sat, 10 Apr 2010 21:27:38 +0000 (17:27 -0400)] 
Test -C
  * Add a "testworkdir" global for tests that need an absolute path to their work directory
  * Exercise -C failure and corner cases such as -C nonexistent -C /absolute

SVN-Revision: 2222

15 years agoTest cleanup:
Tim Kientzle [Sat, 10 Apr 2010 21:02:55 +0000 (17:02 -0400)] 
Test cleanup:
 * Use assertMakeFile() instead of fopen/fwrite/fclose
 * Remove -s tests from test_option_T_upper; they just duplicate tests in test_option_s

SVN-Revision: 2221

15 years agoSimplify by using assertMakeFile()
Tim Kientzle [Sat, 10 Apr 2010 20:42:21 +0000 (16:42 -0400)] 
Simplify by using assertMakeFile()

SVN-Revision: 2220

15 years agoTest -b option
Tim Kientzle [Sat, 10 Apr 2010 20:23:48 +0000 (16:23 -0400)] 
Test -b option

SVN-Revision: 2219

15 years agoSimple test for tar -X
Tim Kientzle [Sat, 10 Apr 2010 19:55:45 +0000 (15:55 -0400)] 
Simple test for tar -X

SVN-Revision: 2218

15 years agoAdd basic test for --exclude
Tim Kientzle [Sat, 10 Apr 2010 19:49:56 +0000 (15:49 -0400)] 
Add basic test for --exclude

SVN-Revision: 2217

15 years agoremove pad_uncompressed; unused legacy bits
Brian Harring [Sun, 4 Apr 2010 18:37:42 +0000 (14:37 -0400)] 
remove pad_uncompressed; unused legacy bits

SVN-Revision: 2203

15 years agofwrite is marked w/ check return, thus doing make check results in build failures...
Brian Harring [Sun, 4 Apr 2010 05:43:17 +0000 (01:43 -0400)] 
fwrite is marked w/ check return, thus doing make check results in build failures due to -Werror forced in trunk.  assert the fwrite return to fix the issue, and more importantly the extremely unlikely scenario where the write doesn't manage to flush the desired size (if this isn't caught, it'll result in weird failures further in the tests)

SVN-Revision: 2059

15 years agogetgrnam_r and getpwnam_r might not exist, so fallback to the older
Joerg Sonnenberger [Wed, 31 Mar 2010 13:56:55 +0000 (09:56 -0400)] 
getgrnam_r and getpwnam_r might not exist, so fallback to the older
non-reentrant getgrnam and getpwnam in that case. Based on patch
from Hauke Fath.

SVN-Revision: 2058

15 years agoSort arguments for calloc. Add comments about power-of-two check
Joerg Sonnenberger [Tue, 30 Mar 2010 15:30:01 +0000 (11:30 -0400)] 
Sort arguments for calloc. Add comments about power-of-two check

SVN-Revision: 2057

15 years agoExplicit test archive_read_next_header against ARCHIVE_OK
Joerg Sonnenberger [Fri, 26 Mar 2010 15:42:15 +0000 (11:42 -0400)] 
Explicit test archive_read_next_header against ARCHIVE_OK

SVN-Revision: 2056

15 years agoUse unsigned int for the link count to be consistent with archive_entry.
Joerg Sonnenberger [Wed, 24 Mar 2010 17:52:30 +0000 (13:52 -0400)] 
Use unsigned int for the link count to be consistent with archive_entry.
Compute hashes and buckets using size_t. Be consistent in the sparse
freeing.

SVN-Revision: 2055

15 years agores->buckets is always !NULL, so drop checks for it.
Joerg Sonnenberger [Wed, 24 Mar 2010 17:09:59 +0000 (13:09 -0400)] 
res->buckets is always !NULL, so drop checks for it.

SVN-Revision: 2054

15 years ago- Use calloc instead of malloc + zeroing
Joerg Sonnenberger [Wed, 24 Mar 2010 16:44:36 +0000 (12:44 -0400)] 
- Use calloc instead of malloc + zeroing
- Enforce power-of-two size and use bitops instead of %

SVN-Revision: 2053

15 years agoOnly run make maintainer-clean etc, if the Makefile actually exists.
Joerg Sonnenberger [Wed, 24 Mar 2010 16:43:52 +0000 (12:43 -0400)] 
Only run make maintainer-clean etc, if the Makefile actually exists.

SVN-Revision: 2052

15 years agoSpeed up builds by just linking libarchive_test with the static
Tim Kientzle [Mon, 22 Mar 2010 05:11:11 +0000 (01:11 -0400)] 
Speed up builds by just linking libarchive_test with the static
libarchive, instead of recompiling libarchive source.  The old
approach did allow us to use different flags for compiling libarchive
sources into libarchive_test, but speeding up the build is probably a
worthwhile trade-off.

SVN-Revision: 2051

15 years agoAdd a TODO comment outlining a possible future optimization.
Tim Kientzle [Sun, 21 Mar 2010 23:52:06 +0000 (19:52 -0400)] 
Add a TODO comment outlining a possible future optimization.

SVN-Revision: 2050

15 years agoChange raw_read_data_skip into a no-op. Remove the archive_read_consume_all function
Tim Kientzle [Sun, 21 Mar 2010 16:30:45 +0000 (12:30 -0400)] 
Change raw_read_data_skip into a no-op.  Remove the archive_read_consume_all function
that wasn't used anywhere else.

SVN-Revision: 2049

15 years agoUpdate comments, remove a couple of unnecessary lines of code.
Tim Kientzle [Sun, 21 Mar 2010 16:29:00 +0000 (12:29 -0400)] 
Update comments, remove a couple of unnecessary lines of code.

SVN-Revision: 2048

15 years agoSwitch users of archive_read_skip() over to archive_read_consume() now
Tim Kientzle [Sun, 21 Mar 2010 16:12:16 +0000 (12:12 -0400)] 
Switch users of archive_read_skip() over to archive_read_consume() now
that they both do the same thing.  Remove archive_read_consume().
Rename the core "advance_file_pointer" function to make it a little
more clear that it's internal to archive_read.c.
Clean up a few comments.

SVN-Revision: 2047

15 years agoFinish merging the archive_read_consume and archive_read_skip implementations.
Tim Kientzle [Sun, 21 Mar 2010 16:00:28 +0000 (12:00 -0400)] 
Finish merging the archive_read_consume and archive_read_skip implementations.
These have always been just two different ways to advance the file
pointer; merging them is a simplification.

The only point remaining is to actually remove one of them and
change the users.

SVN-Revision: 2046

15 years agoMake read_filter_skip be independent of read_filter_consume. In particular,
Tim Kientzle [Sun, 21 Mar 2010 06:30:08 +0000 (02:30 -0400)] 
Make read_filter_skip be independent of read_filter_consume.  In particular,
read_skip now does everything that read_consume does, so we're ready to
merge read_skip and read_consume.

SVN-Revision: 2045

15 years agoClarify reporting of data errors in tests.
Tim Kientzle [Sun, 21 Mar 2010 06:27:17 +0000 (02:27 -0400)] 
Clarify reporting of data errors in tests.

SVN-Revision: 2044

15 years agoarchive_read_skip_lenient() (which just returns the number of bytes actually
Tim Kientzle [Sun, 21 Mar 2010 04:20:06 +0000 (00:20 -0400)] 
archive_read_skip_lenient() (which just returns the number of bytes actually
skipped) was only used one place as a building block for a "skip rest of file"
operation.  So push the "skip rest of file" into archive_read.c as
__archive_read_skip_all(), remove skip_lenient entirely, and modify
the raw_read_data_skip to use the new function.

SVN-Revision: 2043

15 years agoarchive_read_filter_skip() is only used within archive_read.c,
Tim Kientzle [Sun, 21 Mar 2010 04:03:40 +0000 (00:03 -0400)] 
archive_read_filter_skip() is only used within archive_read.c,
so make it static.

SVN-Revision: 2042

15 years agoRework some of the Unicode handling to avoid alignment problems.
Tim Kientzle [Sun, 21 Mar 2010 00:35:41 +0000 (20:35 -0400)] 
Rework some of the Unicode handling to avoid alignment problems.
A lot of processors have strict alignment and GCC on such
processors complains loudly when you cast a char * to an int16_t *.

SVN-Revision: 2041

15 years agoInclude "make dist-zip" as part of the autogen.sh script.
Tim Kientzle [Mon, 15 Mar 2010 04:48:59 +0000 (00:48 -0400)] 
Include "make dist-zip" as part of the autogen.sh script.

SVN-Revision: 2040

15 years agoInclude "make dist-zip" as part of the autogen.sh script.
Tim Kientzle [Mon, 15 Mar 2010 04:48:30 +0000 (00:48 -0400)] 
Include "make dist-zip" as part of the autogen.sh script.

SVN-Revision: 2039

15 years ago2.8.3 v2.8.3
Tim Kientzle [Mon, 15 Mar 2010 02:33:32 +0000 (22:33 -0400)] 
2.8.3

SVN-Revision: 2038

15 years agoIssue 79: Fix build on Linux
Tim Kientzle [Mon, 15 Mar 2010 02:24:04 +0000 (22:24 -0400)] 
Issue 79: Fix build on Linux

SVN-Revision: 2037

15 years agoFix Issue 79: Broken build on Linux.
Tim Kientzle [Mon, 15 Mar 2010 02:20:36 +0000 (22:20 -0400)] 
Fix Issue 79:  Broken build on Linux.

SVN-Revision: 2036

15 years agoFix typo.
Joerg Sonnenberger [Sun, 14 Mar 2010 17:55:20 +0000 (13:55 -0400)] 
Fix typo.

SVN-Revision: 2034

15 years agolibarchive 2.8.1 v2.8.2
Joerg Sonnenberger [Sun, 14 Mar 2010 01:59:09 +0000 (20:59 -0500)] 
libarchive 2.8.1

SVN-Revision: 2033

15 years agoMerge revision 2031: Use groff -mdoc2html
Joerg Sonnenberger [Sun, 14 Mar 2010 01:38:19 +0000 (20:38 -0500)] 
Merge revision 2031: Use groff -mdoc2html

SVN-Revision: 2032

15 years agoUse mdoc2html, -T html doesn't work at least with the groff 1.19.2 in
Joerg Sonnenberger [Sun, 14 Mar 2010 01:36:15 +0000 (20:36 -0500)] 
Use mdoc2html, -T html doesn't work at least with the groff 1.19.2 in
NetBSD.

XXX This should most likely use mandoc for the HTML output

SVN-Revision: 2031

15 years agoMerge r2028 from trunk to fix Issue 76.
Tim Kientzle [Sat, 13 Mar 2010 06:41:03 +0000 (01:41 -0500)] 
Merge r2028 from trunk to fix Issue 76.

SVN-Revision: 2029

15 years agoIssue 76: Correct segfault when Zip bidder sees a file that is less than 128k
Tim Kientzle [Sat, 13 Mar 2010 06:40:02 +0000 (01:40 -0500)] 
Issue 76:  Correct segfault when Zip bidder sees a file that is less than 128k
and starts with "MZ".  The "MZ" signature identifies executable files that
could be self-extracting Zip files; the Zip bidder incorrectly handled
end-of-file when searching ahead for the Zip contents.

Submitted by: dardoguidobono

SVN-Revision: 2028

15 years agoMerge r2025 from trunk: Don't dereference symlinks on Linux when reading ACLs.
Tim Kientzle [Sat, 13 Mar 2010 06:21:53 +0000 (01:21 -0500)] 
Merge r2025 from trunk: Don't dereference symlinks on Linux when reading ACLs.

SVN-Revision: 2027

15 years agoProvide format names that allow explicit setting of "restricted pax"
Tim Kientzle [Fri, 12 Mar 2010 05:58:35 +0000 (00:58 -0500)] 
Provide format names that allow explicit setting of "restricted pax"
format.  In particular, as pointed out in Issue 74, this allows you
to use bsdcpio to write restricted pax format.

SVN-Revision: 2026

15 years agoOn systems that can't read symlink ACLs, don't read any ACL.
Tim Kientzle [Fri, 12 Mar 2010 05:54:52 +0000 (00:54 -0500)] 
On systems that can't read symlink ACLs, don't read any ACL.
As reported in Issue 75, this fixes a problem on Fedora 12 with ACLs
being incorrectly reported on symlinks.

Thanks to: rransom.8774

SVN-Revision: 2025

15 years agoMerge r1940:
Joerg Sonnenberger [Sun, 7 Mar 2010 18:25:29 +0000 (13:25 -0500)] 
Merge r1940:
Improve detection of SHA2 functions in OpenSSL to deal with ancient
versions like in Mac OS X and FreeBSD 6.x. Fixes #65 and should fix #55.

SVN-Revision: 2024

15 years agoMerge r1922:
Joerg Sonnenberger [Sun, 7 Mar 2010 18:23:57 +0000 (13:23 -0500)] 
Merge r1922:
The second argument for lafe_line_reader has been changed to a boolean
in revision 1385, catch up.

SVN-Revision: 2023

15 years agoMerge r1917:
Joerg Sonnenberger [Sun, 7 Mar 2010 18:22:11 +0000 (13:22 -0500)] 
Merge r1917:
Do not leak setup_xattr into the global name space.

SVN-Revision: 2022

15 years ago2.8.1 v2.8.1
Tim Kientzle [Sat, 6 Mar 2010 22:48:16 +0000 (17:48 -0500)] 
2.8.1

SVN-Revision: 2021

15 years agoMerge r2019 from trunk: Use archive.h from this package, not the system.
Tim Kientzle [Sat, 6 Mar 2010 22:23:47 +0000 (17:23 -0500)] 
Merge r2019 from trunk: Use archive.h from this package, not the system.

SVN-Revision: 2020

15 years agoPut the libarchive source directory at the beginning of the include
Tim Kientzle [Sat, 6 Mar 2010 22:22:40 +0000 (17:22 -0500)] 
Put the libarchive source directory at the beginning of the include
dirs; this ensures that archive.h and archive_entry.h get picked up
from there instead of from an installed system version.

SVN-Revision: 2019

15 years agoStraighten out mergeinfo.
Tim Kientzle [Sat, 6 Mar 2010 21:33:35 +0000 (16:33 -0500)] 
Straighten out mergeinfo.

SVN-Revision: 2018