|
|
@ -1,60 +1,21 @@ |
|
|
|
# for -O3 on ppc64 c.f. 1051068 |
|
|
|
Name: libxml2 |
|
|
|
%global _performance_build 1 |
|
|
|
Version: 2.9.10 |
|
|
|
|
|
|
|
Release: 1%{?dist} |
|
|
|
Summary: Library providing XML and HTML support |
|
|
|
Summary: Library providing XML and HTML support |
|
|
|
Name: libxml2 |
|
|
|
|
|
|
|
Version: 2.9.1 |
|
|
|
License: MIT |
|
|
|
Release: 6%{?dist}%{?extra_release}.3 |
|
|
|
URL: http://xmlsoft.org/ |
|
|
|
License: MIT |
|
|
|
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz |
|
|
|
Group: Development/Libraries |
|
|
|
Patch0: libxml2-multilib.patch |
|
|
|
Source: ftp://xmlsoft.org/libxml2/libxml2-%{version}.tar.gz |
|
|
|
# Patch from openSUSE. |
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root |
|
|
|
# See: https://bugzilla.gnome.org/show_bug.cgi?id=789714 |
|
|
|
BuildRequires: python python-devel zlib-devel pkgconfig xz-devel |
|
|
|
Patch1: libxml2-2.9.8-python3-unicode-errors.patch |
|
|
|
URL: http://xmlsoft.org/ |
|
|
|
|
|
|
|
Patch0: libxml2-multilib.patch |
|
|
|
BuildRequires: gcc |
|
|
|
Patch1: libxml2-2.9.0-do-not-check-crc.patch |
|
|
|
BuildRequires: make |
|
|
|
|
|
|
|
#BuildRequires: cmake-rpm-macros |
|
|
|
Patch100: libxml2-Fix-a-regression-in-xmlGetDocCompressMode.patch |
|
|
|
BuildRequires: pkgconfig(zlib) |
|
|
|
Patch101: CVE-2014-3660-rhel7.patch |
|
|
|
BuildRequires: pkgconfig(liblzma) |
|
|
|
Patch102: libxml2-Fix-missing-entities-after-CVE-2014-3660-fix.patch |
|
|
|
|
|
|
|
Patch103: libxml2-Do-not-fetch-external-parameter-entities.patch |
|
|
|
|
|
|
|
Patch104: libxml2-Fix-regression-introduced-by-CVE-2014-0191.patch |
|
|
|
|
|
|
|
Patch105: libxml2-Stop-parsing-on-entities-boundaries-errors.patch |
|
|
|
|
|
|
|
Patch106: libxml2-Cleanup-conditional-section-error-handling.patch |
|
|
|
|
|
|
|
Patch107: libxml2-Fail-parsing-early-on-if-encoding-conversion-failed.patch |
|
|
|
|
|
|
|
Patch108: libxml2-Another-variation-of-overflow-in-Conditional-sections.patch |
|
|
|
|
|
|
|
Patch109: libxml2-Fix-an-error-in-previous-Conditional-section-patch.patch |
|
|
|
|
|
|
|
Patch110: libxml2-Fix-parsing-short-unclosed-comment-uninitialized-access.patch |
|
|
|
|
|
|
|
Patch111: libxml2-Avoid-extra-processing-of-MarkupDecl-when-EOF.patch |
|
|
|
|
|
|
|
Patch112: libxml2-Avoid-processing-entities-after-encoding-conversion-failures.patch |
|
|
|
|
|
|
|
Patch113: libxml2-xmlStopParser-reset-errNo.patch |
|
|
|
|
|
|
|
Patch114: libxml2-CVE-2015-7497-Avoid-an-heap-buffer-overflow-in-xmlDictComputeFastQKey.patch |
|
|
|
|
|
|
|
Patch115: libxml2-CVE-2015-5312-Another-entity-expansion-issue.patch |
|
|
|
|
|
|
|
Patch116: libxml2-Add-xmlHaltParser-to-stop-the-parser.patch |
|
|
|
|
|
|
|
Patch117: libxml2-Reuse-xmlHaltParser-where-it-makes-sense.patch |
|
|
|
|
|
|
|
Patch118: libxml2-Do-not-print-error-context-when-there-is-none.patch |
|
|
|
|
|
|
|
Patch119: libxml2-Detect-incoherency-on-GROW.patch |
|
|
|
|
|
|
|
Patch120: libxml2-Fix-some-loop-issues-embedding-NEXT.patch |
|
|
|
|
|
|
|
Patch121: libxml2-Bug-on-creating-new-stream-from-entity.patch |
|
|
|
|
|
|
|
Patch122: libxml2-CVE-2015-7500-Fix-memory-access-error-due-to-incorrect-entities-boundaries.patch |
|
|
|
|
|
|
|
Patch123: libxml2-CVE-2015-8242-Buffer-overead-with-HTML-parser-in-push-mode.patch |
|
|
|
|
|
|
|
Patch124: libxml2-CVE-2015-1819-Enforce-the-reader-to-run-in-constant-memory.patch |
|
|
|
|
|
|
|
patch125: libxml2-Add-missing-increments-of-recursion-depth-counter-to-XML-parser.patch |
|
|
|
|
|
|
|
patch126: libxml2-Avoid-building-recursive-entities.patch |
|
|
|
|
|
|
|
patch127: libxml2-Bug-757711-heap-buffer-overflow-in-xmlFAParsePosCharGroup-https-bugzilla.gnome.org-show_bug.cgi-id-757711.patch |
|
|
|
|
|
|
|
patch128: libxml2-Bug-758588-Heap-based-buffer-overread-in-xmlParserPrintFileContextInternal-https-bugzilla.gnome.org-show_bug.cgi-id-758588.patch |
|
|
|
|
|
|
|
patch129: libxml2-Bug-758605-Heap-based-buffer-overread-in-xmlDictAddString-https-bugzilla.gnome.org-show_bug.cgi-id-758605.patch |
|
|
|
|
|
|
|
patch130: libxml2-Bug-759398-Heap-use-after-free-in-xmlDictComputeFastKey-https-bugzilla.gnome.org-show_bug.cgi-id-759398.patch |
|
|
|
|
|
|
|
patch131: libxml2-Bug-763071-heap-buffer-overflow-in-xmlStrncat-https-bugzilla.gnome.org-show_bug.cgi-id-763071.patch |
|
|
|
|
|
|
|
patch132: libxml2-Fix-inappropriate-fetch-of-entities-content.patch |
|
|
|
|
|
|
|
patch133: libxml2-Fix-some-format-string-warnings-with-possible-format-string-vulnerability.patch |
|
|
|
|
|
|
|
patch134: libxml2-Heap-based-buffer-overread-in-htmlCurrentChar.patch |
|
|
|
|
|
|
|
patch135: libxml2-Heap-based-buffer-overread-in-xmlNextChar.patch |
|
|
|
|
|
|
|
patch136: libxml2-Heap-based-buffer-underreads-due-to-xmlParseName.patch |
|
|
|
|
|
|
|
patch137: libxml2-Heap-use-after-free-in-htmlParsePubidLiteral-and-htmlParseSystemiteral.patch |
|
|
|
|
|
|
|
patch138: libxml2-Heap-use-after-free-in-xmlSAX2AttributeNs.patch |
|
|
|
|
|
|
|
patch139: libxml2-More-format-string-warnings-with-possible-format-string-vulnerability.patch |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description |
|
|
|
%description |
|
|
|
This library allows to manipulate XML files. It includes support |
|
|
|
This library allows to manipulate XML files. It includes support |
|
|
@ -68,12 +29,10 @@ available, with existing HTTP and FTP modules and combined to an |
|
|
|
URI library. |
|
|
|
URI library. |
|
|
|
|
|
|
|
|
|
|
|
%package devel |
|
|
|
%package devel |
|
|
|
Summary: Libraries, includes, etc. to develop XML and HTML applications |
|
|
|
Summary: Libraries, includes, etc. to develop XML and HTML applications |
|
|
|
Group: Development/Libraries |
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release} |
|
|
|
Requires: libxml2 = %{version}-%{release} |
|
|
|
Requires: zlib-devel%{?_isa} |
|
|
|
Requires: zlib-devel |
|
|
|
Requires: xz-devel%{?_isa} |
|
|
|
Requires: xz-devel |
|
|
|
|
|
|
|
Requires: pkgconfig |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description devel |
|
|
|
%description devel |
|
|
|
Libraries, include files, etc you can use to develop XML applications. |
|
|
|
Libraries, include files, etc you can use to develop XML applications. |
|
|
@ -88,22 +47,23 @@ available, with existing HTTP and FTP modules and combined to an |
|
|
|
URI library. |
|
|
|
URI library. |
|
|
|
|
|
|
|
|
|
|
|
%package static |
|
|
|
%package static |
|
|
|
Summary: Static library for libxml2 |
|
|
|
Summary: Static library for libxml2 |
|
|
|
Group: Development/Libraries |
|
|
|
|
|
|
|
Requires: libxml2 = %{version}-%{release} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description static |
|
|
|
%description static |
|
|
|
Static library for libxml2 provided for specific uses or shaving a few |
|
|
|
Static library for libxml2 provided for specific uses or shaving a few |
|
|
|
microseconds when parsing, do not link to them for generic purpose packages. |
|
|
|
microseconds when parsing, do not link to them for generic purpose packages. |
|
|
|
|
|
|
|
|
|
|
|
%package python |
|
|
|
%package -n python2-%{name} |
|
|
|
Summary: Python bindings for the libxml2 library |
|
|
|
%{?python_provide:%python_provide python2-%{name}} |
|
|
|
Group: Development/Libraries |
|
|
|
Summary: Python bindings for the libxml2 library |
|
|
|
Requires: libxml2 = %{version}-%{release} |
|
|
|
BuildRequires: python2-devel |
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release} |
|
|
|
%description python |
|
|
|
Obsoletes: %{name}-python < %{version}-%{release} |
|
|
|
The libxml2-python package contains a module that permits applications |
|
|
|
Provides: %{name}-python = %{version}-%{release} |
|
|
|
written in the Python programming language to use the interface |
|
|
|
|
|
|
|
|
|
|
|
%description -n python2-%{name} |
|
|
|
|
|
|
|
The libxml2-python package contains a Python 2 module that permits applications |
|
|
|
|
|
|
|
written in the Python programming language, version 2, to use the interface |
|
|
|
supplied by the libxml2 library to manipulate XML files. |
|
|
|
supplied by the libxml2 library to manipulate XML files. |
|
|
|
|
|
|
|
|
|
|
|
This library allows to manipulate XML files. It includes support |
|
|
|
This library allows to manipulate XML files. It includes support |
|
|
@ -111,187 +71,231 @@ to read, modify and write XML and HTML files. There is DTDs support |
|
|
|
this includes parsing and validation even with complex DTDs, either |
|
|
|
this includes parsing and validation even with complex DTDs, either |
|
|
|
at parse time or later once the document has been modified. |
|
|
|
at parse time or later once the document has been modified. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package -n python3-%{name} |
|
|
|
|
|
|
|
Summary: Python 3 bindings for the libxml2 library |
|
|
|
|
|
|
|
BuildRequires: python3-devel |
|
|
|
|
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release} |
|
|
|
|
|
|
|
Obsoletes: %{name}-python3 < %{version}-%{release} |
|
|
|
|
|
|
|
Provides: %{name}-python3 = %{version}-%{release} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%description -n python3-%{name} |
|
|
|
|
|
|
|
The libxml2-python3 package contains a Python 3 module that permits |
|
|
|
|
|
|
|
applications written in the Python programming language, version 3, to use the |
|
|
|
|
|
|
|
interface supplied by the libxml2 library to manipulate XML files. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This library allows to manipulate XML files. It includes support |
|
|
|
|
|
|
|
to read, modify and write XML and HTML files. There is DTDs support |
|
|
|
|
|
|
|
this includes parsing and validation even with complex DTDs, either |
|
|
|
|
|
|
|
at parse time or later once the document has been modified. |
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup -q |
|
|
|
%autosetup -p1 |
|
|
|
%patch0 -p1 |
|
|
|
find doc -type f -executable -print -exec chmod 0644 {} ';' |
|
|
|
# workaround for #877567 - Very weird bug gzip decompression bug in "recent" libxml2 versions |
|
|
|
|
|
|
|
%patch1 -p1 -b .do-not-check-crc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%patch100 -p1 |
|
|
|
|
|
|
|
%patch101 -p1 |
|
|
|
|
|
|
|
%patch102 -p1 |
|
|
|
|
|
|
|
%patch103 -p1 |
|
|
|
|
|
|
|
%patch104 -p1 |
|
|
|
|
|
|
|
%patch105 -p1 |
|
|
|
|
|
|
|
%patch106 -p1 |
|
|
|
|
|
|
|
%patch107 -p1 |
|
|
|
|
|
|
|
%patch108 -p1 |
|
|
|
|
|
|
|
%patch109 -p1 |
|
|
|
|
|
|
|
%patch110 -p1 |
|
|
|
|
|
|
|
%patch111 -p1 |
|
|
|
|
|
|
|
%patch112 -p1 |
|
|
|
|
|
|
|
%patch113 -p1 |
|
|
|
|
|
|
|
%patch114 -p1 |
|
|
|
|
|
|
|
%patch115 -p1 |
|
|
|
|
|
|
|
%patch116 -p1 |
|
|
|
|
|
|
|
%patch117 -p1 |
|
|
|
|
|
|
|
%patch118 -p1 |
|
|
|
|
|
|
|
%patch119 -p1 |
|
|
|
|
|
|
|
%patch120 -p1 |
|
|
|
|
|
|
|
%patch121 -p1 |
|
|
|
|
|
|
|
%patch122 -p1 |
|
|
|
|
|
|
|
%patch123 -p1 |
|
|
|
|
|
|
|
%patch124 -p1 |
|
|
|
|
|
|
|
%patch125 -p1 |
|
|
|
|
|
|
|
%patch126 -p1 |
|
|
|
|
|
|
|
%patch127 -p1 |
|
|
|
|
|
|
|
%patch128 -p1 |
|
|
|
|
|
|
|
%patch129 -p1 |
|
|
|
|
|
|
|
%patch130 -p1 |
|
|
|
|
|
|
|
%patch131 -p1 |
|
|
|
|
|
|
|
%patch132 -p1 |
|
|
|
|
|
|
|
%patch133 -p1 |
|
|
|
|
|
|
|
%patch134 -p1 |
|
|
|
|
|
|
|
%patch135 -p1 |
|
|
|
|
|
|
|
%patch136 -p1 |
|
|
|
|
|
|
|
%patch137 -p1 |
|
|
|
|
|
|
|
%patch138 -p1 |
|
|
|
|
|
|
|
%patch139 -p1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
%build |
|
|
|
%configure |
|
|
|
mkdir py2 py3 |
|
|
|
make %{_smp_mflags} |
|
|
|
%global _configure ../configure |
|
|
|
|
|
|
|
%global _configure_disable_silent_rules 1 |
|
|
|
|
|
|
|
( cd py2 && %configure --cache-file=../config.cache --with-python=%{__python2} ) |
|
|
|
|
|
|
|
( cd py3 && %configure --cache-file=../config.cache --with-python=%{__python3} ) |
|
|
|
|
|
|
|
%make_build -C py2 |
|
|
|
|
|
|
|
%make_build -C py3 |
|
|
|
|
|
|
|
|
|
|
|
%install |
|
|
|
%install |
|
|
|
rm -fr %{buildroot} |
|
|
|
%make_install -C py2 |
|
|
|
|
|
|
|
%make_install -C py3 |
|
|
|
make install DESTDIR=%{buildroot} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# multiarch crazyness on timestamp differences or Makefile/binaries for examples |
|
|
|
# multiarch crazyness on timestamp differences or Makefile/binaries for examples |
|
|
|
touch -m --reference=$RPM_BUILD_ROOT/%{_includedir}/libxml2/libxml/parser.h $RPM_BUILD_ROOT/%{_bindir}/xml2-config |
|
|
|
touch -m --reference=%{buildroot}%{_includedir}/libxml2/libxml/parser.h %{buildroot}%{_bindir}/xml2-config |
|
|
|
|
|
|
|
|
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la |
|
|
|
find %{buildroot} -type f -name '*.la' -print -delete |
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.a |
|
|
|
rm -vf %{buildroot}{%{python2_sitearch},%{python3_sitearch}}/*.a |
|
|
|
rm -f $RPM_BUILD_ROOT%{_libdir}/python*/site-packages/*.la |
|
|
|
rm -vrf %{buildroot}%{_datadir}/doc/ |
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-%{version}/* |
|
|
|
#(cd doc/examples ; make clean ; rm -rf .deps Makefile) |
|
|
|
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/libxml2-python-%{version}/* |
|
|
|
|
|
|
|
(cd doc/examples ; make clean ; rm -rf .deps Makefile) |
|
|
|
|
|
|
|
gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz |
|
|
|
gzip -9 -c doc/libxml2-api.xml > doc/libxml2-api.xml.gz |
|
|
|
|
|
|
|
|
|
|
|
%check |
|
|
|
%check |
|
|
|
make runtests |
|
|
|
%make_build runtests -C py2 |
|
|
|
|
|
|
|
%make_build runtests -C py3 |
|
|
|
|
|
|
|
|
|
|
|
%clean |
|
|
|
%ldconfig_scriptlets |
|
|
|
rm -fr %{buildroot} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
%files |
|
|
|
%defattr(-, root, root) |
|
|
|
%license Copyright |
|
|
|
|
|
|
|
%doc AUTHORS NEWS README TODO |
|
|
|
%doc AUTHORS NEWS README Copyright TODO |
|
|
|
%{_libdir}/libxml2.so.2* |
|
|
|
%doc %{_mandir}/man1/xmllint.1* |
|
|
|
%{_mandir}/man3/libxml.3* |
|
|
|
%doc %{_mandir}/man1/xmlcatalog.1* |
|
|
|
|
|
|
|
%doc %{_mandir}/man3/libxml.3* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%{_libdir}/lib*.so.* |
|
|
|
|
|
|
|
%{_bindir}/xmllint |
|
|
|
%{_bindir}/xmllint |
|
|
|
|
|
|
|
%{_mandir}/man1/xmllint.1* |
|
|
|
%{_bindir}/xmlcatalog |
|
|
|
%{_bindir}/xmlcatalog |
|
|
|
|
|
|
|
%{_mandir}/man1/xmlcatalog.1* |
|
|
|
|
|
|
|
|
|
|
|
%files devel |
|
|
|
%files devel |
|
|
|
%defattr(-, root, root) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%doc %{_mandir}/man1/xml2-config.1* |
|
|
|
|
|
|
|
%doc AUTHORS NEWS README Copyright |
|
|
|
|
|
|
|
%doc doc/*.html doc/html doc/*.gif doc/*.png |
|
|
|
%doc doc/*.html doc/html doc/*.gif doc/*.png |
|
|
|
%doc doc/tutorial doc/libxml2-api.xml.gz |
|
|
|
%doc doc/tutorial doc/libxml2-api.xml.gz |
|
|
|
%doc doc/examples |
|
|
|
%doc doc/examples |
|
|
|
%doc %dir %{_datadir}/gtk-doc/html/libxml2 |
|
|
|
%dir %{_datadir}/gtk-doc |
|
|
|
%doc %{_datadir}/gtk-doc/html/libxml2/*.devhelp |
|
|
|
%dir %{_datadir}/gtk-doc/html |
|
|
|
%doc %{_datadir}/gtk-doc/html/libxml2/*.html |
|
|
|
%{_datadir}/gtk-doc/html/libxml2/ |
|
|
|
%doc %{_datadir}/gtk-doc/html/libxml2/*.png |
|
|
|
%{_libdir}/libxml2.so |
|
|
|
%doc %{_datadir}/gtk-doc/html/libxml2/*.css |
|
|
|
%{_libdir}/xml2Conf.sh |
|
|
|
|
|
|
|
%{_includedir}/libxml2/ |
|
|
|
%{_libdir}/lib*.so |
|
|
|
|
|
|
|
%{_libdir}/*.sh |
|
|
|
|
|
|
|
%{_includedir}/* |
|
|
|
|
|
|
|
%{_bindir}/xml2-config |
|
|
|
%{_bindir}/xml2-config |
|
|
|
|
|
|
|
%{_mandir}/man1/xml2-config.1* |
|
|
|
%{_datadir}/aclocal/libxml.m4 |
|
|
|
%{_datadir}/aclocal/libxml.m4 |
|
|
|
%{_libdir}/pkgconfig/libxml-2.0.pc |
|
|
|
%{_libdir}/pkgconfig/libxml-2.0.pc |
|
|
|
|
|
|
|
%{_libdir}/cmake/libxml2/ |
|
|
|
|
|
|
|
|
|
|
|
%files static |
|
|
|
%files static |
|
|
|
%defattr(-, root, root) |
|
|
|
%license Copyright |
|
|
|
|
|
|
|
%{_libdir}/libxml2.a |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python2-%{name} |
|
|
|
|
|
|
|
%doc python/TODO python/libxml2class.txt |
|
|
|
|
|
|
|
%doc doc/*.py doc/python.html |
|
|
|
|
|
|
|
%{python2_sitearch}/libxml2.py* |
|
|
|
|
|
|
|
%{python2_sitearch}/drv_libxml2.py* |
|
|
|
|
|
|
|
%{python2_sitearch}/libxml2mod.so |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -n python3-%{name} |
|
|
|
|
|
|
|
%doc python/TODO python/libxml2class.txt |
|
|
|
|
|
|
|
%doc doc/*.py doc/python.html |
|
|
|
|
|
|
|
%{python3_sitearch}/libxml2.py |
|
|
|
|
|
|
|
%{python3_sitearch}/__pycache__/libxml2.* |
|
|
|
|
|
|
|
%{python3_sitearch}/drv_libxml2.py |
|
|
|
|
|
|
|
%{python3_sitearch}/__pycache__/drv_libxml2.* |
|
|
|
|
|
|
|
%{python3_sitearch}/libxml2mod.so |
|
|
|
|
|
|
|
|
|
|
|
%{_libdir}/*a |
|
|
|
%changelog |
|
|
|
|
|
|
|
* Fri Nov 08 2019 David King <amigadave@amigadave.com> - 2.9.10-1 |
|
|
|
|
|
|
|
- Update to 2.9.10 (#1767151) |
|
|
|
|
|
|
|
|
|
|
|
%files python |
|
|
|
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.9-3 |
|
|
|
%defattr(-, root, root) |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
%{_libdir}/python*/site-packages/libxml2.py* |
|
|
|
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.9-2 |
|
|
|
%{_libdir}/python*/site-packages/drv_libxml2.py* |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild |
|
|
|
%{_libdir}/python*/site-packages/libxml2mod* |
|
|
|
|
|
|
|
%doc python/TODO |
|
|
|
|
|
|
|
%doc python/libxml2class.txt |
|
|
|
|
|
|
|
%doc python/tests/*.py |
|
|
|
|
|
|
|
%doc doc/*.py |
|
|
|
|
|
|
|
%doc doc/python.html |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
* Fri Jan 25 2019 David King <amigadave@amigadave.com> - 2.9.9-1 |
|
|
|
* Mon Jun 6 2016 Daniel Veillard <veillard@redhat.com> - libxml2-2.9.1-6.3 |
|
|
|
- Update to 2.9.9 |
|
|
|
- Heap-based buffer overread in xmlNextChar (CVE-2016-1762) |
|
|
|
|
|
|
|
- Bug 763071: Heap-buffer-overflow in xmlStrncat <https://bugzilla.gnome.org/show_bug.cgi?id=763071> (CVE-2016-1834) |
|
|
|
* Sun Jan 06 2019 Björn Esser <besser82@fedoraproject.org> - 2.9.8-5 |
|
|
|
- Bug 757711: Heap-buffer-overflow in xmlFAParsePosCharGroup <https://bugzilla.gnome.org/show_bug.cgi?id=757711> (CVE-2016-1840) |
|
|
|
- Add patch to fix crash: xmlParserPrintFileContextInternal mangles utf8 |
|
|
|
- Bug 758588: Heap-based buffer overread in xmlParserPrintFileContextInternal <https://bugzilla.gnome.org/show_bug.cgi?id=758588> (CVE-2016-1838) |
|
|
|
|
|
|
|
- Bug 758605: Heap-based buffer overread in xmlDictAddString <https://bugzilla.gnome.org/show_bug.cgi?id=758605> (CVE-2016-1839) |
|
|
|
* Thu Aug 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.8-4 |
|
|
|
- Bug 759398: Heap use-after-free in xmlDictComputeFastKey <https://bugzilla.gnome.org/show_bug.cgi?id=759398> (CVE-2016-1836) |
|
|
|
- Backport patches from upstream |
|
|
|
- Fix inappropriate fetch of entities content (CVE-2016-4449) |
|
|
|
|
|
|
|
- Heap use-after-free in htmlParsePubidLiteral and htmlParseSystemiteral (CVE-2016-1837) |
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.8-3 |
|
|
|
- Heap use-after-free in xmlSAX2AttributeNs (CVE-2016-1835) |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild |
|
|
|
- Heap-based buffer-underreads due to xmlParseName (CVE-2016-4447) |
|
|
|
|
|
|
|
- Heap-based buffer overread in htmlCurrentChar (CVE-2016-1833) |
|
|
|
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 2.9.8-2 |
|
|
|
- Add missing increments of recursion depth counter to XML parser. (CVE-2016-3705) |
|
|
|
- Rebuilt for Python 3.7 |
|
|
|
- Avoid building recursive entities (CVE-2016-3627) |
|
|
|
|
|
|
|
- Fix some format string warnings with possible format string vulnerability (CVE-2016-4448) |
|
|
|
* Tue Apr 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.8-1 |
|
|
|
- More format string warnings with possible format string vulnerability (CVE-2016-4448) |
|
|
|
- Update to 2.9.8 |
|
|
|
|
|
|
|
|
|
|
|
* Mon Nov 30 2015 Daniel Veillard <veillard@redhat.com> - 2.9.1-6.2 |
|
|
|
* Sat Feb 24 2018 Florian Weimer <fweimer@redhat.com> - 2.9.7-4 |
|
|
|
- Fix a series of CVEs (rhbz#1286496) |
|
|
|
- Rebuild with new LDFLAGS from redhat-rpm-config |
|
|
|
- CVE-2015-7941 Stop parsing on entities boundaries errors |
|
|
|
|
|
|
|
- CVE-2015-7941 Cleanup conditional section error handling |
|
|
|
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.7-3 |
|
|
|
- CVE-2015-8317 Fail parsing early on if encoding conversion failed |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild |
|
|
|
- CVE-2015-7942 Another variation of overflow in Conditional sections |
|
|
|
|
|
|
|
- CVE-2015-7942 Fix an error in previous Conditional section patch |
|
|
|
* Tue Jan 30 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.7-2 |
|
|
|
- Fix parsing short unclosed comment uninitialized access |
|
|
|
- Switch to %%ldconfig_scriptlets |
|
|
|
- CVE-2015-7498 Avoid processing entities after encoding conversion failures |
|
|
|
|
|
|
|
- CVE-2015-7497 Avoid an heap buffer overflow in xmlDictComputeFastQKey |
|
|
|
* Wed Jan 24 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 2.9.7-1 |
|
|
|
- CVE-2015-5312 Another entity expansion issue |
|
|
|
- Update to 2.9.7 |
|
|
|
- CVE-2015-7499 Add xmlHaltParser() to stop the parser |
|
|
|
- Cleanups in packaging |
|
|
|
- CVE-2015-7499 Detect incoherency on GROW |
|
|
|
|
|
|
|
- CVE-2015-7500 Fix memory access error due to incorrect entities boundaries |
|
|
|
* Tue Jan 09 2018 Iryna Shcherbina <ishcherb@redhat.com> - 2.9.5-3 |
|
|
|
- CVE-2015-8242 Buffer overead with HTML parser in push mode |
|
|
|
- Update Python 2 dependency declarations to new packaging standards |
|
|
|
- CVE-2015-1819 Enforce the reader to run in constant memory |
|
|
|
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) |
|
|
|
|
|
|
|
|
|
|
|
* Mon Mar 23 2015 Daniel Veillard <veillard@redhat.com> - 2.9.1-6 |
|
|
|
* Fri Sep 22 2017 Petr Pisar <ppisar@redhat.com> - 2.9.5-2 |
|
|
|
- Fix missing entities after CVE-2014-3660 fix |
|
|
|
- Fix reporting error about undefined XPath variables (bug #1493613) |
|
|
|
- CVE-2014-0191 Do not fetch external parameter entities (rhbz#1195650) |
|
|
|
|
|
|
|
- Fix regressions introduced by CVE-2014-0191 patch |
|
|
|
* Mon Sep 4 2017 Daniel Veillard <veillard@redhat.com> - 2.9.5-1 |
|
|
|
|
|
|
|
- update to 2.9.5 |
|
|
|
* Sat Oct 11 2014 Daniel Veillard <veillard@redhat.com> - 2.9.1-5.1 |
|
|
|
|
|
|
|
- CVE-2014-3660 denial of service via recursive entity expansion (rhbz#1149087) |
|
|
|
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 2.9.4-5 |
|
|
|
|
|
|
|
- Python 2 binary package renamed to python2-libxml2 |
|
|
|
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 2.9.1-5 |
|
|
|
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 |
|
|
|
- Mass rebuild 2014-01-24 |
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-4 |
|
|
|
* Wed Jan 15 2014 Daniel Veillard <veillard@redhat.com> - 2.9.1-4 |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild |
|
|
|
- rebuild to activate -O3 on ppc64 rhbz#1051068 |
|
|
|
|
|
|
|
|
|
|
|
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-3 |
|
|
|
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 2.9.1-3 |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild |
|
|
|
- Mass rebuild 2013-12-27 |
|
|
|
|
|
|
|
|
|
|
|
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.4-2 |
|
|
|
* Fri Nov 15 2013 Daniel Veillard <veillard@redhat.com> - 2.9.1-2 |
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild |
|
|
|
- Fix a regression in xmlGetDocCompressMode() rhbz#963716 |
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 21 2016 Kevin Fenzi <kevin@scrye.com> - 2.9.4-1 |
|
|
|
|
|
|
|
- Update to 2.9.4. |
|
|
|
|
|
|
|
- Apply very hacky patch that removes the no longer in python-3.6 PyVerify_fd symbol. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Dec 12 2016 Charalampos Stratakis <cstratak@redhat.com> - 2.9.3-5 |
|
|
|
|
|
|
|
- Rebuild for Python 3.6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.3-4 |
|
|
|
|
|
|
|
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.9.3-3 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Dec 02 2015 Kalev Lember <klember@redhat.com> - 2.9.3-2 |
|
|
|
|
|
|
|
- Fix obsoletes versions now that F22 has libxml2 2.9.3 (#1287262) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 20 2015 Daniel Veillard <veillard@redhat.com> - 2.9.2-1 |
|
|
|
|
|
|
|
- upstream release of 2.9.3 |
|
|
|
|
|
|
|
- Fixes for CVE-2015-8035, CVE-2015-7942, CVE-2015-7941, CVE-2015-1819 |
|
|
|
|
|
|
|
CVE-2015-7497, CVE-2015-7498, CVE-2015-5312, CVE-2015-7499, CVE-2015-7500 |
|
|
|
|
|
|
|
and CVE-2015-8242 |
|
|
|
|
|
|
|
- many other bug fixes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Nov 06 2015 Robert Kuska <rkuska@redhat.com> - 2.9.2-9 |
|
|
|
|
|
|
|
- Rebuilt for Python3.5 rebuild |
|
|
|
|
|
|
|
- Python3.5 has new naming convention for byte compiled files |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Tue Nov 3 2015 Toshio Kuratomi <toshio@fedoraproject.org> - 2.9.2-8 |
|
|
|
|
|
|
|
- Remove executable permissions from documentation. Complies with packaging |
|
|
|
|
|
|
|
guidelines and solves issue of libxml2-python3 package depending on python2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Aug 27 2015 Miro Hrončok <mhroncok@redhat.com> - 2.9.2-7 |
|
|
|
|
|
|
|
- Remove dependency on python2 from python3 subpackage, rhbz#1250940 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 22 2015 Kalev Lember <klember@redhat.com> - 2.9.2-6 |
|
|
|
|
|
|
|
- Rename the Python 3 subpackage to python3-libxml2 as per guidelines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.2-5 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 2.9.2-4 |
|
|
|
|
|
|
|
- Rebuilt for Fedora 23 Change |
|
|
|
|
|
|
|
https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Wed Jan 21 2015 Tomas Radej <tradej@redhat.com> - 2.9.2-3 |
|
|
|
|
|
|
|
- Added Python 3 subpackage |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 16 2014 Lubomir Rintel <lkundrak@v3.sk> - 2.9.2-2 |
|
|
|
|
|
|
|
- Avoid corrupting the xml catalogs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Thu Oct 16 2014 Daniel Veillard <veillard@redhat.com> - 2.9.2-1 |
|
|
|
|
|
|
|
- upstream release of 2.9.2 |
|
|
|
|
|
|
|
- Fix for CVE-214-3660 billion laugh DOS |
|
|
|
|
|
|
|
- many other bug fixes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-5 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Fri Jul 18 2014 Tom Callaway <spot@fedoraproject.org> - 2.9.1-4 |
|
|
|
|
|
|
|
- fix license handling |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-3 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.9.1-2 |
|
|
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild |
|
|
|
|
|
|
|
|
|
|
|
* Fri Apr 19 2013 Daniel Veillard <veillard@redhat.com> - 2.9.1-1 |
|
|
|
* Fri Apr 19 2013 Daniel Veillard <veillard@redhat.com> - 2.9.1-1 |
|
|
|
- upstream release of 2.9.1 |
|
|
|
- upstream release of 2.9.1 |
|
|
|