Accepting request 784247 from hardware
- Update to 2.1.0: * Add new plist_get_data_ptr() and plist_get_string_ptr() for direct access to underlying buffer * Increase precision when converting PLIST_REAL nodes to XML * Fix several issues in libcnary (UaF, segfault, memory leak) * Fix copying of hash table entries when cloning array/dict nodes * cython: Implement load()/loads() and dump()/dumps() to match up with plistlib (Python 3.4) * Add new plist_dict_item_get_key() for retrieving key node of a dict item * Add new plist_array_item_remove() to allow removing an array's child node without relying on the index * Make plist_array_get_item_index() return UINT_MAX instead of 0 when node can't be found * Add index lookup table for large PLIST_ARRAY nodes * Add iterator for array nodes: plist_array_new_iter(), plist_array_next_item() * Improve performance of plist_dict_next_item() drastically * Improve performance and memory usage when writing XML plists * Improve performance and memory usage when writing binary plists * Allow building with sanitizers (without fuzzers) * Prevent store to misaligned address when writing real/date nodes * Work around misaligned reads in binary plist parser * Integrate fuzzing targets (libFuzzer) into project * Add sanitizers (ASAN, UBSAN) when building fuzzers (--with-fuzzers) OBS-URL: https://build.opensuse.org/request/show/784247 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libplist?expand=0&rev=32
This commit is contained in:
commit
d0c785ff7a
3
2.1.0.tar.gz
Normal file
3
2.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4b33f9af3f9208d54a3c3e1a8c149932513f451c98d1dd696fe42c06e30b7f03
|
||||||
|
size 175912
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:3a7e9694c2d9a85174ba1fa92417cfabaea7f6d19631e544948dc7e17e82f602
|
|
||||||
size 421405
|
|
@ -1,3 +1,26 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Mar 12 10:18:43 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
|
||||||
|
|
||||||
|
- Update to 2.1.0:
|
||||||
|
* Add new plist_get_data_ptr() and plist_get_string_ptr() for direct access to underlying buffer
|
||||||
|
* Increase precision when converting PLIST_REAL nodes to XML
|
||||||
|
* Fix several issues in libcnary (UaF, segfault, memory leak)
|
||||||
|
* Fix copying of hash table entries when cloning array/dict nodes
|
||||||
|
* cython: Implement load()/loads() and dump()/dumps() to match up with plistlib (Python 3.4)
|
||||||
|
* Add new plist_dict_item_get_key() for retrieving key node of a dict item
|
||||||
|
* Add new plist_array_item_remove() to allow removing an array's child node without relying on the index
|
||||||
|
* Make plist_array_get_item_index() return UINT_MAX instead of 0 when node can't be found
|
||||||
|
* Add index lookup table for large PLIST_ARRAY nodes
|
||||||
|
* Add iterator for array nodes: plist_array_new_iter(), plist_array_next_item()
|
||||||
|
* Improve performance of plist_dict_next_item() drastically
|
||||||
|
* Improve performance and memory usage when writing XML plists
|
||||||
|
* Improve performance and memory usage when writing binary plists
|
||||||
|
* Allow building with sanitizers (without fuzzers)
|
||||||
|
* Prevent store to misaligned address when writing real/date nodes
|
||||||
|
* Work around misaligned reads in binary plist parser
|
||||||
|
* Integrate fuzzing targets (libFuzzer) into project
|
||||||
|
* Add sanitizers (ASAN, UBSAN) when building fuzzers (--with-fuzzers)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 1 20:48:19 UTC 2017 - mgorse@suse.com
|
Mon May 1 20:48:19 UTC 2017 - mgorse@suse.com
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package libplist
|
# spec file for package libplist
|
||||||
#
|
#
|
||||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2020 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,49 +12,46 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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 cname libplist3
|
||||||
|
%define cppname libplist++3
|
||||||
Name: libplist
|
Name: libplist
|
||||||
Version: 2.0.0
|
Version: 2.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists
|
Summary: Library for handling Apple Binary and XML Property Lists
|
||||||
License: GPL-2.0 and LGPL-2.1+
|
License: GPL-2.0-only AND LGPL-2.1-or-later
|
||||||
Group: Development/Libraries/C and C++
|
URL: https://github.com/libimobiledevice/libplist
|
||||||
Url: https://cgit.libimobiledevice.org/libplist.git
|
Source: https://github.com/libimobiledevice/libplist/archive/%{version}.tar.gz
|
||||||
Source: http://www.libimobiledevice.org/downloads/%{name}-%{version}.tar.bz2
|
|
||||||
Source99: baselibs.conf
|
Source99: baselibs.conf
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++ autoconf automake libtool
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: python-cython
|
BuildRequires: python3-Cython >= 0.17
|
||||||
BuildRequires: python-devel
|
BuildRequires: pkgconfig(python3)
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libplist is a library for handling Apple Binary and XML Property Lists.
|
libplist is a library for handling Apple Binary and XML Property Lists.
|
||||||
|
|
||||||
%package -n libplist3
|
%package -n %{cname}
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists
|
Summary: Library for handling Apple Binary and XML Property Lists
|
||||||
Group: System/Libraries
|
|
||||||
Provides: libplist = %{version}
|
Provides: libplist = %{version}
|
||||||
Obsoletes: libplist < %{version}
|
Obsoletes: libplist < %{version}
|
||||||
|
|
||||||
%description -n libplist3
|
%description -n %{cname}
|
||||||
libplist is a library for handling Apple Binary and XML Property Lists.
|
libplist is a library for handling Apple Binary and XML Property Lists.
|
||||||
|
|
||||||
%package -n libplist++3
|
%package -n %{cppname}
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists
|
Summary: Library for handling Apple Binary and XML Property Lists
|
||||||
Group: System/Libraries
|
|
||||||
Provides: libplist++ = %{version}
|
Provides: libplist++ = %{version}
|
||||||
Obsoletes: libplist++ < %{version}
|
Obsoletes: libplist++ < %{version}
|
||||||
|
|
||||||
%description -n libplist++3
|
%description -n %{cppname}
|
||||||
libplist is a library for handling Apple Binary and XML Property Lists.
|
libplist is a library for handling Apple Binary and XML Property Lists.
|
||||||
|
|
||||||
%package -n plistutil
|
%package -n plistutil
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists
|
Summary: Library for handling Apple Binary and XML Property Lists
|
||||||
Group: Hardware/Other
|
|
||||||
Requires: libplist = %{version}
|
Requires: libplist = %{version}
|
||||||
Provides: plutil = %{version}
|
Provides: plutil = %{version}
|
||||||
Obsoletes: plutil < %{version}
|
Obsoletes: plutil < %{version}
|
||||||
@ -67,7 +64,6 @@ from XML to binary.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
|
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: libplist = %{version}
|
Requires: libplist = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@ -77,77 +73,68 @@ This package contains the development files for C.
|
|||||||
|
|
||||||
%package -n libplist++-devel
|
%package -n libplist++-devel
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
|
Summary: Library for handling Apple Binary and XML Property Lists -- Development Files
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: libplist++ = %{version}
|
Requires: libplist++ = %{version}
|
||||||
Requires: libplist-devel
|
Requires: pkgconfig(libplist)
|
||||||
|
|
||||||
%description -n libplist++-devel
|
%description -n libplist++-devel
|
||||||
libplist is a library for handling Apple Binary and XML Property Lists.
|
libplist is a library for handling Apple Binary and XML Property Lists.
|
||||||
|
|
||||||
This package contains the development files for C++.
|
This package contains the development files for C++.
|
||||||
|
|
||||||
%package -n python-plist
|
%package -n python3-plist
|
||||||
Summary: Library for handling Apple Binary and XML Property Lists -- Python Bindings
|
Summary: Library for handling Apple Binary and XML Property Lists -- Python Bindings
|
||||||
Group: Development/Languages/Python
|
Requires: %{cname} = %{version}
|
||||||
Requires: libplist3 = %{version}
|
Requires: python3-Cython >= 0.17
|
||||||
Requires: python-cython >= 0.13
|
|
||||||
|
|
||||||
%description -n python-plist
|
%description -n python3-plist
|
||||||
libplist is a library for handling Apple Binary and XML Property Lists.
|
libplist is a library for handling Apple Binary and XML Property Lists.
|
||||||
|
|
||||||
This package contains the python bindings.
|
This package contains the python bindings.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
autoreconf -fvi
|
||||||
%configure --disable-static
|
%configure --disable-static
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%check
|
%check
|
||||||
TZ=Europe/Vienna make check VERBOSE=1
|
TZ=Europe/Vienna make check VERBOSE=1
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make %{?_smp_mflags} DESTDIR=%{buildroot} install
|
%make_install
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
rm -rf %{buildroot}%{python_sitearch}/*.la
|
|
||||||
|
|
||||||
# needed by python-imobiledevice build
|
# needed by python-imobiledevice build
|
||||||
mkdir -p %{buildroot}%{_includedir}/plist/cython
|
mkdir -p %{buildroot}%{_includedir}/plist/cython
|
||||||
install -m 0644 cython/plist.pxd %{buildroot}%{_includedir}/plist/cython/plist.pxd
|
install -m 0644 cython/plist.pxd %{buildroot}%{_includedir}/plist/cython/plist.pxd
|
||||||
|
|
||||||
%if 0%{?_crossbuild}
|
%post -n %{cname} -p /sbin/ldconfig
|
||||||
cp -a %{buildroot}%{?_sysroot}/* %{buildroot}/
|
%postun -n %{cname} -p /sbin/ldconfig
|
||||||
rm -fr %{buildroot}%{?_sysroot}
|
%post -n %{cppname} -p /sbin/ldconfig
|
||||||
%endif
|
%postun -n %{cppname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%post -n libplist3 -p /sbin/ldconfig
|
%files -n %{cname}
|
||||||
%postun -n libplist3 -p /sbin/ldconfig
|
%license COPYING COPYING.LESSER
|
||||||
%post -n libplist++3 -p /sbin/ldconfig
|
%doc AUTHORS README.md NEWS
|
||||||
%postun -n libplist++3 -p /sbin/ldconfig
|
|
||||||
|
|
||||||
%files -n libplist3
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%doc AUTHORS COPYING COPYING.LESSER README NEWS
|
|
||||||
%{_libdir}/libplist.so.*
|
%{_libdir}/libplist.so.*
|
||||||
|
|
||||||
%files -n libplist++3
|
%files -n %{cppname}
|
||||||
%defattr(-,root,root)
|
%license COPYING COPYING.LESSER
|
||||||
%doc AUTHORS COPYING COPYING.LESSER README NEWS
|
%doc AUTHORS README.md NEWS
|
||||||
%{_libdir}/libplist++.so.*
|
%{_libdir}/libplist++.so.*
|
||||||
|
|
||||||
%files -n plistutil
|
%files -n plistutil
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_bindir}/plistutil
|
%{_bindir}/plistutil
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/plist
|
%dir %{_includedir}/plist
|
||||||
%{_includedir}/plist/plist.h
|
%{_includedir}/plist/plist.h
|
||||||
%{_libdir}/libplist.so
|
%{_libdir}/libplist.so
|
||||||
%{_libdir}/pkgconfig/libplist.pc
|
%{_libdir}/pkgconfig/libplist.pc
|
||||||
|
|
||||||
%files -n libplist++-devel
|
%files -n libplist++-devel
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/plist
|
%dir %{_includedir}/plist
|
||||||
%{_includedir}/plist/plist++.h
|
%{_includedir}/plist/plist++.h
|
||||||
%{_includedir}/plist/Array.h
|
%{_includedir}/plist/Array.h
|
||||||
@ -165,10 +152,9 @@ rm -fr %{buildroot}%{?_sysroot}
|
|||||||
%{_libdir}/libplist++.so
|
%{_libdir}/libplist++.so
|
||||||
%{_libdir}/pkgconfig/libplist++.pc
|
%{_libdir}/pkgconfig/libplist++.pc
|
||||||
|
|
||||||
%files -n python-plist
|
%files -n python3-plist
|
||||||
%defattr(-,root,root,-)
|
|
||||||
%dir %{_includedir}/plist/cython
|
%dir %{_includedir}/plist/cython
|
||||||
%{_includedir}/plist/cython/plist.pxd
|
%{_includedir}/plist/cython/plist.pxd
|
||||||
%{python_sitearch}/plist.so
|
%{python3_sitearch}/plist.so
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Loading…
x
Reference in New Issue
Block a user