Browse Source

gd-2.1.1-2

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@10247 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 8 years ago
parent
commit
5008d2c96b
1 changed files with 7 additions and 1 deletions
  1. 7 1
      g/gd/gd-vl.spec

+ 7 - 1
g/gd/gd-vl.spec

@@ -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.