SHA256
1
0
forked from pool/wbxml2

Accepting request 1199889 from mobile:synchronization:FACTORY

- update to 0.11.10:
  * Removed a few unused variables which gcc reported during
    building with -Wall compiler option. A notable case was in
    function decode_wv_datetime where a memory allocation
    failure was ignored
  * Added workaround for buggy FindEXPAT in cmake 3.27-3.29.
  * Enabled --output-on-failure in GitHub runner config of ctest.
  * Removed proprietary Testing.cmake.
  * Updated the cmake package information by replacing the find
    module with proper cmake config and version files.
  * Removed all cmake find modules of third party dependencies.
  * Replaced proprietary FindCheck.cmake with standard usage of
    PkgConfig.
  * Removed assert in function wbxml_tree_clb_xml_end_element of
    wbxml_tree_clb_xml.c. The function had already the
    correct error handling implemented. The library no longer
    crashes but returns an error.
  * Fixed SIGSEGV during parsing of malformed WV document in
    wbxml_parser.c.
  * Fixed the handling of a wrong Unicode character in the
    function parse_entity of wbxml_parser.c. The library no longer
    crashes but returns an error. Therefore, a new error was
    defined in wbxml_errors.h. The usage of assert.h was removed
    from wbxml_parser.c.
  * Added missing NULL pointer check in function
    decode_opaque_content of wbxml_parser.c
  * Added a directory for and with fuzz tests which crash(ed) the
    library.
  * Modify wbxml_getopt return opt type to int
  * Check for normalize_xml.pl failures in the tests (pull

OBS-URL: https://build.opensuse.org/request/show/1199889
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wbxml2?expand=0&rev=33
This commit is contained in:
2024-09-10 19:14:48 +00:00
committed by Git OBS Bridge
4 changed files with 57 additions and 36 deletions

3
libwbxml-0.11.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:027b77ab7c06458b73cbcf1f06f9cf73b65acdbb2ac170b234c1d736069acae4
size 320686

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6fe0e55369280c1a7698859a5c2bb37c8615c57a919b574cd8c16458279db66
size 362833

View File

@@ -1,3 +1,38 @@
-------------------------------------------------------------------
Tue Sep 10 13:17:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.11.10:
* Removed a few unused variables which gcc reported during
building with -Wall compiler option. A notable case was in
function decode_wv_datetime where a memory allocation
failure was ignored
* Added workaround for buggy FindEXPAT in cmake 3.27-3.29.
* Enabled --output-on-failure in GitHub runner config of ctest.
* Removed proprietary Testing.cmake.
* Updated the cmake package information by replacing the find
module with proper cmake config and version files.
* Removed all cmake find modules of third party dependencies.
* Replaced proprietary FindCheck.cmake with standard usage of
PkgConfig.
* Removed assert in function wbxml_tree_clb_xml_end_element of
wbxml_tree_clb_xml.c. The function had already the
correct error handling implemented. The library no longer
crashes but returns an error.
* Fixed SIGSEGV during parsing of malformed WV document in
wbxml_parser.c.
* Fixed the handling of a wrong Unicode character in the
function parse_entity of wbxml_parser.c. The library no longer
crashes but returns an error. Therefore, a new error was
defined in wbxml_errors.h. The usage of assert.h was removed
from wbxml_parser.c.
* Added missing NULL pointer check in function
decode_opaque_content of wbxml_parser.c
* Added a directory for and with fuzz tests which crash(ed) the
library.
* Modify wbxml_getopt return opt type to int
* Check for normalize_xml.pl failures in the tests (pull
request #84).
-------------------------------------------------------------------
Tue Dec 6 14:42:37 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package wbxml2
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
# set libname
%define libname libwbxml2-1
Name: wbxml2
Version: 0.11.8
Version: 0.11.10
Release: 0
Summary: WBXML parser and compiler library
License: LGPL-2.1-or-later
@@ -84,25 +84,11 @@ ecode and handle WBXML documents.
%setup -q -n libwbxml-libwbxml-%{version}
%build
mkdir build
pushd build
CFLAGS="%{optflags}" \
CXXFLAGS="%{optflags}" \
cmake \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DENABLE_INSTALL_DOC:BOOL=OFF \
%if "%{_lib}" == "lib64"
-DLIB_SUFFIX=64 \
%endif
%{_builddir}/libwbxml-libwbxml-%{version}
%make_build
popd
%cmake -DENABLE_INSTALL_DOC:BOOL=OFF
%cmake_build
%install
pushd build
%make_install
popd
%cmake_install
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
@@ -113,7 +99,7 @@ popd
%{_libdir}/libwbxml2.so.1*
%files -n libwbxml2-devel
%{_datadir}/cmake/Modules/FindLibWbxml2.cmake
%{_libdir}/cmake/libwbxml2/
%{_libdir}/pkgconfig/libwbxml2.pc
%{_libdir}/libwbxml2.so
%{_includedir}/libwbxml*