| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
gzip-compressed tar archives.
Thanks to: Mike Hunter
|
|
|
|
|
|
|
|
| |
just archive it as a symlink, even if -h was specified.
Thanks to: Jin Guojun
PR: bin/95175
MFC After: 1 week
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
the FreeBSD makefile. This is a step towards cleaning
out the non-FreeBSD bits from the FreeBSD source tree.
|
| |
|
|
|
|
|
|
|
|
| |
(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
|
|
|
|
| |
argument type).
|
|
|
|
|
|
|
|
|
|
| |
chdir(), be sure to undo the effects of the chdir before continuing.
Without this, after hitting a directory with mode 0111 (for example),
tar will get lost, and won't add any yet unvisted files to your
archive. (Or possibly add the wrong files, I suppose...)
Reviewed By: kientzle@
|
|
|
|
| |
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
option is undocumented because it does nothing. It does nothing
because bsdtar never needs it. It is accepted because gnutar does
sometimes need it and many scripts use it.
Reported by: Pawel Jakub Dawidek
|
|
|
|
| |
According to Dan Nelson, this fixes the build on AIX 5.2.
|
|
|
|
|
|
|
|
| |
when list the archive contents, then try to extract selected files
(file selection always works against unedited pathnames). With this change,
-t always shows the pathnames as they appear in the archive.
Thanks to: Robert Watson
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This causes attempts to update a non-existent file to report
an actual error instead of triggering an assertion failure.
PR: bin/87911
Thanks to: roemer.ulrich
MFC after: 3 days
Note: This does not entirely fix bin/87911. I need to decide on
the "correct" response when someone tries to update a non-existent
archive file.
|
|
|
|
|
|
|
|
| |
in order to properly set HAVE_NL_LANGINFO. <whew!>
Thanks to: Andrey Chernov
PR: bin/88013
MFC after: 3 days
|
|
|
|
|
|
|
|
| |
called "-F" for a very long time.)
PR: bin/86915
Thanks to: Gary W. Swearingen
MFC after: 3 days
|
|
|
|
|
|
| |
pathname edits before comparing pathnames on disk to those in the archive.
Thanks to: Gareth Bailey, Lowell Gilbert
|
|
|
|
| |
Thanks to: Diego "Flameeyes" Petten?
|
|
|
|
|
| |
Thanks to: Divacky Roman
PR: bin/84993
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Approved by: re (blanket manpages)
|
| |
|
|
|
|
| |
directory heirarchies.
|
|
|
|
|
|
| |
ports.
Thanks to: Dag-Erling Sm?rgrav (des@)
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
| |
rather than 'XXXX'.
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Thanks to: Juergen Lock
|
|
|
|
| |
Thanks to: Juergen Lock
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
| |
"tar" is now always a synonym for "bsdtar".
People who need gtar can access it as "gtar."
Approved by: No objections on arch@
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Thanks to: Sangwoo Shim
|
|
|
|
| |
Clarify that -T can be used in 'x' mode as well as 'c' mode.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
compile on many non-FreeBSD systems, including
Linux, Solaris, Darwin, etc.
Thanks to: many people who pointed out the same portability problem
|
| |
|