| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
* Implement --use-compress-program using new libarchive feature.
* Minor portability improvement by adjusting casts used to
print out uids, gids, and device numbers.
Thanks to: Joerg Sonnenberger for the --use-compress-program implementation.
MFC after: 15 days
Notes:
svn path=/head/; revision=170084
|
|
|
|
| |
Notes:
svn path=/head/; revision=167861
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New test scripts exercise some basic functionality
* Most header inclusions are now protected (portability)
* read.c now relies on security checks in libarchive instead
of trying to do its own (optimization)
* -p now enabled by default for root, add --no-same-permissions
to disable it
* Comments, minor style fixes.
Notes:
svn path=/head/; revision=167450
|
|
|
|
|
|
|
| |
2-clause BSD license, update the year to 2007.
Notes:
svn path=/head/; revision=165913
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=165484
|
|
|
|
|
|
|
|
|
| |
mode, and --strip-components only makes sense in "x" and "t" modes.
MFC after: 3 days
Notes:
svn path=/head/; revision=165482
|
|
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=165481
|
|
|
|
|
|
|
|
|
|
|
| |
anything apart from invoking usage(), and apparently slipped in by
accident.
Approved by: kientzle
MFC after: 3 days
Notes:
svn path=/head/; revision=165374
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
forthcoming. This commit also has a number of style(9) fixes and
minor corrections so the code works better with the build system being
used for non-FreeBSD builds.
Many thanks to: Jaakko Heinonen, who proposed a mechanism for extended
attribute support and implemented both the machine-independent portion
and the Linux-specific portion.
Notes:
svn path=/head/; revision=156962
|
|
|
|
|
|
|
|
|
|
|
| |
(I'm not using GPL, but I still think there are good
ideas in the GNU projects. ;-) Among other things,
this should make it easier for clients of bsdtar to
recognize it automatically:
bsdtar --version | grep bsdtar
Notes:
svn path=/head/; revision=156380
|
|
|
|
|
|
|
|
|
|
|
| |
called "-F" for a very long time.)
PR: bin/86915
Thanks to: Gary W. Swearingen
MFC after: 3 days
Notes:
svn path=/head/; revision=151919
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=148632
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=145206
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=145199
|
|
|
|
| |
Notes:
svn path=/head/; revision=143545
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=143528
|
|
|
|
|
|
|
| |
Thanks to: Sangwoo Shim
Notes:
svn path=/head/; revision=143486
|
|
|
|
| |
Notes:
svn path=/head/; revision=139160
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=139158
|
|
|
|
|
|
|
|
|
| |
shouldn't print another.
MFC after: 15 days
Notes:
svn path=/head/; revision=136637
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=134369
|
|
|
|
| |
Notes:
svn path=/head/; revision=134334
|
|
|
|
| |
Notes:
svn path=/head/; revision=134324
|
|
|
|
| |
Notes:
svn path=/head/; revision=133633
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=133331
|
|
|
|
|
|
|
|
| |
Then use them to provide consistent -C support throughout the program.
Thanks to: Christoph Mallon
Notes:
svn path=/head/; revision=133310
|
|
|
|
|
|
|
|
| |
Thanks to: Christoph Mallon (whose proposed patch was actually
simpler than what I ended up with)
Notes:
svn path=/head/; revision=133308
|
|
|
|
|
|
|
|
| |
written to the archive, not the ones written to the compressor.
For uncompressed archives, these numbers are the same, of course.
Notes:
svn path=/head/; revision=133278
|
|
|
|
|
|
|
|
|
| |
* Add a more reasonable default device for linux
* Add an autoconf check for the FNM_LEADING_DIR extension
(which isn't yet obeyed in the code)
Notes:
svn path=/head/; revision=133273
|
|
|
|
|
|
|
| |
COPYING file and some conditional compilation cleanups.
Notes:
svn path=/head/; revision=133245
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For -l, upset everyone by breaking it. Specifically, -l now produces
a lengthy error message that suggests --check-links (POSIX -l) or
--one-file-system (GNU -l) instead. However, if POSIXLY_CORRECT is set,
use the POSIX interpretation.
For -o, please everyone by making it work both ways:
* -xo uses POSIX behavior
* -co uses "almost GNU" behavior (as close as we can get until
libarchive implements a true V7 tar format)
Notes:
svn path=/head/; revision=133053
|
|
|
|
|
|
|
|
| |
both bsdtar and libarchive. Of course, this requires that bsdtar
have a version number. Let's call this 1.00, shall we? ;-)
Notes:
svn path=/head/; revision=132648
|
|
|
|
|
|
|
| |
mostly from: Tim J Robbins
Notes:
svn path=/head/; revision=132623
|
|
|
|
|
|
|
|
|
|
|
| |
* Whitespace fixes
* Check some malloc calls
* Simplify long_help formatting
* Spell "LINUX" -> "linux"
* A few other miscellaneous style improvements
Notes:
svn path=/head/; revision=132616
|
|
|
|
|
|
|
| |
Thanks to: Tim J Robbins
Notes:
svn path=/head/; revision=132406
|
|
|
|
|
|
|
|
|
| |
Add range-checking to argument of -b.
Thanks to: Tim J Robbins
Notes:
svn path=/head/; revision=132305
|
|
|
|
|
|
|
|
|
| |
of course, but I make an effort to accomodate GNU tar scripts that
use -o with -c (with a meaning that totally contradicts SUSv2) by
only issuing a benign warning message in that case.
Notes:
svn path=/head/; revision=132279
|
|
|
|
|
|
|
|
| |
testing the locale at program startup and setting a flag, then
using that flag to determine appropriate strftime() arguments.
Notes:
svn path=/head/; revision=132169
|
|
|
|
| |
Notes:
svn path=/head/; revision=132035
|
|
|
|
|
|
|
| |
All of --help should go to stdout, not some to stdout and some to stderr.
Notes:
svn path=/head/; revision=131584
|
|
|
|
| |
Notes:
svn path=/head/; revision=131239
|
|
|
|
|
|
|
|
|
|
| |
* Don't change the umask; the library now ignores the umask if
you set EXTRACT_PERM
* Set the EXTRACT_ACL and EXTRACT_FFLAGS bits (used to be
controlled by EXTRACT_PERM).
Notes:
svn path=/head/; revision=131213
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Add --null option (sort #defines here)
* Add process_lines function to util.c that reads newline-terminated
or null-terminated lines (with self-sizing buffers, etc) and iteratively
invokes a provided function. Use this to dramatically simplify:
-T handling for -c, --exclude-from-file, and --include-from-file.
* Add -T handling to -x (via include_from_file)
Hopefully, this will fix the openoffice port and a couple of
others that rely on -T and --null.
Notes:
svn path=/head/; revision=131176
|
|
|
|
|
|
|
|
|
|
| |
This requires some non-trivial surgery to the options parsing.
While here, let people who only have getopt() access long options
through the -W longopt=value convention.
Notes:
svn path=/head/; revision=131156
|
|
|
|
|
|
|
| |
Thanks to: Kris Kennaway for doing some gtar research for me.
Notes:
svn path=/head/; revision=130519
|
|
|
|
|
|
|
|
|
|
| |
gtar, so that makes it easy to implement.
Required by: audio/timidity port
Thanks to: Kris Kennaway
Notes:
svn path=/head/; revision=130517
|
|
|
|
|
|
|
| |
(gtar-compatible) one does require an argument.
Notes:
svn path=/head/; revision=130516
|
|
|
|
| |
Notes:
svn path=/head/; revision=130515
|
|
|
|
| |
Notes:
svn path=/head/; revision=130509
|
|
|
|
|
|
|
|
| |
something else. I would really like a short option for
this, but all of the obvious ones conflict with something else.
Notes:
svn path=/head/; revision=130499
|