commit zlib for openSUSE:Factory

2024-02-23 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2024-02-23 16:44:44

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.1770 (New)


Package is "zlib"

Fri Feb 23 16:44:44 2024 rev:91 rq:1148528 version:1.3

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2023-10-25 
18:02:45.430294231 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new.1770/zlib.changes  2024-02-23 
16:44:45.790105529 +0100
@@ -1,0 +2,5 @@
+Tue Feb 20 12:10:46 UTC 2024 - Dominique Leuenberger 
+
+- Use %patch -P N instead of deprecated %patchN.
+
+---



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.H919p0/_old  2024-02-23 16:44:46.518131920 +0100
+++ /var/tmp/diff_new_pack.H919p0/_new  2024-02-23 16:44:46.518131920 +0100
@@ -135,16 +135,16 @@
 
 %prep
 %setup -q
-%patch1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
-%patch6 -p1
-%patch7 -p1
-%patch8
-%patch10 -p1
-%patch11 -p1
-%patch12 -p1
+%patch -P 1
+%patch -P 2 -p1
+%patch -P 3 -p1
+%patch -P 4 -p1
+%patch -P 6 -p1
+%patch -P 7 -p1
+%patch -P 8
+%patch -P 10 -p1
+%patch -P 11 -p1
+%patch -P 12 -p1
 cp %{SOURCE4} .
 
 %build


commit zlib for openSUSE:Factory

2023-10-25 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2023-10-25 18:01:59

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.24901 (New)


Package is "zlib"

Wed Oct 25 18:01:59 2023 rev:90 rq:1119079 version:1.3

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2023-05-07 
18:54:25.532072653 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new.24901/zlib.changes 2023-10-25 
18:02:45.430294231 +0200
@@ -1,0 +2,35 @@
+Thu Oct 19 16:00:31 UTC 2023 - Danilo Spinella 
+
+- 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
+  * CVE-2023-45853.patch
+
+---

Old:

  bsc1210593.patch
  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
  zlib-1.2.12-s390-vectorize-crc32.patch
  zlib-1.2.13-IBM-Z-hw-accelerated-deflate-s390x.patch
  zlib-1.2.13-fix-bug-deflateBound.patch
  zlib-1.2.13.tar.gz
  zlib-1.2.13.tar.gz.asc

New:

  CVE-2023-45853.patch
  zlib-1.3-IBM-Z-hw-accelerated-deflate-s390x.patch
  zlib-1.3.tar.gz
  zlib-1.3.tar.gz.asc



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.Lk9RuR/_old  2023-10-25 18:02:46.426330998 +0200
+++ /var/tmp/diff_new_pack.Lk9RuR/_new  2023-10-25 18:02:46.426330998 +0200
@@ -17,7 +17,7 @@
 
 
 Name:   zlib
-Version:1.2.13
+Version:1.3
 Release:0
 Summary:Library implementing the DEFLATE compression algorithm
 License:Zlib
@@ -37,25 +37,17 @@
 Patch3: zlib-no-version-check.patch
 #PATCH-FIX-SUSE https://github.com/madler/zlib/pull/229
 Patch4: minizip-dont-install-crypt-header.patch
-# PATCH-FIX-UPSTREAM 
https://github.com/madler/zlib/commit/e554695638228b846d49657f31eeff0ca4680e8a
-Patch5: zlib-1.2.13-fix-bug-deflateBound.patch
 #PATCH-FIX-SUSE https://github.com/madler/zlib/pull/410
-Patch6: zlib-1.2.13-IBM-Z-hw-accelerated-deflate-s390x.patch
+Patch6: zlib-1.3-IBM-Z-hw-accelerated-deflate-s390x.patch
 # Patches taken from https://github.com/iii-i/zlib/releases/tag/crc32vx-v3
 Patch7: zlib-1.2.5-minizip-fixuncrypt.patch
 Patch8: zlib-1.2.13-optimized-s390.patch
 # https://github.com/iii-i/zlib/commit/171d0ff3c9ed40da0ac14085ab16b766b1162069
 Patch10:zlib-1.2.11-covscan-issues.patch
 Patch11:zlib-1.2.11-covscan-issues-rhel9.patch
-Patch14:zlib-1.2.12-s390-vectorize-crc32.patch
-# The following patches are taken from 
https://github.com/mscastanho/zlib/commits/power-optimizations-1.2.12
-Patch15:zlib-1.2.12-adler32-vector-optimizations-for-power.patch
-Patch16:zlib-1.2.12-fix-invalid-memory-access-on-ppc-and-ppc64.patch
-Patch17:zlib-1.2.12-add-optimized-slide_hash-for-power.patch
-Patch18:zlib-1.2.12-add-vectorized-longest_match-for-power.patch
-# PATCH-FIX-UPSTREAM danilo.spine...@suse.com bsc#1210593 bsc#1211005
-# Fix deflateBound() before deflateInit()
-Patch19:bsc1210593.patch
+# PATCh-FIX-SECURITY CVE-

commit zlib for openSUSE:Factory

2023-05-07 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2023-05-07 18:54:24

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.1533 (New)


Package is "zlib"

Sun May  7 18:54:24 2023 rev:89 rq:1085026 version:1.2.13

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2023-03-05 
20:07:48.132650174 +0100
+++ /work/SRC/openSUSE:Factory/.zlib.new.1533/zlib.changes  2023-05-07 
18:54:25.532072653 +0200
@@ -1,0 +2,6 @@
+Fri May  5 09:56:31 UTC 2023 - Danilo Spinella 
+
+- Fix deflateBound() before deflateInit(), bsc#1210593, bsc#1211005
+  bsc1210593.patch
+
+---

New:

  bsc1210593.patch



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.0UMPJZ/_old  2023-05-07 18:54:26.336077139 +0200
+++ /var/tmp/diff_new_pack.0UMPJZ/_new  2023-05-07 18:54:26.340077161 +0200
@@ -53,6 +53,9 @@
 Patch16:zlib-1.2.12-fix-invalid-memory-access-on-ppc-and-ppc64.patch
 Patch17:zlib-1.2.12-add-optimized-slide_hash-for-power.patch
 Patch18:zlib-1.2.12-add-vectorized-longest_match-for-power.patch
+# PATCH-FIX-UPSTREAM danilo.spine...@suse.com bsc#1210593 bsc#1211005
+# Fix deflateBound() before deflateInit()
+Patch19:bsc1210593.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -155,6 +158,7 @@
 %patch16 -p1
 %patch17 -p1
 %patch18 -p1
+%patch19 -p1
 cp %{SOURCE4} .
 
 %build

++ bsc1210593.patch ++
Index: zlib-1.2.11/contrib/s390/dfltcc_deflate.h
===
--- zlib-1.2.11.orig/contrib/s390/dfltcc_deflate.h
+++ zlib-1.2.11/contrib/s390/dfltcc_deflate.h
@@ -45,7 +45,7 @@ int ZLIB_INTERNAL dfltcc_deflate_get_dic
 #define DEFLATE_DONE dfltcc_deflate_done
 #define DEFLATE_BOUND_ADJUST_COMPLEN(strm, complen, source_len) \
 do { \
-if (dfltcc_can_deflate((strm))) \
+if (deflateStateCheck((strm)) || dfltcc_can_deflate((strm))) \
 (complen) = DEFLATE_BOUND_COMPLEN(source_len); \
 } while (0)
 #define DEFLATE_NEED_CONSERVATIVE_BOUND(strm) (dfltcc_can_deflate((strm)))


commit zlib for openSUSE:Factory

2023-03-06 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2023-03-05 20:07:46

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.31432 (New)


Package is "zlib"

Sun Mar  5 20:07:46 2023 rev:88 rq:1068547 version:1.2.13

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2023-01-30 
17:18:12.538876112 +0100
+++ /work/SRC/openSUSE:Factory/.zlib.new.31432/zlib.changes 2023-03-05 
20:07:48.132650174 +0100
@@ -1,0 +2,11 @@
+Wed Mar  1 17:50:05 UTC 2023 - Dirk Müller 
+
+- avoid buildcycle with krb5 (in sle15+ - jsc#PED-3641)
+- skip hwcaps subpackage building for -static subpackage
+
+---
+Wed Feb  1 09:26:04 UTC 2023 - Dirk Müller 
+
+- build with glibc hwcaps optimized libs
+
+---



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.vTugEv/_old  2023-03-05 20:07:48.764653096 +0100
+++ /var/tmp/diff_new_pack.vTugEv/_new  2023-03-05 20:07:48.768653114 +0100
@@ -57,6 +57,9 @@
 BuildRequires:  automake
 BuildRequires:  libtool
 BuildRequires:  pkgconfig
+# SLE15 specific buildcycle: we don't need NIS functionality in PAM for 
building
+#!BuildIgnore: libtirpc3 libtirpc-netconfig
+%{?suse_build_hwcaps_libs}
 
 %description
 zlib is a general-purpose lossless data-compression library,

++ baselibs.conf ++
--- /var/tmp/diff_new_pack.vTugEv/_old  2023-03-05 20:07:48.828653391 +0100
+++ /var/tmp/diff_new_pack.vTugEv/_new  2023-03-05 20:07:48.832653410 +0100
@@ -7,7 +7,9 @@
   requires "libz1- = "
 zlib-devel-static
   requires "zlib-devel- = "
+  targettype x86-64-v2 -/.*
+  targettype x86-64-v3 -/.*
+  targettype x86-64-v4 -/.*
 libminizip1
   targettype x86 provides "baselibs-x86:/lib/libminizip.so.1"
-(No newline at EOF)
 


commit zlib for openSUSE:Factory

2023-01-30 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2023-01-30 17:10:27

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.32243 (New)


Package is "zlib"

Mon Jan 30 17:10:27 2023 rev:87 rq:1061759 version:1.2.13

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2023-01-21 
19:09:42.97527 +0100
+++ /work/SRC/openSUSE:Factory/.zlib.new.32243/zlib.changes 2023-01-30 
17:18:12.538876112 +0100
@@ -4 +4 @@
-- Update to 1.13:
+- Update to 1.2.13:



Other differences:
--


commit zlib for openSUSE:Factory

2023-01-21 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2023-01-21 19:09:42

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.32243 (New)


Package is "zlib"

Sat Jan 21 19:09:42 2023 rev:86 rq:1059549 version:1.2.13

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2022-12-15 
19:23:30.467476856 +0100
+++ /work/SRC/openSUSE:Factory/.zlib.new.32243/zlib.changes 2023-01-21 
19:09:42.97527 +0100
@@ -1,0 +2,30 @@
+Thu Jan 19 11:07:25 UTC 2023 - Danilo Spinella 
+
+- 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
+
+---

Old:

  zlib-1.2.11-optimized-s390.patch
  zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch
  zlib-1.2.12-correct-inputs-provided-to-crc-func.patch
  zlib-1.2.12-fix-CVE-2022-37434.patch
  zlib-1.2.12-fix-configure.patch
  zlib-1.2.12-optimized-crc32-power8.patch
  zlib-1.2.12.tar.gz
  zlib-1.2.12.tar.gz.asc

New:

  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
  zlib-1.2.13.tar.gz
  zlib-1.2.13.tar.gz.asc



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.1AAjto/_old  2023-01-21 19:09:43.884671710 +0100
+++ /var/tmp/diff_new_pack.1AAjto/_new  2023-01-21 19:09:43.888671733 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zlib
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
 
 
 Name:   zlib
-Version:1.2.12
+Version:1.2.13
 Release:0
 Summary:Library implementing the DEFLATE compression algorithm
 License:Zlib
@@ -30,26 +30,23 @@
 Source6:zlib-rpmlintrc
 #PATCH-FIX-SUSE: compiler check of varguments passed to gzprintf
 Patch1: zlib-format.patch
-#PATCH-FIX-UPSTREAM do not store negative values in uInt
+#PATCH-FIX-SUSE do not store negative values in uInt
 Patch2: 0001-Do-not-try-to-store-negative-values-in-unsigned-int.patch
 #PATCH-FIX-SUSE do not check exact version match as the lib can be updated
 #   we should simply rely on soname versioning to protect us
 Patch3: zlib-no-version-check.patch
-#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/commit/ec3df00224d4
-Patch4: zlib-1.2.12-correct-inputs-provided-to-crc-func.patch
-#PATCH-FIX-UPSTREAM 
https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d
-Patch5: zlib-1.2.12-fix-CVE-2022-37434.patch
-#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/229
-Patch6: minizip-dont-install-crypt-header.patch
-# The following patches are taken from 
https://github.com/iii-i/zlib/commits/crc32vx-v3
+#PATCH-FIX-SUSE https://github.com/madler/zlib/pull/229
+Patch4: minizip-dont-install-crypt-header.patch
+# PATCH-FIX-UPSTREAM 
https://github.com/madler/zlib/commit/e554695638228b846d49657f31eeff0ca4680e8a
+Patch5: zlib-1.2.13-fix-bug-deflateBound.patch
+#PATCH-FIX-SUSE https://github.com/madler/zlib/pull/410
+Patch6: zlib-1.2.13-IBM-Z-hw-accelerated-deflate-s390x.patch
+# Patches taken from https://github.com/iii-i/zlib/releases/tag/crc32vx-v3
 Patch7: zlib-1.2.5-minizip-fixuncrypt.patch
-Patch8: zlib-1.2.11-optimized-s390.patch
+Patch8: zlib-1.

commit zlib for openSUSE:Factory

2022-12-15 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2022-12-15 19:23:27

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.1835 (New)


Package is "zlib"

Thu Dec 15 19:23:27 2022 rev:85 rq:1042314 version:1.2.12

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2022-10-13 
15:39:41.890435356 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new.1835/zlib.changes  2022-12-15 
19:23:30.467476856 +0100
@@ -1,0 +2,5 @@
+Sun Dec 11 16:41:51 UTC 2022 - Dirk Müller 
+
+- build zlib with optflags again 
+
+---



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.mQj8yL/_old  2022-12-15 19:23:31.507482773 +0100
+++ /var/tmp/diff_new_pack.mQj8yL/_new  2022-12-15 19:23:31.511482795 +0100
@@ -164,7 +164,7 @@
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 export LDFLAGS="-Wl,-z,relro,-z,now"
 # For sure not autotools build
-CC="cc" ./configure \
+CC="cc" CFLAGS="%{optflags}" ./configure \
 --shared \
 --prefix=%{_prefix} \
 --libdir=%{_libdir} \
@@ -177,12 +177,12 @@
 # Profiling flags breaks tests, as of 1.2.12
 # In particular, gzseek does not work as intended
 #%if %{do_profiling}
-#  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
-#  make check %{?_smp_mflags}
-#  make %{?_smp_mflags} clean
-#  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
+#  %make_build CFLAGS="%{optflags} %{cflags_profile_generate}"
+#  %make_build check
+#  %make_build clean
+#  %make_build %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
 #%else
-  make %{?_smp_mflags}
+  %make_build
 #%endif
 
 # And build minizip
@@ -191,10 +191,10 @@
 %configure \
 --disable-static \
 --disable-silent-rules
-make %{?_smp_mflags}
+%make_build
 
 %check
-make check %{?_smp_mflags}
+%make_build check
 
 %install
 mkdir -p %{buildroot}%{_libdir}


commit zlib for openSUSE:Factory

2022-10-13 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2022-10-13 15:39:38

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.2275 (New)


Package is "zlib"

Thu Oct 13 15:39:38 2022 rev:84 rq:1009787 version:1.2.12

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2022-09-02 
21:56:04.288228022 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new.2275/zlib.changes  2022-10-13 
15:39:41.890435356 +0200
@@ -1,0 +2,10 @@
+Mon Oct 10 10:08:02 UTC 2022 - Danilo Spinella 
+
+- 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
+
+---

New:

  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



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.Ly3d2k/_old  2022-10-13 15:39:42.650437055 +0200
+++ /var/tmp/diff_new_pack.Ly3d2k/_new  2022-10-13 15:39:42.654437063 +0200
@@ -44,12 +44,18 @@
 # The following patches are taken from 
https://github.com/iii-i/zlib/commits/crc32vx-v3
 Patch7: zlib-1.2.5-minizip-fixuncrypt.patch
 Patch8: zlib-1.2.11-optimized-s390.patch
+# https://github.com/iii-i/zlib/commit/171d0ff3c9ed40da0ac14085ab16b766b1162069
 Patch9: zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch
 Patch10:zlib-1.2.11-covscan-issues.patch
 Patch11:zlib-1.2.11-covscan-issues-rhel9.patch
 Patch12:zlib-1.2.12-optimized-crc32-power8.patch
 Patch13:zlib-1.2.12-fix-configure.patch
 Patch14:zlib-1.2.12-s390-vectorize-crc32.patch
+# The following patches are taken from 
https://github.com/mscastanho/zlib/commits/power-optimizations-1.2.12
+Patch15:zlib-1.2.12-adler32-vector-optimizations-for-power.patch
+Patch16:zlib-1.2.12-fix-invalid-memory-access-on-ppc-and-ppc64.patch
+Patch17:zlib-1.2.12-add-optimized-slide_hash-for-power.patch
+Patch18:zlib-1.2.12-add-vectorized-longest_match-for-power.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -148,6 +154,10 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
+%patch16 -p1
+%patch17 -p1
+%patch18 -p1
 cp %{SOURCE4} .
 
 %build
@@ -167,10 +177,10 @@
 # Profiling flags breaks tests, as of 1.2.12
 # In particular, gzseek does not work as intended
 #%if %{do_profiling}
-#  #make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
+#  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_generate}"
 #  make check %{?_smp_mflags}
-#  #make %{?_smp_mflags} clean
-#  #make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
+#  make %{?_smp_mflags} clean
+#  make %{?_smp_mflags} CFLAGS="%{optflags} %{cflags_profile_feedback}"
 #%else
   make %{?_smp_mflags}
 #%endif

++ zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch ++
 682 lines (skipped)
 between 
/work/SRC/openSUSE:Factory/zlib/zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch
 and 
/work/SRC/openSUSE:Factory/.zlib.new.2275/zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch

++ zlib-1.2.12-add-optimized-slide_hash-for-power.patch ++
>From 4a8d89ae49aa17d1634a2816c8d159f533a07eae Mon Sep 17 00:00:00 2001
From: Matheus Castanho 
Date: Wed, 27 Nov 2019 10:18:10 -0300
Subject: [PATCH] Add optimized slide_hash for Power

Considerable time is spent on deflate.c:slide_hash() during
deflate. This commit introduces a new slide_hash function that
uses VSX vector instructions to slide 8 hash elements at a time,
instead of just one as the standard code does.

The choice between the optimized and default versions is made only
on the first call to the function, enabling a fallback to standard
behavior if the host processor does not support VSX instructions,
so the same binary can be used for multiple Power processor
versions.

Author: Matheus Castanho 
---
 CMakeLists.txt  |  3 +-
 Makefile.in |  8 
 configure   |  4 +-
 contrib/power/power.h   |  3 ++
 contrib/power/slide_hash_power8.c   | 63 +
 contrib/power/slide_hash_resolver.c | 15 +++
 deflate.c   | 12 ++
 7 fil

commit zlib for openSUSE:Factory

2022-09-02 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2022-09-02 21:55:58

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.2083 (New)


Package is "zlib"

Fri Sep  2 21:55:58 2022 rev:83 rq:1000401 version:1.2.12

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2022-04-01 
21:34:57.262256019 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new.2083/zlib.changes  2022-09-02 
21:56:04.288228022 +0200
@@ -1,0 +2,40 @@
+Tue Aug 23 16:22:59 UTC 2022 - Danilo Spinella 
+
+- 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
+  * zlib-1.2.5-minizip-fixuncrypt.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
+
+---
+Sat Jul  2 10:00:46 UTC 2022 - Marcus Meissner 
+
+- switch to https urls
+
+---

Old:

  410.patch
  bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch
  bsc1197459.patch
  zlib-1.2.11.tar.gz
  zlib-1.2.11.tar.gz.asc
  zlib-power8-fate325307.patch

New:

  zlib-1.2.11-covscan-issues-rhel9.patch
  zlib-1.2.11-covscan-issues.patch
  zlib-1.2.12-IBM-Z-hw-accelerated-deflate-s390x.patch
  zlib-1.2.12-correct-inputs-provided-to-crc-func.patch
  zlib-1.2.12-fix-CVE-2022-37434.patch
  zlib-1.2.12-fix-configure.patch
  zlib-1.2.12-optimized-crc32-power8.patch
  zlib-1.2.12-s390-vectorize-crc32.patch
  zlib-1.2.12.tar.gz
  zlib-1.2.12.tar.gz.asc
  zlib-1.2.5-minizip-fixuncrypt.patch



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.efpb4k/_old  2022-09-02 21:56:05.600231197 +0200
+++ /var/tmp/diff_new_pack.efpb4k/_new  2022-09-02 21:56:05.600231197 +0200
@@ -17,35 +17,39 @@
 
 
 Name:   zlib
-Version:1.2.11
+Version:1.2.12
 Release:0
 Summary:Library implementing the DEFLATE compression algorithm
 License:Zlib
-URL:http://www.zlib.net/
-Source0:http://zlib.net/zlib-%{version}.tar.gz
-Source1:http://zlib.net/zlib-%{version}.tar.gz.asc
+URL:https://www.zlib.net/
+Source0:https://zlib.net/zlib-%{version}.tar.gz
+Source1:https://zlib.net/zlib-%{version}.tar.gz.asc
 Source2:%{name}.keyring
 Source4:LICENSE
 Source5:baselibs.conf
 Source6:zlib-rpmlintrc
-#PATCH-FIX-SUSE: fate#314093, sent upstream by IBM
-Patch0: zlib-1.2.11-optimized-s390.patch
 #PATCH-FIX-SUSE: compiler check of varguments passed to gzprintf
 Patch1: zlib-format.patch
 #PATCH-FIX-UPSTREAM do not store negative values in uInt
 Patch2: 0001-Do-not-try-to-store-negative-values-in-unsigned-int.patch
-#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/335
-Patch3: zlib-power8-fate325307.patch
 #PATCH-FIX-SUSE do not check exact version match as the lib can be updated
 #   we should simply rely on soname versioning to protect us
-Patch5: zlib-no-version-check.patch
-Patch6: bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch
+Patch3: zlib-no-version-check.patch
+#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/commit/ec3df00224d4
+Patch4: zlib-1.2.12-correct-inputs-provided-to-crc-func.patch
+#PATCH-FIX-UPSTREAM 
https://github.com/madler/zlib/commit/1eb7682f845ac9e9bf9ae35bbfb3bad5dacbd91d
+Patch5: zlib-1.2.12-fix-CVE-2022-37434.patch
 #PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/229
-Patch10:minizip-dont-install-crypt-header.patch
-#PATCH-FIX-UPSTREAM 
htt

commit zlib for openSUSE:Factory

2022-04-01 Thread Source-Sync
Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2022-04-01 21:34:49

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.1900 (New)


Package is "zlib"

Fri Apr  1 21:34:49 2022 rev:82 rq:965637 version:1.2.11

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2020-12-03 
18:38:11.133693509 +0100
+++ /work/SRC/openSUSE:Factory/.zlib.new.1900/zlib.changes  2022-04-01 
21:34:57.262256019 +0200
@@ -1,0 +2,18 @@
+Fri Mar 25 14:59:29 UTC 2022 - Danilo Spinella 
+
+- Fix memory corruption on deflate, bsc#1197459
+  * bsc1197459.patch - CVE-2018-25032
+- 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
+
+---
+Fri Mar 11 17:38:09 UTC 2022 - Arjen de Korte 
+
+- Don't install (internal) crypt.h header in minizip
+  * minizip-dont-install-crypt-header.patch
+
+---

Old:

  bsc1174551-fxi-imcomplete-raw-streams.patch
  zlib-compression-switching.patch
  zlib-s390x-z15-fix-hw-compression.patch

New:

  bsc1197459.patch
  minizip-dont-install-crypt-header.patch



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.odFiDa/_old  2022-04-01 21:34:58.054247135 +0200
+++ /var/tmp/diff_new_pack.odFiDa/_new  2022-04-01 21:34:58.054247135 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zlib
 #
-# Copyright (c) 2020 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -36,16 +36,16 @@
 Patch2: 0001-Do-not-try-to-store-negative-values-in-unsigned-int.patch
 #PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/335
 Patch3: zlib-power8-fate325307.patch
-#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/410
-Patch4: 410.patch
 #PATCH-FIX-SUSE do not check exact version match as the lib can be updated
 #   we should simply rely on soname versioning to protect us
 Patch5: zlib-no-version-check.patch
 Patch6: bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch
-Patch7: bsc1174551-fxi-imcomplete-raw-streams.patch
-Patch8: zlib-compression-switching.patch
-#PATCH-FIX-SUSE: bsc#1176201, sent upstream by IBM
-Patch9: zlib-s390x-z15-fix-hw-compression.patch
+#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/229
+Patch10:minizip-dont-install-crypt-header.patch
+#PATCH-FIX-UPSTREAM 
https://github.com/madler/zlib/commit/5c44459c3b28a9bd3283aaceab7c615f8020c531
+Patch11:bsc1197459.patch
+#PATCH-FIX-UPSTREAM https://github.com/madler/zlib/pull/410
+Patch101:   410.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -134,22 +134,16 @@
 %patch1
 %patch2 -p1
 %patch3 -p1
-%patch4 -p1
 %patch5 -p1
 %patch6 -p1
-%patch7 -p1
-%patch8 -p1
-%patch9 -p1
+%patch10 -p1
+%patch11 -p1
+%patch101 -p1
 cp %{SOURCE4} .
 
 %build
 %global _lto_cflags %{_lto_cflags} -ffat-lto-objects
 export LDFLAGS="-Wl,-z,relro,-z,now"
-%ifarch s390x s390
-  export CFLAGS="%{optflags} -DDFLTCC_LEVEL_MASK=0x7e"
-%else
-  export CFLAGS="%{optflags}"
-%endif
 # For sure not autotools build
 CC="cc" ./configure \
 --shared \
@@ -157,6 +151,7 @@
 --libdir=%{_libdir} \
 %ifarch s390x s390
 --dfltcc \
+--dfltcc-level-mask=0x7e \
 %endif
 %{nil}
 

++ 410.patch ++
 950 lines (skipped)
 between /work/SRC/openSUSE:Factory/zlib/410.patch
 and /work/SRC/openSUSE:Factory/.zlib.new.1900/410.patch

++ bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch ++
--- /var/tmp/diff_new_pack.odFiDa/_old  2022-04-01 21:34:58.134246237 +0200
+++ /var/tmp/diff_new_pack.odFiDa/_new  2022-04-01 21:34:58.138246193 +0200
@@ -11,15 +11,14 @@
  
  _tr_init(s);
  
-@@ -601,13 +601,13 @@ int ZEXPORT deflateParams(strm, level, s
+@@ -582,12 +582,12 @@ int ZEXPORT deflateParams(strm, level, s
  func = configuration_table[s->level].func;
  
- if ((strategy != s->strategy || func != configuration_table[level].func ||
-- hook_flush != Z_NO_FLUSH) && s->high_water) {
-+ hook_flush != Z_NO_FLUSH) && s->last_flush != -2) {
+ if ((strategy != s->strategy || func != configuration_table[level].func) 
&&
+-s->high_water) {
++s->last_flush != -2) {
  /* Flush the last buffer: */
- int err = deflate(strm, RANK

commit zlib for openSUSE:Factory

2020-12-03 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2020-12-03 18:38:03

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.5913 (New)


Package is "zlib"

Thu Dec  3 18:38:03 2020 rev:81 rq:851291 version:1.2.11

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2020-11-26 
23:08:36.668783281 +0100
+++ /work/SRC/openSUSE:Factory/.zlib.new.5913/zlib.changes  2020-12-03 
18:38:11.133693509 +0100
@@ -7,0 +8,5 @@
+Wed Oct 28 14:38:00 UTC 2020 - Ludwig Nussel 
+
+- install to /usr (boo#1029961)
+
+---



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.sZrumD/_old  2020-12-03 18:38:12.089695320 +0100
+++ /var/tmp/diff_new_pack.sZrumD/_new  2020-12-03 18:38:12.093695327 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package zlib
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -154,7 +154,7 @@
 CC="cc" ./configure \
 --shared \
 --prefix=%{_prefix} \
---libdir=/%{_lib} \
+--libdir=%{_libdir} \
 %ifarch s390x s390
 --dfltcc \
 %endif
@@ -183,13 +183,6 @@
 %install
 mkdir -p %{buildroot}%{_libdir}
 %make_install
-# Fix shared library placement/symlinks
-ln -s -v /%{_lib}/$(readlink %{buildroot}/%{_lib}/libz.so) 
%{buildroot}%{_libdir}/libz.so
-rm -v %{buildroot}/%{_lib}/libz.so
-# Static lib
-mv %{buildroot}/%{_lib}/libz.a %{buildroot}%{_libdir}
-# Move .pc file to _libdir
-mv %{buildroot}/%{_lib}/pkgconfig %{buildroot}%{_libdir}
 # manpage
 install -m 644 zlib.3 %{buildroot}%{_mandir}/man3
 install -m 644 zutil.h %{buildroot}%{_includedir}
@@ -211,8 +204,8 @@
 
 %files -n libz1
 %license LICENSE
-/%{_lib}/libz.so.1.2.*
-/%{_lib}/libz.so.1
+%{_libdir}/libz.so.1.2.*
+%{_libdir}/libz.so.1
 
 %files devel
 %doc README ChangeLog
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org


[opensuse-commit] commit zlib for openSUSE:Factory

2020-11-26 Thread User for buildservice source handling
Hello community,

here is the log from the commit of package zlib for openSUSE:Factory checked in 
at 2020-11-26 23:08:35

Comparing /work/SRC/openSUSE:Factory/zlib (Old)
 and  /work/SRC/openSUSE:Factory/.zlib.new.5913 (New)


Package is "zlib"

Thu Nov 26 23:08:35 2020 rev:80 rq:849446 version:1.2.11

Changes:

--- /work/SRC/openSUSE:Factory/zlib/zlib.changes2020-09-23 
18:39:43.673284146 +0200
+++ /work/SRC/openSUSE:Factory/.zlib.new.5913/zlib.changes  2020-11-26 
23:08:36.668783281 +0100
@@ -1,0 +2,6 @@
+Mon Nov  9 08:00:35 UTC 2020 - Ali Abdallah 
+
+- Fix hw compression on z15 bsc#1176201
+- Add zlib-s390x-z15-fix-hw-compression.patch
+
+---

New:

  zlib-s390x-z15-fix-hw-compression.patch



Other differences:
--
++ zlib.spec ++
--- /var/tmp/diff_new_pack.of2T2J/_old  2020-11-26 23:08:37.320783914 +0100
+++ /var/tmp/diff_new_pack.of2T2J/_new  2020-11-26 23:08:37.324783918 +0100
@@ -44,6 +44,8 @@
 Patch6: bsc1174736-DFLTCC_LEVEL_MASK-set-to-0x1ff.patch
 Patch7: bsc1174551-fxi-imcomplete-raw-streams.patch
 Patch8: zlib-compression-switching.patch
+#PATCH-FIX-SUSE: bsc#1176201, sent upstream by IBM
+Patch9: zlib-s390x-z15-fix-hw-compression.patch
 BuildRequires:  autoconf
 BuildRequires:  automake
 BuildRequires:  libtool
@@ -137,6 +139,7 @@
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 cp %{SOURCE4} .
 
 %build


++ zlib-s390x-z15-fix-hw-compression.patch ++
From 4a587d07b3774c603f1a33ab1648419064951988 Mon Sep 17 00:00:00 2001
From: Ilya Leoshkevich 
Date: Mon, 28 Sep 2020 19:32:44 +0200
Subject: [PATCH] wip

---
 contrib/s390/dfltcc.h | 4 
 inflate.c | 2 ++
 2 files changed, 6 insertions(+)

diff --git a/contrib/s390/dfltcc.h b/contrib/s390/dfltcc.h
index e4447dd..bf41272 100644
--- a/contrib/s390/dfltcc.h
+++ b/contrib/s390/dfltcc.h
@@ -51,5 +51,9 @@ int ZLIB_INTERNAL dfltcc_inflate_disable OF((z_streamp strm));
 do { \
 if (dfltcc_was_inflate_used((strm))) return -(1L << 16); \
 } while (0)
+#define INFLATE_SYNC_POINT_HOOK(strm) \
+do { \
+if (dfltcc_was_inflate_used((strm))) return Z_STREAM_ERROR; \
+} while (0)
 
 #endif
diff --git a/inflate.c b/inflate.c
index 2b7d564..6f19a87 100644
--- a/inflate.c
+++ b/inflate.c
@@ -100,6 +100,7 @@
 #define INFLATE_NEED_CHECKSUM(strm) 1
 #define INFLATE_NEED_UPDATEWINDOW(strm) 1
 #define INFLATE_MARK_HOOK(strm) do {} while (0)
+#define INFLATE_SYNC_POINT_HOOK(strm) do {} while (0)
 #endif
 
 #ifdef MAKEFIXED
@@ -1491,6 +1492,7 @@ z_streamp strm;
 struct inflate_state FAR *state;
 
 if (inflateStateCheck(strm)) return Z_STREAM_ERROR;
+INFLATE_SYNC_POINT_HOOK(strm);
 state = (struct inflate_state FAR *)strm->state;
 return state->mode == STORED && state->bits == 0;
 }
-- 
2.25.4
___
openSUSE Commits mailing list -- commit@lists.opensuse.org
To unsubscribe, email commit-le...@lists.opensuse.org
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/commit@lists.opensuse.org