Merge from vendor branch LIBARCHIVE:
[dragonfly.git] / contrib / libarchive-2 / NEWS
1
2 Dec 13, 2007: libarchive 2.4.8 released
3 Dec 13, 2007: gzip and bzip2 compression now handle zero-byte writes correctly,
4         Thanks to Damien Golding for bringing this to my attention.
5
6 Dec 12, 2007: libarchive 2.4.7 released
7
8 Dec 10, 2007: libarchive 2.4.6 released
9 Dec 09, 2007: tar/test/test_copy.c verifies "tar -c | tar -x" copy pipeline
10 Dec 07, 2007: Fix a couple of minor memory leaks.
11
12 Dec 04, 2007: libarchive 2.4.5 released
13 Dec 04, 2007: Fix cpio/test/test_write_odc by setting the umask first.
14
15 Dec 03, 2007: libarchive 2.4.4 released
16 Dec 03, 2007: New configure options --disable-xattr and --disable-acl,
17         thanks to Samuli Suominen.
18
19 Dec 03, 2007: libarchive 2.4.3 released
20 Dec 03, 2007: Thanks to Lapo Luchini for sending me a ZIP file that
21         libarchive couldn't handle.  Fixed a bug in handling of
22         "length at end" flags in ZIP files.
23 Dec 03, 2007: Fixed bsdcpio -help, bsdtar -help tests.
24 Dec 02, 2007: First cut at real bsdtar test harness.
25
26 Dec 02, 2007: libarchive 2.4.2 released
27
28 Dec 02, 2007: libarchive 2.4.1 released
29 Dec 02, 2007: Minor fixes, rough cut of mdoc-to-man conversion for
30         man pages.
31
32 Oct 30, 2007: libarchive 2.4.0 released
33 Oct 30, 2007: Minor compile fix thanks to Joerg Schilling.
34 Oct 30, 2007: Only run the format auction once at the beginning of the
35         archive.  This is simpler and supports better error recovery.
36 Oct 29, 2007: Test support for very large entries in tar archives:
37         libarchive_test now exercises entries from 2GB up to 1TB.
38
39 Oct 27, 2007: libarchive 2.3.5 released
40 Oct 27, 2007: Correct some unnecessary internal data copying in the
41         "compression none" reader and writer; this reduces user time
42         by up to 2/3 in some tests.  (Thanks to Jan Psota for
43         publishing his performance test results to GNU tar's bug-tar
44         mailing list; those results pointed me towards this problem.)
45 Oct 27, 2007: Fix for skipping archive entries that are exactly
46         a multiple of 4G on 32-bit platforms.
47 Oct 25, 2007: Fix for reading very large (>8G) tar archives; this was
48         broken when I put in support for new GNU tar sparse formats.
49 Oct 20, 2007: Initial work on new pattern-matching code for cpio; I
50         hope this eventually replaces the code currently in bsdtar.
51
52 Oct 08, 2007: libarchive 2.3.4 released
53 Oct 05, 2007: Continuing work on bsdcpio test suite.
54 Oct 05, 2007: New cpio.5 manpage, updates to "History" of bsdcpio.1 and
55         bsdtar.1 manpages.
56 Oct 05, 2007: Fix zip reader to immediately return EOF if you try
57         to read body of non-regular file.  In particular, this fixes
58         bsdtar extraction of zip archives.
59
60 Sep 30, 2007: libarchive 2.3.3 released
61 Sep 26, 2007: Rework Makefile.am so that the enable/disable options
62         actually do the right things.
63 Sep 26, 2007: cpio-odc and cpio-newc archives no longer write bodies
64         for non-regular files.
65 Sep 26, 2007: Test harness for bsdcpio is in place, needs more tests written.
66         This is much nicer than the ragtag collection of test scripts
67         that bsdtar has.
68
69 Sep 20, 2007: libarchive 2.3.2 released
70 Sep 20, 2007: libarchive 2.3.1 broke bsdtar because the archive_write_data()
71         fix was implemented incorrectly.
72
73 Sep 16, 2007: libarchive 2.3.1 released
74 Sep 16, 2007: Many fixes to bsdcpio 0.3:  handle hardlinks with -p, recognize
75         block size on writing, fix a couple of segfaults.
76 Sep 16, 2007: Fixed return value from archive_write_data() when used
77         with archive_write_disk() to match the documentation and other
78         instances of this same function.
79 Sep 15, 2007: Add archive_entry_link_resolver, archive_entry_strmode
80
81 Sep 11, 2007: libarchive 2.2.8 released
82 Sep 09, 2007: bsdcpio 0.2 supports most (not yet all) of the old POSIX spec.
83
84 Sep 01, 2007: libarchive 2.2.7 released
85 Aug 31, 2007: Support for reading mtree files, including an mtree.5 manpage
86         (A little experimental still.)
87 Aug 18, 2007: Read gtar 1.17 --posix --sparse entries.
88 Aug 13, 2007: Refined suid/sgid restore handling; it is no longer
89         an error if suid/sgid bits are dropped when you request
90         perm restore but don't request owner restore.
91 Aug 06, 2007: Use --enable-bsdcpio if you want to try bsdcpio
92
93 Aug 05, 2007: libarchive 2.2.6 released
94 Aug 05, 2007: New configure option --disable-bsdtar, thanks to Joerg
95         Sonnenberger.
96 Aug 05, 2007: Several bug fixes from FreeBSD CVS repo.
97
98 Jul 13, 2007: libarchive 2.2.5 released
99
100 Jul 12, 2007: libarchive 2.2.4 released
101 Jul 12, 2007: Thanks to Colin Percival's help in diagnosing and
102         fixing several critical security bugs.  Details available at
103         http://security.freebsd.org/advisories/FreeBSD-SA-07:05.libarchive.asc
104
105 May 26, 2007: libarchive 2.2.3 released
106 May 26, 2007: Fix memory leaks in ZIP reader and shar writer, add some
107         missing system headers to archive_entry.h, dead code cleanup
108         from Colin Percival, more tests for gzip/bzip2, fix an
109         EOF anomaly in bzip2 decompression.
110
111 May 12, 2007: libarchive 2.2.2 released
112 May 12, 2007: Fix archive_write_disk permission restore by cloning
113         entry passed into write_header so that permission info is
114         still available at finish_entry time.  (archive_read_extract()
115         worked okay because it held onto the passed-in entry, but
116         direct consumers of archive_write_disk would break).  This
117         required fixing archive_entry_clone(), which now works and has
118         a reasonably complete test case.
119 May 10, 2007: Skeletal cpio implementation.
120
121 May 06, 2007: libarchive 2.2.1 released
122 May 06, 2007: Flesh out a lot more of test_entry.c so as to catch
123         problems such as the device node breakage before releasing <sigh>.
124 May 05, 2007: Fix a bad bug introduced in 2.1.9 that broke device
125         node entries in tar archives.
126 May 03, 2007: Move 'struct stat' out of archive_entry core as well.
127         This removes some portability headaches and fixes a bunch
128         of corner cases that arise when manipulating archives on
129         dissimilar systems.
130
131 Apr 30, 2007: libarchive 2.1.10 released
132 Apr 31, 2007: Minor code cleanup.
133
134 Apr 24, 2007: libarchive 2.1.9 released
135 Apr 24, 2007: Fix some recently-introduced problems with libraries
136         (Just let automake handle it and it all works much better.)
137         Finish isolating major()/minor()/makedev() in archive_entry.c.
138
139 Apr 23, 2007: libarchive 2.1.8 released
140 Apr 23, 2007: Minor fixes found from building on MacOS X
141
142 Apr 22, 2007: libarchive 2.1.7 released
143 Apr 22, 2007: Eliminated all uses of 'struct stat' from the
144         format readers/writers.  This should improve portability;
145         'struct stat' is now only used in archive_entry and in
146         code that actually touches the disk.
147
148 Apr 17, 2007: libarchive 2.1.6 released
149         Libarchive now compiles and passes all tests on Interix.
150
151 Apr 16, 2007: libarchive 2.1.5 released
152
153 Apr 15, 2007: libarchive 2.1b2 released
154 Apr 15, 2007: New libarchive_internals.3 documentation of internal APIs.
155         Not complete, but should prove helpful.
156 Apr 15, 2007: Experimental "read_compress_program" and "write_compress_program"
157         for using libarchive with external compression.  Not yet
158         well tested, and likely has portability issues.  Feedback
159         appreciated.
160
161 Apr 14, 2007: libarchive 2.0.31 released
162 Apr 14, 2007: More fixes for Interix, more 'ar' work
163
164 Apr 14, 2007: libarchive 2.0.30 released
165 Apr 13, 2007: libarchive now enforces trailing '/' on dirs
166         written to tar archives
167
168 Apr 11, 2007: libarchive 2.0.29 released
169 Apr 11, 2007: Make it easier to statically configure for different platforms.
170 Apr 11, 2007: Updated config.guess, config.sub, libtool
171
172 Apr 06, 2007: libarchive 2.0.28 released
173 Apr 06, 2007: 'ar' format read/write support thanks to Kai Wang.
174
175 Apr 01, 2007: libarchive 2.0.27 released
176 Mar 31, 2007: Several minor fixes from Colin Percival and Joerg Sonnenberger.
177
178 Mar 12, 2007: libarchive 2.0.25 released
179 Mar 12, 2007: Fix broken --unlink flag.
180
181 Mar 11, 2007: libarchive 2.0.24 released
182 Mar 10, 2007: Correct an ACL blunder that causes any ACL with an entry
183     that refers to a non-existent user or group to not be restored correctly.
184     The fix both makes the parser more tolerant (so that archives created
185     with the buggy ACLs can be read now) and corrects the ACL formatter.
186 Mar 10, 2007: More work on test portability to Linux.
187
188 Mar 10, 2007: libarchive 2.0.22 released
189 Mar 10, 2007: Header cleanups; added linux/fs.h, removed
190     some unnecessary headers, added #include guards in bsdtar.
191     If you see any obvious compile failures from this, let me know.
192 Mar 10, 2007: Work on bsdtar test scripts: not yet robust enough
193     to enable as part of "make check", but getting better.
194 Mar 10, 2007: libarchive now returns ARCHIVE_FAILED when
195     a header write fails in a way that only affects this item.
196     Less bad than ARCHIVE_FATAL, but worse than ARCHIVE_WARN.
197
198 Mar 07, 2007: libarchive 2.0.21 released
199 Mar 07, 2007: Add some ACL tests (only for the system-independent
200     portion of the ACL support for now).
201 Mar 07, 2007: tar's ability to read ACLs off disk got
202     turned off for FreeBSD; re-enable it.  (ACL restores and
203     libarchive support for storing/reading ACLs from pax
204     archives was unaffected.)
205
206 Mar 02, 2007: libarchive 2.0.20 released
207 Mar 2, 2007:  It's not perfect, but it's pretty good.
208     Libarchive 2.0 is officially out of beta.
209
210 Feb 28, 2007: libarchive 2.0b17 released
211 Feb 27, 2007: Make the GID restore checks more robust by checking
212     whether the current user has too few or too many privileges.
213
214 Feb 26, 2007: libarchive 2.0b15 released
215 Feb 26, 2007: Don't lose symlinks when extracting from ISOs.
216     Thanks to Diego "Flameeyes" Pettenò for telling me about the
217     broken testcase on Gentoo that (finally!) led me to the cause
218     of this long-standing bug.
219
220 Feb 26, 2007: libarchive 2.0b14 released
221 Feb 26, 2007: Fix a broken test on platforms that lack lchmod().
222
223 Feb 25, 2007: libarchive 2.0b13 released
224 Feb 25, 2007: Empty archives were being written as empty files,
225     without a proper end-of-archive marker.  Fixed.
226
227 Feb 23, 2007: libarchive 2.0b12 released
228 Feb 22, 2007: Basic security checks added: _EXTRACT_SECURE_NODOTDOT
229     and _EXTRACT_SECURE_SYMLINK.  These checks used to be in bsdtar,
230     but they belong down in libarchive where they can be used by
231     other tools and where they can be better optimized.
232
233 Feb 11, 2007: libarchive 2.0b11 released
234 Feb 10, 2007: Fixed a bunch of errors in libarchive's handling
235     of EXTRACT_PERM and EXTRACT_OWNER, especially relating
236     to SUID and SGID bits.
237
238 Jan 31, 2007: libarchive 2.0b9 released
239 Jan 31, 2007: Added read support for "empty" archives as a
240     distinct archive format.  Bsdtar uses this to handle, e.g.,
241     "touch foo.tar; tar -rf foo.tar"
242
243 Jan 22, 2007: libarchive 2.0b6 released
244 Jan 22, 2007: archive_write_disk API is now in place.  It provides
245     a finer-grained interface than archive_read_extract.  In particular,
246     you can use it to create objects on disk without having an archive
247     around (just feed it archive_entry objects describing what you
248     want to create), you can override the uname/gname-to-uid/gid lookups
249     (minitar uses this to avoid getpwXXX() and getgrXXX() bloat).
250
251 Jan 09, 2007: libarchive 2.0a3 released
252 Jan 9, 2007: archive_extract is now much better; it handles the
253     most common cases with a minimal number of system calls.
254     Some features still need a lot of testing, especially corner
255     cases involving objects that already exist on disk.   I expect
256     the next round of API overhaul will simplify building test cases.
257 Jan 9, 2007: a number of fixes thanks to Colin Percival, especially
258     corrections to the skip() framework and handling of large files.
259 Jan 9, 2007: Fixes for large ISOs.  The code should correctly handle
260     very large ISOs with entries up to 4G.   Thanks to Robert Sciuk
261     for pointing out these issues.
262
263 Sep 05, 2006: libarchive 1.3.1 released
264 Sep 5, 2006: Bump version to 1.3 for new I/O wrappers.
265 Sep 4, 2006: New memory and FILE read/write wrappers.
266 Sep 4, 2006: libarchive test harness is now minimally functional;
267     it's located a few minor bugs in error-handling logic
268
269 Aug 17, 2006: libarchive 1.2.54 released
270 Aug 17, 2006: Outline ABI changes for libarchive 2.0; these
271    are protected behind #ifdef's until I think I've found everything
272    that needs to change.
273 Aug 17, 2006: Fix error-handling in archive_read/write_close()
274    They weren't returning any errors before.
275 Aug 17, 2006: Fix recursive-add logic to not trigger if it's not set
276    Fixes a bug adding files when writing archive to pipe or when
277    using archive_write_open() directly.
278 Jul 2006: New "skip" handling improves performance extracting
279    single files from large uncompressed archives.
280
281 Mar 21, 2006: 1.2.52 released
282 Mar 21, 2006: Fix -p on platforms that don't have platform-specific
283    extended attribute code.
284 Mar 20, 2006: Add NEWS file; fill in some older history from other
285    files.  I'll try to keep this file up-to-date from now on.
286
287 OLDER NEWS SUMMARIES
288
289 Mar 19, 2006: libarchive 1.2.51 released
290 Mar 18, 2006: Many fixes to extended attribute support, including a redesign
291    of the storage format to simplify debugging.
292 Mar 12, 2006: Remove 'tp' support; it was a fun idea, but not worth
293    spending much time on.
294 Mar 11, 2006: Incorporated Jaakko Heinonen's still-experimental support
295    for extended attributes (Currently Linux-only.).
296 Mar 11, 2006: Reorganized distribution package: There is now one tar.gz
297    file that builds both libarchive and bsdtar.
298 Feb 13, 2006: Minor bug fixes: correctly read cpio device entries, write
299    Pax attribute entry names.
300 Nov 7, 2005: Experimental 'tp' format support in libarchive.  Feedback
301    appreciated; this is not enabled by archive_read_support_format_all()
302    yet as I'm not quite content with the format detection heuristics.
303 Nov 7, 2005: Some more portability improvements thanks to Darin Broady,
304    minor bugfixes.
305 Oct 12, 2005: Use GNU libtool to build shared libraries on many systems.
306 Aug 9, 2005: Correctly detect that MacOS X does not have POSIX ACLs.
307 Apr 17, 2005: Kees Zeelenberg has ported libarchive and bsdtar to Windows:
308    http://gnuwin32.sourceforge.net/
309 Apr 11, 2005: Extended Zip/Zip64 support thanks to Dan Nelson.  -L/-h
310    fix from Jaakko Heinonen.
311 Mar 12, 2005: archive_read_extract can now handle very long
312    pathnames (I've tested with pathnames up to 1MB).
313 Mar 12, 2005: Marcus Geiger has written an article about libarchive
314    http://xsnil.antbear.org/2005/02/05/archive-mit-libarchive-verarbeiten/
315    including examples of using it from Objective-C.  His MoinX
316    http://moinx.antbear.org/ desktop Wiki uses
317    libarchive for archiving and restoring Wiki pages.
318 Jan 22, 2005: Preliminary ZIP extraction support,
319     new directory-walking code for bsdtar.
320 Jan 16, 2005: ISO9660 extraction code added; manpage corrections.
321 May 22, 2004: Many gtar-compatible long options have been added; almost
322     all FreeBSD ports extract correctly with bsdtar.
323 May 18, 2004: bsdtar can read Solaris, HP-UX, Unixware, star, gtar,
324     and pdtar archives.