summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
Commit message (Collapse)AuthorAgeFilesLines
* MFC: xz 5.2.2.delphij2015-12-221-2/+2
| | | | Relnotes: yes
* MFC r291329:bdrewery2015-12-041-2/+0
| | | | Remove redundant DPSRCS which were already in SRCS.
* MFC r289195:ngie2015-11-153-44/+103
| | | | | | | | | | | | | | | | | | | | | | Integrate the tests from lib/libarchive, usr.bin/cpio, and usr.bin/tar in to the FreeBSD test suite functional_test.sh was ported from bin/sh/tests/functional_test.sh, as a small wrapper around libarchive_test, bsdcpio_test, and bsdtar_test provided by upstream. A handful of testcases in lib/libarchive/tests have been disabled as they were failing when run with kyua test (see BROKEN_TESTS in lib/libarchive/tests/Makefile) As a sidenote: this removes the check/test targets from the Makefiles as they don't match the pattern used in the rest of the FreeBSD test suite. Sponsored by: EMC / Isilon Storage Division Conflicts: lib/libarchive/test usr.bin/cpio/test
* MFC r283245:ngie2015-11-151-1/+0
| | | | | | r283245 (by imp): Remove stray DEBUG_FLAGS=-g that snuck in with r184761.
* MFC r264400,r265836:ngie2014-12-311-1/+1
| | | | | | | | | | | | | | r264400: NO_MAN= has been deprecated in favor of MAN= for some time, go ahead and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. r265836: Remove last two NO_MAN= in the tree. In both of these cases, MAN= is what is needed.
* MFV r248590,248594:mm2013-03-222-3/+26
| | | | | | | | | | | Update libarchive to 3.1.2 Some of new features: - support for lrzip and grzip compression - support for writing tar v7 format - b64encode and uuencode filters - support for __MACOSX directory in Zip archives - support for lzop compresion (external utility)
* Update libarchive to 3.0.4mm2012-07-282-12/+4
|
* Update libarchive to 3.0.3mm2012-02-253-86/+23
| | | | | | | | | | | | | | Some of new features: - New readers: RAR, LHA/LZH, CAB reader, 7-Zip - New writers: ISO9660, XAR - Improvements to many formats, especially including ISO9660 and Zip - Stackable write filters to write, e.g., tar.gz.uu in a single pass - Exploit seekable input; new "seekable" Zip reader can exploit the Zip Central Directory when it's available; the old "streamable" Zip reader is still fully supported for cases where seeking is not possible. Full release notes available at: https://github.com/libarchive/libarchive/wiki/ReleaseNotes
* Use contrib sources for building libarchive, tar and cpio.mm2011-12-2235-12639/+25
| | | | | | Make "make test" fully operational. MFC after: 2 weeks
* Sync bsdtar with vendor branch release/2.8:mm2011-12-201-3/+2
| | | | | | | | | Revision 3769: Merge r3744 from trunk: Correctly return errors when reading an archive using @archive extension. Obtained from: http://code.google.com/p/libarchive MFC after: 2 weeks
* Update libarchive, tar and cpio to version 2.8.5mm2011-12-202-115/+333
| | | | | | | | | | The following additional vendor revisions are applied: Revision 3740: Use archive_clear_error() to clear the error markers. Obtained from: http://code.google.com/p/libarchive MFC after: 2 weeks
* In usr.bin/tar/tree.c, if you really want to poke to NULL, you must usedim2011-12-171-1/+1
| | | | | | volatile, otherwise the indirection will not be emitted. MFC after: 1 week
* Typo from previous commit. Urgh.kientzle2011-10-221-1/+1
|
* Bring in the --gid --gname --uid and --uname implementationkientzle2011-10-225-8/+68
| | | | | | from libarchive.googlecode.com. MFC after: 3 days
* Correctly link bsdcpio and bsdtar against libmd and libcrpytomm2011-08-011-2/+6
| | | | | | | | by applying the change from r221472 (libarchive). Reviewed by: kientzle Approved by: re (kib) MFC after: 3 days
* Fix accidential commit part:mm2011-07-171-1/+1
| | | | | | Include "bsdtar_platform.h" instead of "lafe_platform.h" MFC after: 2 weeks
* Update bsdtar to 2.8.4mm2011-07-1736-2163/+2615
| | | | | | | Use common code from lib/libarchive/libarchive_fe Approved by: kientzle MFC after: 2 weeks
* The --newer-than test should descend into oldkientzle2011-06-261-4/+12
| | | | | | | | directories to look for new files. PR: bin/150890 Submitted by: Tobias Herre MFC after: 3 weeks
* If there is a read error reading Y/N confirmation from the keyboard,kientzle2011-06-252-1/+12
| | | | | | | | | exit immediately with an error. If there is an error opening or reading a file to put into the archive, set the return value for a deferred error exit. PR: bin/154407
* Revert most of r210764, now that mdocml does the rightuqs2010-12-281-2/+2
| | | | | | thing with empty quotation macros. Requested by: Alex Kozlov
* Recognize both ! and ^ as markers for negated character classes.kientzle2010-10-061-2/+2
| | | | Submitted by: Mykola Dzham
* mdoc: make sure to pass at least one argument to quotation macrosuqs2010-08-021-2/+2
|
* Fix typos.joel2010-08-011-1/+1
|
* 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
|
OpenPOWER on IntegriCloud