387 Commits
Author SHA1 Message Date
Tim Kientzle 2f637b08f8 Define INT32_MAX and INT32_MIN for older compilers 2016-04-24 14:46:36 -07:00
Tim Kientzle 74583ab6fd Tag libarchive 3.1.901a 2016-04-10 11:33:06 -07:00
Eric N. Vander Weele 9f6c6d5d69 Dynamically determine supported compiler flags during configure
Some compilers (e.g., `xlc` on AIX) don't support GCC compiler flags.
This change dynamically tests for supported `COMMON_FLAGS`, which get
appended to `CFLAGS`.

Signed-off-by: Eric N. Vander Weele <ericvw@gmail.com>
2016-03-18 18:51:25 -04:00
Tim Kientzle b310f64721 Set version number to 3.1.900a 2016-01-31 21:47:21 -08:00
Tim Kientzle 884f82a93e Update the version string correctly 2016-01-23 18:26:46 -08:00
Tim Kientzle 138302663f Fix cmake tests for nettle and OpenSSL support 2016-01-11 05:51:28 -08:00
OBATA Akio b699d5c6a9 Ensure to declare UINTMAX_MAX, INTMAX_MAX and INTMAX_MIN 2015-12-27 15:54:20 +09:00
Paul Harris 90cd29a9b8 Fix CMake build - add HAVE_WMEMMOVE to config.h.in
HAVE_WMEMMOVE was added to CMakeLists.txt in b6ba5603,
but not added to config.h.in
2015-06-23 15:04:18 +08:00
Tim Kientzle ebbfb76435 Update iconv.m4 2015-04-12 11:49:09 -07:00
Tim Kientzle 3379411e1f Merge pull request #101 from chenxiaolong/install
Allow library installation to be disabled in CMake
2015-03-04 20:43:49 -08:00
Tim Kientzle 296efb3db1 A couple of stray files that should be cleaned by the clean script. 2015-01-25 22:01:22 -08:00
Xiao-Long Chen 16832582b3 Allow library installation to be disabled in CMake 2015-01-23 15:16:57 -05:00
Michihiro NAKAJIMA 86b9097ea1 Fix a lack of definitions for OpenSSL library on CMake build system. 2014-10-14 21:09:38 +09:00
Michihiro NAKAJIMA d052eea055 Merge pull request #85 from purpleKarrot/master
Fix int32_t in config.h.in
2014-10-13 18:15:05 +09:00
Michihiro NAKAJIMA 178bf9b890 Implement HMAC, PBKDF2 and AES support on Windows using CNG for
Zip encryption and decryption.
2014-10-13 14:41:21 +09:00
Michihiro NAKAJIMA 9769e6f7d5 Implement reading a passphrase from ttys. 2014-09-21 17:45:59 +09:00
Michihiro NAKAJIMA ce08c48484 Fix build failure on FreeBSD 9.2. 2014-09-14 22:27:45 +09:00
Michihiro NAKAJIMA de0a204ecc Add support for traditional PKWARE encryption. 2014-09-08 19:41:34 +09:00
Daniel Pfeifer 747965f597 Fix int32_t in config.h.in 2014-07-10 00:54:44 +02:00
Michihiro NAKAJIMA 07e5668348 Add lz4 detection for CMake configuration. 2014-07-06 13:40:53 +09:00
Mike Kazantsev 5d3f56d24b Add optional bsdcat tool.
bsdcat works like zcat, bzcat, xzcat and similar tools, but auto-detects
source data format, which can also vary between multiple input files.
2014-04-04 16:08:19 +06:00
Tim Kientzle 6070852668 Merge pull request #63 from sergiud/master
Do not redefine _WIN32_WINNT and WINVER
2014-03-16 10:27:20 -07:00
Sergiu Dotenco b4dcf88934 Do not redefine _WIN32_WINNT and WINVER 2014-01-27 15:00:22 +01:00
NiLuJe 12089e4f59 Move .pc generation to a dedicated script (#55). 2013-12-24 18:46:31 +01:00
Tim Kientzle 135025e999 Merge branch 'local_coverage' of github.com:kwk/libarchive into kwk-local_coverage
Conflicts:
	CMakeLists.txt
2013-12-19 20:14:26 -08:00
Konrad Kleine b498ea51e3 Include coverage script if ENABLE_COVERAGE is set
Rather than including the LibarchiveCodeCoverage.cmake file and checking
there if ENABLE_COVERAGE is set, we only include the file if this option
is set in the first place.
2013-12-13 09:42:31 +01:00
Konrad Kleine e37d183465 Moved local code coverage code separate script 2013-12-13 09:18:01 +01:00
Brad King d354cc9ea7 Simplify passing of linker flags to try_compile calls
In commit d7bd02b6 (Modify CHECK_C_SOURCE_* checks to fix builds using
Visual Studio 12, 2013-02-01), commit e3d14342 (Set use of /SAFESEH linker
flag for all LIBARCHIVE_CHECK_C_SOURCE_* checks, 2013-02-01), and commit
58dc42aa (Fix checks for crypto algorithms in Visual Studio builds,
2013-02-01) we introduced and used custom copies of the CMake
CheckCSource(Compiles|Runs) modules in order to pass linker flags to
try_compile calls.  CMake has an issue tracker entry about passing
CMAKE_*_LINKER_FLAGS to try_compile calls:

  http://www.cmake.org/Bug/view.php?id=14066

Discussion there suggests a much simpler workaround: pass the flags
through the LDFLAGS environment variable.  Remove our custom check
macros and use the simpler workaround instead.
2013-07-30 11:48:35 -04:00
Andres Mejia d4766af8f5 Bump version to 3.1.2. 2013-02-08 23:00:28 -05:00
Andres Mejia 9d1508b430 Update libarchive website location. 2013-02-08 22:19:44 -05:00
Andres Mejia 81e2d6dbce Provide better check for when libpcreposix is to be used for regex support.
On Windows, if the static libraries for PCRE are to be used and the PCRE static libs were built
using the mingw toolchain, libgcc must also be linked for resolving the symbol ___chkstk_ms.
2013-02-05 17:51:15 -05:00
Andres Mejia 18532ae712 Fix pcre checks to work on visual studio builds using pcre static libraries built using mingw toolchain. 2013-02-05 17:51:13 -05:00
Andres Mejia a01cfe6ef9 Add check for finding libgcc. 2013-02-05 17:51:11 -05:00
Andres Mejia 5972a554b2 Use cmake module similar to FindLZMA.cmake to find Nettle include dir and library. 2013-02-01 22:10:15 -05:00
Andres Mejia d7bd02b6d8 Modify CHECK_C_SOURCE_* checks to fix builds using Visual Studio 12.
This is needed to fix build failures using Visual Studio 12 and using libraries such as liblzma which
have been built without the "/SAFESEH" linker flag (which is the usual case for libraries built using
the mingw toolchain).
2013-02-01 16:52:19 -05:00
Andres Mejia b89e4f7352 Redo check for pcreposix library.
Other check was broken, it did not set PCRE_STATIC when necessary nor did it add needed PCREPOSIX_LIBRARIES
for Visual Studio build.
2013-01-31 23:00:11 -05:00
Andres Mejia b708276ac5 Support POSIX regular expression support using PCRE in CMake builds.
This change is mainly meant for Windows regex support, where PCRE Windows development is much
more active than development of the regex library found in the GNUWin32 packages. I found that
the latest release of PCRE built right out of the box, unlike the GNUWin32 regex library released
6 years ago which failed to build from source for me using the mingw toolchain.
2013-01-31 18:39:39 -05:00
Andres Mejia 74cdb52c07 Update libarchive to 3.1.1. 2013-01-13 23:43:04 -05:00
Andres Mejia 1f3fda8ca3 Fix formatting from build/bump-version.sh for NEWS file. 2013-01-13 23:29:48 -05:00
Andres Mejia 4dc187739d Add notes on how to make a new release of libarchive for developers. 2013-01-13 23:25:40 -05:00
Andres Mejia 581841b85e Remove developer CFLAGS if a release build is to be made. 2013-01-13 20:36:50 -05:00
Andres Mejia 1d9cd6e6cb Bump version to 3.1.0 due to API/ABI changes. 2013-01-13 19:52:07 -05:00
Andres Mejia beea43a43f Bump libarchive version to 3.0.5. 2013-01-13 18:02:44 -05:00
Andres Mejia badac2f392 Merge remote-tracking branch 'libarchive/release' into libarchive-master 2013-01-13 17:49:25 -05:00
Michihiro NAKAJIMA 3c8570c2e2 Do not depend on sys/decmpfs.h since Snow Leopard does not have it. 2012-10-27 10:28:33 +09:00
Michihiro NAKAJIMA fb67a2954f Add experimental support for HFS+ Compression.
- bsdtar provides --hfsCompression option.
2012-10-26 09:54:40 +09:00
Michihiro NAKAJIMA 6b29a1cc6c Use liblzo2 for the lzop reader filter if available. 2012-10-19 13:20:38 +09:00
Michihiro NAKAJIMA 8c1c0a7a4c Fix a bug that Clang Static Analyzer claimed it is potential insecure
implementation-specific behavior in call 'vfork' and recommended the
use of posix_spawn instead of vfork.
2012-10-03 07:46:57 +09:00
Michihiro NAKAJIMA 60141df1e8 Apply *_CLOEXEC flags to system calls which can be used with
to avoid file descriptor leaks to the child process.
- Pass O_CLOEXEC to open(2) system call if it is defined.
- Use fcntl(2) and F_DUPFD_CLOEXEC instead of dup(2)
  if F_DUPFD_CLOEXEC is defined.
- Set FD_CLOEXEC with fcntl(2) if a file descriptor does not have.
2012-10-02 15:59:27 +09:00
Tim Kientzle 3a9e146caf Libarchive 3.0.4. 2012-03-27 20:27:07 -07:00