<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libarchive, branch releng/9.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F9.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2012-01-05T12:52:05Z</updated>
<entry>
<title>MFC r228797:</title>
<updated>2012-01-05T12:52:05Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2012-01-05T12:52:05Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9980583200fc9a332e992ce662f791e82b16c41b'/>
<id>urn:sha1:9980583200fc9a332e992ce662f791e82b16c41b</id>
<content type='text'>
Use contrib sources for building libarchive, tar and cpio.
Make "make test" fully operational.
</content>
</entry>
<entry>
<title>MFC r228744, r228745, r228748:</title>
<updated>2012-01-05T11:44:55Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2012-01-05T11:44:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=327b3fe3289afdb2b9747014db62877417942ad3'/>
<id>urn:sha1:327b3fe3289afdb2b9747014db62877417942ad3</id>
<content type='text'>
MFC r228744 [1]:
Merge vendor revision 3723:
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.

Reported by:	Patrick Lamaiziere &lt;patfbsd@davenulle.org&gt; (freebsd-stable@)

MFC r228745:
Update libarchive, tar and cpio to version 2.8.5

The following additional vendor revisions are applied:

Revision 3740:
Use archive_clear_error() to clear the error markers.

Obtained from:	http://code.google.com/p/libarchive

MFC r228748:
Sync libarchive with vendor branch release/2.8:

3730:
Fix issue 174 (Windows path names, not relevant for FreeBSD)

3734:
Merge r1989: archive_clear_error should set errno to 0.

3735:
Merge r3247 from trunk: Clear errors before returning
from archive_read_support_format_all()

3799:
Check the position before dereferencing the pointer.
This avoids dereferencing one byte past the end of a string

3824:
Merge r3823 from trunk for issue 199 (hang in iso9660 reading)

Obtained from:	http://code.google.com/p/libarchive
</content>
</entry>
<entry>
<title>Fix cpio on ARM.</title>
<updated>2011-09-13T05:52:34Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2011-09-13T05:52:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8274d570e84717d5ed726a14919e286222037c4f'/>
<id>urn:sha1:8274d570e84717d5ed726a14919e286222037c4f</id>
<content type='text'>
PR:		bin/160430
Submitted by:	Ian Lepore
Approved by:	re (Kostik Belousov)
MFC after:	7 days
</content>
</entry>
<entry>
<title>Import additional bugfix for reading and extracting makefs-created</title>
<updated>2011-09-02T13:03:56Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2011-09-02T13:03:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2c862d88e8d97786659ae8a6bfd87ddb96215287'/>
<id>urn:sha1:2c862d88e8d97786659ae8a6bfd87ddb96215287</id>
<content type='text'>
ISO images with tar.

Vendor revision 3648 (merge of 3647):
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.

Approved by:	re (kib)
Obtained from:	libarchive (release/2.8, svn rev 3648)
MFC after:	3 days
</content>
</entry>
<entry>
<title>Import bugfix for reading and extracting of FreeBSD ISO images with tar.</title>
<updated>2011-08-25T08:35:09Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2011-08-25T08:35:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ee3cdf6b2e580561ee34ede535a28df176314149'/>
<id>urn:sha1:ee3cdf6b2e580561ee34ede535a28df176314149</id>
<content type='text'>
Upstream revision 3645 (merge of 3642):
Change the mechanism handling a rr_moved directory,
which is Rockridge extension that can exceed the limitation of
a maximum directory depth of ISO 9660.
  - Stop reading all entries at a time.
  - Connect "CL" entry to "RE" entry dynamically, which "CL" and "RE"
    have information to rebuild a full directory tree.
  - Tweak some related tests since we use Headsort for re-ordering
    entries and it cannot make a steady order when the keies of
    the entries are the same.

http://code.google.com/p/libarchive/issues/detail?id=168

Reviewed by:	kientzle
Approved by:	re (kib)
Obtained from:	libarchive (release/2.8, svn rev 3645)
MFC after:	3 days
</content>
</entry>
<entry>
<title>Merge revision 3554 from libarchive's release/2.8 branch:</title>
<updated>2011-08-07T20:24:32Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2011-08-07T20:24:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b837506cbc429d80095471885e80b6caf34b1270'/>
<id>urn:sha1:b837506cbc429d80095471885e80b6caf34b1270</id>
<content type='text'>
Partial merge of 2431 from trunk:  Retry writes on EINTR.
This should fix the SIGINT handler in bsdtar.
Note:  The rest of r2431 can't be merged, since it interacts
with a big write-side rearchitecture.

PR:		bin/149409
Reviewed by:	kientzle
Approved by:	re (kib)
MFC after:	3 days
</content>
</entry>
<entry>
<title>Add compatibility for ISO images created with unfixed makefs that</title>
<updated>2011-08-07T08:42:36Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2011-08-07T08:42:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e967c8b89985a4f407f57da364ae2ebda171963d'/>
<id>urn:sha1:e967c8b89985a4f407f57da364ae2ebda171963d</id>
<content type='text'>
violated ECMA-119 (ISO9660): allow reserved4 to be 0x20 in PVD.
This allows tar to read FreeBSD distribution ISO images created
with makefs prior to NetBSD bin/45217 bugfix (up to 9.0-BETA1).

In addition, merge following important bugfixes from
libarchive's release/2.8 branch:

Revision 2812:
Merge 2811 from trunk:  Don't try to verify that compression-level=0
produces larger results than the default compression, since this isn't
true for all versions of liblzma.

Revision 2817:
Merge 2814 from trunk: Fix Issue 121 (mtree parser error)
http://code.google.com/p/libarchive/issues/detail?id=121

Revision 2820:
Fix issue 119.
Change the file location check that a file location does not exceed
volume block. New one is that a file content does not exceed volume
block(end of an ISO image). It is better than previous check even
if the issue did not happen.

While reading an ISO image generated by an older version of mkisofs
utility, a file location indicates the end the ISO image if its file
size is zero and it is the last file of all files of the ISO image,
so it is possible that the location value is the same as the number
of the total block of the ISO image.

http://code.google.com/p/libarchive/issues/detail?id=119

Revision 2955:
Issue 134:  Fix libarchive 2.8 crashing in archive_write_finish() when
the open has failed and we're trying to write Zip format.

http://code.google.com/p/libarchive/issues/detail?id=134

Revision 2958:
Followup on Issue 134:
 1) Port test_open_failure to libarchive 2.8 branch to test
    the problem reported in Issue 134.
    This test also shows that archive_read_open() sometimes
    fails to report open errors correctly.
 2) Fix the bug in archive_read.c
 3) Comment out the tests that close functions are invoked
    promptly when open fails; that's fully fixed in libarchive 3.0,
    but I don't think it's worth fixing here.

Revision 3484:
Use uintmax_t with %ju

Revision 3487:
Fix issue 163.
Correctly allocate enough memory for a input buffer saved.

http://code.google.com/p/libarchive/issues/detail?id=163

Revision 3542:
Merge 2516, 2536 from trunk:  Allow path table offset values of
0 and 18, which are used by some ISO writers.

Reviewed by:	kientzle
Approved by:	re (kib)
MFC after:	3 days
</content>
</entry>
<entry>
<title>- Update libarchive to 2.8.4</title>
<updated>2011-07-17T21:27:38Z</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2011-07-17T21:27:38Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=38abb26b5a2ddacf701a0028befd7fc5d0a512ba'/>
<id>urn:sha1:38abb26b5a2ddacf701a0028befd7fc5d0a512ba</id>
<content type='text'>
- Add support for extracting xar and rpm archives
- Add libarchive_fe subdir (common code for tar and cpio)

Approved by:	kientzle
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>libarchive is mixing libmd and libcrypto -- correct to use one or the other.</title>
<updated>2011-05-05T01:16:06Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2011-05-05T01:16:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9980697a44609f2c70fd6eb03a8d3b3cb36b09fa'/>
<id>urn:sha1:9980697a44609f2c70fd6eb03a8d3b3cb36b09fa</id>
<content type='text'>
[mixing the two can be quite bad -- they define the same context structures,
 but with differing structure members (and sizes)]

Update the hash function support comments, and update config_freebsd.h
to match.

Approved by:	kientzle
</content>
</entry>
<entry>
<title>Don't write data into an empty "file."</title>
<updated>2010-12-07T16:48:01Z</updated>
<author>
<name>Tim Kientzle</name>
<email>kientzle@FreeBSD.org</email>
</author>
<published>2010-12-07T16:48:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bb7c5fa31cf340cb22284d9d72e7e52af4c0e4ca'/>
<id>urn:sha1:bb7c5fa31cf340cb22284d9d72e7e52af4c0e4ca</id>
<content type='text'>
In particular, this check avoids a warning when
extracting directory entries from certain GNU tar
archives that store directory contents.

MFC after: 3 days
</content>
</entry>
</feed>
