Commit Graph

92 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
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
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
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
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
7dd1c112a1 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=64 2020-04-23 08:21:02 +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
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
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
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
ad9eb7a4c1 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=54 2019-06-06 09:59:27 +00:00
Tomáš Chvátal
d78414383d OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=53 2019-06-06 09:47:36 +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
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
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
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
Tomáš Chvátal
70a41d45b7 - Include fixes for bnc#1003580 bnc#1003579 bnc#1003577 bnc#1013882:
* zlib-bnc1003580.patch
  * zlib-bnc1013882.patch CVE-2016-9843

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=35
2016-12-12 12:15:08 +00:00
Tomáš Chvátal
99f0f688c8 * zlib-bnc1003580.patch CVE-2016-9843
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=34
2016-12-12 10:56:26 +00:00
Tomáš Chvátal
6c4d47582b - Add fix for bnc#1013882 CVE-2016-9843:
* zlib-CVE-2016-9843.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=33
2016-12-12 10:54:09 +00:00
Tomáš Chvátal
991162792f - Include fixes for bnc#1003580 bnc#1003579 bnc#1003577:
* zlib-bnc1003577.patch
  * zlib-bnc1003579-part2.patch
  * zlib-bnc1003579.patch
  * zlib-bnc1003580.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=32
2016-12-04 12:53:56 +00:00
Ismail Dönmez
8fe85a2bcf Accepting request 333516 from home:jengelh:branches:devel:libraries:c_c++
- Trim descriptions to fit target audience. Update RPM group
  classification.

OBS-URL: https://build.opensuse.org/request/show/333516
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=31
2015-09-25 16:04:36 +00:00
Tomáš Chvátal
b842c514a4 - Require zlib-devel in zlib-devel-static to fix previous change
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=30
2015-07-13 11:59:05 +00:00
Tomáš Chvátal
df80c71819 - Bring back zlib-devel-static. Needed by binutils
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=29
2015-06-30 11:31:09 +00:00
Tomáš Chvátal
9c39bd5f66 - Remove zlib-devel-static, nothing should use libz.a anyway.
- Package minizip library, everything using it should now pull
  minizip-devel and unbundle it

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=25
2015-06-24 09:03:38 +00:00
Tomáš Chvátal
5b7bbe7563 - Install examples to cover another angle from bnc#890228
- Cleanup with spec-cleaner

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=23
2014-09-25 08:07:29 +00:00
Michal Vyskocil
77dce2c25a - zlib-format.patch, backport missing sle11 feature back to openSUSE
bnc#831880

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=21
2013-07-29 12:38:12 +00:00
Michal Vyskocil
b3d0f9e7f8 reenabled rpmlint and post-build checks
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=19
2013-05-14 07:49:09 +00:00
Michal Vyskocil
ab9e011239 Accepting request 175023 from home:namtrac:branches:devel:libraries:c_c++
- Update to version 1.2.8
  * Add new inflateGetDictionary() function
  * Fix bug where gzopen() immediately followed by gzclose()
    would write an empty file instead of an empty gzip stream.
  * Fix bug in gzclose() when gzwrite() runs out of memory

OBS-URL: https://build.opensuse.org/request/show/175023
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=18
2013-05-13 18:37:49 +00:00
Michal Vyskocil
27cab194d5 - add release to provides/obsolete into baselibs.conf (fixes bnc#806310)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zlib?expand=0&rev=15
2013-03-05 10:23:12 +00:00