2018-08-03 15:51:16 +00:00
|
|
|
%bcond_without minizip
|
|
|
|
|
2018-04-30 16:27:26 +00:00
|
|
|
Name: zlib
|
2022-10-17 14:31:23 +00:00
|
|
|
Version: 1.2.13
|
2023-01-21 08:18:27 +00:00
|
|
|
Release: 3%{?dist}
|
2021-01-13 22:31:56 +00:00
|
|
|
Summary: Compression and decompression library
|
2012-08-27 17:35:25 +00:00
|
|
|
# /contrib/dotzlib/ have Boost license
|
2023-03-17 14:55:13 +00:00
|
|
|
License: Zlib AND BSL-1.0
|
2021-01-13 22:31:56 +00:00
|
|
|
URL: https://www.zlib.net/
|
2012-08-27 17:35:25 +00:00
|
|
|
|
2021-01-13 22:31:56 +00:00
|
|
|
Source: https://www.zlib.net/zlib-%{version}.tar.xz
|
2017-01-24 06:15:40 +00:00
|
|
|
# https://github.com/madler/zlib/pull/210
|
2012-05-10 20:22:44 +00:00
|
|
|
Patch0: zlib-1.2.5-minizip-fixuncrypt.patch
|
2012-08-27 17:35:25 +00:00
|
|
|
# resolves: #805113
|
2022-10-17 14:31:23 +00:00
|
|
|
Patch1: zlib-1.2.13-optimized-s390.patch
|
2023-01-11 11:15:11 +00:00
|
|
|
# Upstream commit: https://github.com/madler/zlib/commit/e554695638228b846d49657f31eeff0ca4680e8a
|
|
|
|
# This patch is needed for a clean apply of the Patch19
|
|
|
|
Patch2: zlib-1.2.13-Fix-bug-in-deflateBound.patch
|
2022-10-17 14:31:23 +00:00
|
|
|
# IBM optimized crc32 for Power 8+ processors
|
|
|
|
# ref: https://github.com/madler/zlib/pull/750
|
|
|
|
Patch18: zlib-1.2.13-power-optimizations.patch
|
2022-06-22 17:39:57 +00:00
|
|
|
# IBM Z hardware-accelerated deflate
|
|
|
|
# ref: https://github.com/madler/zlib/pull/410
|
2022-10-17 14:31:23 +00:00
|
|
|
Patch19: zlib-1.2.13-IBM-Z-hw-accelerated-deflate.patch
|
2022-06-22 17:39:57 +00:00
|
|
|
# Patch for s390x crc32vx
|
|
|
|
# ref: https://github.com/iii-i/zlib/releases/tag/crc32vx-v3
|
2022-10-17 14:31:23 +00:00
|
|
|
Patch20: zlib-1.2.13-s390x-vectorize-crc32.patch
|
2020-11-18 10:18:50 +00:00
|
|
|
# fixed covscan issues
|
2022-06-22 17:39:57 +00:00
|
|
|
Patch22: zlib-1.2.11-covscan-issues.patch
|
2021-03-31 13:37:41 +00:00
|
|
|
# fixed issues found by covscan for rhel-9
|
|
|
|
# ref: https://github.com/madler/zlib/pull/554
|
2022-06-22 17:39:57 +00:00
|
|
|
Patch23: zlib-1.2.11-covscan-issues-rhel9.patch
|
2012-08-27 17:35:25 +00:00
|
|
|
|
2021-01-09 01:55:26 +00:00
|
|
|
BuildRequires: make
|
2007-02-20 12:58:51 +00:00
|
|
|
BuildRequires: automake, autoconf, libtool
|
2004-09-09 15:16:25 +00:00
|
|
|
|
2018-08-29 12:56:53 +00:00
|
|
|
%global __provides_exclude_from ^%{_libdir}/pkgconfig/minizip\\.pc$
|
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%description
|
2004-09-09 15:17:48 +00:00
|
|
|
Zlib is a general-purpose, patent-free, lossless data compression
|
|
|
|
library which is used by many different programs.
|
2004-09-09 15:16:25 +00:00
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%package devel
|
2007-02-19 11:33:27 +00:00
|
|
|
Summary: Header files and libraries for Zlib development
|
2017-01-26 19:25:01 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2004-09-09 15:16:25 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The zlib-devel package contains the header files and libraries needed
|
|
|
|
to develop programs that use the zlib compression and decompression
|
|
|
|
library.
|
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
2007-11-14 15:30:48 +00:00
|
|
|
%package static
|
|
|
|
Summary: Static libraries for Zlib development
|
2017-01-26 19:25:01 +00:00
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2007-11-14 15:30:48 +00:00
|
|
|
|
|
|
|
%description static
|
|
|
|
The zlib-static package includes static libraries needed
|
|
|
|
to develop programs that use the zlib compression and
|
|
|
|
decompression library.
|
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
|
|
|
%if %{with minizip}
|
2018-08-29 12:56:53 +00:00
|
|
|
%package -n minizip-compat
|
2012-08-27 17:35:25 +00:00
|
|
|
Summary: Library for manipulation with .zip archives
|
2017-01-26 19:25:01 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2007-08-15 09:03:36 +00:00
|
|
|
|
2018-08-29 12:56:53 +00:00
|
|
|
%description -n minizip-compat
|
2012-08-27 17:35:25 +00:00
|
|
|
Minizip is a library for manipulation with files from .zip archives.
|
2007-08-15 09:03:36 +00:00
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
2018-08-29 12:56:53 +00:00
|
|
|
%package -n minizip-compat-devel
|
2007-08-15 09:03:36 +00:00
|
|
|
Summary: Development files for the minizip library
|
2018-08-29 12:56:53 +00:00
|
|
|
Requires: minizip-compat%{?_isa} = %{version}-%{release}
|
2017-01-26 19:25:01 +00:00
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2018-08-29 12:56:53 +00:00
|
|
|
Conflicts: minizip-devel
|
2007-08-15 09:03:36 +00:00
|
|
|
|
2018-08-29 12:56:53 +00:00
|
|
|
%description -n minizip-compat-devel
|
2007-08-15 09:03:36 +00:00
|
|
|
This package contains the libraries and header files needed for
|
|
|
|
developing applications which use minizip.
|
2018-08-03 15:51:16 +00:00
|
|
|
%endif
|
|
|
|
|
2007-08-15 09:03:36 +00:00
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2012-05-10 20:22:44 +00:00
|
|
|
%patch0 -p1 -b .fixuncrypt
|
2023-01-11 11:15:11 +00:00
|
|
|
%patch2 -p1
|
2022-06-22 17:39:57 +00:00
|
|
|
%patch18 -p1
|
|
|
|
%patch19 -p1
|
|
|
|
%patch20 -p1
|
|
|
|
%patch22 -p1
|
|
|
|
%patch23 -p1
|
|
|
|
# Patch19 conflicts with Patch1, so the Patch1 has to be applied after,
|
|
|
|
# because it is arch specific
|
2012-08-13 11:34:16 +00:00
|
|
|
%ifarch s390 s390x
|
|
|
|
%patch1 -p1 -b .optimized-deflate
|
|
|
|
%endif
|
Add support for IBM Z hardware-accelerated deflate
Future versions of IBM Z mainframes will provide DFLTCC instruction,
which implements deflate algorithm in hardware with estimated
compression and decompression performance orders of magnitude faster
than the current zlib and ratio comparable with that of level 1.
This patch adds DFLTCC support to zlib. In order to enable it, the
following build commands should be used:
$ CFLAGS=-DDFLTCC ./configure
$ make OBJA=dfltcc.o PIC_OBJA=dfltcc.lo
When built like this, zlib would compress in hardware on level 1, and in
software on all other levels. Decompression will always happen in
hardware. In order to enable DFLTCC compression for levels 1-6 (i.e. to
make it used by default) one could either add -DDFLTCC_LEVEL_MASK=0x7e
at compile time, or set the environment variable DFLTCC_LEVEL_MASK to
0x7e at run time.
Two DFLTCC compression calls produce the same results only when they
both are made on machines of the same generation, and when the
respective buffers have the same offset relative to the start of the
page. Therefore care should be taken when using hardware compression
when reproducible results are desired. One such use case - reproducible
software builds - is handled explicitly: when SOURCE_DATE_EPOCH
environment variable is set, the hardware compression is disabled.
DFLTCC does not support every single zlib feature, in particular:
* inflate(Z_BLOCK) and inflate(Z_TREES)
* inflateMark()
* inflatePrime()
* deflateParams() after the first deflate() call
When used, these functions will either switch to software, or, in case
this is not possible, gracefully fail.
This patch tries to add DFLTCC support in a least intrusive way.
All SystemZ-specific code was placed into a separate file, but
unfortunately there is still a noticeable amount of changes in the
main zlib code. Below is the summary of those changes.
DFLTCC takes as arguments a parameter block, an input buffer, an output
buffer and a window. Since DFLTCC requires parameter block to be
doubleword-aligned, and it's reasonable to allocate it alongside
deflate and inflate states, ZALLOC_STATE, ZFREE_STATE and ZCOPY_STATE
macros were introduced in order to encapsulate the allocation details.
The same is true for window, for which ZALLOC_WINDOW and
TRY_FREE_WINDOW macros were introduced.
While for inflate software and hardware window formats match, this is
not the case for deflate. Therefore, deflateSetDictionary and
deflateGetDictionary need special handling, which is triggered using the
new DEFLATE_SET_DICTIONARY_HOOK and DEFLATE_GET_DICTIONARY_HOOK macros.
deflateResetKeep() and inflateResetKeep() now update the DFLTCC
parameter block, which is allocated alongside zlib state, using
the new DEFLATE_RESET_KEEP_HOOK and INFLATE_RESET_KEEP_HOOK macros.
In order to make unsupported deflateParams(), inflatePrime() and
inflateMark() calls to fail gracefully, the new DEFLATE_PARAMS_HOOK,
INFLATE_PRIME_HOOK and INFLATE_MARK_HOOK macros were introduced.
The algorithm implemented in hardware has different compression ratio
than the one implemented in software. In order for deflateBound() to
return the correct results for the hardware implementation, the new
DEFLATE_BOUND_ADJUST_COMPLEN and DEFLATE_NEED_CONSERVATIVE_BOUND macros
were introduced.
Actual compression and decompression are handled by the new DEFLATE_HOOK
and INFLATE_TYPEDO_HOOK macros. Since inflation with DFLTCC manages the
window on its own, calling updatewindow() is suppressed using the new
INFLATE_NEED_UPDATEWINDOW() macro.
In addition to compression, DFLTCC computes CRC-32 and Adler-32
checksums, therefore, whenever it's used, software checksumming needs to
be suppressed using the new DEFLATE_NEED_CHECKSUM and
INFLATE_NEED_CHECKSUM macros.
DFLTCC will refuse to write an End-of-block Symbol if there is no input
data, thus in some cases it is necessary to do this manually. In order
to achieve this, send_bits, bi_reverse, bi_windup and flush_pending
were promoted from local to ZLIB_INTERNAL. Furthermore, since block and
stream termination must be handled in software as well, block_state enum
was moved to deflate.h.
Since the first call to dfltcc_inflate already needs the window, and it
might be not allocated yet, inflate_ensure_window was factored out of
updatewindow and made ZLIB_INTERNAL.
2019-08-01 07:14:52 +00:00
|
|
|
|
2018-04-05 21:20:56 +00:00
|
|
|
|
2012-08-27 17:35:25 +00:00
|
|
|
iconv -f iso-8859-2 -t utf-8 < ChangeLog > ChangeLog.tmp
|
2008-02-11 14:52:34 +00:00
|
|
|
mv ChangeLog.tmp ChangeLog
|
2004-09-09 15:16:25 +00:00
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%build
|
2012-08-29 12:46:07 +00:00
|
|
|
export CFLAGS="$RPM_OPT_FLAGS"
|
2018-04-05 21:20:56 +00:00
|
|
|
|
2015-08-14 16:26:23 +00:00
|
|
|
export LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now"
|
2018-08-03 15:51:16 +00:00
|
|
|
# no-autotools, %%configure is not compatible
|
2021-07-15 07:13:57 +00:00
|
|
|
%ifarch s390 s390x
|
|
|
|
./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix} --dfltcc
|
|
|
|
%else
|
|
|
|
./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
|
|
|
|
%endif
|
|
|
|
%make_build
|
2010-03-30 09:08:30 +00:00
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
%if %{with minizip}
|
2010-03-29 10:11:40 +00:00
|
|
|
cd contrib/minizip
|
|
|
|
autoreconf --install
|
2012-06-11 14:37:20 +00:00
|
|
|
%configure --enable-static=no
|
2018-08-03 15:51:16 +00:00
|
|
|
%make_build
|
|
|
|
%endif
|
|
|
|
|
2004-09-09 15:16:39 +00:00
|
|
|
|
2008-02-11 14:52:34 +00:00
|
|
|
%check
|
2010-03-29 10:11:40 +00:00
|
|
|
make test
|
2008-02-11 14:52:34 +00:00
|
|
|
|
2009-03-18 09:01:37 +00:00
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
%install
|
|
|
|
%make_install
|
2010-03-29 10:11:40 +00:00
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
%if %{with minizip}
|
|
|
|
%make_install -C contrib/minizip
|
2018-03-15 15:08:24 +00:00
|
|
|
# https://github.com/madler/zlib/pull/229
|
|
|
|
rm $RPM_BUILD_ROOT%_includedir/minizip/crypt.h
|
2018-08-03 15:51:16 +00:00
|
|
|
%endif
|
|
|
|
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -delete
|
2007-08-15 09:03:36 +00:00
|
|
|
|
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%files
|
2014-08-06 12:26:14 +00:00
|
|
|
%license README
|
|
|
|
%doc ChangeLog FAQ
|
2012-06-11 17:44:17 +00:00
|
|
|
%{_libdir}/libz.so.*
|
2004-09-09 15:16:25 +00:00
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%files devel
|
2014-08-06 12:26:14 +00:00
|
|
|
%doc doc/algorithm.txt test/example.c
|
2007-08-15 09:03:36 +00:00
|
|
|
%{_libdir}/libz.so
|
2012-08-27 17:35:25 +00:00
|
|
|
%{_libdir}/pkgconfig/zlib.pc
|
2007-11-23 10:33:03 +00:00
|
|
|
%{_includedir}/zlib.h
|
2012-08-27 17:35:25 +00:00
|
|
|
%{_includedir}/zconf.h
|
2004-09-09 15:16:25 +00:00
|
|
|
%{_mandir}/man3/zlib.3*
|
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
2007-11-14 15:30:48 +00:00
|
|
|
%files static
|
2014-08-06 12:26:14 +00:00
|
|
|
%license README
|
2007-11-14 15:30:48 +00:00
|
|
|
%{_libdir}/libz.a
|
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
|
|
|
%if %{with minizip}
|
2018-08-29 12:56:53 +00:00
|
|
|
%files -n minizip-compat
|
2010-03-29 10:11:40 +00:00
|
|
|
%doc contrib/minizip/MiniZip64_info.txt contrib/minizip/MiniZip64_Changes.txt
|
2007-08-15 09:03:36 +00:00
|
|
|
%{_libdir}/libminizip.so.*
|
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
|
2018-08-29 12:56:53 +00:00
|
|
|
%files -n minizip-compat-devel
|
2007-11-23 10:33:03 +00:00
|
|
|
%dir %{_includedir}/minizip
|
|
|
|
%{_includedir}/minizip/*.h
|
2007-08-15 09:03:36 +00:00
|
|
|
%{_libdir}/libminizip.so
|
|
|
|
%{_libdir}/pkgconfig/minizip.pc
|
2018-08-03 15:51:16 +00:00
|
|
|
%endif
|
|
|
|
|
2007-08-15 09:03:36 +00:00
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
%changelog
|
2023-01-21 08:18:27 +00:00
|
|
|
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.13-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2023-01-11 11:15:11 +00:00
|
|
|
* Tue Jan 10 2023 Lukas Javorsky <ljavorsk@redhat.com> - 1.2.13-2
|
|
|
|
- Fix for the libxml2 and lxml on s390x
|
|
|
|
- Resolves #2155328
|
|
|
|
|
2022-10-17 14:31:23 +00:00
|
|
|
* Mon Oct 17 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.2.13-1
|
|
|
|
- Rebase to version 1.2.13
|
|
|
|
- Patches 21,24,25 has been upstreamed
|
|
|
|
|
2022-08-10 07:58:54 +00:00
|
|
|
* Tue Aug 09 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.2.12-5
|
|
|
|
- Fix heap-based buffer over-read or buffer overflow in inflate in inflate.c
|
|
|
|
- Resolves: CVE-2022-37434
|
|
|
|
|
2022-07-23 13:57:52 +00:00
|
|
|
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-07-08 08:29:44 +00:00
|
|
|
* Mon Jul 04 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.2.12-3
|
|
|
|
- Upstream patch: Correct incorrect inputs provided to the CRC functions
|
|
|
|
|
2022-06-28 17:04:46 +00:00
|
|
|
* Tue Jun 28 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.2.12-2
|
|
|
|
- Fix covscan patch that caused compiler warnings
|
|
|
|
|
2022-06-22 17:04:21 +00:00
|
|
|
* Tue Apr 05 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.2.12-1
|
|
|
|
- Rebase to 1.2.12
|
|
|
|
- Resolves: CVE-2018-25032
|
|
|
|
|
2022-03-03 13:16:39 +00:00
|
|
|
* Mon Feb 28 2022 Lukas Javorsky <ljavorsk@redhat.com> - 1.2.11-32
|
|
|
|
- Apply IBM patch for compressBound() function
|
|
|
|
- Source from https://github.com/madler/zlib/issues/410#issuecomment-947212824
|
|
|
|
- Resolves: #2057484
|
|
|
|
|
2022-01-22 05:53:58 +00:00
|
|
|
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-31
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-29 10:30:59 +00:00
|
|
|
* Thu Jul 29 2021 Dan Horák <dan[at]danny.cz> - 1.2.11-30
|
|
|
|
- Fix for IBM CRC32 optimalization rhbz#1959423
|
|
|
|
|
2021-07-23 22:20:22 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-28
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-07-15 07:13:57 +00:00
|
|
|
* Thu Jul 01 2021 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-27
|
|
|
|
- Enabled Z hardware-accelerated deflate for compression levels 1 through 6 (#1972057)
|
2021-07-15 07:17:35 +00:00
|
|
|
- IBM CRC32 optimalization rhbz#1959423
|
2021-07-15 07:13:57 +00:00
|
|
|
|
2021-03-31 13:37:41 +00:00
|
|
|
* Wed Mar 31 2021 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-26
|
|
|
|
- fixed covscan issues for rhel-9
|
|
|
|
|
2021-02-12 10:59:14 +00:00
|
|
|
* Fri Feb 12 2021 Michal Schorm <mschorm@redhat.com> - 1.2.11-25
|
|
|
|
- Remove ancient PPC64 hack
|
2021-03-17 10:12:21 +00:00
|
|
|
- Remove aarch64 optimalizations (#1936823)
|
2021-02-12 10:59:14 +00:00
|
|
|
|
2021-01-28 00:44:11 +00:00
|
|
|
* Thu Jan 28 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-24
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-11-18 10:18:50 +00:00
|
|
|
* Wed Nov 18 2020 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-23
|
|
|
|
- backport IBM Z updates to fedora
|
|
|
|
|
2020-07-29 15:25:32 +00:00
|
|
|
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-22
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-01-31 05:21:50 +00:00
|
|
|
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-21
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-10-29 12:30:42 +00:00
|
|
|
* Tue Oct 29 2019 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-20
|
|
|
|
- Added -DDFLTCC parameter to configure to enable
|
2019-11-04 13:38:27 +00:00
|
|
|
- Z hardware-accelerated deflate for s390x architectures (#1659433)
|
2019-10-29 12:30:42 +00:00
|
|
|
|
2019-09-05 07:52:39 +00:00
|
|
|
* Thu Sep 05 2019 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-19
|
|
|
|
- IBM CRC32 optimalization for POWER 8+ architectures re-add
|
|
|
|
- fixed firefox crash duer to zlib (#1741266)
|
|
|
|
- added test for crc32
|
|
|
|
|
2019-08-15 07:15:37 +00:00
|
|
|
* Thu Aug 15 2019 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-18
|
|
|
|
- IBM CRC32 optimalization for POWER 8+ architectures revert
|
|
|
|
|
Add support for IBM Z hardware-accelerated deflate
Future versions of IBM Z mainframes will provide DFLTCC instruction,
which implements deflate algorithm in hardware with estimated
compression and decompression performance orders of magnitude faster
than the current zlib and ratio comparable with that of level 1.
This patch adds DFLTCC support to zlib. In order to enable it, the
following build commands should be used:
$ CFLAGS=-DDFLTCC ./configure
$ make OBJA=dfltcc.o PIC_OBJA=dfltcc.lo
When built like this, zlib would compress in hardware on level 1, and in
software on all other levels. Decompression will always happen in
hardware. In order to enable DFLTCC compression for levels 1-6 (i.e. to
make it used by default) one could either add -DDFLTCC_LEVEL_MASK=0x7e
at compile time, or set the environment variable DFLTCC_LEVEL_MASK to
0x7e at run time.
Two DFLTCC compression calls produce the same results only when they
both are made on machines of the same generation, and when the
respective buffers have the same offset relative to the start of the
page. Therefore care should be taken when using hardware compression
when reproducible results are desired. One such use case - reproducible
software builds - is handled explicitly: when SOURCE_DATE_EPOCH
environment variable is set, the hardware compression is disabled.
DFLTCC does not support every single zlib feature, in particular:
* inflate(Z_BLOCK) and inflate(Z_TREES)
* inflateMark()
* inflatePrime()
* deflateParams() after the first deflate() call
When used, these functions will either switch to software, or, in case
this is not possible, gracefully fail.
This patch tries to add DFLTCC support in a least intrusive way.
All SystemZ-specific code was placed into a separate file, but
unfortunately there is still a noticeable amount of changes in the
main zlib code. Below is the summary of those changes.
DFLTCC takes as arguments a parameter block, an input buffer, an output
buffer and a window. Since DFLTCC requires parameter block to be
doubleword-aligned, and it's reasonable to allocate it alongside
deflate and inflate states, ZALLOC_STATE, ZFREE_STATE and ZCOPY_STATE
macros were introduced in order to encapsulate the allocation details.
The same is true for window, for which ZALLOC_WINDOW and
TRY_FREE_WINDOW macros were introduced.
While for inflate software and hardware window formats match, this is
not the case for deflate. Therefore, deflateSetDictionary and
deflateGetDictionary need special handling, which is triggered using the
new DEFLATE_SET_DICTIONARY_HOOK and DEFLATE_GET_DICTIONARY_HOOK macros.
deflateResetKeep() and inflateResetKeep() now update the DFLTCC
parameter block, which is allocated alongside zlib state, using
the new DEFLATE_RESET_KEEP_HOOK and INFLATE_RESET_KEEP_HOOK macros.
In order to make unsupported deflateParams(), inflatePrime() and
inflateMark() calls to fail gracefully, the new DEFLATE_PARAMS_HOOK,
INFLATE_PRIME_HOOK and INFLATE_MARK_HOOK macros were introduced.
The algorithm implemented in hardware has different compression ratio
than the one implemented in software. In order for deflateBound() to
return the correct results for the hardware implementation, the new
DEFLATE_BOUND_ADJUST_COMPLEN and DEFLATE_NEED_CONSERVATIVE_BOUND macros
were introduced.
Actual compression and decompression are handled by the new DEFLATE_HOOK
and INFLATE_TYPEDO_HOOK macros. Since inflation with DFLTCC manages the
window on its own, calling updatewindow() is suppressed using the new
INFLATE_NEED_UPDATEWINDOW() macro.
In addition to compression, DFLTCC computes CRC-32 and Adler-32
checksums, therefore, whenever it's used, software checksumming needs to
be suppressed using the new DEFLATE_NEED_CHECKSUM and
INFLATE_NEED_CHECKSUM macros.
DFLTCC will refuse to write an End-of-block Symbol if there is no input
data, thus in some cases it is necessary to do this manually. In order
to achieve this, send_bits, bi_reverse, bi_windup and flush_pending
were promoted from local to ZLIB_INTERNAL. Furthermore, since block and
stream termination must be handled in software as well, block_state enum
was moved to deflate.h.
Since the first call to dfltcc_inflate already needs the window, and it
might be not allocated yet, inflate_ensure_window was factored out of
updatewindow and made ZLIB_INTERNAL.
2019-08-01 07:14:52 +00:00
|
|
|
* Thu Aug 01 2019 Ondrej Dubaj <odubaj@redhat.com> - 1.2.11-17
|
|
|
|
- IBM Z hardware-accelerated deflate for s390x architectures
|
2019-08-01 10:18:36 +00:00
|
|
|
- IBM CRC32 optimalization for POWER 8+ architectures
|
Add support for IBM Z hardware-accelerated deflate
Future versions of IBM Z mainframes will provide DFLTCC instruction,
which implements deflate algorithm in hardware with estimated
compression and decompression performance orders of magnitude faster
than the current zlib and ratio comparable with that of level 1.
This patch adds DFLTCC support to zlib. In order to enable it, the
following build commands should be used:
$ CFLAGS=-DDFLTCC ./configure
$ make OBJA=dfltcc.o PIC_OBJA=dfltcc.lo
When built like this, zlib would compress in hardware on level 1, and in
software on all other levels. Decompression will always happen in
hardware. In order to enable DFLTCC compression for levels 1-6 (i.e. to
make it used by default) one could either add -DDFLTCC_LEVEL_MASK=0x7e
at compile time, or set the environment variable DFLTCC_LEVEL_MASK to
0x7e at run time.
Two DFLTCC compression calls produce the same results only when they
both are made on machines of the same generation, and when the
respective buffers have the same offset relative to the start of the
page. Therefore care should be taken when using hardware compression
when reproducible results are desired. One such use case - reproducible
software builds - is handled explicitly: when SOURCE_DATE_EPOCH
environment variable is set, the hardware compression is disabled.
DFLTCC does not support every single zlib feature, in particular:
* inflate(Z_BLOCK) and inflate(Z_TREES)
* inflateMark()
* inflatePrime()
* deflateParams() after the first deflate() call
When used, these functions will either switch to software, or, in case
this is not possible, gracefully fail.
This patch tries to add DFLTCC support in a least intrusive way.
All SystemZ-specific code was placed into a separate file, but
unfortunately there is still a noticeable amount of changes in the
main zlib code. Below is the summary of those changes.
DFLTCC takes as arguments a parameter block, an input buffer, an output
buffer and a window. Since DFLTCC requires parameter block to be
doubleword-aligned, and it's reasonable to allocate it alongside
deflate and inflate states, ZALLOC_STATE, ZFREE_STATE and ZCOPY_STATE
macros were introduced in order to encapsulate the allocation details.
The same is true for window, for which ZALLOC_WINDOW and
TRY_FREE_WINDOW macros were introduced.
While for inflate software and hardware window formats match, this is
not the case for deflate. Therefore, deflateSetDictionary and
deflateGetDictionary need special handling, which is triggered using the
new DEFLATE_SET_DICTIONARY_HOOK and DEFLATE_GET_DICTIONARY_HOOK macros.
deflateResetKeep() and inflateResetKeep() now update the DFLTCC
parameter block, which is allocated alongside zlib state, using
the new DEFLATE_RESET_KEEP_HOOK and INFLATE_RESET_KEEP_HOOK macros.
In order to make unsupported deflateParams(), inflatePrime() and
inflateMark() calls to fail gracefully, the new DEFLATE_PARAMS_HOOK,
INFLATE_PRIME_HOOK and INFLATE_MARK_HOOK macros were introduced.
The algorithm implemented in hardware has different compression ratio
than the one implemented in software. In order for deflateBound() to
return the correct results for the hardware implementation, the new
DEFLATE_BOUND_ADJUST_COMPLEN and DEFLATE_NEED_CONSERVATIVE_BOUND macros
were introduced.
Actual compression and decompression are handled by the new DEFLATE_HOOK
and INFLATE_TYPEDO_HOOK macros. Since inflation with DFLTCC manages the
window on its own, calling updatewindow() is suppressed using the new
INFLATE_NEED_UPDATEWINDOW() macro.
In addition to compression, DFLTCC computes CRC-32 and Adler-32
checksums, therefore, whenever it's used, software checksumming needs to
be suppressed using the new DEFLATE_NEED_CHECKSUM and
INFLATE_NEED_CHECKSUM macros.
DFLTCC will refuse to write an End-of-block Symbol if there is no input
data, thus in some cases it is necessary to do this manually. In order
to achieve this, send_bits, bi_reverse, bi_windup and flush_pending
were promoted from local to ZLIB_INTERNAL. Furthermore, since block and
stream termination must be handled in software as well, block_state enum
was moved to deflate.h.
Since the first call to dfltcc_inflate already needs the window, and it
might be not allocated yet, inflate_ensure_window was factored out of
updatewindow and made ZLIB_INTERNAL.
2019-08-01 07:14:52 +00:00
|
|
|
|
2019-07-27 05:03:12 +00:00
|
|
|
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-16
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-03 13:13:25 +00:00
|
|
|
* Sun Feb 03 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-02 11:33:23 +00:00
|
|
|
* Tue Oct 2 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.11-14
|
|
|
|
- Bump build
|
|
|
|
|
2018-09-18 21:11:51 +00:00
|
|
|
* Tue Sep 18 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.11-13
|
|
|
|
- Revert aarch64 neon inflate optimisation
|
|
|
|
|
2018-08-29 12:56:53 +00:00
|
|
|
* Wed Aug 29 2018 Patrik Novotný <panovotn@redhat.com> - 1.2.11-12
|
|
|
|
- Rename minizip and minizip-devel to minizip-compat and minizip-compat-devel respectively
|
|
|
|
|
2018-08-23 10:06:19 +00:00
|
|
|
* Thu Aug 23 2018 Patrik Novotný <panovotn@redhat.com> - 1.2.11-11
|
|
|
|
- Provides minizip-compat and minizip-compat-devel
|
|
|
|
|
2018-08-03 15:51:16 +00:00
|
|
|
* Fri Aug 03 2018 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-10
|
|
|
|
- add %%bcond for minizip
|
|
|
|
- use %%make_* macros
|
|
|
|
|
2018-07-14 09:52:00 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-04-30 16:27:26 +00:00
|
|
|
* Mon Apr 30 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.11-8
|
|
|
|
- Optimisations for aarch64
|
|
|
|
- Minor spec cleanups
|
|
|
|
|
2018-03-15 15:08:24 +00:00
|
|
|
* Thu Mar 15 2018 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-7
|
|
|
|
- don't install crypt.h (rhbz#1424609)
|
|
|
|
|
2018-02-09 22:30:19 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-02 10:17:54 +00:00
|
|
|
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.11-5
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2017-08-03 11:12:35 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 22:44:42 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.11-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-09 14:01:10 +00:00
|
|
|
* Thu Feb 09 2017 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-2
|
|
|
|
- fix s390(x) optimizing patch (FTBFS on s390(x))
|
2017-02-09 14:03:06 +00:00
|
|
|
- simplify ppc64 hack with -O3
|
2017-02-09 14:01:10 +00:00
|
|
|
|
2017-01-31 10:13:44 +00:00
|
|
|
* Mon Jan 30 2017 Pavel Raiskup <praiskup@redhat.com> - 1.2.11-1
|
2017-01-05 07:34:51 +00:00
|
|
|
- latest upstream release (rhbz#1409372)
|
2017-01-24 06:14:10 +00:00
|
|
|
- cleanup rpmlint
|
2017-01-24 06:15:40 +00:00
|
|
|
- revert fix for rhbz#985344
|
2017-01-26 19:25:01 +00:00
|
|
|
- requires with %%_isa tag
|
2017-01-31 10:13:44 +00:00
|
|
|
- drop zlib Z_BLOCK flush patch (rhbz#1417355)
|
2017-01-05 07:34:51 +00:00
|
|
|
|
2016-02-05 04:07:56 +00:00
|
|
|
* Fri Feb 05 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.8-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-08-14 16:26:23 +00:00
|
|
|
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 1.2.8-9
|
|
|
|
- Link with -z now for full RELRO
|
|
|
|
|
2015-06-19 04:49:14 +00:00
|
|
|
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-18 11:44:55 +00:00
|
|
|
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-08-06 12:26:14 +00:00
|
|
|
* Wed Aug 6 2014 Tom Callaway <spot@fedoraproject.org> - 1.2.8-6
|
|
|
|
- fix license handling
|
|
|
|
|
2014-06-07 18:14:50 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-02-12 10:11:30 +00:00
|
|
|
* Wed Feb 12 2014 jchaloup <jchaloup@redhat.com> - 1.2.8-4
|
|
|
|
- resolves: #1064213
|
|
|
|
recompiled with -O3 flag for ppc64 arch
|
|
|
|
|
2013-08-10 12:58:20 +00:00
|
|
|
* Sat Aug 10 2013 Kalev Lember <kalevlember@gmail.com> - 1.2.8-3
|
|
|
|
- resolves: #985344
|
|
|
|
add a patch to fix missing minizip include
|
|
|
|
|
2013-08-04 09:57:32 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-07 13:58:54 +00:00
|
|
|
* Fri Jun 7 2013 Peter Schiffer <pschiffe@redhat.com> - 1.2.8-1
|
|
|
|
- resolves: #957680
|
|
|
|
updated to 1.2.8
|
|
|
|
|
2013-02-15 04:23:11 +00:00
|
|
|
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-10-04 12:39:29 +00:00
|
|
|
* Thu Oct 4 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-9
|
|
|
|
- updated patch optimizing deflate on s390(x) architectures
|
|
|
|
|
2012-08-29 12:46:07 +00:00
|
|
|
* Wed Aug 29 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-8
|
|
|
|
- related: #832545
|
|
|
|
reverted changes for this bug, static libraries shouldn't be compiled with
|
|
|
|
-fPIC flag
|
|
|
|
|
2012-08-27 17:35:25 +00:00
|
|
|
* Mon Aug 27 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-7
|
2012-08-22 14:55:07 +00:00
|
|
|
- resolves: #844791
|
|
|
|
rank Z_BLOCK flush below Z_PARTIAL_FLUSH only when last flush was Z_BLOCK
|
2012-08-27 17:35:25 +00:00
|
|
|
- done some minor .spec file cleanup
|
2012-08-22 14:55:07 +00:00
|
|
|
|
2012-08-13 11:34:16 +00:00
|
|
|
* Mon Aug 13 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-6
|
|
|
|
- added patch from IBM which optimizes deflate on s390(x) architectures
|
|
|
|
|
2012-08-02 13:07:32 +00:00
|
|
|
* Thu Aug 02 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-5
|
|
|
|
- resolves: #832545
|
|
|
|
recompiled with -fPIC flag
|
|
|
|
|
2012-07-22 08:26:29 +00:00
|
|
|
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-06-11 17:44:17 +00:00
|
|
|
* Mon Jun 11 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-3
|
|
|
|
- moved /lib* to /usr/lib*
|
|
|
|
|
2012-06-11 14:37:20 +00:00
|
|
|
* Mon Jun 11 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-2
|
|
|
|
- recompiled with -Wl,-z,relro flags
|
|
|
|
|
2012-05-10 20:22:44 +00:00
|
|
|
* Thu May 10 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.7-1
|
|
|
|
- resolves: #785726
|
|
|
|
- resolves: #805874
|
|
|
|
update to 1.2.7
|
|
|
|
|
2012-01-10 22:17:17 +00:00
|
|
|
* Tue Jan 10 2012 Peter Schiffer <pschiffe@redhat.com> - 1.2.5-6
|
|
|
|
- resolves: #719139
|
|
|
|
Zlib fails to read zip64 files on 64-bit system
|
|
|
|
|
2011-11-11 17:24:51 +00:00
|
|
|
* Fri Nov 11 2011 Tom Callaway <spot@fedoraproject.org> - 1.2.5-5
|
|
|
|
- fix minizip to permit uncrypt when NOUNCRYPT is not defined
|
|
|
|
|
2011-04-06 10:27:12 +00:00
|
|
|
* Wed Apr 6 2011 Ivana Hutarova Varekova <varekova@redhat.com> - 1.2.5-4
|
|
|
|
- Resolves: #678603
|
|
|
|
zlib from minizip allowed NULL pointer parameter of function unzGetCurrentFileInfo
|
|
|
|
|
2011-02-08 09:07:54 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-06-16 11:53:03 +00:00
|
|
|
* Wed Jun 16 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.2.5-2
|
|
|
|
- Resolves: #591317
|
|
|
|
pdfedit fails to compile on i686 with zlib.h errors
|
|
|
|
|
2010-04-22 11:10:11 +00:00
|
|
|
* Thu Apr 22 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.2.5-1
|
|
|
|
- update to 1.2.5
|
|
|
|
|
2010-03-29 10:11:40 +00:00
|
|
|
* Mon Mar 29 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.2.4-1
|
|
|
|
- update to 1.2.4
|
|
|
|
use the upstream make/configure files for zlib,
|
|
|
|
change additional makefile/configure file to be used only to minizip
|
|
|
|
add pkgconfig to zlib
|
|
|
|
|
|
|
|
* Mon Mar 8 2010 Ivana Hutarova Varekova <varekova@redhat.com> - 1.2.3-25
|
2010-03-08 08:09:50 +00:00
|
|
|
- add Boost license
|
|
|
|
|
2009-08-12 19:50:45 +00:00
|
|
|
* Tue Aug 11 2009 Ville Skyttä <ville.skytta@iki.fi> - 1.2.3-24
|
|
|
|
- Use bzipped upstream tarball.
|
|
|
|
|
2009-07-27 09:04:10 +00:00
|
|
|
* Mon Jul 27 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-23
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-03-18 09:01:37 +00:00
|
|
|
* Wed Mar 18 2009 Stepan Kasal <skasal@redhat.com> - 1.2.3-22
|
|
|
|
- fix the libz.so symlink
|
|
|
|
|
2009-03-17 17:14:03 +00:00
|
|
|
* Tue Mar 17 2009 Stepan Kasal <skasal@redhat.com> - 1.2.3-21
|
|
|
|
- consolidate the autoconfiscation patches into one and clean it up
|
|
|
|
- consequently, clean up the %%build and %%install sections
|
2009-03-18 09:01:37 +00:00
|
|
|
- zconf.h includes unistd.h again (#479133)
|
2009-03-17 17:14:03 +00:00
|
|
|
|
2009-02-25 18:43:43 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-20
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-12-01 10:32:59 +00:00
|
|
|
* Mon Dec 1 2008 Ivana Varekova <varekova@redhat.com> - 1.2.3-19
|
|
|
|
- fix 473490 - unchecked malloc
|
|
|
|
|
2008-02-13 08:08:24 +00:00
|
|
|
* Wed Feb 13 2008 Ivana Varekova <varekova@redhat.com> - 1.2.3-18
|
|
|
|
- change license tag (226671#c29)
|
|
|
|
|
2008-02-11 14:52:34 +00:00
|
|
|
* Mon Feb 11 2008 Ivana Varekova <varekova@redhat.com> - 1.2.3-17
|
|
|
|
- spec file changes
|
|
|
|
|
2007-11-23 10:33:03 +00:00
|
|
|
* Fri Nov 23 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-16
|
|
|
|
- remove minizip headers to minizip-devel
|
|
|
|
- spec file cleanup
|
|
|
|
- fix minizip.pc file
|
|
|
|
|
2007-11-14 15:30:48 +00:00
|
|
|
* Wed Nov 14 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-15
|
|
|
|
- separate static subpackage
|
|
|
|
|
2007-08-15 09:03:36 +00:00
|
|
|
* Wed Aug 15 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-14
|
|
|
|
- create minizip subpackage
|
|
|
|
|
2007-05-21 11:11:22 +00:00
|
|
|
* Mon May 21 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-13
|
|
|
|
- remove .so,.a
|
|
|
|
|
2007-05-21 08:57:37 +00:00
|
|
|
* Mon May 21 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-12
|
|
|
|
- Resolves #240277
|
|
|
|
Move libz to /lib(64)
|
|
|
|
|
2007-04-23 08:15:53 +00:00
|
|
|
* Mon Apr 23 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-11
|
|
|
|
- Resolves: 237295
|
|
|
|
fix Summary tag
|
|
|
|
|
2007-03-23 14:00:47 +00:00
|
|
|
* Fri Mar 23 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-10
|
|
|
|
- remove zlib .so.* packages to /lib
|
|
|
|
|
|
|
|
* Fri Mar 9 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-9
|
2007-03-09 10:30:14 +00:00
|
|
|
- incorporate package review feedback
|
|
|
|
|
2017-01-24 06:14:10 +00:00
|
|
|
* Wed Feb 21 2007 Adam Tkac <atkac redhat com> - 1.2.3-8
|
2007-02-21 17:02:56 +00:00
|
|
|
- fixed broken version of libz
|
|
|
|
|
2007-02-20 12:58:51 +00:00
|
|
|
* Tue Feb 20 2007 Adam Tkac <atkac redhat com> - 1.2.3-7
|
|
|
|
- building is now automatized
|
|
|
|
- specfile cleanup
|
|
|
|
|
2007-02-20 10:32:33 +00:00
|
|
|
* Tue Feb 20 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-6
|
|
|
|
- remove the compilation part to build section
|
|
|
|
some minor changes
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Mon Feb 19 2007 Ivana Varekova <varekova@redhat.com> - 1.2.3-5
|
|
|
|
- incorporate package review feedback
|
|
|
|
|
|
|
|
* Mon Oct 23 2006 Ivana Varekova <varekova@redhat.com> - 1.2.3-4
|
2006-10-23 09:25:42 +00:00
|
|
|
- fix #209424 - fix libz.a permissions
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Jul 19 2006 Ivana Varekova <varekova@redhat.com> - 1.2.3-3
|
2006-07-19 08:34:35 +00:00
|
|
|
- add cflags (#199379)
|
|
|
|
|
2006-07-12 19:22:28 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.2.3-2
|
2006-07-12 17:40:38 +00:00
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 06:38:29 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.2.3-1.2.1
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 14:44:34 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.2.3-1.2
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2005-12-09 22:43:58 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-08-24 14:14:47 +00:00
|
|
|
* Wed Aug 24 2005 Florian La Roche <laroche@redhat.com>
|
|
|
|
- update to 1.2.3
|
|
|
|
|
2005-07-22 07:59:46 +00:00
|
|
|
* Fri Jul 22 2005 Ivana Varekova <varekova@redhat.com> 1.2.2.2-5
|
|
|
|
- fix bug 163038 - CAN-2005-1849 - zlib buffer overflow
|
|
|
|
|
2005-07-07 09:34:41 +00:00
|
|
|
* Thu Jul 7 2005 Ivana Varekova <varekova@redhat.com> 1.2.2.2-4
|
|
|
|
- fix bug 162392 - CAN-2005-2096
|
|
|
|
|
2005-04-11 14:38:23 +00:00
|
|
|
* Wed Mar 30 2005 Ivana Varekova <varekova@redhat.com> 1.2.2.2-3
|
|
|
|
- fix bug 122408 - zlib build process runs configure twice
|
|
|
|
|
2005-03-04 15:15:29 +00:00
|
|
|
* Fri Mar 4 2005 Jeff Johnson <jbj@redhat.com> 1.2.2.2-2
|
|
|
|
- rebuild with gcc4.
|
|
|
|
|
2005-01-03 17:41:47 +00:00
|
|
|
* Sat Jan 1 2005 Jeff Johnson <jbj@jbj.org> 1.2.2.2-1
|
|
|
|
- upgrade to 1.2.2.2.
|
|
|
|
|
2004-11-12 23:41:02 +00:00
|
|
|
* Fri Nov 12 2004 Jeff Johnson <jbj@jbj.org> 1.2.2.1-1
|
|
|
|
- upgrade to 1.2.2.1.
|
|
|
|
|
2004-09-12 17:07:35 +00:00
|
|
|
* Sun Sep 12 2004 Jeff Johnson <jbj@redhat.com> 1.2.1.2-1
|
|
|
|
- update to 1.2.1.2 to fix 2 DoS problems (#131385).
|
|
|
|
|
2004-09-09 15:20:46 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:20:42 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 15:20:22 +00:00
|
|
|
* Sun Jan 18 2004 Jeff Johnson <jbj@jbj.org> 1.2.1.1-1
|
|
|
|
- upgrade to zlib-1.2.1.1.
|
|
|
|
|
|
|
|
* Sun Nov 30 2003 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- update to 1.2.1 release
|
|
|
|
|
|
|
|
* Mon Oct 13 2003 Jeff Johnson <jbj@jbj.org> 1.2.0.7-3
|
|
|
|
- unrevert zlib.h include constants (#106291), rejected upstream.
|
|
|
|
|
2004-09-09 15:20:15 +00:00
|
|
|
* Wed Oct 8 2003 Jeff Johnson <jbj@jbj.org> 1.2.0.7-2
|
|
|
|
- fix: gzeof not set when reading compressed file (#106424).
|
|
|
|
- fix: revert zlib.h include constants for now (#106291).
|
|
|
|
|
|
|
|
* Tue Sep 23 2003 Jeff Johnson <jbj@redhat.com> 1.2.0.7-1
|
|
|
|
- update to 1.2.0.7, penultimate 1.2.1 release candidate.
|
|
|
|
|
|
|
|
* Tue Jul 22 2003 Jeff Johnson <jbj@redhat.com> 1.2.0.3-0.1
|
|
|
|
- update to release candidate.
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon May 19 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-9
|
|
|
|
- rebuild, revert from 1.2.0.1.
|
|
|
|
|
2004-09-09 15:19:33 +00:00
|
|
|
* Mon Feb 24 2003 Jeff Johnson <jbj@redhat.com> 1.1.4-8
|
|
|
|
- fix gzprintf buffer overrun (#84961).
|
|
|
|
|
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com> 1.1.4-7
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Thu Nov 21 2002 Elliot Lee <sopwith@redhat.com> 1.1.4-6
|
|
|
|
- Make ./configure use $CC to ease cross-compilation
|
|
|
|
|
|
|
|
* Tue Nov 12 2002 Jeff Johnson <jbj@redhat.com> 1.1.4-5
|
|
|
|
- rebuild from cvs.
|
|
|
|
|
2004-09-09 15:19:27 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 15:19:04 +00:00
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2004-09-09 15:18:58 +00:00
|
|
|
* Fri Apr 26 2002 Jakub Jelinek <jakub@redhat.com> 1.1.4-2
|
|
|
|
- remove glibc patch, it is no longer needed (zlib uses gcc -shared
|
|
|
|
as it should)
|
|
|
|
- run tests and only build the package if they succeed
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Thu Apr 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1.4-1
|
2004-09-09 15:18:58 +00:00
|
|
|
- 1.1.4
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Jan 30 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.1.3-25.7
|
2004-09-09 15:18:28 +00:00
|
|
|
- Fix double free
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Sun Aug 26 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.1.3-24
|
2004-09-09 15:17:48 +00:00
|
|
|
- Add example.c and minigzip.c to the doc files, as
|
|
|
|
they are listed as examples in the README (#52574)
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Mon Jun 18 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:17:26 +00:00
|
|
|
- Updated URL
|
|
|
|
- Add version dependency for zlib-devel
|
|
|
|
- s/Copyright/License/
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Feb 14 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:39 +00:00
|
|
|
- bumped version number - this is the old version without the performance enhancements
|
|
|
|
|
|
|
|
* Fri Sep 15 2000 Florian La Roche <Florian.LaRoche@redhat.de>
|
|
|
|
- add -fPIC for shared libs (patch by Fritz Elfert)
|
|
|
|
|
|
|
|
* Thu Sep 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- on 64bit systems, make sure libraries are located correctly.
|
|
|
|
|
2004-09-09 15:16:25 +00:00
|
|
|
* Thu Aug 17 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- summaries from specspo.
|
|
|
|
|
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Sun Jul 02 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:25 +00:00
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Tue Jun 13 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- FHS packaging to build on solaris2.5.1.
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Wed Jun 07 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:25 +00:00
|
|
|
- use %%{_mandir} and %%{_tmppath}
|
|
|
|
|
2007-02-19 11:33:27 +00:00
|
|
|
* Fri May 12 2000 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 15:16:25 +00:00
|
|
|
- updated URL and source location
|
|
|
|
- moved README to main package
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- compress man page.
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 5)
|
|
|
|
|
|
|
|
* Wed Sep 09 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- link against glibc
|
|
|
|
|
|
|
|
* Mon Jul 27 1998 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- upgrade to 1.1.3
|
|
|
|
|
|
|
|
* Fri May 08 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- upgraded to 1.1.2
|
|
|
|
- buildroot
|
|
|
|
|
|
|
|
* Tue Oct 07 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- added URL tag (down at the moment so it may not be correct)
|
|
|
|
- made zlib-devel require zlib
|
|
|
|
|
|
|
|
* Thu Jun 19 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|