summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
Commit message (Collapse)AuthorAgeFilesLines
* If the compressed data is larger than the uncompressed,kientzle2010-06-142-2/+13
| | | | | | | | | | report the compression ratio as 0% instead of displaying nonsense triggered by numeric overflow. This is common when dealing with uncompressed files when the I/O blocking causes there to be small transient differences in the accounting. Thanks to: Boris Samorodov
* mdoc: move remaining sections into consistent orderuqs2010-05-131-2/+2
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* Enable liblzma support in libarchivemm2010-05-102-4/+4
| | | | | | | | Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system Approved by: kientzle, delphij (mentor) MFC after: 2 weeks
* FreeBSD is now using bsdtar 2.8.3.kientzle2010-05-081-1/+1
|
* Config updates.kientzle2010-05-081-7/+19
|
* Various manpage updates, including many long-option synonyms that were ↵kientzle2010-05-081-101/+209
| | | | previously undocumented.
* If a file is specifically both included and excluded, then:kientzle2010-04-111-25/+26
| | | | | | | | | | | | | | | * It is not extracted (because it is excluded) * If it's not present in the archive, then an error is reported (because the file was requested and not found) * If it is present in the archive, no error is reported. Previously, this would always report an error because the exclusion prevented the entry from matching the inclusion. Also, tar is now more reluctant to report unmatched inclusions. Previously, "tar x file1 'file*'" against an archive that contained a single entry "file1" would match file1 and then report an error for the second pattern because it wasn't matched. It now considers both inclusions to be matched and reports no error.
* Diff reduction against bsdtar 2.8.3kientzle2010-04-111-11/+25
|
* Diff reduction against bsdtar 2.8.3kientzle2010-04-111-1/+2
|
* Fix -X.kientzle2010-04-111-1/+1
|
* Consistently specify O_BINARY when opening files.kientzle2010-04-111-5/+9
|
* Remove an unnecessary include and conditionalize some code.kientzle2010-04-112-1/+6
|
* Correct the markup for the -s option,kientzle2010-04-111-7/+30
| | | | document the iso9660:rockridge and mtree:indent options
* Fix several typos in macros or macro misusage.uqs2010-03-121-1/+1
| | | | | | Found by: make manlint Reviewed by: ru Approved by: philip (mentor)
* Fixed dependencies (make checkdpadd).ru2010-02-251-1/+2
|
* Fix common misspelling of hierarchyuqs2010-02-203-3/+3
| | | | | Pointed out by: bf1783 at gmail Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
* Simplify, remove unnecessary code.kientzle2010-02-071-30/+10
|
* Merge a bunch of refactoring from Joerg Sonnenberger tokientzle2010-02-0713-433/+724
| | | | | | isolate common code used by tar and cpio (and useful to other libarchive clients). The functions here are prefixed with "lafe" (libarchive front-end) to indicate their use.
* Style & Portability: Use archive_entry methods to examinekientzle2010-02-072-40/+24
| | | | | file information, change some functions to static, remove some unused headers.
* Various portability workarounds for non-FreeBSD platforms.kientzle2010-02-072-6/+49
|
* Restructure the logic that determines when we're crossing a mountkientzle2010-02-071-8/+29
| | | | | point. In particular, this carves out a place for detecting and excluding synthetic or network filesystems.
* Minor code rework.kientzle2010-02-071-21/+8
|
* Trim out some unused configuration variables, removekientzle2010-02-074-65/+0
| | | | some unused headers, etc.
* Fill in some missing error handling, be a little more careful aboutkientzle2010-02-062-17/+18
| | | | error reporting, prefer int64_t to off_t.
* bsdtar doesn't actually know what compression is supported by libarchivekientzle2010-02-062-42/+11
| | | | | and it should not pretend that it does. It should just pass along the user's request and handle an error if it's not supported.
* Refactor the siginfo/sigusr1 handling. The read/write reportingkientzle2010-02-067-202/+146
| | | | | | | | | is sufficiently different that it was simpler to just put separate reporting functions into read.c and write.c rather than try to have a single all-purpose reporting function. Switch to a custom function for converting int64_t to a string; in the portable version, this saves a lot of configuration headaches trying to decipher the platform printf().
* Remove all traces of an experiment for handling "root" on Windows systems.kientzle2010-02-062-7/+6
|
* Reformat the Makefile slightly.kientzle2010-02-061-1/+11
|
* Allow -b up to 8192. I've had reports from people who routinelykientzle2010-02-061-2/+2
| | | | | | use -b 2048 (1MiB block size). Setting the limit to 8192 should allow some room for growth while still helping people who mistakenly put in byte counts here instead of block counts.
* Diff reduction compared to portable bsdtar 2.8: Move thekientzle2010-02-0612-184/+271
| | | | | program name into a global, which eliminates an extra argument from a lot of places.
* Build usr.bin/ with WARNS=6 by default.ed2010-01-022-2/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* Revert most part of 200420 as requested, as more review and polish isdelphij2009-12-131-0/+2
| | | | needed.
* Remove unneeded header includes from usr.bin/ except contributed code.delphij2009-12-111-2/+0
| | | | Tested with: make universe
* Make sure to use up-to-date libarchive header files from source tree whenpjd2009-09-071-1/+1
| | | | | | | compiling tar and not the ones from /usr/include/. Reviewed by: kientzle Approved by: kientzle
* Make -lcrypto usage dependent on whether or not we're building with OpenSSL.kientzle2009-04-181-1/+5
|
* Merge remaining changes from libarchive.googlecode.com:kientzle2009-04-176-42/+150
| | | | | | | | * Add xz and lzma compression options * Rename --format-options to simply --options * Add --same-owner for GNU tar compat * Add -lmd and -lcrypto to fix link * Documentation
* Set options before opening the archive.kientzle2009-04-171-7/+10
| | | | Catch and report close-time errors.
* Minor portability improvement in calls to ctype.h macros.kientzle2009-04-171-2/+2
|
* Merge from libarchive.googlecode.com: Numerous Windows-specific build tweaks.kientzle2009-04-1710-52/+58
|
* Update version to 2.6.901a to indicate this is synced up with r745 ofkientzle2009-03-081-1/+1
| | | | libarchive.googlecode.com (except for the lzma/xz support).
* Merge r492 from libarchive.googlecode.com: First cut at exposing thekientzle2009-03-085-0/+29
| | | | new options mechanism to userland. Documentation pending...
* Match a comment to reduce differences with libarchive.googlecode.com.kientzle2009-03-082-1/+5
|
* Merge r709,r710 from libarchive.googlecode.com: More work onkientzle2009-03-083-31/+779
| | | | Windows support.
* Merge r687-689,691,693-701,720 from libarchive.googlecode.com:kientzle2009-03-086-822/+1102
| | | | | | | | | | | | Translate getdate.y into C for portability. Make the get_date() function easier to test as well: * Have it accept a time_t "now" to use as a reference so that test code can verify relative time specifications against known starting points. * Set up default date after parsing the string so that we can use the specified timezone (if any) instead of the local default. Otherwise, local DST makes it almost impossible to reliably test time specifications such as "sunday UTC"
* Merger r629-631,633-646,648,654,678,681,682 from libarchive.googlecode.com:kientzle2009-03-0823-66/+733
| | | | | Many changes for Windows compatibility. bsdtar_test now runs successfully on both POSIX platforms and Windows.
* Merge r368,496,625,626 from libarchive.googlecode.com: A number ofkientzle2009-03-082-36/+83
| | | | | style and portability tweaks to the test harness. Most significantly, don't use getopt().
* Merge r622 from libarchive.googlecode.com: Avoid warning on platformskientzle2009-03-081-1/+1
| | | | that lack regex.h.
* Merge r552,r559 from libarchive.googlecode.com: High-resolution timekientzle2009-03-081-3/+10
| | | | support on Tru64, AIX, and GNU Hurd, thanks to Björn Jacke.
* Merge r529 from libarchive.googlecode.com: Fix how we read ext2fs_fs.hkientzle2009-03-081-4/+11
| | | | headers on Linux.
* Merge r435,r443 from libarchive.googlecode.com: Let the compiler optionskientzle2009-03-082-4/+4
| | | | determine how to read config.h.
OpenPOWER on IntegriCloud