Accepting request 91199 from Base:System
-open file descriptors with O_CLOEXEC but only in the· gzopen() case, not in gzdopen() as that would change the calling application' semantics. It is responsability of the caller to ensure O_CLOEXEC is used in such scenario. only matters in 32 bit. what version to use is still - Fix two bugs that will break ia64 systems only. * This are integrated now,including support for a number now with comments,performance numbers,and ia64 support - Update SSE2/MMX patches to version 2. this makes the library up to 6 times faster. - use compiler profile information to make libz slightly faster. contributions in contrib/ - refresh patches with fuzz=0 - added LICENSE file, for GPL licensed contrib files, however mail either the security team or me. - add patch from gentoo that makes zlib to only export - run make test in the check section. - remove libgz completely (obsolete long ago) - supply format arguments to gzprintf(). - update to 1.2.2 - update to 1.2.1 - remove executable bits from manpage and include file - prevent double free() (security problem) with - added Provides zlib-devel for compatibility - install main lib in /%{_lib} not /usr/%{_lib} - sorted (forwarded request 91106 from elvigia) OBS-URL: https://build.opensuse.org/request/show/91199 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zlib?expand=0&rev=41
This commit is contained in:
parent
24acb76431
commit
c7ada8574c
10
zlib-ocloexec.patch
Normal file
10
zlib-ocloexec.patch
Normal file
@ -0,0 +1,10 @@
|
||||
--- gzlib.c.orig
|
||||
+++ gzlib.c
|
||||
@@ -167,6 +167,7 @@ local gzFile gz_open(path, fd, mode)
|
||||
#ifdef O_BINARY
|
||||
O_BINARY |
|
||||
#endif
|
||||
+ O_CLOEXEC |
|
||||
(state->mode == GZ_READ ?
|
||||
O_RDONLY :
|
||||
(O_WRONLY | O_CREAT | (
|
53
zlib.changes
53
zlib.changes
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Nov 13 05:52:57 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
-open file descriptors with O_CLOEXEC but only in the·
|
||||
gzopen() case, not in gzdopen() as that would change
|
||||
the calling application' semantics.
|
||||
It is responsability of the caller to ensure O_CLOEXEC is used
|
||||
in such scenario.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 4 09:10:46 UTC 2011 - uli@suse.com
|
||||
|
||||
@ -9,7 +18,7 @@ Fri Aug 26 18:36:11 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Use __attribute__ target in SSE optimized functions
|
||||
so the compiler defines __MMX__ __SSE__ etc, this probably
|
||||
only matters in 32 bit. what version to use is still
|
||||
only matters in 32 bit. what version to use is still
|
||||
determined at runtime by cpuid.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@ -21,7 +30,7 @@ Mon Jun 27 11:05:47 UTC 2011 - dimstar@opensuse.org
|
||||
-------------------------------------------------------------------
|
||||
Mon May 30 19:38:43 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Fix two bugs that will break ia64 systems only.
|
||||
- Fix two bugs that will break ia64 systems only.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri May 27 09:13:31 UTC 2011 - mvyskocil@suse.cz
|
||||
@ -40,25 +49,25 @@ Sat May 7 18:25:48 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Update SSE2/MMX patches to their current version.
|
||||
per request of the author.
|
||||
* This are integrated now,including support for a number
|
||||
* This are integrated now,including support for a number
|
||||
of additional archs and fixes ARM patches bugs.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Apr 18 18:02:50 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Update SSE2/MMX patches tp version 3
|
||||
now with comments,performance numbers,and ia64 support
|
||||
now with comments,performance numbers,and ia64 support
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Mar 30 19:47:30 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Update SSE2/MMX patches to version 2.
|
||||
- Update SSE2/MMX patches to version 2.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Mar 15 22:38:32 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
- Add highly experimental patches to use SSE2/SSSE3/MMX in zlib
|
||||
this makes the library up to 6 times faster.
|
||||
this makes the library up to 6 times faster.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 9 14:33:08 CET 2011 - meissner@suse.de
|
||||
@ -74,7 +83,7 @@ Tue Dec 21 16:12:56 CET 2010 - meissner@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 7 17:18:43 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||
|
||||
- use compiler profile information to make libz slightly faster.
|
||||
- use compiler profile information to make libz slightly faster.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 21 21:48:23 UTC 2010 - dimstar@opensuse.org
|
||||
@ -109,7 +118,7 @@ Tue Aug 10 16:04:54 CEST 2010 - dimstar@opensuse.org
|
||||
+ Added LFS (Large File Summit) support for 64-bit file offsets
|
||||
and many other portability improvements
|
||||
+ Updated examples in examples/ and updated third-party
|
||||
contributions in contrib/
|
||||
contributions in contrib/
|
||||
- Drop obsolete patches:
|
||||
+ zlib-1.2.1-make-test.patch
|
||||
+ zlib-1.2.1-vsnprintf.patch
|
||||
@ -133,12 +142,12 @@ Sat Dec 12 18:41:52 CET 2009 - jengelh@medozas.de
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 24 16:23:32 UTC 2009 - crrodriguez@opensuse.org
|
||||
|
||||
- refresh patches with fuzz=0
|
||||
- refresh patches with fuzz=0
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 24 10:33:06 CEST 2009 - mseben@suse.cz
|
||||
|
||||
- added LICENSE file, for GPL licensed contrib files, however
|
||||
- added LICENSE file, for GPL licensed contrib files, however
|
||||
they are not used to build our zlib library (bnc#490107)
|
||||
- added zlib-1.2.3-686.patch - update license text (bnc#490107)
|
||||
|
||||
@ -148,12 +157,12 @@ Sat Mar 21 16:23:42 CET 2009 - crrodriguez@suse.de
|
||||
- there is one valid use case of static zlib in "qemu" package
|
||||
split a -devel-static subpackage, please do not BuildRequire
|
||||
this package unless you are 100% sure you need it, if in doubt
|
||||
mail either the security team or me.
|
||||
mail either the security team or me.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 27 19:58:04 CET 2009 - crrodriguez@suse.de
|
||||
|
||||
- add patch from gentoo that makes zlib to only export
|
||||
- add patch from gentoo that makes zlib to only export
|
||||
its public API using GCC visibility features, this will
|
||||
of course break wrong code that uses private symbols
|
||||
- exclude static zlib, at least temporarily, in order to clearly know
|
||||
@ -175,7 +184,7 @@ Sat Jan 12 03:41:39 CET 2008 - crrodriguez@suse.de
|
||||
|
||||
- fix library-without-ldconfig-* errors
|
||||
- do not delete buildroot on install section
|
||||
- run make test in the check section.
|
||||
- run make test in the check section.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 3 11:41:41 CEST 2007 - rguenther@suse.de
|
||||
@ -185,7 +194,7 @@ Thu May 3 11:41:41 CEST 2007 - rguenther@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 31 13:02:30 CET 2007 - ro@suse.de
|
||||
|
||||
- remove libgz completely (obsolete long ago)
|
||||
- remove libgz completely (obsolete long ago)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:31:09 CET 2006 - mls@suse.de
|
||||
@ -226,12 +235,12 @@ Mon Feb 28 10:03:18 CET 2005 - meissner@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 23 13:11:56 CET 2005 - meissner@suse.de
|
||||
|
||||
- supply format arguments to gzprintf().
|
||||
- supply format arguments to gzprintf().
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 8 10:13:30 CET 2005 - ro@suse.de
|
||||
|
||||
- update to 1.2.2
|
||||
- update to 1.2.2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 25 14:39:49 CEST 2004 - ro@suse.de
|
||||
@ -246,7 +255,7 @@ Mon Aug 23 15:54:02 CEST 2004 - ro@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 4 01:59:05 CET 2003 - ro@suse.de
|
||||
|
||||
- update to 1.2.1
|
||||
- update to 1.2.1
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Nov 21 15:08:36 CET 2003 - kukuk@suse.de
|
||||
@ -298,12 +307,12 @@ Mon May 27 09:13:31 CEST 2002 - ro@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 25 14:37:54 CET 2002 - ro@suse.de
|
||||
|
||||
- remove executable bits from manpage and include file
|
||||
- remove executable bits from manpage and include file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 7 11:55:43 MET 2002 - draht@suse.de
|
||||
|
||||
- prevent double free() (security problem) with
|
||||
- prevent double free() (security problem) with
|
||||
zlib-1.1.3-zfree.dif
|
||||
|
||||
-------------------------------------------------------------------
|
||||
@ -316,7 +325,7 @@ Tue Dec 11 15:40:35 CET 2001 - froh@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 4 17:54:00 CET 2001 - ro@suse.de
|
||||
|
||||
- added Provides zlib-devel for compatibility
|
||||
- added Provides zlib-devel for compatibility
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 1 18:12:26 CEST 2001 - kukuk@suse.de
|
||||
@ -331,7 +340,7 @@ Thu Dec 7 13:55:36 CET 2000 - kukuk@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 6 16:20:09 CET 2000 - ro@suse.de
|
||||
|
||||
- install main lib in /%{_lib} not /usr/%{_lib}
|
||||
- install main lib in /%{_lib} not /usr/%{_lib}
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 2 20:25:01 CEST 2000 - kukuk@suse.de
|
||||
@ -341,7 +350,7 @@ Mon Oct 2 20:25:01 CEST 2000 - kukuk@suse.de
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 25 15:27:33 CEST 2000 - ro@suse.de
|
||||
|
||||
- sorted
|
||||
- sorted
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 5 01:01:37 CEST 2000 - bk@suse.de
|
||||
|
@ -44,6 +44,7 @@ Patch2: zlib-parallel.patch
|
||||
# PATCH-FIX-UPSTREAM: bnc#679345 --return NULL checks from 1.2.3 removed by upstream
|
||||
Patch3: zlib-1.2.5-gzopen-null-check.patch
|
||||
Patch4: zlib-adler-target-attr.patch
|
||||
Patch5: zlib-ocloexec.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: pkgconfig
|
||||
|
||||
@ -90,6 +91,7 @@ libraries.
|
||||
%patch2 -p1
|
||||
%patch3 -p1
|
||||
%patch4 -p1
|
||||
%patch5
|
||||
|
||||
%build
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
||||
|
Loading…
Reference in New Issue
Block a user