summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
Commit message (Collapse)AuthorAgeFilesLines
...
* CMake: fix more CMP0075 errorsRolf Eike Beer2019-05-051-1/+6
| | | | Building with CMake 3.12 or newer would warn during configuration otherwise.
* Merge pull request #1101 from jcfr/fix-cmake-warning-set-cmp0074Martin Matuška2019-03-101-0/+3
|\ | | | | cmake: Set CMP0074 to NEW
| * cmake: Set CMP0074 to NEWJean-Christophe Fillion-Robin2018-12-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is to address the following configuration warning reported when configuring LibArchive passing ZLIB_ROOT option: CMake Warning (dev) at CMakeLists.txt:393 (FIND_PACKAGE): Policy CMP0074 is not set: find_package uses <PackageName>_ROOT variables. Run "cmake --help-policy CMP0074" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMake variable ZLIB_ROOT is set to: /path/to/zlib-install For compatibility, CMake is ignoring the variable. This warning is for project developers. Use -Wno-dev to suppress it. Co-authored-by: Matt McCormick <matt.mccormick@kitware.com>
* | Merge pull request #1033 from mellery451/werror-optionalMartin Matuška2019-03-101-5/+18
|\ \ | | | | | | CMake: make warning-as-error optional, but retain current defaults
| * | Make warning-as-error optional but retain current defaultsMike Ellery2018-06-291-5/+18
| | |
* | | Fix find lib lzmaIchiro2019-02-061-1/+4
| | |
* | | cmake: Add ENABLE_ZSTD optionMichał Górny2019-01-221-8/+13
| |/ |/|
* | Merge pull request #956 from korli/cmakexattrMartin Matuška2018-11-261-0/+5
|\ \ | | | | | | CMake: check libgnu for xattr functions on Haiku
| * | CMake: check libgnu for xattr functions on HaikuJerome Duval2017-09-301-0/+5
| | |
* | | reset CMAKE_REQUIRED_LIBRARIES before checking system headersRolf Eike Beer2018-11-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes this CMake warning with CMake 3.12 and newer: CMake Warning (dev) at /usr/share/cmake/Modules/CheckIncludeFiles.cmake:110 (message): Policy CMP0075 is not set: Include file check macros honor CMAKE_REQUIRED_LIBRARIES. Run "cmake --help-policy CMP0075" for policy details. Use the cmake_policy command to set the policy and suppress this warning. CMAKE_REQUIRED_LIBRARIES is set to: /usr/lib/liblzma.so For compatibility with CMake 3.11 and below this check is ignoring it. Call Stack (most recent call first): CMakeLists.txt:602 (CHECK_INCLUDE_FILES) CMakeLists.txt:609 (LA_CHECK_INCLUDE_FILE)
* | | archive_read_support_format_rar5: enable blake2 support via libb2Martin Matuska2018-10-061-0/+28
| | |
* | | Set up 3.3.4devTim Kientzle2018-09-031-1/+1
| | |
* | | Check for and include sys/sysmacros.h for GNU libc based systems.Tim Kientzle2018-09-011-0/+1
| |/ |/|
* | cmake: Fix missing override for LZO2_FOUNDOleg Shparber2018-01-261-1/+1
| |
* | cmake: Add ENABLE_LZ4 optionOleg Shparber2018-01-051-8/+13
|/
* Merge pull request #905 from iburinoc/zstdTim Kientzle2017-08-121-0/+25
|\ | | | | Add support for Zstandard read and write filters
| * Don't try to use libzstd versions without streaming APISean Purcell2017-05-151-1/+3
| |
| * Add Zstandard read supportSean Purcell2017-05-151-0/+23
| |
* | Libarchive 3.3.2v3.3.2Tim Kientzle2017-07-091-1/+1
|/
* dirfd can be implemented as macro, so use a better test case.Joerg Sonnenberger2017-04-071-1/+4
|
* Improve extended attribute supportMartin Matuska2017-03-231-48/+96
| | | | | | | | | | | | | | | | | | Mac OS X changes: - add support for extended file attributes via sys/xattr.h - when extracting an archive entry that has mac_metadata and mac_metadata is requested to be extracted, extended attributes are restored only from mac_metadata. - by default, extended attributes are stored both in mac_metadata and SCHILY.xattr/LIBARCHIVE.xattr. This is subject to review and change. To match behavior on other platforms, store extended attributes on FreeBSD with extattr_set_link() if no fd is provided. Detection of extended attributes support in configure stage has been rewritten. Added xattr platform test to libarchive and xattrs option test to bsdtar.
* Add NFSv4 ACL support for Linux via librichaclMartin Matuska2017-03-161-15/+54
| | | | | | | | | | | | Richacls are interpreted as NFSv4 ACLs and stored in archive_acl (Richacl flags and masks are not stored). Analog to mac_metadata, NFSv4 ACLs do not get extracted when the extraction of extended attributes is enabled and the "trusted.richacl" extended attribute is present. RichACL masks and are calculated from file mode on extraction. mac_metadata acl check has been moved in the code to be together with the richacl check.
* Move platform-specific ACL code to individual source files.Martin Matuska2017-03-141-63/+154
| | | | | | | | | | This makes the code much more readable and eases the addition of new ACL implementatons in the future. Additional changes: - most of ACL detection is now done at configure stage - configuration now reports what ACL was detected - NFSv4 ACL tests now test INHERIT_ONLY and NO_PROPAGATE_INHERIT
* Merge branch 'master' of https://github.com/libarchive/libarchive into ↵J. Peter Mugaas2017-03-051-23/+69
|\ | | | | | | cng_enable
| * New tar test: test_option_aclsMartin Matuska2017-03-021-0/+1
| | | | | | | | | | Add sunacl_get() and setTestAcl() to common test code Test for membership.h on Mac OS X and make it a requirement for ACLs
| * Reorganize ACL defines and fix detection of ACL_SYNCHRONIZE on Mac OSMartin Matuska2017-03-021-6/+16
| | | | | | | | Adjust MacOS part of test_acl_platform_nfs4
| * Change Solaris ACL support to use acl() and facl()Martin Matuska2017-03-021-15/+10
| | | | | | | | This removes dependency on libsec and enables compilation on Solaris 10.
| * After the 3.3.1 release, bump the version to 3.3.2dev and go back to debug ↵Tim Kientzle2017-02-251-1/+1
| | | | | | | | building.
| * Libarchive 3.3.1v3.3.1Tim Kientzle2017-02-251-1/+1
| |
| * Merge pull request #875 from tpgxyz/masterMartin Matuska2017-02-241-0/+2
| |\ | | | | | | | | | fix liblzma.h detect
| | * fix liblzma.h detecttpg2017-02-231-0/+2
| | |
| * | Fix broken Linux fflags code since kernel 3.7 (Dec 2012)Martin Matuska2017-02-241-0/+5
| |/
| * Revert "CMake: fix HAVE_LZMA_STREAM_ENCODER_MT test"Martin Matuska2017-02-221-2/+0
| | | | | | | | This reverts commit 5f70aa2252b5cee16127697f5f690648bfccfeb2.
| * CMake: fix HAVE_LZMA_STREAM_ENCODER_MT testtpg2017-02-221-0/+2
| | | | | | | | Fixes #816
| * testsuite: allow 'dev' in versionPavel Raiskup2017-02-211-4/+4
| |
| * Disable automatic detection of liblzo2Martin Matuska2017-01-301-16/+22
| | | | | | | | | | | | | | | | Replace liblzo with lzop in Travis CI builds Fix lzop tests Distribution of libarchive binaries linked against LZO violates LZO GPL license. liblzo2 can still be linked with --with-lzo2
| * Add NFSv4 ACL support for Mac OS XMartin Matuska2017-01-291-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Mac OS X supports user and group NFSv4-style ACLs only (extended ACLs). File-mode ACLs (owner@, group@ and everyone@) are not supported. Behavior on Mac OS X: - libarchive does not store GUID of Mac OS X extended ACLs. Only uid or gid (and the corresponding user or group name) are stored. - When extracting an archive entry that has mac_metadata, NFSv4 ACLs are not written to disk (mac_metadata already contains ACLs) - When writing ACLs to disk from an archive entry with NFSv4 ACLs owner@, group@ and everyone@ ACLs are ignored. User and group ids are converted to a GUID (this may lead to a fabricated GUID if the user or group ID is not present on the system) - When reading ACL from disk and there is at least one user or group extended ACL entry, owner@, group@ and everyone@ entries mirroring the file mode are added to the end of the entry's ACL.
| * Fix typo in commentKyrre Sjobak2017-01-241-1/+1
| |
| * CMakelists.txt: disable new acl variables if acl is not requestedMartin Matuska2017-01-241-1/+3
| |
| * Use HAVE_ACL_TYPE_NFS4 instead of checking against system constantMartin Matuska2017-01-171-0/+1
| | | | | | | | | | Verify ACL types in test_acl_platform_nfs4.c Add missing inheritance flag to test_acl_platform_nfs4.c
| * Add POSIX.1e and NFSv4 ACL support for Solaris and derivatesMartin Matuska2017-01-101-0/+20
| |
* | Add bcrypt to libaries if BCrypt.h exists to enable Crypto-Next-Generation ↵J. Peter Mugaas2016-12-191-0/+3
|/ | | | (CNG).
* Remove support for liblzmadec and use FindLibLZMAMartin Matuska2016-10-261-14/+8
| | | | Closes #806
* Merge branch 'fix_acls_inside_subdirs' of ↵Tim Kientzle2016-09-041-0/+1
|\ | | | | | | https://github.com/mmatuska/libarchive into mmatuska-fix_acls_inside_subdirs
| * Multiple bugfixes for setup_acls()Martin Matuska2016-09-041-0/+1
| |
* | Fix FreeBSD build: prefer struct xvfsconf to struct vfsconfTim Kientzle2016-09-041-0/+4
|/
* Merge LZMA MP detection from configure.Joerg Sonnenberger2016-07-021-0/+4
|
* Merge struct vfsconf detection from configure for DragonFly.Joerg Sonnenberger2016-07-021-0/+4
|
* Use CMake module "CheckStructHasMember" and remove custom "CheckStructMember"Jean-Christophe Fillion-Robin2016-06-221-15/+15
|
* Fix spelling typos in commentsBrad King2016-05-021-1/+1
| | | | | | The Debian package checker tool (lintian) detected a few typos. Reported-by: Felix Geyer <fgeyer@debian.org>