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