Accepting request 36904 from devel:libraries:c_c++
Copy from devel:libraries:c_c++/gd based on submit request 36904 from user oertel OBS-URL: https://build.opensuse.org/request/show/36904 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gd?expand=0&rev=13
This commit is contained in:
parent
2b3d9eb503
commit
7882a7f3db
11
gd-png_check_sig.patch
Normal file
11
gd-png_check_sig.patch
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
--- gd_png.c
|
||||||
|
+++ gd_png.c
|
||||||
|
@@ -151,7 +151,7 @@
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
|
||||||
|
- if (!png_check_sig (sig, 8)) { /* bad signature */
|
||||||
|
+ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */
|
||||||
|
return NULL; /* bad signature */
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,8 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Apr 4 18:39:19 CEST 2010 - ro@suse.de
|
||||||
|
|
||||||
|
- replace png_check_sig by negated png_sig_cmp for libpng14
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Nov 12 16:18:34 CET 2008 - crrodriguez@suse.de
|
Wed Nov 12 16:18:34 CET 2008 - crrodriguez@suse.de
|
||||||
|
|
||||||
|
169
gd.spec
169
gd.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gd (Version 2.0.36.RC1)
|
# spec file for package gd (Version 2.0.36.RC1)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -20,13 +20,13 @@
|
|||||||
|
|
||||||
Name: gd
|
Name: gd
|
||||||
BuildRequires: fontconfig-devel freetype2-devel libjpeg-devel libpng-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXpm-devel
|
BuildRequires: fontconfig-devel freetype2-devel libjpeg-devel libpng-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXpm-devel
|
||||||
License: X11/MIT
|
License: MIT
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Provides: gdlib
|
Provides: gdlib
|
||||||
Obsoletes: gdlib
|
Obsoletes: gdlib
|
||||||
AutoReqProv: on
|
AutoReqProv: on
|
||||||
Version: 2.0.36.RC1
|
Version: 2.0.36.RC1
|
||||||
Release: 52
|
Release: 53
|
||||||
Url: http://www.libgd.org/
|
Url: http://www.libgd.org/
|
||||||
Summary: A Drawing Library for Programs That Use PNG and JPEG Output
|
Summary: A Drawing Library for Programs That Use PNG and JPEG Output
|
||||||
Source: gd-%{version}.tar.bz2
|
Source: gd-%{version}.tar.bz2
|
||||||
@ -37,6 +37,7 @@ Patch3: gd-aliasing.patch
|
|||||||
Patch6: gd-fontpath.patch
|
Patch6: gd-fontpath.patch
|
||||||
Patch7: gd-2.0.36RC1-config.patch
|
Patch7: gd-2.0.36RC1-config.patch
|
||||||
Patch8: gd-2.0.36.RC1-ppc64.patch
|
Patch8: gd-2.0.36.RC1-ppc64.patch
|
||||||
|
Patch9: gd-png_check_sig.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -53,7 +54,7 @@ Authors:
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Requires: %{name} = %{version} glibc-devel
|
Requires: %{name} = %{version} glibc-devel
|
||||||
License: X11/MIT
|
License: MIT
|
||||||
Summary: Drawing Library for Programs with PNG and JPEG Output
|
Summary: Drawing Library for Programs with PNG and JPEG Output
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
@ -78,6 +79,7 @@ Authors:
|
|||||||
%patch6
|
%patch6
|
||||||
%patch7
|
%patch7
|
||||||
%patch8
|
%patch8
|
||||||
|
%patch9
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
@ -144,162 +146,3 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%exclude %{_libdir}/*.la
|
%exclude %{_libdir}/*.la
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Wed Nov 12 2008 crrodriguez@suse.de
|
|
||||||
- QA Results: Regression on PPC64 only, detected by PHP test suite,
|
|
||||||
the system libgd part, fix by IBM
|
|
||||||
* Mon Mar 10 2008 crrodriguez@suse.de
|
|
||||||
- fix rpm version number, otherwise it wont upgrade later.
|
|
||||||
* Fri Jan 18 2008 anosek@suse.cz
|
|
||||||
- updated to version 2.0.36RC1
|
|
||||||
* Fixed gdImageCopy with true color image, the transparent color was ignored
|
|
||||||
* Fixed support of PNG grayscale image with alpha channel
|
|
||||||
* Added Netware builds script
|
|
||||||
* ease the creation of regexp to match symbols/functions in the sources
|
|
||||||
* _gdCreateFromFile() can crash if gdImageCreate fails
|
|
||||||
* gdImageCreateFrom*Ptr() can crash if gdNewDynamicCtxEx() fails
|
|
||||||
* gdImageRectangle draws 1x1 rectangles as 1x3 rectangles
|
|
||||||
* Possible integer overflow in gdImageFill()
|
|
||||||
* Optimization for single pixel line not in correct order
|
|
||||||
* gdImageColorDeallocate can write outside buffer
|
|
||||||
* gdImageColorTransparent can write outside buffer
|
|
||||||
* gdImageWBMPCtx can crash when createwbmp fails
|
|
||||||
* Fixed decoding of the html entity ϑ
|
|
||||||
* Fixed configure script ignoring --with-png=DIR option
|
|
||||||
- dropped obsoleted security.patch
|
|
||||||
* Thu Dec 20 2007 crrodriguez@suse.de
|
|
||||||
- remove static libraries and "la" files
|
|
||||||
- devel package dependency cleanup
|
|
||||||
* Mon Jul 09 2007 anosek@suse.cz
|
|
||||||
- updated to version 2.0.35
|
|
||||||
* Fix valgrind error in gdImageFillTiled (Nuno Lopes)
|
|
||||||
* Add missing custom cmake macros (required for the tests suite)
|
|
||||||
* Avoid signature buffer copy in gd_gif_c (Nuno Lopes)
|
|
||||||
* Race condition in gdImageStringFTEx (Antony Dogval, Pierre
|
|
||||||
Scott MacVicar)
|
|
||||||
* Reading GIF images is not thread safe (static usage in private
|
|
||||||
functions) (Roman Nemecek, Nuno Lopes, Pierre)
|
|
||||||
* GIF Local palette is read twice
|
|
||||||
* GIF, Use local frame dimension when possible instead of the
|
|
||||||
logical screen size (Pierre)
|
|
||||||
* GIF, do not try to use the global colmap if it does not exist
|
|
||||||
(Nuno Lopes, Pierre)
|
|
||||||
* gdImageAALine draws axis lines with two pixels width (Pierre)
|
|
||||||
* gdImageArc CPU usage with large angles (Pierre)
|
|
||||||
* gdImageFilledRectangle regression fixed when used with reversed
|
|
||||||
edges (Pierre)
|
|
||||||
* Possible infinite loop in libgd/gd_png.c, flaw found by Xavier
|
|
||||||
Roche (Pierre)
|
|
||||||
* Fixed segfault when an invalid color index is present in a GIF
|
|
||||||
image data, reported by Elliot <wccode at gmail dot com> (Pierre)
|
|
||||||
* Possible integer overflow in gdImageCreateTrueColor (Pierre)
|
|
||||||
gdImageCreateXbm can crash if gdImageCreate fails (Pierre)
|
|
||||||
- dropped obsolete patches (png-loop-CVE-2007-2756.patch)
|
|
||||||
* Tue May 29 2007 nadvornik@suse.cz
|
|
||||||
- fixed infinite loop on truncated png images
|
|
||||||
CVE-2007-2756 [#276525]
|
|
||||||
* Thu May 03 2007 prusnak@suse.cz
|
|
||||||
- changed expat to libexpat-devel in Requires of devel subpackage
|
|
||||||
* Tue Feb 20 2007 nadvornik@suse.cz
|
|
||||||
- updated to 2.0.34:
|
|
||||||
* security fixes merged upstream
|
|
||||||
* various other bugfixes
|
|
||||||
* Wed Aug 16 2006 aj@suse.de
|
|
||||||
- Reduce BuildRequires.
|
|
||||||
* Wed Aug 16 2006 aj@suse.de
|
|
||||||
- Remove unneeded BuildRequire xorg-x11.
|
|
||||||
* Wed Aug 16 2006 aj@suse.de
|
|
||||||
- Do not use fonts to build package.
|
|
||||||
* Wed Aug 16 2006 sndirsch@suse.de
|
|
||||||
- gd-fontpath.diff: fixes new fontpath for Type1 fonts
|
|
||||||
* Mon Aug 07 2006 nadvornik@suse.cz
|
|
||||||
- adjusted ttf fonts path for gdtestft
|
|
||||||
* Fri Jun 23 2006 nadvornik@suse.cz
|
|
||||||
- fixed another check for return value on error [#186953]
|
|
||||||
- gdlib-config is moved to devel package [#168628]
|
|
||||||
* Thu Jun 08 2006 nadvornik@suse.cz
|
|
||||||
- fixed check for EOF in gd_gif_in.c [#182334]
|
|
||||||
* Wed Mar 08 2006 sbrabec@suse.cz
|
|
||||||
- Fixed devel dependencies.
|
|
||||||
* Wed Jan 25 2006 mls@suse.de
|
|
||||||
- converted neededforbuild to BuildRequires
|
|
||||||
* Thu Jan 12 2006 nadvornik@suse.cz
|
|
||||||
- compile with -fstack-protector
|
|
||||||
* Thu Jan 05 2006 nadvornik@suse.cz
|
|
||||||
- fixed another integer overflow [#138007]
|
|
||||||
* Thu Nov 24 2005 meissner@suse.de
|
|
||||||
- fixed 1 aliasing issue.
|
|
||||||
* Sat Feb 05 2005 meissner@suse.de
|
|
||||||
- added 1 missign format attribute
|
|
||||||
* Mon Nov 22 2004 nadvornik@suse.cz
|
|
||||||
- run test programs during build [#48382]
|
|
||||||
* Mon Nov 15 2004 nadvornik@suse.cz
|
|
||||||
- fixed more overflows - CAN-2004-0941 [#47666]
|
|
||||||
* Tue Nov 02 2004 nadvornik@suse.cz
|
|
||||||
- updated to 2.0.32:
|
|
||||||
* fixed several integer overflows [#47666]
|
|
||||||
* animated gif support
|
|
||||||
* Tue Aug 24 2004 nadvornik@suse.cz
|
|
||||||
- updated to 2.0.28:
|
|
||||||
restored support for reading and writing GIF images
|
|
||||||
* Fri Feb 20 2004 schwab@suse.de
|
|
||||||
- Fix missing return value.
|
|
||||||
* Thu Feb 05 2004 nadvornik@suse.cz
|
|
||||||
- updated to 2.0.22
|
|
||||||
- fixed dangerous compiler warnings
|
|
||||||
* Sat Jan 10 2004 adrian@suse.de
|
|
||||||
- add %%defattr and %%run_ldconfig
|
|
||||||
* Tue Jan 06 2004 nadvornik@suse.cz
|
|
||||||
- updated to 2.0.17
|
|
||||||
- fixed to build with new freetype
|
|
||||||
* Thu Jul 24 2003 mjancar@suse.cz
|
|
||||||
- update to 2.0.15
|
|
||||||
* Thu Feb 13 2003 nadvornik@suse.cz
|
|
||||||
- updated to 2.0.11: speed improvements, bugfixes
|
|
||||||
* Fri Dec 13 2002 prehak@suse.cz
|
|
||||||
- added gdImageCreateFromXpm() function prototype to gd.h
|
|
||||||
* Thu Nov 28 2002 nadvornik@suse.cz
|
|
||||||
- updated to 2.0.8
|
|
||||||
* Tue Sep 17 2002 ro@suse.de
|
|
||||||
- removed bogus self-provides
|
|
||||||
* Tue May 28 2002 bk@suse.de
|
|
||||||
- gd-devel requires gd and use prefix, bindir and includedir macros
|
|
||||||
* Wed Feb 13 2002 nadvornik@suse.cz
|
|
||||||
- used macro %%{_libdir}
|
|
||||||
* Fri Feb 01 2002 ro@suse.de
|
|
||||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
|
||||||
* Mon Nov 05 2001 ro@suse.de
|
|
||||||
- fix Makefile.am for automake 1.5 (removed duplicated line)
|
|
||||||
* Fri May 25 2001 pblaha@suse.cz
|
|
||||||
- fix include on ia64
|
|
||||||
* Thu Mar 29 2001 ro@suse.de
|
|
||||||
- use aclocal
|
|
||||||
* Wed Mar 21 2001 ro@suse.de
|
|
||||||
- update to 1.8.4
|
|
||||||
- use freetype2
|
|
||||||
* Mon Dec 04 2000 pblaha@suse.cz
|
|
||||||
- move simbolick link libgd.so -> gd-devel
|
|
||||||
* Thu Nov 30 2000 aj@suse.de
|
|
||||||
- Add suse_update_config.
|
|
||||||
* Wed Nov 15 2000 pblaha@suse.cz
|
|
||||||
- aplied patch from perl-GD and split to gd & gd-devel
|
|
||||||
* Mon Jun 05 2000 bubnikv@suse.cz
|
|
||||||
- updated to 1.8.3
|
|
||||||
* Fri May 12 2000 nadvornik@suse.cz
|
|
||||||
- update to 1.8.1
|
|
||||||
- added BuildRoot
|
|
||||||
* Mon Oct 11 1999 ro@suse.de
|
|
||||||
- added xpm and ttf support
|
|
||||||
* Sun Oct 10 1999 ro@suse.de
|
|
||||||
- added libpng to neededforbuild
|
|
||||||
* Thu Oct 07 1999 schwab@suse.de
|
|
||||||
- update to 1.7.3
|
|
||||||
* Mon Sep 13 1999 bs@suse.de
|
|
||||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
|
||||||
* Thu Sep 09 1999 bs@suse.de
|
|
||||||
- fixed call of Check at the end of %%install section
|
|
||||||
* Tue Jun 15 1999 ro@suse.de
|
|
||||||
- fixed doc installation
|
|
||||||
* Tue Jun 15 1999 ro@suse.de
|
|
||||||
- update to 1.3
|
|
||||||
* Thu Feb 05 1998 ro@suse.de
|
|
||||||
- ready for autobuild
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user