summaryrefslogtreecommitdiffstats
path: root/usr.bin/tar
Commit message (Collapse)AuthorAgeFilesLines
* Fix -u with absolute paths (e.g., "tar -uf foo.tar /bar") by handlingkientzle2005-09-241-12/+12
| | | | | | pathname edits before comparing pathnames on disk to those in the archive. Thanks to: Gareth Bailey, Lowell Gilbert
* Detect Mac OS X's broken ACL library.kientzle2005-09-242-1/+8
| | | | Thanks to: Diego "Flameeyes" Petten?
* Style fix: Correct a compiler warning from GCC 4kientzle2005-09-211-0/+1
| | | | | Thanks to: Divacky Roman PR: bin/84993
* The bsdtar_warnc() reporting function requires the program name to bekientzle2005-08-021-10/+12
| | | | | | | | | set up before it is called, so move the progname initialization before the first possible call to bsdtar_warnc(). Thanks to: Stanislav Sedov PR: bin/83366 MFC after: 7 days
* Fixed troff warnings.ru2005-06-271-1/+1
| | | | Approved by: re (blanket manpages)
* Clarify some error messages.kientzle2005-05-084-8/+8
|
* bsdtar now uses the "tree" package instead of "fts" for walkingkientzle2005-04-247-1518/+743
| | | | directory heirarchies.
* Correct autoconf/automake invocation to work with devel/gnu-auto* fromkientzle2005-04-231-2/+2
| | | | | | ports. Thanks to: Dag-Erling Sm?rgrav (des@)
* Minor fix to the configure logic to properly detect ACL support.kientzle2005-04-231-2/+1
|
* Overhaul getdate.y. In particular, remove minutes-based logickientzle2005-04-231-686/+574
| | | | | | | | | | | | | (combine with existing seconds-based), treat '-' as punctuation rather than a negative number indicator (eliminates several special cases), use a single list of special words instead of several separate lists, use table-driven abbreviation logic (eliminate duplicate word entries and special-case abbreviation and plural handling). The result is shorter, simpler (judging from comments, earlier maintainers didn't understand the special handling for "negative years"), handles more cases (e.g., "tu" is now a recognized abbreviation for "tuesday", "3rd" is now equivalent to "third") and it has 2 fewer shift/reduce conflicts.
* Point users to tcsh(1) for information about shell globbing patterns,murray2005-04-191-1/+2
| | | | | | rather than 'XXXX'. MFC after: 1 week
* A very minor tweak to the handling of leading '/' characters.kientzle2005-04-171-1/+6
|
* A number of fixes to the autoconf-generated build system. Inkientzle2005-04-175-30/+120
| | | | | | | | particular, acl support is no longer enabled on FreeBSD 4, acl support should be correctly enabled on Linux, dirent.d_namlen should be correctly detected on platforms that support it. Thanks to: Greg Lewis, Juergen Lock, and Jaakko Heinonen
* Configure script needs to test for dirent.d_namlen.kientzle2005-04-171-1/+1
| | | | Thanks to: Juergen Lock
* Update "make distfile" to use newest automake/autoconf from ports.kientzle2005-04-171-2/+2
| | | | Thanks to: Juergen Lock
* Support path-rewriting options (including --strip-components) for bothkientzle2005-04-176-90/+115
| | | | | | extraction and creation. While I'm here, fix a bug reported by Garrett Wollman: when stripping the leading '/' from the path "/", don't produce an entry with an empty name; produce "." instead.
* Add directory hierarchy copying example.obrien2005-03-281-0/+7
|
* Deorbit gtar, step 1: Remove WITH_GTAR knob.kientzle2005-03-201-3/+0
| | | | | | | "tar" is now always a synonym for "bsdtar". People who need gtar can access it as "gtar." Approved by: No objections on arch@
* A handful of minor portability and style improvements.kientzle2005-03-143-15/+16
|
* Style correction: one tab after #define.kientzle2005-03-141-46/+47
|
* Re-unbreak the distfile target.kientzle2005-03-131-3/+4
| | | | | | | Also, reduce the WARNS level to 5 since different build environments end up using different Yacc skeletons. The BSD one does not predeclare yyparse, the FSF one does, so it's not really possible to consistently enforce both -Wmissing-prototypes and -Wredundant-decls.
* Fix a compile warning, fix the build.kientzle2005-03-131-1/+1
|
* "make depend" with .y files is trickier than it looks. <sigh>kientzle2005-03-131-3/+2
|
* Brain-o. Missing quote.kientzle2005-03-131-1/+1
|
* Add --newer-ctime, --newer-mtime, --newer-ctime-than, and --newer-mtime-thankientzle2005-03-139-39/+1067
| | | | | | | switches to support selecting files by time of modification. Special thanks to: Steven M. Bellovin, Rich $alz, and Jim Berets, authors of the public-domain getdate.y date-parsing code.
* Add --strip-components option, per bin/77666.kientzle2005-03-135-2/+72
| | | | Thanks to: Sangwoo Shim
* Document the --null, --one-file-system, and -I options.kientzle2005-02-181-5/+34
| | | | Clarify that -T can be used in 'x' mode as well as 'c' mode.
* Sort sections.ru2005-01-181-52/+52
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Add a fallback version of fnmatch() to the bsdtarkientzle2004-12-223-9/+170
| | | | | | | | | source code. Include configure logic to pick up the system one when it exists and use the fallback version when it doesn't exist. Set the default for FreeBSD to use the system version. With this, bsdtar should now be quite portable.
* GC an unused #includekientzle2004-12-221-1/+0
|
* Fix -W long option handling.kientzle2004-12-221-5/+15
| | | | | | | | | | | In particular: -W excl=text fails because "excl" is a prefix of both "exclude" and "exclude-from". But, -W exclude=text is okay because it matches "exclude" exactly. Thanks to: Jose F Nieves MFC after: 7 days
* Portability: the included fts.c should nowkientzle2004-12-222-2/+2
| | | | | | | compile on many non-FreeBSD systems, including Linux, Solaris, Darwin, etc. Thanks to: many people who pointed out the same portability problem
* Use a relative symlinking so that "tar" also works in /stand.ru2004-11-121-1/+1
|
* FreeBSD does have uintmax_t, so it can correctlykientzle2004-11-061-0/+1
| | | | | | print out very large file sizes. Thanks to: Yar Tikhiy
* Correct error handling on failed writeskientzle2004-11-052-5/+3
| | | | to the archive.
* getopt(3) prints an "unrecognized option" warning for me, so Ikientzle2004-10-171-1/+0
| | | | | | shouldn't print another. MFC after: 15 days
* Cosmetic goof: Use two spaces in "Jan 03 2004" but only one in "Jan 03 12:32"kientzle2004-10-171-1/+1
| | | | MFC after: 15 days
* Make -C and -T work correctly together.kientzle2004-08-281-4/+5
| | | | | MFC after: 3 days Thanks to: Guy Helmer
* Document the -O option's new behavior in the presence of -t.kientzle2004-08-271-2/+4
| | | | MFC after: 3 days
* Support -t -O as in gtar. Perversely enough, -O means "send to stderr"kientzle2004-08-272-11/+16
| | | | | | | when used with -t, "send to stdout" when used with -x. Thanks to: Ryan Hamilton for pointing out this odd beast MFC after: 3 days
* Permit -P to be combined with -t. (It's a no-op then, just as in gtar.)kientzle2004-08-261-2/+0
|
* Tell getopt to accept the (already-implemented) -I option.kientzle2004-08-261-1/+1
|
* Make -I and --files-from be synonyms for -Tkientzle2004-08-131-0/+4
|
* gtar uses -F for another purpose, so bsdtar no longer treats it as akientzle2004-08-083-20/+18
| | | | | | synonym for --format. Update the man page to reflect this. While I'm here, change the man page to document "tar" rather than "bsdtar," update some comments about -l compatibility and fix a few grammar nits.
* Better low-memory handling: If the link cache runs out of memory, justkientzle2004-08-081-35/+36
| | | | | | throw out the whole thing and stop tracking links entirely. That will break all remaining hardlinks, but should free up enough memory to let everything finish.
* Move the smart chdir logic into a couple of utility functions in util.c.kientzle2004-08-085-85/+66
| | | | | Then use them to provide consistent -C support throughout the program. Thanks to: Christoph Mallon
* It shouldn't be an error to specify the same mode twice: allow -cc but not -ct.kientzle2004-08-082-50/+38
| | | | | Thanks to: Christoph Mallon (whose proposed patch was actually simpler than what I ended up with)
* Another pointy-hat problem: PACKAGE_VERSION macro is set inkientzle2004-08-082-3/+0
| | | | | CFLAGS, it shouldn't be in bsdtar_platform.h. Thanks to: Andrey Chernov for looking over my shoulder so much lately.
* Minor portability fixes. bsdtar now compiles on Win32/cygwin, thoughkientzle2004-08-081-2/+18
| | | | it doesn't yet seem to work entirely correctly.
OpenPOWER on IntegriCloud