2 May 25, 2008: libarchive 2.5.4b released
3 May 21, 2008: Joerg Sonnenberger: fix bsdtar hardlink handling for newc format
5 May 21, 2008: More progress on Windows building. Thanks to "Scott"
6 for the Windows makefiles, thanks to Kees Zeelenberg for
9 May 21, 2008: Fix a number of non-exploitable integer and buffer overflows,
10 thanks to David Remahl at Apple for pointing these out.
12 May 21, 2008: Colin Percival: SIGINFO or SIGUSR1 to bsdtar prints progress info
14 May 16, 2008: bsdtar's test harness no longer depends on file ordering.
15 This was causing spurious test failures on a lot of systems.
16 Thanks to Bernhard R. Link for the diagnosis.
18 May 14, 2008: Joerg Sonnenberger: -s substitution support for bsdtar
20 May 13, 2008: Joerg Sonnenberger: Many mtree improvements
22 May 11, 2008: Joerg Sonnenberger: fix hardlink extraction when
23 hardlinks have different permissions from original file
25 April 30, 2008: Primary libarchive work has been moved into the FreeBSD
26 project's Perforce repository: http://perforce.freebsd.org/
27 The libarchive project can be browsed at
28 //depot/user/kientzle/libarchive-portable
29 Direct link: http://preview.tinyurl.com/46mdgr
31 May 04, 2008: libarchive 2.5.3b released
32 * libarchive: Several fixes to link resolver to address bsdcpio crashes
33 * bsdcpio: -p hardlink handling fixes
34 * tar/pax: Ensure ustar dirnames end in '/'; be more careful about
35 measuring filenames when deciding what pathname fields to use
36 * libarchive: Mark which entry strings are set; be accurate about
37 distinguishing empty strings ("") from unset ones (NULL)
38 * tar: Don't crash reading entries with empty filenames
39 * libarchive_test, bsdtar_test, bsdcpio_test: Better detaults:
40 run all tests, delete temp dirs, summarize repeated failures
41 * -no-undefined to libtool for Cygwin
42 * libarchive_test: Skip large file tests on systems with 32-bit off_t
43 * iso9660: Don't bother trying to find the body of an empty file;
44 this works around strange behavior from some ISO9660 writers
45 * tar: allow -r -T to be used together
46 * tar: allow --format with -r or -u
47 * libarchive: Don't build archive.h
49 May 04, 2008: Simplified building: archive.h is no longer constructed
50 This may require additional #if conditionals on some platforms.
52 Mar 30, 2008: libarchive 2.5.1b released
54 Mar 15, 2008: libarchive 2.5.0b released
55 Mar 15, 2008: bsdcpio now seems to correctly write hardlinks into newc,
56 ustar, and old cpio archives. Just a little more testing before
57 bsdcpio 1.0 becomes a reality.
58 Mar 15, 2008: I think the new linkify() interface is finally handling
59 all known hardlink strategies.
60 Mar 15, 2008: Mtree read fixes from Joerg Sonnenberger.
61 Mar 15, 2008: Many new bsdtar and bsdcpio options from Joerg Sonnenberger.
62 Mar 15, 2008: test harnesses no longer require uudecode; they
63 now have built-in decoding logic that decodes the reference
64 files as they are needed.
66 Mar 14, 2008: libarchive 2.4.14 released; identical to 2.4.13 except for
67 a point fix for gname/uname mixup in pax format that was introduced
70 Feb 26, 2008: libarchive 2.4.13 released
71 Feb 25, 2008: Handle path, linkname, gname, or uname that can't be converted
72 to/from UTF-8. Implement "hdrcharset" attribute from SUS-2008.
73 Feb 25, 2008: Fix name clash on NetBSD.
74 Feb 18, 2008: Fix writing empty 'ar' archives, per Kai Wang
75 Feb 18, 2008: [bsdtar] Permit appending on block devices.
76 Feb 09, 2008: New "linkify" resolver to help with newc hardlink writing;
77 bsdcpio still needs to be converted to use this.
78 Feb 02, 2008: Windows compatibility fixes from Ivailo Petrov, Kees Zeelenberg
79 Jan 30, 2008: Ignore hardlink size for non-POSIX tar archives.
81 Jan 22, 2008: libarchive 2.4.12 released
82 Jan 22, 2008: Fix bad padding when writing symlinks to newc cpio archives.
83 Jan 22, 2008: Verify bsdcpio_test by getting it to work against GNU cpio 2.9.
84 bsdcpio_test complains about missing options (-y and -z), format
85 of informational messages (--version, --help), and a minor formatting
86 issue in odc format output. After this update, bsdcpio_test uncovered
87 several more cosmetic issues in bsdcpio, all now fixed.
88 Jan 22, 2008: Experimental support for self-extracting Zip archives.
89 Jan 22, 2008: Extend hardlink restore strategy to work correctly with
90 hardlinks extracted from newc cpio files. (Which store the body
91 only with the last occurrence of a link.)
93 Dec 30, 2007: libarchive 2.4.11 released
94 Dec 30, 2007: Fixed a compile error in bsdcpio on some systems.
96 Dec 29, 2007: libarchive 2.4.10 released
97 Dec 29, 2007: bsdcpio 0.9.0 is ready for wider use.
98 Dec 29, 2007: Completed initial test harness for bsdcpio.
100 Dec 22, 2007: libarchive 2.4.9 released
101 Dec 22, 2007: Implement the remaining options for bsdcpio: -a, -q, -L, -f,
102 pattern selection for -i and -it.
104 Dec 13, 2007: libarchive 2.4.8 released
105 Dec 13, 2007: gzip and bzip2 compression now handle zero-byte writes correctly,
106 Thanks to Damien Golding for bringing this to my attention.
108 Dec 12, 2007: libarchive 2.4.7 released
110 Dec 10, 2007: libarchive 2.4.6 released
111 Dec 09, 2007: tar/test/test_copy.c verifies "tar -c | tar -x" copy pipeline
112 Dec 07, 2007: Fix a couple of minor memory leaks.
114 Dec 04, 2007: libarchive 2.4.5 released
115 Dec 04, 2007: Fix cpio/test/test_write_odc by setting the umask first.
117 Dec 03, 2007: libarchive 2.4.4 released
118 Dec 03, 2007: New configure options --disable-xattr and --disable-acl,
119 thanks to Samuli Suominen.
121 Dec 03, 2007: libarchive 2.4.3 released
122 Dec 03, 2007: Thanks to Lapo Luchini for sending me a ZIP file that
123 libarchive couldn't handle. Fixed a bug in handling of
124 "length at end" flags in ZIP files.
125 Dec 03, 2007: Fixed bsdcpio -help, bsdtar -help tests.
126 Dec 02, 2007: First cut at real bsdtar test harness.
128 Dec 02, 2007: libarchive 2.4.2 released
130 Dec 02, 2007: libarchive 2.4.1 released
131 Dec 02, 2007: Minor fixes, rough cut of mdoc-to-man conversion for
134 Oct 30, 2007: libarchive 2.4.0 released
135 Oct 30, 2007: Minor compile fix thanks to Joerg Schilling.
136 Oct 30, 2007: Only run the format auction once at the beginning of the
137 archive. This is simpler and supports better error recovery.
138 Oct 29, 2007: Test support for very large entries in tar archives:
139 libarchive_test now exercises entries from 2GB up to 1TB.
141 Oct 27, 2007: libarchive 2.3.5 released
142 Oct 27, 2007: Correct some unnecessary internal data copying in the
143 "compression none" reader and writer; this reduces user time
144 by up to 2/3 in some tests. (Thanks to Jan Psota for
145 publishing his performance test results to GNU tar's bug-tar
146 mailing list; those results pointed me towards this problem.)
147 Oct 27, 2007: Fix for skipping archive entries that are exactly
148 a multiple of 4G on 32-bit platforms.
149 Oct 25, 2007: Fix for reading very large (>8G) tar archives; this was
150 broken when I put in support for new GNU tar sparse formats.
151 Oct 20, 2007: Initial work on new pattern-matching code for cpio; I
152 hope this eventually replaces the code currently in bsdtar.
154 Oct 08, 2007: libarchive 2.3.4 released
155 Oct 05, 2007: Continuing work on bsdcpio test suite.
156 Oct 05, 2007: New cpio.5 manpage, updates to "History" of bsdcpio.1 and
158 Oct 05, 2007: Fix zip reader to immediately return EOF if you try
159 to read body of non-regular file. In particular, this fixes
160 bsdtar extraction of zip archives.
162 Sep 30, 2007: libarchive 2.3.3 released
163 Sep 26, 2007: Rework Makefile.am so that the enable/disable options
164 actually do the right things.
165 Sep 26, 2007: cpio-odc and cpio-newc archives no longer write bodies
166 for non-regular files.
167 Sep 26, 2007: Test harness for bsdcpio is in place, needs more tests written.
168 This is much nicer than the ragtag collection of test scripts
171 Sep 20, 2007: libarchive 2.3.2 released
172 Sep 20, 2007: libarchive 2.3.1 broke bsdtar because the archive_write_data()
173 fix was implemented incorrectly.
175 Sep 16, 2007: libarchive 2.3.1 released
176 Sep 16, 2007: Many fixes to bsdcpio 0.3: handle hardlinks with -p, recognize
177 block size on writing, fix a couple of segfaults.
178 Sep 16, 2007: Fixed return value from archive_write_data() when used
179 with archive_write_disk() to match the documentation and other
180 instances of this same function.
181 Sep 15, 2007: Add archive_entry_link_resolver, archive_entry_strmode
183 Sep 11, 2007: libarchive 2.2.8 released
184 Sep 09, 2007: bsdcpio 0.2 supports most (not yet all) of the old POSIX spec.
186 Sep 01, 2007: libarchive 2.2.7 released
187 Aug 31, 2007: Support for reading mtree files, including an mtree.5 manpage
188 (A little experimental still.)
189 Aug 18, 2007: Read gtar 1.17 --posix --sparse entries.
190 Aug 13, 2007: Refined suid/sgid restore handling; it is no longer
191 an error if suid/sgid bits are dropped when you request
192 perm restore but don't request owner restore.
193 Aug 06, 2007: Use --enable-bsdcpio if you want to try bsdcpio
195 Aug 05, 2007: libarchive 2.2.6 released
196 Aug 05, 2007: New configure option --disable-bsdtar, thanks to Joerg
198 Aug 05, 2007: Several bug fixes from FreeBSD CVS repo.
200 Jul 13, 2007: libarchive 2.2.5 released
202 Jul 12, 2007: libarchive 2.2.4 released
203 Jul 12, 2007: Thanks to Colin Percival's help in diagnosing and
204 fixing several critical security bugs. Details available at
205 http://security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc
207 May 26, 2007: libarchive 2.2.3 released
208 May 26, 2007: Fix memory leaks in ZIP reader and shar writer, add some
209 missing system headers to archive_entry.h, dead code cleanup
210 from Colin Percival, more tests for gzip/bzip2, fix an
211 EOF anomaly in bzip2 decompression.
213 May 12, 2007: libarchive 2.2.2 released
214 May 12, 2007: Fix archive_write_disk permission restore by cloning
215 entry passed into write_header so that permission info is
216 still available at finish_entry time. (archive_read_extract()
217 worked okay because it held onto the passed-in entry, but
218 direct consumers of archive_write_disk would break). This
219 required fixing archive_entry_clone(), which now works and has
220 a reasonably complete test case.
221 May 10, 2007: Skeletal cpio implementation.
223 May 06, 2007: libarchive 2.2.1 released
224 May 06, 2007: Flesh out a lot more of test_entry.c so as to catch
225 problems such as the device node breakage before releasing <sigh>.
226 May 05, 2007: Fix a bad bug introduced in 2.1.9 that broke device
227 node entries in tar archives.
228 May 03, 2007: Move 'struct stat' out of archive_entry core as well.
229 This removes some portability headaches and fixes a bunch
230 of corner cases that arise when manipulating archives on
233 Apr 30, 2007: libarchive 2.1.10 released
234 Apr 31, 2007: Minor code cleanup.
236 Apr 24, 2007: libarchive 2.1.9 released
237 Apr 24, 2007: Fix some recently-introduced problems with libraries
238 (Just let automake handle it and it all works much better.)
239 Finish isolating major()/minor()/makedev() in archive_entry.c.
241 Apr 23, 2007: libarchive 2.1.8 released
242 Apr 23, 2007: Minor fixes found from building on MacOS X
244 Apr 22, 2007: libarchive 2.1.7 released
245 Apr 22, 2007: Eliminated all uses of 'struct stat' from the
246 format readers/writers. This should improve portability;
247 'struct stat' is now only used in archive_entry and in
248 code that actually touches the disk.
250 Apr 17, 2007: libarchive 2.1.6 released
251 Libarchive now compiles and passes all tests on Interix.
253 Apr 16, 2007: libarchive 2.1.5 released
255 Apr 15, 2007: libarchive 2.1b2 released
256 Apr 15, 2007: New libarchive_internals.3 documentation of internal APIs.
257 Not complete, but should prove helpful.
258 Apr 15, 2007: Experimental "read_compress_program" and "write_compress_program"
259 for using libarchive with external compression. Not yet
260 well tested, and likely has portability issues. Feedback
263 Apr 14, 2007: libarchive 2.0.31 released
264 Apr 14, 2007: More fixes for Interix, more 'ar' work
266 Apr 14, 2007: libarchive 2.0.30 released
267 Apr 13, 2007: libarchive now enforces trailing '/' on dirs
268 written to tar archives
270 Apr 11, 2007: libarchive 2.0.29 released
271 Apr 11, 2007: Make it easier to statically configure for different platforms.
272 Apr 11, 2007: Updated config.guess, config.sub, libtool
274 Apr 06, 2007: libarchive 2.0.28 released
275 Apr 06, 2007: 'ar' format read/write support thanks to Kai Wang.
277 Apr 01, 2007: libarchive 2.0.27 released
278 Mar 31, 2007: Several minor fixes from Colin Percival and Joerg Sonnenberger.
280 Mar 12, 2007: libarchive 2.0.25 released
281 Mar 12, 2007: Fix broken --unlink flag.
283 Mar 11, 2007: libarchive 2.0.24 released
284 Mar 10, 2007: Correct an ACL blunder that causes any ACL with an entry
285 that refers to a non-existent user or group to not be restored correctly.
286 The fix both makes the parser more tolerant (so that archives created
287 with the buggy ACLs can be read now) and corrects the ACL formatter.
288 Mar 10, 2007: More work on test portability to Linux.
290 Mar 10, 2007: libarchive 2.0.22 released
291 Mar 10, 2007: Header cleanups; added linux/fs.h, removed
292 some unnecessary headers, added #include guards in bsdtar.
293 If you see any obvious compile failures from this, let me know.
294 Mar 10, 2007: Work on bsdtar test scripts: not yet robust enough
295 to enable as part of "make check", but getting better.
296 Mar 10, 2007: libarchive now returns ARCHIVE_FAILED when
297 a header write fails in a way that only affects this item.
298 Less bad than ARCHIVE_FATAL, but worse than ARCHIVE_WARN.
300 Mar 07, 2007: libarchive 2.0.21 released
301 Mar 07, 2007: Add some ACL tests (only for the system-independent
302 portion of the ACL support for now).
303 Mar 07, 2007: tar's ability to read ACLs off disk got
304 turned off for FreeBSD; re-enable it. (ACL restores and
305 libarchive support for storing/reading ACLs from pax
306 archives was unaffected.)
308 Mar 02, 2007: libarchive 2.0.20 released
309 Mar 2, 2007: It's not perfect, but it's pretty good.
310 Libarchive 2.0 is officially out of beta.
312 Feb 28, 2007: libarchive 2.0b17 released
313 Feb 27, 2007: Make the GID restore checks more robust by checking
314 whether the current user has too few or too many privileges.
316 Feb 26, 2007: libarchive 2.0b15 released
317 Feb 26, 2007: Don't lose symlinks when extracting from ISOs.
318 Thanks to Diego "Flameeyes" Pettenò for telling me about the
319 broken testcase on Gentoo that (finally!) led me to the cause
320 of this long-standing bug.
322 Feb 26, 2007: libarchive 2.0b14 released
323 Feb 26, 2007: Fix a broken test on platforms that lack lchmod().
325 Feb 25, 2007: libarchive 2.0b13 released
326 Feb 25, 2007: Empty archives were being written as empty files,
327 without a proper end-of-archive marker. Fixed.
329 Feb 23, 2007: libarchive 2.0b12 released
330 Feb 22, 2007: Basic security checks added: _EXTRACT_SECURE_NODOTDOT
331 and _EXTRACT_SECURE_SYMLINK. These checks used to be in bsdtar,
332 but they belong down in libarchive where they can be used by
333 other tools and where they can be better optimized.
335 Feb 11, 2007: libarchive 2.0b11 released
336 Feb 10, 2007: Fixed a bunch of errors in libarchive's handling
337 of EXTRACT_PERM and EXTRACT_OWNER, especially relating
338 to SUID and SGID bits.
340 Jan 31, 2007: libarchive 2.0b9 released
341 Jan 31, 2007: Added read support for "empty" archives as a
342 distinct archive format. Bsdtar uses this to handle, e.g.,
343 "touch foo.tar; tar -rf foo.tar"
345 Jan 22, 2007: libarchive 2.0b6 released
346 Jan 22, 2007: archive_write_disk API is now in place. It provides
347 a finer-grained interface than archive_read_extract. In particular,
348 you can use it to create objects on disk without having an archive
349 around (just feed it archive_entry objects describing what you
350 want to create), you can override the uname/gname-to-uid/gid lookups
351 (minitar uses this to avoid getpwXXX() and getgrXXX() bloat).
353 Jan 09, 2007: libarchive 2.0a3 released
354 Jan 9, 2007: archive_extract is now much better; it handles the
355 most common cases with a minimal number of system calls.
356 Some features still need a lot of testing, especially corner
357 cases involving objects that already exist on disk. I expect
358 the next round of API overhaul will simplify building test cases.
359 Jan 9, 2007: a number of fixes thanks to Colin Percival, especially
360 corrections to the skip() framework and handling of large files.
361 Jan 9, 2007: Fixes for large ISOs. The code should correctly handle
362 very large ISOs with entries up to 4G. Thanks to Robert Sciuk
363 for pointing out these issues.
365 Sep 05, 2006: libarchive 1.3.1 released
366 Sep 5, 2006: Bump version to 1.3 for new I/O wrappers.
367 Sep 4, 2006: New memory and FILE read/write wrappers.
368 Sep 4, 2006: libarchive test harness is now minimally functional;
369 it's located a few minor bugs in error-handling logic
371 Aug 17, 2006: libarchive 1.2.54 released
372 Aug 17, 2006: Outline ABI changes for libarchive 2.0; these
373 are protected behind #ifdef's until I think I've found everything
374 that needs to change.
375 Aug 17, 2006: Fix error-handling in archive_read/write_close()
376 They weren't returning any errors before.
377 Aug 17, 2006: Fix recursive-add logic to not trigger if it's not set
378 Fixes a bug adding files when writing archive to pipe or when
379 using archive_write_open() directly.
380 Jul 2006: New "skip" handling improves performance extracting
381 single files from large uncompressed archives.
383 Mar 21, 2006: 1.2.52 released
384 Mar 21, 2006: Fix -p on platforms that don't have platform-specific
385 extended attribute code.
386 Mar 20, 2006: Add NEWS file; fill in some older history from other
387 files. I'll try to keep this file up-to-date from now on.
391 Mar 19, 2006: libarchive 1.2.51 released
392 Mar 18, 2006: Many fixes to extended attribute support, including a redesign
393 of the storage format to simplify debugging.
394 Mar 12, 2006: Remove 'tp' support; it was a fun idea, but not worth
395 spending much time on.
396 Mar 11, 2006: Incorporated Jaakko Heinonen's still-experimental support
397 for extended attributes (Currently Linux-only.).
398 Mar 11, 2006: Reorganized distribution package: There is now one tar.gz
399 file that builds both libarchive and bsdtar.
400 Feb 13, 2006: Minor bug fixes: correctly read cpio device entries, write
401 Pax attribute entry names.
402 Nov 7, 2005: Experimental 'tp' format support in libarchive. Feedback
403 appreciated; this is not enabled by archive_read_support_format_all()
404 yet as I'm not quite content with the format detection heuristics.
405 Nov 7, 2005: Some more portability improvements thanks to Darin Broady,
407 Oct 12, 2005: Use GNU libtool to build shared libraries on many systems.
408 Aug 9, 2005: Correctly detect that MacOS X does not have POSIX ACLs.
409 Apr 17, 2005: Kees Zeelenberg has ported libarchive and bsdtar to Windows:
410 http://gnuwin32.sourceforge.net/
411 Apr 11, 2005: Extended Zip/Zip64 support thanks to Dan Nelson. -L/-h
412 fix from Jaakko Heinonen.
413 Mar 12, 2005: archive_read_extract can now handle very long
414 pathnames (I've tested with pathnames up to 1MB).
415 Mar 12, 2005: Marcus Geiger has written an article about libarchive
416 http://xsnil.antbear.org/2005/02/05/archive-mit-libarchive-verarbeiten/
417 including examples of using it from Objective-C. His MoinX
418 http://moinx.antbear.org/ desktop Wiki uses
419 libarchive for archiving and restoring Wiki pages.
420 Jan 22, 2005: Preliminary ZIP extraction support,
421 new directory-walking code for bsdtar.
422 Jan 16, 2005: ISO9660 extraction code added; manpage corrections.
423 May 22, 2004: Many gtar-compatible long options have been added; almost
424 all FreeBSD ports extract correctly with bsdtar.
425 May 18, 2004: bsdtar can read Solaris, HP-UX, Unixware, star, gtar,