Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package libnxml for openSUSE:Factory checked in at 2026-11-30 14:29:23 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/libnxml (Old) and /work/SRC/openSUSE:Factory/.libnxml.new.1340718 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libnxml" Mon Nov 30 14:29:23 2026 rev:3 rq:1401618 version:0.18.6 Changes: -------- --- /work/SRC/openSUSE:Factory/libnxml/libnxml.changes 2024-03-01 23:38:58.360764890 +0100 +++ /work/SRC/openSUSE:Factory/.libnxml.new.1340718/libnxml.changes 2026-11-30 14:32:18.133855330 +0100 @@ -1,0 +2,9 @@ +Fri Nov 6 17:58:33 UTC 2026 - Andreas Stieger <[email protected]> + +- update to 0.18.6: + * CVE-2026-123202: stack buffer overflow in XML name parsing + (boo#1289612) +- modernize spec file +- drop libnxml-curl_compat.patch + +------------------------------------------------------------------- Old: ---- libnxml-0.18.3.tar.gz libnxml-curl_compat.patch New: ---- libnxml-0.18.6.tar.gz ----------(Old B)---------- Old:- modernize spec file - drop libnxml-curl_compat.patch ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ libnxml.spec ++++++ --- /var/tmp/diff_new_pack.VZ1IgU/_old 2026-11-30 14:32:19.129897316 +0100 +++ /var/tmp/diff_new_pack.VZ1IgU/_new 2026-11-30 14:32:19.131897401 +0100 @@ -2,6 +2,7 @@ # spec file for package libnxml # # Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany. +# Copyright (c) 2026 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -12,34 +13,24 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define soname 0 Name: libnxml -Version: 0.18.3 +Version: 0.18.6 Release: 0 Summary: XML Parsing Library -License: LGPL-2.1+ -Group: Development/Libraries/C and C++ -Url: http://www.autistici.org/bakunin/codes.php -Source: http://www.autistici.org/bakunin/libnxml/libnxml-%{version}.tar.gz +License: LGPL-2.1-or-later +URL: https://github.com/bakulf/libnxml +Source: https://github.com/bakulf/libnxml/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz Source1: baselibs.conf -Patch1: libnxml-curl_compat.patch BuildRequires: autoconf BuildRequires: automake -BuildRequires: gcc -BuildRequires: glibc-devel BuildRequires: libtool -BuildRequires: make BuildRequires: pkgconfig -BuildRoot: %{_tmppath}/%{name}-%{version}-build -%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1030 -BuildRequires: libcurl-devel -%else -BuildRequires: curl-devel -%endif +BuildRequires: pkgconfig(libcurl) %description nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or @@ -48,53 +39,50 @@ %package -n libnxml%{soname} Summary: XML Parsing Library -Group: System/Libraries %description -n libnxml%{soname} nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams. It supports UTF-8, UTF-16be and UTF-16le, UCS-4 (1234, 4321, 2143, 2312). -%package -n libnxml-devel +This package contains the shared library. + +%package devel Summary: XML Parsing Library -Group: Development/Libraries/C and C++ -Requires: libnxml%{soname} = %{version}-%{release} -%if 0%{?suse_version} == 0 || 0%{?suse_version} >= 1030 -Requires: libcurl-devel -%else -Requires: curl-devel -%endif +Requires: libnxml%{soname} = %{version} -%description -n libnxml-devel +%description devel nXML is a C library for parsing, writing and creating XML 1.0 and 1.1 files or streams. It supports UTF-8, UTF-16be and UTF-16le, UCS-4 (1234, 4321, 2143, 2312). +This package contains the files needed to develop using %{name}. + %prep -%autosetup -p0 +%autosetup -p1 %build -export CFLAGS="%{optflags} -fno-strict-aliasing" -export CPPFLAGS="$CFLAGS" -%configure --disable-static -make %{?_smp_mflags} +autoreconf -fiv +%configure \ + --disable-static \ + %{nil} +%make_build %install %make_install - find %{buildroot} -type f -name "*.la" -delete -print -%post -n libnxml%{soname} -p /sbin/ldconfig -%postun -n libnxml%{soname} -p /sbin/ldconfig +%check +%make_build test + +%ldconfig_scriptlets -n libnxml%{soname} %files -n libnxml%{soname} -%defattr(-,root,root) -%doc README AUTHORS COPYING NEWS ChangeLog -%{_libdir}/libnxml.so.%{soname} -%{_libdir}/libnxml.so.%{soname}.* +%license COPYING +%doc README AUTHORS ChangeLog +%{_libdir}/libnxml.so.%{soname}{,.*} -%files -n libnxml-devel -%defattr(-,root,root) +%files devel %{_includedir}/nxml.h %{_libdir}/libnxml.so %{_libdir}/pkgconfig/nxml.pc ++++++ libnxml-0.18.3.tar.gz -> libnxml-0.18.6.tar.gz ++++++ ++++ 53224 lines of diff (skipped)
