| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
MFC after: 2 weeks
Sponsored by: EMC / Isilon Storage Division
Notes:
svn path=/head/; revision=289195
|
| |
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=264400
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
Notes:
svn path=/head/; revision=248616
|
| |
|
|
| |
Notes:
svn path=/head/; revision=238856
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=232153
|
| |
|
|
|
|
|
|
|
| |
Make "make test" fully operational.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=228797
|
| |
|
|
|
|
|
|
|
|
| |
Use common code from lib/libarchive/libarchive_fe
Approved by: kientzle
MFC after: 2 weeks
Notes:
svn path=/head/; revision=224153
|
| |
|
|
|
|
|
|
|
|
|
| |
Adjust dependencies for programs using libarchive
Add xz and linkage against liblzma to rescue system
Approved by: kientzle, delphij (mentor)
MFC after: 2 weeks
Notes:
svn path=/head/; revision=207849
|
| |
|
|
|
|
|
|
| |
Pointed out by: bf1783 at gmail
Approved by: np (cxgb), kientzle (tar, etc.), philip (mentor)
Notes:
svn path=/head/; revision=204111
|
| |
|
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
Notes:
svn path=/head/; revision=201386
|
| |
|
|
| |
Notes:
svn path=/head/; revision=191187
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189524
|
| |
|
|
|
|
|
| |
Windows support.
Notes:
svn path=/head/; revision=189523
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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"
Notes:
svn path=/head/; revision=189521
|
| |
|
|
|
|
|
|
| |
Many changes for Windows compatibility. bsdtar_test now runs successfully
on both POSIX platforms and Windows.
Notes:
svn path=/head/; revision=189520
|
| |
|
|
|
|
|
|
| |
style and portability tweaks to the test harness. Most significantly,
don't use getopt().
Notes:
svn path=/head/; revision=189519
|
| |
|
|
|
|
|
| |
determine how to read config.h.
Notes:
svn path=/head/; revision=189515
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189513
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189512
|
| |
|
|
|
|
|
|
| |
patterns tested here from 200 to 170, which seems to be the
most that Cygwin can handle.
Notes:
svn path=/head/; revision=189511
|
| |
|
|
| |
Notes:
svn path=/head/; revision=189510
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
subtle why it comes out the way it does. Once you realize that it
depends on the archiving order, it's also important to realize that
filesystem differences aren't going to break this case. (Some of the
other tests have had to be extensively rewritten to make them
independent of the order in which a particular filesystem returns file
entries.)
(This commit also serves to note the PR number that I accidentally
omitted from the previous commit.)
PR: bin/128562
MFC after: 30 days
Notes:
svn path=/head/; revision=184808
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
good job writing this test; it exercises a lot of subtle cases. The
trickiest one is that a hardlink to something that didn't get
extracted should not itself be extracted. In some sense, this is not
the desired behavior (we'd rather restore the file), but it's the best
you can do in a single-pass restore of a tar archive.
The test here should be extended to exercise cpio and newc formats as
well, since their hardlink models are different, which will lead to
different handling of some of these edge cases.
Submitted by: Jaakko Heinonen
MFC after: 30 days
Notes:
svn path=/head/; revision=184807
|
| |
|
|
|
|
|
|
|
|
| |
Once we know which one is smaller, then we cast to the smaller size.
Thanks to Xin Li (delphij@)
Pointy hat: /me
Notes:
svn path=/head/; revision=184669
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
from Jaakko's original patch: I have misgivings about the portability
of the 'z' printf modifier so opted to cast the arguments to (int)
instead.
PR: bin/128561
Submitted by: Jaakko Heinonen
MFC after: 30 days
Notes:
svn path=/head/; revision=184668
|
| |
|
|
|
|
|
|
|
|
| |
In particular:
* tar -x -P follows symlinks to existing dirs, but not without -P
* symlinks to files are always replaced
* broken symlinks are always replaced
Notes:
svn path=/head/; revision=183009
|
| |
|
|
|
|
|
| |
extraction.
Notes:
svn path=/head/; revision=181985
|
| |
|
|
| |
Notes:
svn path=/head/; revision=181981
|
| |
|
|
|
|
|
| |
Fix the error uncovered by this test.
Notes:
svn path=/head/; revision=181979
|
| |
|
|
|
|
|
|
| |
There's no need to go through the hassle of having a checked-in uuencoded
reference file for comparison.
Notes:
svn path=/head/; revision=181971
|
| |
|
|
| |
Notes:
svn path=/head/; revision=181959
|
| |
|
|
|
|
|
|
|
|
| |
I would like to provide a way to preview the effects of pathname edits,
but pattern selection has to happen against the unedited path, so it
seems that we have to show people the unedited path to help in
designing selection patterns.
Notes:
svn path=/head/; revision=181958
|
| |
|
|
|
|
|
|
|
| |
reference files to match the corresponding source.
MFC after: 3 days
Notes:
svn path=/head/; revision=181904
|
| |
|
|
| |
Notes:
svn path=/head/; revision=181750
|
| |
|
|
| |
Notes:
svn path=/head/; revision=179795
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to a number of bug fixes and minor changes:
* --numeric-owner (ignore user/group names on create and extract)
* -S (sparsify files on extraction)
* -s (regex filename substitutions)
* Use new libarchive 'linkify' to get correct hardlink handling for
both old and new cpio formats
* Rework 'copy' test to be insensitive to readdir() filename ordering
Most of the credit for this work goes to Joerg Sonnenberger, who
has been duplicating features from NetBSD's 'pax' program.
Notes:
svn path=/head/; revision=179322
|
| |
|
|
|
|
|
| |
to run and maintain than the old scripts that used to be here.
Notes:
svn path=/head/; revision=178715
|
| |
|
|
|
|
|
| |
better is almost ready to commit.
Notes:
svn path=/head/; revision=175052
|
| |
|
|
|
|
|
| |
dir names, so they match the names generated by 'find'.
Notes:
svn path=/head/; revision=168829
|
| |
|
|
|
|
|
| |
'bsdtar -cf- @-' doesn't alter it.
Notes:
svn path=/head/; revision=168343
|
| |
|
|
|
|
|
| |
the archive_read_data_skip code.
Notes:
svn path=/head/; revision=168176
|
| |
|
|
|
|
|
|
|
|
| |
better job searching for the bsdtar binary to test and the gtar binary
to use for inter-operability testing. It should now find the built
(but not installed) binary if there is one, then search for an
installed binary in a number of standard locations.
Notes:
svn path=/head/; revision=167458
|
|
|
* 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
|