#
59c7a951 |
| 27-Apr-2009 |
Tim Kientzle <kientzle@FreeBSD.org> |
Symlink some additional man page entries.
|
#
690f5ebd |
| 27-Apr-2009 |
Tim Kientzle <kientzle@FreeBSD.org> |
Merge r990,r1044 from libarchive.googlecode.com: read_support_format_raw() allows people to exploit libarchive's automatic decompression support by simply stubbing out the archive format handler. The
Merge r990,r1044 from libarchive.googlecode.com: read_support_format_raw() allows people to exploit libarchive's automatic decompression support by simply stubbing out the archive format handler. The raw handler is not enabled by support_format_all(), of course. It bids 1 on any non-empty input and always returns a single entry named "data" with no properties set.
show more ...
|
#
f4f5e3f5 |
| 18-Apr-2009 |
Tim Kientzle <kientzle@FreeBSD.org> |
Rely on OpenSSL bits only if we're building a system with OpenSSL. Also, adjust the MD5 calls to rely on libmd instead of libcrypto, so we keep MD5 support even in the !OpenSSL case.
|
#
c9f05bc8 |
| 17-Apr-2009 |
Tim Kientzle <kientzle@FreeBSD.org> |
Merge new xz/lzma support from libarchive.googlecode.com. Since FreeBSD doesn't have liblzma in the base system, the read side will always fall back to the unxz/unlzma commands for now. (Which will i
Merge new xz/lzma support from libarchive.googlecode.com. Since FreeBSD doesn't have liblzma in the base system, the read side will always fall back to the unxz/unlzma commands for now. (Which will in turn fail if those commands are not currently installed.) The write side does not yet have a fallback, so that will just fail.
show more ...
|
#
9c797940 |
| 13-Apr-2009 |
Oleksandr Tymoshenko <gonzo@FreeBSD.org> |
- Merge from HEAD
|
#
e1089c1e |
| 12-Apr-2009 |
Tim Kientzle <kientzle@FreeBSD.org> |
Merge from libarchive.googlecode.com r756,r761: Document the new archive_read_disk API.
|
#
1829d5da |
| 12-Mar-2009 |
Warner Losh <imp@FreeBSD.org> |
Update the projects tree to a newer FreeBSD current.
|
#
43a8e5f0 |
| 06-Mar-2009 |
Tim Kientzle <kientzle@FreeBSD.org> |
Merge r399,401,402,405,415,430,440,452,453,458,506,533,536,538,544,590 from libarchive.googlecode.com: Add a new "archive_read_disk" API that provides the important service of reading metadata from
Merge r399,401,402,405,415,430,440,452,453,458,506,533,536,538,544,590 from libarchive.googlecode.com: Add a new "archive_read_disk" API that provides the important service of reading metadata from the disk. In particular, this will make it possible to remove all knowledge of extended attributes, ACLs, etc, from clients such as bsdtar and bsdcpio.
Closely related, this API also provides pluggable uid->uname and gid->gname lookup and caching services similar to the uname->uid and gname->gid services provided by archive_write_disk. Remember this is also required for correct ACL management.
Documentation is still pending...
show more ...
|
Revision tags: release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0 |
|
#
9ea64210 |
| 31-Aug-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
New mtree writer, thanks to Joerg Sonnenberger.
Obtained from: Joerg Sonnenberger
|
#
a705ee2b |
| 24-Aug-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
Remove the stillborn attempt to cleanup tests as well as the build dir.
|
#
b9364a48 |
| 24-Aug-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
Fail copying path/.. only if SECURE_NODOTDOT was specified. Since we already warn for any '..' elements in that case, the extra "lastdotdot" tracking turns out to be unnecessary.
PR: bin/124924
|
#
f9fe0a0a |
| 15-Jun-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
archive.h is no longer constructed from archive.h.in, so we can rename it and drop some no-longer-necessary build magic from the Makefile.
|
#
fa07de5e |
| 26-May-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
MFp4: libarchive 2.5.4b. (Still 'b' until I get a bit more feedback, but the 2.5 branch is shaping up nicely.)
In addition to many small bug fixes and code improvements: * Another iteration of ver
MFp4: libarchive 2.5.4b. (Still 'b' until I get a bit more feedback, but the 2.5 branch is shaping up nicely.)
In addition to many small bug fixes and code improvements: * Another iteration of versioning; I think I've got it right now. * Portability: A lot of progress on Windows support (though I'm not committing all of the Windows support files to FreeBSD CVS) * Explicit tracking of MBS, WCS, and UTF-8 versions of strings in archive_entry; the archive_entry routines now correctly return NULL only when something is unset, setting NULL properly clears string values. Most charset conversions have been pushed down to archive_string. * Better handling of charset conversion failure when writing or reading UTF-8 headers in pax archives * archive_entry_linkify() provides multiple strategies for hardlink matching to suit different format expectations * More accurate bzip2 format detection * Joerg Sonnenberger's extensive improvements to mtree support * Rough support for self-extracting ZIP archives. Not an ideal approach, but it works for the archives I've tried. * New "sparsify" option in archive_write_disk converts blocks of nulls into seeks. * Better default behavior for the test harness; it now reports all failures by default instead of coredumping at the first one.
show more ...
|
#
7a36fb79 |
| 21-Mar-2008 |
Kai Wang <kaiw@FreeBSD.org> |
Add MLINK for archive_write_close.
Approved by: jkoshy(mentor), kientzle
|
#
8e4bc812 |
| 15-Mar-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
New public functions archive_entry_copy_link() and archive_entry_copy_link_w() override the currently set link value, whether that's a hardlink or a symlink. Plus documentation update and tests.
|
#
7c5b1173 |
| 14-Mar-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
Support for writing 'compress' format, thanks to Joerg Sonnenberger.
|
Revision tags: release/7.0.0_cvs, release/7.0.0 |
|
#
9695c83f |
| 23-Jan-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
Track version # from the portable release.
|
Revision tags: release/6.3.0_cvs, release/6.3.0 |
|
#
db267e0b |
| 01-Jan-2008 |
Tim Kientzle <kientzle@FreeBSD.org> |
The mtree.5 file has been moved to src/usr.sbin/mtree.
|
#
9dd49f96 |
| 30-Dec-2007 |
Tim Kientzle <kientzle@FreeBSD.org> |
Update libarchive to 2.4.10. This includes a number of improvements that I've been working on but put off committing until after the RELENG_7 branch, including:
* New manpages: cpio.5 mtree.5 * New
Update libarchive to 2.4.10. This includes a number of improvements that I've been working on but put off committing until after the RELENG_7 branch, including:
* New manpages: cpio.5 mtree.5 * New archive_entry_strmode() * New archive_entry_link_resolver() * New read support: mtree format * Internal API change: read format auction only runs once * Running the auction only once allowed simplifying a lot of bid logic. * Cpio robustness: search for next header after a sync error * Support device nodes on ISO9660 images * Eliminate a lot of unnecessary copies for uncompressed archives * Corrected handling of new GNU --sparse --posix formats * Correctly handle a zero-byte write to a compressed archive * Fixed memory leaks
Many of these improvements were motivated by the upcoming bsdcpio front-end.
There have also been extensive improvements to the libarchive_test test harness, which I'll commit separately.
show more ...
|
#
75d0856c |
| 15-Jul-2007 |
Tim Kientzle <kientzle@FreeBSD.org> |
Add archive_entry_copy_gname() and archive_entry_copy_uname() functions.
Approved by: re (bmah) MFC after: 3 days
|
#
612c3e77 |
| 12-Jul-2007 |
Colin Percival <cperciva@FreeBSD.org> |
Correct multiple security issues in how libarchive handles corrupt tar archives, including a potentially exploitable buffer overflow.
Approved by: re (kensmith, security blanket) Reviewed by: kientz
Correct multiple security issues in how libarchive handles corrupt tar archives, including a potentially exploitable buffer overflow.
Approved by: re (kensmith, security blanket) Reviewed by: kientzle Security: FreeBSD-SA-07:05.libarchive
show more ...
|
#
ed3ba422 |
| 07-Jul-2007 |
Tim Kientzle <kientzle@FreeBSD.org> |
Fix installworld: /usr/bin/printf isn't available then, so use awk's printf for the formatting here instead.
Pointy hat: Yours Truly Approved by: re
|
#
ab16ac78 |
| 06-Jul-2007 |
Tim Kientzle <kientzle@FreeBSD.org> |
New "version stamp" simplifies determining the exact version of libarchive being used. I've been taking advantage of this with a recent round of updates to libarchive_test so that it can test older
New "version stamp" simplifies determining the exact version of libarchive being used. I've been taking advantage of this with a recent round of updates to libarchive_test so that it can test older and newer versions of the library.
Approved by: re (Ken Smith)
show more ...
|
#
17e60e62 |
| 22-Jun-2007 |
Tim Kientzle <kientzle@FreeBSD.org> |
Support for writing the 'newc' cpio format, plus a minimal test harness for the cpio formats.
Thanks to: Rudolf Marek Approved by: re@
|
#
b48b40f1 |
| 29-May-2007 |
Tim Kientzle <kientzle@FreeBSD.org> |
libarchive 2.2.3 * "compression_program" support uses an external program * Portability: no longer uses "struct stat" as a primary data interchange structure internally * Part of the above:
libarchive 2.2.3 * "compression_program" support uses an external program * Portability: no longer uses "struct stat" as a primary data interchange structure internally * Part of the above: refactor archive_entry to separate out copy_stat() and stat() functions * More complete tests for archive_entry * Finish archive_entry_clone() * Isolate major()/minor()/makedev() in archive_entry; remove these from everywhere else. * Bug fix: properly handle decompression look-ahead at end-of-data * Bug fixes to 'ar' support * Fix memory leak in ZIP reader * Portability: better timegm() emulation in iso9660 reader * New write_disk flags to suppress auto dir creation and not overwrite newer files (for future cpio front-end) * Simplify trailing-'/' fixup when writing tar and pax * Test enhancements: fix various compiler warnings, improve portability, add lots of new tests. * Documentation: document new functions, first draft of libarchive_internals.3
MFC after: 14 days Thanks to: Joerg Sonnenberger (compression_program) Thanks to: Kai Wang (ar) Thanks to: Colin Percival (many small fixes) Thanks to: Many others who sent me various patches and problem reports.
show more ...
|