Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-10-27 | Tar extract should delete files or symlinks where it's making a directory, | Rob Landley | |
but --restrict checking should run on the path up to the last component before unlinking so tar can't be tricked into deleting random files off the system. | |||
2019-10-04 | Fix extracting old tarballs, not just -tv of them. | Rob Landley | |
2019-10-03 | Improve support for extracting older tarball formats. | Rob Landley | |
2019-09-18 | Fix tar creation with hole at end. | Rob Landley | |
The "gratuitous extra entry" is only gratuitous when there isn't a hole. (Which we can detect and not include but then we wouldn't match other implementations.) | |||
2019-09-16 | bug: tar tvf blah.tar.xz was running xz when it meant xzcat. | Rob Landley | |
2019-09-15 | Fix tar files that end sparse (need to call truncate), and display/export | Rob Landley | |
length of sparse files properly. | |||
2019-06-25 | tar: implement --mode. | Elliott Hughes | |
Used by build/make/tools/mktarball.sh in AOSP. (Which is why today's switch to toybox tar got reverted.) | |||
2019-06-01 | Teach file to recognize xz archives and old style tarballs. | Rob Landley | |
2019-06-01 | Teach tar to extract older tarballs. | Rob Landley | |
2019-05-25 | Toybox doesn't provide bzip2 or xz compression side (and the roadmap has it as | Rob Landley | |
out of scope), but the AOSP build airlock doesn't provide bzcat and friends. So tar needs to be able to use both: check for *zcat first, and fall back to "compressor -d" if it's not there. | |||
2019-05-23 | tar: turns out --sparse is also known as -S. | Elliott Hughes | |
Found trying to build the aosp_cf_x86_phone-userdebug target. The good news is that the targets that I knew were using tar with sparse files all pass now. | |||
2019-05-20 | Less incomplete tar help text. | Rob Landley | |
2019-05-19 | Fix tar sparse extract with extension blocks. | Rob Landley | |
2019-05-19 | Fix tar --sparse generation of extension block. | Rob Landley | |
2019-05-19 | Add pointless trailing --sparse entry for exact binary compartibility. | Rob Landley | |
There's no possible use for this, but debian's tar produces it, so... | |||
2019-05-19 | Add --sparse file creation support to tar. | Rob Landley | |
And fix tar cv to produce output to stderr when archive going to stdout. | |||
2019-05-14 | Checked in a debugging printf. Oops. | Rob Landley | |
2019-05-14 | Typo caused a segfault. (Oops.) | Rob Landley | |
2019-05-13 | Fix a couple error paths that don't continue archive create/extract properly. | Rob Landley | |
2019-05-11 | Teach tar to extract type 'S' sparse file headers. | Rob Landley | |
2019-05-01 | tar: use same tools for decompression as for compression. | Elliott Hughes | |
This is what GNU tar does, so Android's build system jail allows bzip2, gzip, and xz, but not bzcat, zcat, and xzcat. Why the function? Because auto-detection works by setting toyflags, so we need to make sure we test the flags late, so it's either two copies of this or a function. | |||
2019-04-21 | Promote tar. | Rob Landley | |
There's probably more to do, but it seems usable at this point. |