summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* MFC r315636,315876,316095:mm2017-03-311-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | Sync libarchive with vendor Vendor changes/bugfixes (FreeBSD-related): r315636: PR 867 (bsdcpio): show numeric uid/gid when names are not found PR 870 (seekable zip): accept files with valid ZIP64 EOCD headers PR 880 (pax): Fix handling of "size" pax header keyword PR 887 (crypto): Discard 3072 bytes instead of 1024 of first keystream OSS-Fuzz issue 806 (mtree): rework mtree_atol10 integer parser Break ACL read/write code into platform-specific source files r315876: Store extended attributes with extattr_set_link() if no fd is provided Add extended attribute tests to libarchive and bsdtar Fix tar's test_option_acls Support the UF_HIDDEN file flag r316095: Constify variables in several places Unify platform ACL code in a single source file Fix unused variable if compiling on FreeBSD without NFSv4 ACL support
* MFC r312452-r312512:ngie2017-02-101-1/+1
| | | | | | | | | | r312452-r312512: - Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones This simplifies pathing in make/displayed output - Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
* MFV r299425:mm2016-05-121-1/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update libarchive to 3.2.0 New features: - new bsdcat command-line utility - LZ4 compression (in src only via external utility from ports) - Warc format support - 'Raw' format writer - Zip: Support archives >4GB, entries >4GB - Zip: Support encrypting and decrypting entries - Zip: Support experimental streaming extension - Identify encrypted entries in several formats - New --clear-nochange-flags option to bsdtar tries to remove noschg and similar flags before deleting files - New --ignore-zeros option to bsdtar to handle concatenated tar archives - Use multi-threaded LZMA decompression if liblzma supports it - Expose version info for libraries used by libarchive Patched files (fixed compiler warnings): contrib/libarchive/cat/bsdcat.c (vendor PR #702) contrib/libarchive/cat/bsdcat.h (vendor PR #702) contrib/libarchive/libarchive/archive_read_support_format_mtree.c (PR #701) contrib/libarchive/libarchive_fe/err.c (vendor PR #703) MFC after: 1 month Relnotes: yes
* First pass through library packaging.gjb2016-02-041-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* Don't override LIB*DIR variables from src.libnames.mk.bdrewery2015-12-011-2/+2
| | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* Forced commit to note that I was playing around with libarchivengie2015-10-061-1/+1
| | | | test integration that accidentally got committed with r288955
* MFhead @ r288954ngie2015-10-061-6/+3
|
* Drop libarchive.pcbapt2015-07-191-6/+0
| | | | | | We want to ensure we always use libarchive from ports in the ports tree. It simplifies ports maintainance and anyway libarchive.pc was not reflecting the different way libarchive can be built in base
* Remove the const qualifier from iconv(3) to comply with POSIX:tijl2015-04-151-1/+1
| | | | | | | | | | http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html Adjust all code that calls iconv. PR: 199099 Exp-run by: antoine MFC after: 2 weeks
* Convert libraries to use LIBADDbapt2014-11-251-16/+4
| | | | While here reduce a bit overlinking
* Add pkg-config file for libarchivemm2014-11-021-0/+6
| | | | | Requested by: bapt MFC after: 1 week
* Remove ia64.marcel2014-07-071-1/+1
| | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-061-1/+1
| | | | from the latter.
* Temporarily disable iconv for non-shared library builds. The dynamicdelphij2013-09-261-1/+3
| | | | | | loading of conversation table is not yet compatible with static builds. Approved by: re (gjb)
* MFV r248590,248594:mm2013-03-221-1/+16
| | | | | | | | | | | 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)
* Remove several MLINKS that were listed twice.brooks2013-01-231-7/+0
|
* Backport NFSv4 ACL fix from libarchive master branch.mm2012-07-301-0/+1
| | | | | | | Source: https://github.com/libarchive/libarchive/commit/f67370d5 Obtained from: libarchive (master branch)
* Update libarchive to 3.0.4mm2012-07-281-0/+4
|
* Silence alignment warnings from clang in libarchive's ppmd code (whichdim2012-03-231-0/+1
| | | | | is actually third-party code). Clang even warns about alignment issues on x86, and the warnings are not needed there.
* Update libarchive to 3.0.3mm2012-02-251-148/+265
| | | | | | | | | | | | | | 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-221-3/+10
| | | | | | Make "make test" fully operational. MFC after: 2 weeks
* - Update libarchive to 2.8.4mm2011-07-171-0/+5
| | | | | | | | - Add support for extracting xar and rpm archives - Add libarchive_fe subdir (common code for tar and cpio) Approved by: kientzle MFC after: 2 weeks
* libarchive is mixing libmd and libcrypto -- correct to use one or the other.obrien2011-05-051-2/+5
| | | | | | | | | | [mixing the two can be quite bad -- they define the same context structures, but with differing structure members (and sizes)] Update the hash function support comments, and update config_freebsd.h to match. Approved by: kientzle
* Fix build.delphij2010-05-171-1/+1
|
* Reorganize slightly in preparation for making lzma and bz2 support conditional.kientzle2010-05-161-3/+10
|
* Enable liblzma support in libarchivemm2010-05-101-6/+3
| | | | | | | | Adjust dependencies for programs using libarchive Add xz and linkage against liblzma to rescue system Approved by: kientzle, delphij (mentor) MFC after: 2 weeks
* Build lib/ with WARNS=6 by default.ed2010-01-021-2/+0
| | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway.
* UU decoder. Now that libarchive can recursively taste input streams,kientzle2009-12-301-0/+1
| | | | you can do things like this: tar xvf archive.tar.gz.uu
* Zip write support for libarchive.kientzle2009-12-291-0/+1
| | | | | The initial implementation was developed by Anselm Strauss as part of Google Summer of Code 2008, then completed by Joerg Sonnenberger.
* New archive_file_count() utility.kientzle2009-12-281-0/+1
|
* Various portability fixes, plus:kientzle2009-12-281-0/+1
| | | | | * New "ino64" field. * New UTF8 interfaces for hardlink/symlink updates
* Bump the version of all non-symbol-versioned shared libraries inkensmith2009-07-191-1/+1
| | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson)
* Include libmd and libcrypto in DPADDkientzle2009-05-301-3/+4
|
* Link libarchive against -lmd and -lcrypto.kientzle2009-05-301-1/+2
| | | | Thanks to Ed Schouten for the clue.
* Document the liblzma support.kientzle2009-04-271-0/+3
| | | | | | | | Unfortunately, liblzma itself is GPLed, so unlikely to become part of the FreeBSD base system. However, the core lzma compression/decompression code is public domain, so it should be feasible for someone to create a compatible library without the GPL strings.
* Symlink some additional man page entries.kientzle2009-04-271-0/+7
|
* Merge r990,r1044 from libarchive.googlecode.com:kientzle2009-04-271-0/+1
| | | | | | | | | read_support_format_raw() allows people to exploit libarchive's automatic decompression support by simply stubbing out the archive format handler. The raw handler is not enabled by support_format_all(), of course. It bids 1 on any non-empty input and always returns a single entry named "data" with no properties set.
* Rely on OpenSSL bits only if we're building a system with OpenSSL.kientzle2009-04-181-0/+6
| | | | | Also, adjust the MD5 calls to rely on libmd instead of libcrypto, so we keep MD5 support even in the !OpenSSL case.
* Merge new xz/lzma support from libarchive.googlecode.com.kientzle2009-04-171-0/+2
| | | | | | | | Since FreeBSD doesn't have liblzma in the base system, the read side will always fall back to the unxz/unlzma commands for now. (Which will in turn fail if those commands are not currently installed.) The write side does not yet have a fallback, so that will just fail.
* Merge from libarchive.googlecode.com r756,r761:kientzle2009-04-121-0/+11
| | | | Document the new archive_read_disk API.
* Merge r399,401,402,405,415,430,440,452,453,458,506,533,536,538,544,590kientzle2009-03-061-0/+3
| | | | | | | | | | | | | | | from libarchive.googlecode.com: Add a new "archive_read_disk" API that provides the important service of reading metadata from the disk. In particular, this will make it possible to remove all knowledge of extended attributes, ACLs, etc, from clients such as bsdtar and bsdcpio. Closely related, this API also provides pluggable uid->uname and gid->gname lookup and caching services similar to the uname->uid and gname->gid services provided by archive_write_disk. Remember this is also required for correct ACL management. Documentation is still pending...
* New mtree writer, thanks to Joerg Sonnenberger.kientzle2008-08-311-0/+1
| | | | Obtained from: Joerg Sonnenberger
* Remove the stillborn attempt to cleanup tests as well as the build dir.kientzle2008-08-241-4/+0
|
* Fail copying path/.. only if SECURE_NODOTDOT was specified.kientzle2008-08-241-0/+4
| | | | | | | Since we already warn for any '..' elements in that case, the extra "lastdotdot" tracking turns out to be unnecessary. PR: bin/124924
* archive.h is no longer constructed from archive.h.in,kientzle2008-06-151-9/+1
| | | | | so we can rename it and drop some no-longer-necessary build magic from the Makefile.
* MFp4: libarchive 2.5.4b. (Still 'b' until I get a bit morekientzle2008-05-261-22/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | feedback, but the 2.5 branch is shaping up nicely.) In addition to many small bug fixes and code improvements: * Another iteration of versioning; I think I've got it right now. * Portability: A lot of progress on Windows support (though I'm not committing all of the Windows support files to FreeBSD CVS) * Explicit tracking of MBS, WCS, and UTF-8 versions of strings in archive_entry; the archive_entry routines now correctly return NULL only when something is unset, setting NULL properly clears string values. Most charset conversions have been pushed down to archive_string. * Better handling of charset conversion failure when writing or reading UTF-8 headers in pax archives * archive_entry_linkify() provides multiple strategies for hardlink matching to suit different format expectations * More accurate bzip2 format detection * Joerg Sonnenberger's extensive improvements to mtree support * Rough support for self-extracting ZIP archives. Not an ideal approach, but it works for the archives I've tried. * New "sparsify" option in archive_write_disk converts blocks of nulls into seeks. * Better default behavior for the test harness; it now reports all failures by default instead of coredumping at the first one.
* Add MLINK for archive_write_close.kaiw2008-03-211-0/+1
| | | | Approved by: jkoshy(mentor), kientzle
* New public functions archive_entry_copy_link() and archive_entry_copy_link_w()kientzle2008-03-141-0/+2
| | | | | override the currently set link value, whether that's a hardlink or a symlink. Plus documentation update and tests.
* Support for writing 'compress' format, thanks to Joerg Sonnenberger.kientzle2008-03-141-0/+1
|
* Track version # from the portable release.kientzle2008-01-231-1/+1
|
OpenPOWER on IntegriCloud