|
@@ -5,11 +5,12 @@ Summary: A graphics library for drawing .png files.
|
|
|
Summary(ja): PNGイメージファイルを描写するためのグラフィックライブラリ
|
|
|
Name: gd
|
|
|
Version: 2.1.1
|
|
|
-Release: 1%{_dist_release}
|
|
|
+Release: 2%{_dist_release}
|
|
|
Source0: https://bitbucket.org/libgd/gd-libgd/downloads/libgd-%{version}.tar.xz
|
|
|
Patch0: gd-2.1.0-multilib.patch
|
|
|
#Patch1: gd-fixautoconf.patch
|
|
|
Patch100: gd-2.1.0-fonts-vine.patch
|
|
|
+Patch1000: 2bb97f407c1145c850416a3bfbcc8cf124e68a19.patch
|
|
|
License: BSD-style
|
|
|
URL: http://www.libgd.org/
|
|
|
Group: System Environment/Libraries
|
|
@@ -148,6 +149,8 @@ If you're installing the gd graphics library, you must install gd-devel.
|
|
|
#%patch1 -p1 -b .automake
|
|
|
%patch100 -p1 -b .fonts-vine
|
|
|
|
|
|
+%patch1000 -p1 -b .CVE-2016-3074
|
|
|
+
|
|
|
# https://bitbucket.org/libgd/gd-libgd/issue/77
|
|
|
#sed -e '/GD_VERSION_STRING/s/-alpha//' \
|
|
|
# -e '/GD_EXTRA_VERSION/s/alpha//' \
|
|
@@ -225,6 +228,9 @@ rm -rf $RPM_BUILD_ROOT%{_libdir}/*.{a,la}
|
|
|
%endif
|
|
|
|
|
|
%changelog
|
|
|
+* Wed May 4 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-2
|
|
|
+- added Patch1000 to fix CVE-2016-3074.
|
|
|
+
|
|
|
* Wed Mar 11 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.1.1-1
|
|
|
- new upstream release.
|
|
|
|