Nathan Moinvaziri
d5656f7548
Remove cmake CMP0074 old policy.
2021-12-28 17:13:49 -08:00
Nathan Moinvaziri
586cd22384
Removed ubuntu 16 workflow actions.
2021-12-28 17:10:39 -08:00
Nathan Moinvaziri
95987e98b4
Version 3.0.4.
3.0.4
2021-11-29 12:58:24 -05:00
Nathan Moinvaziri
2631b7b705
Fixed not writing ZIP64 central directory when number of entries is UINT16_MAX. #596
2021-11-12 17:53:23 -08:00
Nathan Moinvaziri
99d39015e2
Version 3.0.3.
3.0.3
2021-09-06 12:44:00 -07:00
Andreas Schnebinger
1d7bcb4ecb
Use only major project version as soversion
2021-09-01 16:55:13 -07:00
Björn Esser
6390942e90
minizip.pc: Ensure variables point to an absolute path.
...
With commit 503bfd5c179b the CMake _IMPORT_PREFIX has been
changed to relative paths. This breaks the paths reflected
by the auto-generated pkgconfig file, as pkgconfig expects
those paths to be absolute.
Signed-off-by: Björn Esser <besser82@fedoraproject.org>
2021-09-01 08:42:38 -07:00
Matthew Krupcale
313b3d0380
pc: use absolute lib directory
...
INSTALL_LIB_DIR is set to CMAKE_INSTALL_LIB_DIR, and while CMAKE_INSTALL_PREFIX
is prepended during install [1], this is not the case for the pkg-config
file. Thus, use the full absolute path CMAKE_INSTALL_FULL_LIBDIR for generating
the pkg-config file lib directory variables.
[1] https://gitlab.kitware.com/cmake/cmake/-/issues/20250
2021-08-31 13:08:44 -07:00
lawadr
a59538c168
Replace use of GNU C definitions with standard definitions to allow compilation with non-GNU C conforming compilers
2021-08-31 10:15:46 -07:00
Nigel Tao
d42634cb73
Make mz_crypt_openssl.c work with BoringSSL
...
BoringSSL does not provide cms.h but this is an optional dependency for
minizip, conditional on defined(MZ_ZIP_SIGNING).
For the functions called by mz_crypt_init:
- The OpenSSL_add_all_algorithms function is declared in evp.h.
OpenSSL's hmac.h includes evp.h but BoringSSL's hmac.h does not.
- The ERR_* functions are declared in err.h in both.
- The ENGINE_* functions are declared in engine.h in OpenSSL but are in
crypto.h for BoringSSL.
2021-07-10 09:46:08 -07:00
Sergey Markelov
3fae108930
Fix not recognized AppleClang for Xcode when building fuzzer executables
2021-06-28 11:13:58 -07:00
Issam Maghni
b05d6676fe
Use newer tests flag
2021-05-26 10:45:14 -07:00
Sergey Markelov
e67f033a1f
Fix memory leak if mz_zip_writer_add_path fails.
2021-05-21 11:08:02 -07:00
vaedermakar
6ac264c394
Fixed typo on line 89.
2021-05-14 09:47:02 -07:00
Nathan Moinvaziri
bc93e4077b
Version 3.0.2.
3.0.2
2021-05-09 16:46:32 -07:00
Prateek Chokse
503bfd5c17
made cmake _IMPORT_PREFIX relative
2021-05-08 14:22:51 -07:00
Nathan Moinvaziri
8831548b9b
Remove fill_win32_filefunc64W so nobody tries to pass in widechar to zipOpen or unzOpen.
2021-05-08 12:28:11 -07:00
Nathan Moinvaziri
99dbed46c0
Fixed compiler warning in open_file_func assignment.
2021-05-08 12:21:42 -07:00
Nathan Moinvaziri
8622644d05
Fixed formatting.
2021-05-08 12:20:28 -07:00
Nathan Moinvaziri
8847f22979
Add support for ioapi in compatibility layer. #566
2021-05-08 12:15:00 -07:00
Uilian Ries
9fb1dc29fe
#475 Replace _WINDOWS by _WIN32
...
Signed-off-by: Uilian Ries <uilianries@gmail.com>
2021-04-13 15:56:13 -07:00
Nathan Moinvaziri
2435f5db92
Disable hash extrafield if crypto library is not enabled by encryption or signing features. #560
2021-04-11 11:43:20 -07:00
Jann Köker
e8551f57be
Fix inclusion of fetched bzip2 sources
...
Now it works even if FETCHCONTENT_SOURCE_DIR_BZIP2 was set
to use a previously populated directory (e.g. submodule of parent project)
2021-04-05 17:29:46 -07:00
Nathan Moinvaziri
1593060ecf
Version 3.0.1.
3.0.1
2021-03-04 17:35:25 -08:00
Prateek Chokse
1b29f54967
fix zstd cmake linking(2)
2021-02-26 16:38:42 -08:00
Prateek Chokse
fd6809567c
added changes to reflect suffix in config file
2021-02-24 13:59:41 -08:00
Prateek Chokse
1352bb54a0
fix zstd cmake linking
2021-02-15 19:41:03 -08:00
Prateek Chokse
45d8136a40
cmake minizip version changed
2021-02-15 19:41:03 -08:00
Nathan Moinvaziri
b57366d7f6
Fixed formatting of comment.
2021-02-07 19:47:00 -08:00
Prateek Chokse
420d9c365c
added alias target for consistence btw find_packaage and fetchconten/Externalproject
2021-02-07 19:47:00 -08:00
Prateek Chokse
bd787ca6d2
fix: cmake find_package not working if lib is install in custom location
2021-02-07 19:47:00 -08:00
Nathan Moinvaziri
e23732e94a
Fixed signed/unsigned comparison warning in MSVC.
2021-01-29 18:36:28 -08:00
Nathan Moinvaziri
2bc5f17521
Fixed ASAN integer-overflow if cd_offset + cd_size > INT64_MAX.
...
https://oss-fuzz.com/testcase-detail/6499546186252288
2021-01-29 18:27:37 -08:00
Nathan Moinvaziri
6f17da582d
Version 3.0.0.
3.0.0
2021-01-23 16:57:55 -08:00
Nathan Moinvaziri
67ffb1fd68
Change release package name to be minizip-ng.
2021-01-23 16:42:00 -08:00
Nathan Moinvaziri
0298319f09
Fixed out of source CI builds after name change.
2021-01-23 16:40:39 -08:00
Nathan Moinvaziri
db95894646
Updated name of project to minizip-ng.
2021-01-23 16:19:05 -08:00
Nathan Moinvaziri
14f45f97c2
Fixed default option values depending on platform not working.
2021-01-10 13:50:48 -08:00
Nathan Moinvaziri
24c3223ec2
Check crypto library support if using signing but not encryption.
2021-01-10 13:34:50 -08:00
Nathan Moinvaziri
2c356fe47a
Added better language concerning compatibility layer in master branch.
2021-01-10 13:29:25 -08:00
Nathan Moinvaziri
33a422e900
Upgraded description of 1.2 branch. Since some of the types were changed in 1.2 branch in the interface it makes it ABI incompatible.
2021-01-10 13:28:19 -08:00
Nathan Moinvaziri
f515ec096e
Fixed cmake 3.19 warning.
2021-01-10 13:22:38 -08:00
Nathan Moinvaziri
aafc02cd42
Fixed encryption should still work even if no compression supported.
2021-01-10 13:19:19 -08:00
Nathan Moinvaziri
7598f1b1b3
Added support for PKCRYPT even when native crypto library not found.
2021-01-10 13:12:13 -08:00
Nathan Moinvaziri
cda5826856
Update cmake status messages.
...
Fixed signing detection on when openssl missing.
2021-01-10 12:27:32 -08:00
Nathan Moinvaziri
c492eb3d00
Update CMake argument names in CI.
2021-01-10 11:23:41 -08:00
Nathan Moinvaziri
49fa09f0b6
Remove brg dependency. WinZip AES encryption will now require OpenSSL on Linux. PKWARE traditional encryption will still be supported without it. On macOS and Windows, system crypto libraries will be used.
...
Cleaned up CMake, renamed a few parameters.
2021-01-10 11:22:18 -08:00
Thomas Gamper
162bee2973
mz_zip_rw.md - document new append parameter, update example
2021-01-01 16:51:38 -08:00
Thomas Gamper
ae921b64c5
mz_zip_rw - add append argument to mz_zip_writer_open function
2021-01-01 16:51:38 -08:00
Nathan Moinvaziri
af3c3ad8ee
Version 2.10.6.
2.10.6
2020-12-29 13:16:01 -08:00