SHA256
1
0
forked from pool/libverto

Accepting request 1005740 from home:dirkmueller:Factory

- update to 0.3.2:
  * Fix use-after-free in verto_reinitialize
  * Fix use-after-free in verto_free()
  * Remove broken tevent support

OBS-URL: https://build.opensuse.org/request/show/1005740
OBS-URL: https://build.opensuse.org/package/show/network/libverto?expand=0&rev=20
This commit is contained in:
Dirk Mueller 2022-09-28 16:35:23 +00:00 committed by Git OBS Bridge
parent 7e6ba802d4
commit c5eb074064
9 changed files with 17 additions and 157 deletions

View File

@ -2,4 +2,3 @@ libverto1
libverto-devel
libverto-glib1
libverto-libev1
libverto-tevent1

View File

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

BIN
libverto-0.3.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,7 +1,7 @@
#
# spec file for package libverto-glib
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 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 @@
%define sover 1
%define src_name libverto
Name: libverto-glib
Version: 0.3.1
Version: 0.3.2
Release: 0
Summary: Main loop abstraction library
License: MIT

View File

@ -1,7 +1,7 @@
#
# spec file for package libverto-libev
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 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 @@
%define sover 1
%define src_name libverto
Name: libverto-libev
Version: 0.3.1
Version: 0.3.2
Release: 0
Summary: Main loop abstraction library
License: MIT

View File

@ -1,49 +0,0 @@
-------------------------------------------------------------------
Thu Aug 27 10:00:33 UTC 2020 - Dirk Mueller <dmueller@suse.com>
- update to 0.3.1:
* Fix rare leak of DSO in module_load
* Turn off -Wcast-function-type
* Work around libev not being c89-compliant
* Minor release bumps for verto_cleanup()
* Leak fixes
* Enforce strict c89 compliance for portability
* Many warning fixes
* Fix memleak in libverto:vfree
* Update mutex usage to improve debugging
* Add verto_cleanup() to free loaded_modules
* Make C99 requirement explicit
-------------------------------------------------------------------
Tue Jun 6 13:42:00 UTC 2017 - hguo@suse.com
- There is no change made about the package itself, this is only
copying over some changelog texts from SLE package:
- [fate#320326](https://fate.suse.com/320326)
-------------------------------------------------------------------
Mon May 16 10:25:59 UTC 2016 - mlin@suse.com
- Split off libev, glib and tevent module to sub-package
-------------------------------------------------------------------
Mon Jun 22 08:47:23 UTC 2015 - hguo@suse.com
- Remove irrelevant changelog entries from changelog file.
-------------------------------------------------------------------
Sat May 30 13:12:32 UTC 2015 - sor.alexei@meowr.ru
- Add baselibs.conf to enable multilib.
- Spec cleanup.
-------------------------------------------------------------------
Fri May 8 14:55:09 CEST 2015 - pth@suse.de
- Name shared library packages according to policy.
-------------------------------------------------------------------
Fri May 8 09:45:34 UTC 2015 - hguo@suse.com
- Source extracted from Fedora 21 release SRPM, with minor adjustments.

View File

@ -1,98 +0,0 @@
#
# spec file for package libverto-tevent
#
# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define sover 1
%define src_name libverto
Name: libverto-tevent
Version: 0.3.1
Release: 0
Summary: Main loop abstraction library
License: MIT
Group: Development/Libraries/C and C++
URL: https://github.com/latchset/libverto
Source: https://github.com/latchset/libverto/releases/download/%{version}/libverto-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libverto) = %{version}
BuildRequires: pkgconfig(tevent)
%description
libverto provides a way for libraries to expose asynchronous
interfaces without having to choose a particular event loop,
offloading this decision to the end application which consumes the
library.
If you are packaging an application, not library, based on libverto,
you should depend either on a specific implementation module or you
can depend on the virtual provides 'libverto-module-base'. This will
ensure that you have at least one module installed that provides io,
timeout and signal functionality. Currently glib is the only module
that does not provide these three because it lacks signal. However,
glib will support signal in the future.
%package -n %{src_name}-tevent%{sover}
Summary: Backend module for libverto -- tevent
Group: Development/Libraries/C and C++
Requires: libverto%{sover} = %{version}
Provides: %{src_name}-module-base = %{version}
%description -n %{src_name}-tevent%{sover}
Module for libverto which provides integration with tevent.
This package provides libverto-module-base since it supports io,
timeout and signal.
%package -n %{src_name}-tevent-devel
Summary: Development files for libverto-tevent%{sover}
Group: Development/Libraries/C and C++
Requires: %{src_name}-devel%{?_isa} = %{version}
Requires: %{src_name}-tevent%{sover}%{?_isa} = %{version}
%description -n %{src_name}-tevent-devel
The libverto-tevent-devel package contains libraries and header
files for developing applications that use libverto-tevent.
%prep
%setup -q -n %{src_name}-%{version}
%build
%configure --disable-static
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
find %{buildroot} -name '*.so.*T' -delete
# stuff in libverto already
rm -rf %{buildroot}/%{_includedir}/verto-module.h %{buildroot}/%{_includedir}/verto.h
rm -rf %{buildroot}/%{_libdir}/%{src_name}.so*
rm -rf %{buildroot}/%{_libdir}/pkgconfig/%{src_name}.pc
%post -n %{src_name}-tevent%{sover} -p /sbin/ldconfig
%postun -n %{src_name}-tevent%{sover} -p /sbin/ldconfig
%files -n %{src_name}-tevent%{sover}
%{_libdir}/%{src_name}-tevent.so.*
%files -n %{src_name}-tevent-devel
%{_includedir}/verto-tevent.h
%{_libdir}/%{src_name}-tevent.so
%{_libdir}/pkgconfig/%{src_name}-tevent.pc
%changelog

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Sat Sep 24 09:08:52 UTC 2022 - Dirk Müller <dmueller@suse.com>
- update to 0.3.2:
* Fix use-after-free in verto_reinitialize
* Fix use-after-free in verto_free()
* Remove broken tevent support
-------------------------------------------------------------------
Thu Aug 27 10:00:33 UTC 2020 - Dirk Mueller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package libverto
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%define sover 1
Name: libverto
Version: 0.3.1
Version: 0.3.2
Release: 0
Summary: Main loop abstraction library
License: MIT