xref: /dragonfly/contrib/libarchive/NEWS (revision 9f3fc534)
1
2Jul 02, 2008: libarchive 2.5.5 released
3
4Jul 02, 2008: libarchive 2.5.5b released
5Jul 01, 2008: bsdcpio is being used by enough people, we can call it 1.0.0 now
6Jun 20, 2008: bsdcpio: If a -l link fails with EXDEV, copy the file instead
7Jun 19, 2008: bsdcpio: additional long options for better GNU cpio compat
8Jun 15, 2008: Many small portability and bugfixes since 2.5.4b.
9
10May 25, 2008: libarchive 2.5.4b released
11May 21, 2008: Joerg Sonnenberger: fix bsdtar hardlink handling for newc format
12
13May 21, 2008: More progress on Windows building.  Thanks to "Scott"
14        for the Windows makefiles, thanks to Kees Zeelenberg for
15        code contributions.
16
17May 21, 2008: Fix a number of non-exploitable integer and buffer overflows,
18        thanks to David Remahl at Apple for pointing these out.
19
20May 21, 2008: Colin Percival: SIGINFO or SIGUSR1 to bsdtar prints progress info
21
22May 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
26May 14, 2008: Joerg Sonnenberger: -s substitution support for bsdtar
27
28May 13, 2008: Joerg Sonnenberger: Many mtree improvements
29
30May 11, 2008: Joerg Sonnenberger: fix hardlink extraction when
31	hardlinks have different permissions from original file
32
33April 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
39May 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
57May 04, 2008: Simplified building: archive.h is no longer constructed
58	This may require additional #if conditionals on some platforms.
59
60Mar 30, 2008: libarchive 2.5.1b released
61
62Mar 15, 2008: libarchive 2.5.0b released
63Mar 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.
66Mar 15, 2008: I think the new linkify() interface is finally handling
67	all known hardlink strategies.
68Mar 15, 2008: Mtree read fixes from Joerg Sonnenberger.
69Mar 15, 2008: Many new bsdtar and bsdcpio options from Joerg Sonnenberger.
70Mar 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
74Mar 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
78Feb 26, 2008: libarchive 2.4.13 released
79Feb 25, 2008: Handle path, linkname, gname, or uname that can't be converted
80	to/from UTF-8.  Implement "hdrcharset" attribute from SUS-2008.
81Feb 25, 2008: Fix name clash on NetBSD.
82Feb 18, 2008: Fix writing empty 'ar' archives, per Kai Wang
83Feb 18, 2008: [bsdtar] Permit appending on block devices.
84Feb 09, 2008: New "linkify" resolver to help with newc hardlink writing;
85	bsdcpio still needs to be converted to use this.
86Feb 02, 2008: Windows compatibility fixes from Ivailo Petrov, Kees Zeelenberg
87Jan 30, 2008: Ignore hardlink size for non-POSIX tar archives.
88
89Jan 22, 2008: libarchive 2.4.12 released
90Jan 22, 2008: Fix bad padding when writing symlinks to newc cpio archives.
91Jan 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.
96Jan 22, 2008: Experimental support for self-extracting Zip archives.
97Jan 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
101Dec 30, 2007: libarchive 2.4.11 released
102Dec 30, 2007: Fixed a compile error in bsdcpio on some systems.
103
104Dec 29, 2007: libarchive 2.4.10 released
105Dec 29, 2007: bsdcpio 0.9.0 is ready for wider use.
106Dec 29, 2007: Completed initial test harness for bsdcpio.
107
108Dec 22, 2007: libarchive 2.4.9 released
109Dec 22, 2007: Implement the remaining options for bsdcpio:  -a, -q, -L, -f,
110	pattern selection for -i and -it.
111
112Dec 13, 2007: libarchive 2.4.8 released
113Dec 13, 2007: gzip and bzip2 compression now handle zero-byte writes correctly,
114	Thanks to Damien Golding for bringing this to my attention.
115
116Dec 12, 2007: libarchive 2.4.7 released
117
118Dec 10, 2007: libarchive 2.4.6 released
119Dec 09, 2007: tar/test/test_copy.c verifies "tar -c | tar -x" copy pipeline
120Dec 07, 2007: Fix a couple of minor memory leaks.
121
122Dec 04, 2007: libarchive 2.4.5 released
123Dec 04, 2007: Fix cpio/test/test_write_odc by setting the umask first.
124
125Dec 03, 2007: libarchive 2.4.4 released
126Dec 03, 2007: New configure options --disable-xattr and --disable-acl,
127	thanks to Samuli Suominen.
128
129Dec 03, 2007: libarchive 2.4.3 released
130Dec 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.
133Dec 03, 2007: Fixed bsdcpio -help, bsdtar -help tests.
134Dec 02, 2007: First cut at real bsdtar test harness.
135
136Dec 02, 2007: libarchive 2.4.2 released
137
138Dec 02, 2007: libarchive 2.4.1 released
139Dec 02, 2007: Minor fixes, rough cut of mdoc-to-man conversion for
140	man pages.
141
142Oct 30, 2007: libarchive 2.4.0 released
143Oct 30, 2007: Minor compile fix thanks to Joerg Schilling.
144Oct 30, 2007: Only run the format auction once at the beginning of the
145	archive.  This is simpler and supports better error recovery.
146Oct 29, 2007: Test support for very large entries in tar archives:
147	libarchive_test now exercises entries from 2GB up to 1TB.
148
149Oct 27, 2007: libarchive 2.3.5 released
150Oct 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.)
155Oct 27, 2007: Fix for skipping archive entries that are exactly
156	a multiple of 4G on 32-bit platforms.
157Oct 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.
159Oct 20, 2007: Initial work on new pattern-matching code for cpio; I
160	hope this eventually replaces the code currently in bsdtar.
161
162Oct 08, 2007: libarchive 2.3.4 released
163Oct 05, 2007: Continuing work on bsdcpio test suite.
164Oct 05, 2007: New cpio.5 manpage, updates to "History" of bsdcpio.1 and
165	bsdtar.1 manpages.
166Oct 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
170Sep 30, 2007: libarchive 2.3.3 released
171Sep 26, 2007: Rework Makefile.am so that the enable/disable options
172	actually do the right things.
173Sep 26, 2007: cpio-odc and cpio-newc archives no longer write bodies
174	for non-regular files.
175Sep 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
179Sep 20, 2007: libarchive 2.3.2 released
180Sep 20, 2007: libarchive 2.3.1 broke bsdtar because the archive_write_data()
181	fix was implemented incorrectly.
182
183Sep 16, 2007: libarchive 2.3.1 released
184Sep 16, 2007: Many fixes to bsdcpio 0.3:  handle hardlinks with -p, recognize
185	block size on writing, fix a couple of segfaults.
186Sep 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.
189Sep 15, 2007: Add archive_entry_link_resolver, archive_entry_strmode
190
191Sep 11, 2007: libarchive 2.2.8 released
192Sep 09, 2007: bsdcpio 0.2 supports most (not yet all) of the old POSIX spec.
193
194Sep 01, 2007: libarchive 2.2.7 released
195Aug 31, 2007: Support for reading mtree files, including an mtree.5 manpage
196	(A little experimental still.)
197Aug 18, 2007: Read gtar 1.17 --posix --sparse entries.
198Aug 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.
201Aug 06, 2007: Use --enable-bsdcpio if you want to try bsdcpio
202
203Aug 05, 2007: libarchive 2.2.6 released
204Aug 05, 2007: New configure option --disable-bsdtar, thanks to Joerg
205	Sonnenberger.
206Aug 05, 2007: Several bug fixes from FreeBSD CVS repo.
207
208Jul 13, 2007: libarchive 2.2.5 released
209
210Jul 12, 2007: libarchive 2.2.4 released
211Jul 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
215May 26, 2007: libarchive 2.2.3 released
216May 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
221May 12, 2007: libarchive 2.2.2 released
222May 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.
229May 10, 2007: Skeletal cpio implementation.
230
231May 06, 2007: libarchive 2.2.1 released
232May 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>.
234May 05, 2007: Fix a bad bug introduced in 2.1.9 that broke device
235	node entries in tar archives.
236May 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
241Apr 30, 2007: libarchive 2.1.10 released
242Apr 31, 2007: Minor code cleanup.
243
244Apr 24, 2007: libarchive 2.1.9 released
245Apr 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
249Apr 23, 2007: libarchive 2.1.8 released
250Apr 23, 2007: Minor fixes found from building on MacOS X
251
252Apr 22, 2007: libarchive 2.1.7 released
253Apr 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
258Apr 17, 2007: libarchive 2.1.6 released
259	Libarchive now compiles and passes all tests on Interix.
260
261Apr 16, 2007: libarchive 2.1.5 released
262
263Apr 15, 2007: libarchive 2.1b2 released
264Apr 15, 2007: New libarchive_internals.3 documentation of internal APIs.
265	Not complete, but should prove helpful.
266Apr 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
271Apr 14, 2007: libarchive 2.0.31 released
272Apr 14, 2007: More fixes for Interix, more 'ar' work
273
274Apr 14, 2007: libarchive 2.0.30 released
275Apr 13, 2007: libarchive now enforces trailing '/' on dirs
276	written to tar archives
277
278Apr 11, 2007: libarchive 2.0.29 released
279Apr 11, 2007: Make it easier to statically configure for different platforms.
280Apr 11, 2007: Updated config.guess, config.sub, libtool
281
282Apr 06, 2007: libarchive 2.0.28 released
283Apr 06, 2007: 'ar' format read/write support thanks to Kai Wang.
284
285Apr 01, 2007: libarchive 2.0.27 released
286Mar 31, 2007: Several minor fixes from Colin Percival and Joerg Sonnenberger.
287
288Mar 12, 2007: libarchive 2.0.25 released
289Mar 12, 2007: Fix broken --unlink flag.
290
291Mar 11, 2007: libarchive 2.0.24 released
292Mar 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.
296Mar 10, 2007: More work on test portability to Linux.
297
298Mar 10, 2007: libarchive 2.0.22 released
299Mar 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.
302Mar 10, 2007: Work on bsdtar test scripts: not yet robust enough
303    to enable as part of "make check", but getting better.
304Mar 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
308Mar 07, 2007: libarchive 2.0.21 released
309Mar 07, 2007: Add some ACL tests (only for the system-independent
310    portion of the ACL support for now).
311Mar 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
316Mar 02, 2007: libarchive 2.0.20 released
317Mar 2, 2007:  It's not perfect, but it's pretty good.
318    Libarchive 2.0 is officially out of beta.
319
320Feb 28, 2007: libarchive 2.0b17 released
321Feb 27, 2007: Make the GID restore checks more robust by checking
322    whether the current user has too few or too many privileges.
323
324Feb 26, 2007: libarchive 2.0b15 released
325Feb 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
330Feb 26, 2007: libarchive 2.0b14 released
331Feb 26, 2007: Fix a broken test on platforms that lack lchmod().
332
333Feb 25, 2007: libarchive 2.0b13 released
334Feb 25, 2007: Empty archives were being written as empty files,
335    without a proper end-of-archive marker.  Fixed.
336
337Feb 23, 2007: libarchive 2.0b12 released
338Feb 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
343Feb 11, 2007: libarchive 2.0b11 released
344Feb 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
348Jan 31, 2007: libarchive 2.0b9 released
349Jan 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
353Jan 22, 2007: libarchive 2.0b6 released
354Jan 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
361Jan 09, 2007: libarchive 2.0a3 released
362Jan 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.
367Jan 9, 2007: a number of fixes thanks to Colin Percival, especially
368    corrections to the skip() framework and handling of large files.
369Jan 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
373Sep 05, 2006: libarchive 1.3.1 released
374Sep 5, 2006: Bump version to 1.3 for new I/O wrappers.
375Sep 4, 2006: New memory and FILE read/write wrappers.
376Sep 4, 2006: libarchive test harness is now minimally functional;
377    it's located a few minor bugs in error-handling logic
378
379Aug 17, 2006: libarchive 1.2.54 released
380Aug 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.
383Aug 17, 2006: Fix error-handling in archive_read/write_close()
384   They weren't returning any errors before.
385Aug 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.
388Jul 2006: New "skip" handling improves performance extracting
389   single files from large uncompressed archives.
390
391Mar 21, 2006: 1.2.52 released
392Mar 21, 2006: Fix -p on platforms that don't have platform-specific
393   extended attribute code.
394Mar 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
397OLDER NEWS SUMMARIES
398
399Mar 19, 2006: libarchive 1.2.51 released
400Mar 18, 2006: Many fixes to extended attribute support, including a redesign
401   of the storage format to simplify debugging.
402Mar 12, 2006: Remove 'tp' support; it was a fun idea, but not worth
403   spending much time on.
404Mar 11, 2006: Incorporated Jaakko Heinonen's still-experimental support
405   for extended attributes (Currently Linux-only.).
406Mar 11, 2006: Reorganized distribution package: There is now one tar.gz
407   file that builds both libarchive and bsdtar.
408Feb 13, 2006: Minor bug fixes: correctly read cpio device entries, write
409   Pax attribute entry names.
410Nov 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.
413Nov 7, 2005: Some more portability improvements thanks to Darin Broady,
414   minor bugfixes.
415Oct 12, 2005: Use GNU libtool to build shared libraries on many systems.
416Aug 9, 2005: Correctly detect that MacOS X does not have POSIX ACLs.
417Apr 17, 2005: Kees Zeelenberg has ported libarchive and bsdtar to Windows:
418   http://gnuwin32.sourceforge.net/
419Apr 11, 2005: Extended Zip/Zip64 support thanks to Dan Nelson.  -L/-h
420   fix from Jaakko Heinonen.
421Mar 12, 2005: archive_read_extract can now handle very long
422   pathnames (I've tested with pathnames up to 1MB).
423Mar 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.
428Jan 22, 2005: Preliminary ZIP extraction support,
429    new directory-walking code for bsdtar.
430Jan 16, 2005: ISO9660 extraction code added; manpage corrections.
431May 22, 2004: Many gtar-compatible long options have been added; almost
432    all FreeBSD ports extract correctly with bsdtar.
433May 18, 2004: bsdtar can read Solaris, HP-UX, Unixware, star, gtar,
434    and pdtar archives.
435