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