Commit Graph

99 Commits

Author SHA256 Message Date
Danilo Spinella
a8aa81dbb3 Accepting request 1151198 from home:dspinella:branches:devel:libraries:c_c++
- Use %autopatch instead of %patch

OBS-URL: https://build.opensuse.org/request/show/1151198
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=100
2024-02-26 11:09:31 +00:00
Danilo Spinella
fbc541705e Accepting request 1149966 from home:dspinella:branches:devel:libraries:c_c++
- Update to 1.3.1:
  * Reject overflows of zip header fields in minizip
  * Fix bug in inflateSync() for data held in bit buffer
  * Add LIT_MEM define to use more memory for a small deflate speedup
  * Fix decision on the emission of Zip64 end records in minizip
  * Add bounds checking to ERR_MSG() macro, used by zError()
  * Neutralize zip file traversal attacks in miniunz
  * Fix a bug in ZLIB_DEBUG compiles in check_match()
- Update pacthes:
  * CVE-2023-45853.patch
  * zlib-1.3-IBM-Z-hw-accelerated-deflate-s390x.patch

OBS-URL: https://build.opensuse.org/request/show/1149966
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=99
2024-02-26 11:03:17 +00:00
7598c27dca Accepting request 1147916 from home:dimstar:rpm4.20:z
Prepare for RPM 4.20

OBS-URL: https://build.opensuse.org/request/show/1147916
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=97
2024-02-21 10:20:42 +00:00
Danilo Spinella
22d97a578b Accepting request 1119078 from home:dspinella:branches:devel:libraries:c_c++
- Update to 1.3:
  * Building using K&R (pre-ANSI) function definitions is no longer supported.
  * Fixed a bug in deflateBound() for level 0 and memLevel 9.
  * Fixed a bug when gzungetc() is used immediately after gzopen().
  * Fixed a bug when using gzflush() with a very small buffer.
  * Fixed a crash when gzsetparams() is attempted for a transparent write.
  * Fixed test/example.c to work with FORCE_STORED.
  * Fixed minizip to allow it to open an empty zip file.
  * Fixed reading disk number start on zip64 files in minizip.
  * Fixed a logic error in minizip argument processing. 
- Added patches:
  * zlib-1.3-IBM-Z-hw-accelerated-deflate-s390x.patch
- Refreshed patches:
  * zlib-1.2.12-add-optimized-slide_hash-for-power.patch
  * zlib-1.2.12-add-vectorized-longest_match-for-power.patch
  * zlib-1.2.12-adler32-vector-optimizations-for-power.patch
  * zlib-1.2.13-optimized-s390.patch
  * zlib-format.patch
  * zlib-no-version-check.patch
- Removed patches:
  * bsc1210593.patch
  * zlib-1.2.13-fix-bug-deflateBound.patch
  * zlib-1.2.12-s390-vectorize-crc32.patch
  * zlib-1.2.13-IBM-Z-hw-accelerated-deflate-s390x.patch
  * zlib-1.2.12-add-optimized-slide_hash-for-power.patch
  * zlib-1.2.12-fix-invalid-memory-access-on-ppc-and-ppc64.patch
  * zlib-1.2.12-add-vectorized-longest_match-for-power.patch
  * zlib-1.2.12-adler32-vector-optimizations-for-power.patch
- Fix CVE-2023-45853, integer overflow and resultant heap-based buffer
  overflow in zipOpenNewFileInZip4_6, bsc#1216378

OBS-URL: https://build.opensuse.org/request/show/1119078
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=95
2023-10-19 16:28:40 +00:00
Danilo Spinella
e6f111ebe2 Accepting request 1085025 from home:dspinella:branches:devel:libraries:c_c++
- Fix deflateBound() before deflateInit(), bsc#1210593, bsc#1211005
  bsc1210593.patch

OBS-URL: https://build.opensuse.org/request/show/1085025
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=93
2023-05-05 10:01:14 +00:00
71481c0267 Accepting request 1068545 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- avoid buildcycle with krb5 (in sle15+ - jsc#PED-3641)
- skip hwcaps subpackage building for -static subpackage

OBS-URL: https://build.opensuse.org/request/show/1068545
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=91
2023-03-01 20:15:34 +00:00
3001c68b0e Accepting request 1062411 from home:dirkmueller:Factory
- build with glibc hwcaps optimized libs

OBS-URL: https://build.opensuse.org/request/show/1062411
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=90
2023-02-08 10:05:24 +00:00
OBS User buildservice-autocommit
e93d00c9fd baserev update by copy to link target
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=88
2023-01-21 18:09:42 +00:00
OBS User buildservice-autocommit
8d3a150370 Updating link to change in openSUSE:Factory/zlib revision 86
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=533af138b6be8181a7e6f78e67be665f
2023-01-21 18:09:42 +00:00
bad6f51f22 - Update to 1.2.13:
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=87
2023-01-21 15:19:07 +00:00
Danilo Spinella
de997e08c9 Accepting request 1059548 from home:dspinella:branches:devel:libraries:c_c++
- Update to 1.13:
  * Fix configure issue that discarded provided CC definition
  * Correct incorrect inputs provided to the CRC functions
  * Repair prototypes and exporting of new CRC functions
  * Fix inflateBack to detect invalid input with distances too far
  * Have infback() deliver all of the available output up to any error
  * Fix a bug when getting a gzip header extra field with inflate()
  * Fix bug in block type selection when Z_FIXED used
  * Tighten deflateBound bounds
  * Remove deleted assembler code references
  * Various portability and appearance improvements
- Added patches:
  * zlib-1.2.13-IBM-Z-hw-accelerated-deflate-s390x.patch
  * zlib-1.2.13-fix-bug-deflateBound.patch
  * zlib-1.2.13-optimized-s390.patch
- Refreshed patches:
  * zlib-1.2.12-add-optimized-slide_hash-for-power.patch
  * zlib-1.2.12-add-vectorized-longest_match-for-power.patch
  * zlib-1.2.12-s390-vectorize-crc32.patch
- Removed patches:
  * zlib-1.2.12-fix-configure.patch
  * zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch
  * zlib-1.2.12-optimized-crc32-power8.patch
  * zlib-1.2.12-correct-inputs-provided-to-crc-func.patch
  * zlib-1.2.12-fix-CVE-2022-37434.patch
  * zlib-1.2.11-optimized-s390.patch

OBS-URL: https://build.opensuse.org/request/show/1059548
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=86
2023-01-19 11:29:57 +00:00
Danilo Spinella
713fb06ad2 Accepting request 1042192 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX
- build zlib with optflags again

OBS-URL: https://build.opensuse.org/request/show/1042192
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=84
2022-12-12 10:46:22 +00:00
f6c5a01beb Accepting request 1009574 from home:dspinella:branches:devel:libraries:c_c++
- Add Power8 optimizations:
  * zlib-1.2.12-add-optimized-slide_hash-for-power.patch
  * zlib-1.2.12-add-vectorized-longest_match-for-power.patch
  * zlib-1.2.12-adler32-vector-optimizations-for-power.patch
  * zlib-1.2.12-fix-invalid-memory-access-on-ppc-and-ppc64.patch
- Update zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch

OBS-URL: https://build.opensuse.org/request/show/1009574
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=82
2022-10-11 12:40:29 +00:00
Danilo Spinella
91abbb8bfa Accepting request 1000400 from home:dspinella:branches:devel:libraries:c_c++
Add missing patch:
    * zlib-1.2.5-minizip-fixuncrypt.patch

OBS-URL: https://build.opensuse.org/request/show/1000400
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=80
2022-08-31 08:14:50 +00:00
Danilo Spinella
2a16479848 Accepting request 1000394 from home:dspinella:branches:devel:libraries:c_c++
- Update to 1.2.12:
  * A lot of bug fixes
  * Improve speed of crc32 functions
  * Use ARM crc32 instructions if the ARM architecture has them
  For the complete changes, see ChangeLog
- Fixes CVE-2022-37434,  heap-based buffer over-read or buffer overflow in
  inflate.c via a large gzip header extra field
  (CVE-2022-37434, bsc#1202175)
- Added patches:
  * zlib-1.2.11-covscan-issues-rhel9.patch
  * zlib-1.2.11-covscan-issues.patch
  * zlib-1.2.12-s390-vectorize-crc32.patch
  * zlib-1.2.12-optimized-crc32-power8.patch
  * zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch
  * zlib-1.2.12-fix-configure.patch
  * zlib-1.2.12-correct-inputs-provided-to-crc-func.patch
  * zlib-1.2.12-fix-CVE-2022-37434.patch
- Removed patches:
  * bsc1197459.patch (upstreamed)
  * zlib-power8-fate325307.patch
    (replaced by zlib-1.2.12-optimized-crc32-power8.patch)
  * bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch
    (replaced by zlib-1.2.12-IBM-Z-hw-accelrated-deflate-s390x.patch)
  * 410.patch
    (replaced by zlib-1.2.12-IBM-Z-hw-accelrated-deflate-s390x.patch)
- Refreshed patches:
  * zlib-format.patch
  * zlib-no-version-check.patch
- Disable profiling since it breaks tests
- Update zlib-rpmlintrc

OBS-URL: https://build.opensuse.org/request/show/1000394
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=79
2022-08-31 07:52:46 +00:00
0821aaab53 - switch to https urls
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=78
2022-07-02 10:00:56 +00:00
b3f8f2cda3 Accepting request 965634 from home:Guillaume_G:CVE-2018-25032
Add CVE-2018-25032 reference

OBS-URL: https://build.opensuse.org/request/show/965634
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=76
2022-03-29 12:07:38 +00:00
2ffa311a46 Accepting request 964926 from home:dspinella:branches:devel:libraries:c_c++
* minizip-dont-install-crypt-header.patch

OBS-URL: https://build.opensuse.org/request/show/964926
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=75
2022-03-26 13:49:20 +00:00
e5dabeac6e Accepting request 964906 from home:dspinella:branches:devel:libraries:c_c++
- Fix memory corruption on deflate, bsc#1197459
  * bsc1197459.patch
- Update 410.patch
  * Remove included patches:
    bsc1174551-fxi-imcomplete-raw-streams.patch
    zlib-compression-switching.patch
    zlib-s390x-z15-fix-hw-compression.patch
- Refresh bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch

OBS-URL: https://build.opensuse.org/request/show/964906
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=74
2022-03-25 18:14:59 +00:00
Danilo Spinella
6fd2806b77 Accepting request 961115 from home:adkorte
- Don't install (internal) crypt.h header in minizip

OBS-URL: https://build.opensuse.org/request/show/961115
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=73
2022-03-11 17:51:58 +00:00
9c94b73321 Accepting request 851093 from home:lnussel:usrmove
- install to /usr (boo#1029961)

OBS-URL: https://build.opensuse.org/request/show/851093
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=71
2020-11-27 10:49:41 +00:00
df94fc0a2a add patch name for the bot
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=70
2020-11-19 14:09:21 +00:00
36ba017e87 Accepting request 847067 from home:alix82:branches:devel:libraries:c_c++
Fix hw compression on z15 bsc#1176201

OBS-URL: https://build.opensuse.org/request/show/847067
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=69
2020-11-19 14:06:55 +00:00
Tomáš Chvátal
3ab26512eb Accepting request 834942 from home:coolo:branches:openSUSE:Factory
- Provide a testsuite subpackage to run post-build validation

OBS-URL: https://build.opensuse.org/request/show/834942
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=68
2020-09-16 17:25:26 +00:00
Tomáš Chvátal
41ca660d5c - Add patch to fix compression level switching
bsc#1175811 bsc#1175830 bsc#1175831
  * zlib-compression-switching.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=67
2020-08-28 08:08:43 +00:00
Tomáš Chvátal
d9276df283 - Set -DDFLTCC_LEVEL_MASK=0x7e on s390/s390x jsc#13776
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=66
2020-08-27 06:56:05 +00:00
Tomáš Chvátal
7fc14866c9 Accepting request 824656 from home:zhonglidong:branches:devel:libraries:c_c++
- Permit a deflateParams() parameter change as soon as possible(bsc#1174736)
    * bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch
  Fix DFLTCC not flushing EOBS when creating raw streams(bsc#1174551)
    * bsc1174551-fxi-imcomplete-raw-streams.patch

OBS-URL: https://build.opensuse.org/request/show/824656
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=65
2020-08-06 10:07:22 +00:00
Tomáš Chvátal
4ae3c87bd7 - Update 410.patch to contain latest fixes from IBM bsc#1166260
* The build behaviour changed

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=63
2020-04-23 08:19:24 +00:00
Tomáš Chvátal
5ad2848cad - Update the zlib-no-version-check.patch to be even more forgiving
with the versions on the zlib to allow updates without rebuilds

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=62
2019-10-29 09:47:48 +00:00
Tomáš Chvátal
06a0242efd - Add SUSE specific patch to fix bsc#1138793, we simply don't want
to test if the app was linked with exactly same version of zlib
  like the one that is present on the runtime:
  * zlib-no-version-check.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=61
2019-10-21 07:13:47 +00:00
Tomáš Chvátal
992bcd72c2 - Split out configuration to separate package to not mess up the
library packaging and coinstallation

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=60
2019-07-17 07:31:40 +00:00
Tomáš Chvátal
0fc5ad03cf Accepting request 714685 from home:bfrogers:branches:devel:libraries:c_c++
- Tweak zlib-power8-fate325307.patch to have type of crc32_vpmsum
  conform to usage
  bsc#1141059

OBS-URL: https://build.opensuse.org/request/show/714685
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=59
2019-07-11 18:34:11 +00:00
Tomáš Chvátal
7a53ad4872 Accepting request 712985 from home:marxin:branches:devel:libraries:c_c++
- Use FAT LTO objects in order to provide proper static library.

OBS-URL: https://build.opensuse.org/request/show/712985
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=58
2019-07-02 07:28:17 +00:00
Tomáš Chvátal
27ac9b3b86 bsc#1137624
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=57
2019-06-07 11:25:49 +00:00
Tomáš Chvátal
a92508f4e5 - Do not enable the previous patchset on s390 but just s390x
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=56
2019-06-07 11:24:56 +00:00
Tomáš Chvátal
82c6201403 - Add patchset for s390 improvements jsc#SLE-5807 bsc#1136717:
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=55
2019-06-06 10:09:04 +00:00
Tomáš Chvátal
93bd7af12d - Add patchset for s390 improvements jsc#SLE-5807
* 410.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=52
2019-06-06 09:44:46 +00:00
Tomáš Chvátal
e98e373122 - Try to safely abort if we get NULL ptr bsc#1110304 bsc#1129576:
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=50
2019-03-19 15:33:25 +00:00
Tomáš Chvátal
3685577878 - Try to safely abort if we get NULL ptr bsc#1110304:
* zlib-power8-fate325307.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=48
2019-03-19 14:12:42 +00:00
Tomáš Chvátal
9c41df0cbb - Add patch for fate#325307 zlib speedup on power8:
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=47
2018-06-20 15:18:20 +00:00
Tomáš Chvátal
7dd779cd8a - Add patch for fate#325307:
* zlib-power8-fate325307.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=46
2018-06-20 15:04:42 +00:00
Tomáš Chvátal
3edc4c98b3 - Add patch to safeguard against negative values in uInt bsc#1071321:
* 0001-Do-not-try-to-store-negative-values-in-unsigned-int.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=45
2018-05-15 10:57:38 +00:00
Tomáš Chvátal
1af3908d79 Accepting request 503238 from home:kah0922
This adds 32bit minizip support for gens-gs. The changes have been noted in the changelog.

OBS-URL: https://build.opensuse.org/request/show/503238
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=44
2017-06-12 18:25:00 +00:00
Tomáš Chvátal
75dd41b720 Accepting request 500406 from home:pluskalm:branches:devel:libraries:c_c++
- Add gpg signature
- Re-enable profiling

OBS-URL: https://build.opensuse.org/request/show/500406
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=43
2017-06-01 14:22:52 +00:00
Tomáš Chvátal
20b10f1999 Accepting request 494280 from home:pluskalm:branches:devel:libraries:c_c++
- Add s390 performance patch (fate#314093):
  * zlib-1.2.11-optimized-s390.patch

OBS-URL: https://build.opensuse.org/request/show/494280
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=42
2017-05-11 07:48:12 +00:00
Tomáš Chvátal
b2e20fca2d Accepting request 485055 from home:Andreas_Schwab:Factory
- baselibs.conf: add missing dependencies

OBS-URL: https://build.opensuse.org/request/show/485055
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=41
2017-04-04 09:09:02 +00:00
Ismail Dönmez
7a18facc7d Accepting request 450482 from home:pluskalm:branches:devel:libraries:c_c++
- Update to version 1.2.11:
  * Fix deflate stored bug when pulling last block from window
  * Permit immediate deflateParams changes before any deflate input

OBS-URL: https://build.opensuse.org/request/show/450482
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=40
2017-01-16 10:25:54 +00:00
Tomáš Chvátal
470f0b85bb Accepting request 448568 from home:pluskalm:branches:devel:libraries:c_c++
- Update to version 1.2.10:

OBS-URL: https://build.opensuse.org/request/show/448568
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=39
2017-01-03 09:51:25 +00:00
Tomáš Chvátal
15e133c89d Accepting request 448535 from home:pluskalm
OBS-URL: https://build.opensuse.org/request/show/448535
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=38
2017-01-02 19:04:48 +00:00
Tomáš Chvátal
c871182653 Accepting request 448463 from home:pluskalm:branches:devel:libraries:c_c++
- Update to version 1.2.9:

OBS-URL: https://build.opensuse.org/request/show/448463
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=37
2017-01-02 09:46:41 +00:00