Browse Source

libxml2: new upstream release with security fix 2.7.8

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@3698 ec354946-7b23-47d6-9f5a-488ba84defc7
iwamoto 14 years ago
parent
commit
972b5491ab
1 changed files with 14 additions and 2 deletions
  1. 14 2
      lib/libx/libxml2/libxml2-vl.spec

+ 14 - 2
lib/libx/libxml2/libxml2-vl.spec

@@ -1,12 +1,15 @@
 Summary: Library providing XML and HTML support
 Summary(ja): XML や HTML サポートを提供するライブラリ
 Name: libxml2
-Version: 2.7.7
-Release: 2%{_dist_release}
+Version: 2.7.8
+Release: 1%{_dist_release}
 License: MIT
 Group: System Environment/Libraries
 Source: ftp://xmlsoft.org/libxml2-%{version}.tar.gz
+
 Patch0: libxml2-multilib.patch
+Patch1: libxml2-2.7.8-reactivate-versionning-script.patch
+Patch10: libxml2-2.7.8-CVE-2010-4494.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-root
 BuildRequires: python
@@ -163,7 +166,11 @@ DTDであってもパースと確認が出来ます。
 
 %prep
 %setup -q
+
 %patch0 -p1
+%patch1 -p1
+
+%patch10 -p1 -b .CVE-2010-4494
 
 %build
 %configure
@@ -248,6 +255,11 @@ touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM
 %endif
 
 %changelog
+* Mon Apr 25 2011 Satoshi IWAMOTO <satoshi.iwamoto@nifty.ne.jp> 2.7.8-1
+- new upstream release with security fix (CVE-2010-4008)
+- add patch1 from fc16
+- add patch10 for fix CVE-2010-4494 (xpath)
+
 * Tue Sep 21 2010 IWAI, Masaharu <iwai@alib.jp> 2.7.7-2
 - build with rpm-4.8.1-1 for pkg-config file