From 10958439780cb439cefc394adc083d056ccb1b0c64ea0b0eb2b442c74d20e4bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 16:02:44 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main libverto revision 3ac3dc5406f61cc9031efb389f15cae6 --- .gitattributes | 23 ++++++++++ _multibuild | 5 +++ baselibs.conf | 4 ++ libverto-0.3.2.tar.gz | 3 ++ libverto-glib.changes | 49 +++++++++++++++++++++ libverto-glib.spec | 96 +++++++++++++++++++++++++++++++++++++++++ libverto-libev.changes | 49 +++++++++++++++++++++ libverto-libev.spec | 98 ++++++++++++++++++++++++++++++++++++++++++ libverto.changes | 74 +++++++++++++++++++++++++++++++ libverto.spec | 98 ++++++++++++++++++++++++++++++++++++++++++ 10 files changed, 499 insertions(+) create mode 100644 .gitattributes create mode 100644 _multibuild create mode 100644 baselibs.conf create mode 100644 libverto-0.3.2.tar.gz create mode 100644 libverto-glib.changes create mode 100644 libverto-glib.spec create mode 100644 libverto-libev.changes create mode 100644 libverto-libev.spec create mode 100644 libverto.changes create mode 100644 libverto.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_multibuild b/_multibuild new file mode 100644 index 0000000..e611882 --- /dev/null +++ b/_multibuild @@ -0,0 +1,5 @@ + + libverto-glib.spec + libverto-libev.spec + + diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..a968b18 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1,4 @@ +libverto1 +libverto-devel +libverto-glib1 +libverto-libev1 diff --git a/libverto-0.3.2.tar.gz b/libverto-0.3.2.tar.gz new file mode 100644 index 0000000..221d836 --- /dev/null +++ b/libverto-0.3.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8d1756fd704f147549f606cd987050fb94b0b1ff621ea6aa4d6bf0b74450468a +size 383181 diff --git a/libverto-glib.changes b/libverto-glib.changes new file mode 100644 index 0000000..72427b0 --- /dev/null +++ b/libverto-glib.changes @@ -0,0 +1,49 @@ +------------------------------------------------------------------- +Thu Aug 27 10:00:33 UTC 2020 - Dirk Mueller + +- 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. + diff --git a/libverto-glib.spec b/libverto-glib.spec new file mode 100644 index 0000000..3e1a599 --- /dev/null +++ b/libverto-glib.spec @@ -0,0 +1,96 @@ +# +# spec file for package libverto-glib +# +# Copyright (c) 2023 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-glib +Version: 0.3.2 +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(glib-2.0) +BuildRequires: pkgconfig(libverto) = %{version} + +%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}-glib%{sover} +Summary: Backend module for libverto -- glib +Group: Development/Libraries/C and C++ +Requires: libverto%{sover} = %{version} + +%description -n %{src_name}-glib%{sover} +Module for libverto which provides integration with glib. + +This package does NOT yet provide libverto-module-base. + +%package -n %{src_name}-glib-devel +Summary: Development files for libverto-glib%{sover} +Group: Development/Libraries/C and C++ +Requires: %{src_name}-devel%{?_isa} = %{version} +Requires: %{src_name}-glib%{sover}%{?_isa} = %{version} + +%description -n %{src_name}-glib-devel +The libverto-glib-devel package contains libraries and header files +for developing applications that use libverto-glib. + +%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}-glib%{sover} -p /sbin/ldconfig +%postun -n %{src_name}-glib%{sover} -p /sbin/ldconfig + +%files -n %{src_name}-glib%{sover} +%{_libdir}/%{src_name}-glib.so.* + +%files -n %{src_name}-glib-devel +%{_includedir}/verto-glib.h +%{_libdir}/%{src_name}-glib.so +%{_libdir}/pkgconfig/%{src_name}-glib.pc + +%changelog diff --git a/libverto-libev.changes b/libverto-libev.changes new file mode 100644 index 0000000..72427b0 --- /dev/null +++ b/libverto-libev.changes @@ -0,0 +1,49 @@ +------------------------------------------------------------------- +Thu Aug 27 10:00:33 UTC 2020 - Dirk Mueller + +- 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. + diff --git a/libverto-libev.spec b/libverto-libev.spec new file mode 100644 index 0000000..4a864d0 --- /dev/null +++ b/libverto-libev.spec @@ -0,0 +1,98 @@ +# +# spec file for package libverto-libev +# +# Copyright (c) 2023 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-libev +Version: 0.3.2 +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(libev) +BuildRequires: pkgconfig(libverto) = %{version} + +%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}-libev%{sover} +Summary: Backend module for libverto -- libev%{sover} +Group: Development/Libraries/C and C++ +Requires: libverto%{sover} = %{version} +Provides: %{src_name}-module-base = %{version} + +%description -n %{src_name}-libev%{sover} +Module for libverto which provides integration with libev. + +This package provides libverto-module-base since it supports io, +timeout and signal. + +%package -n %{src_name}-libev-devel +Summary: Development files for libverto-libev%{sover} +Group: Development/Libraries/C and C++ +Requires: %{src_name}-devel%{?_isa} = %{version} +Requires: %{src_name}-libev%{sover}%{?_isa} = %{version} + +%description -n %{src_name}-libev-devel +The libverto-libev-devel package contains libraries and header +files for developing applications that use libverto-libev. + +%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}-libev%{sover} -p /sbin/ldconfig +%postun -n %{src_name}-libev%{sover} -p /sbin/ldconfig + +%files -n %{src_name}-libev%{sover} +%{_libdir}/%{src_name}-libev.so.* + +%files -n %{src_name}-libev-devel +%{_includedir}/verto-libev.h +%{_libdir}/%{src_name}-libev.so +%{_libdir}/pkgconfig/%{src_name}-libev.pc + +%changelog diff --git a/libverto.changes b/libverto.changes new file mode 100644 index 0000000..1981a16 --- /dev/null +++ b/libverto.changes @@ -0,0 +1,74 @@ +------------------------------------------------------------------- +Mon Apr 24 10:09:44 UTC 2023 - Dominique Leuenberger + +- Add _multibuild to define 2nd spec file as additional flavor. + Eliminates the need for source package links in OBS. + +------------------------------------------------------------------- +Sat Sep 24 09:08:52 UTC 2022 - Dirk Müller + +- 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 + +- 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 + +------------------------------------------------------------------- +Thu Feb 22 15:14:25 UTC 2018 - fvogt@suse.com + +- Use %license (boo#1082318) + +------------------------------------------------------------------- +Sun Oct 29 10:08:08 UTC 2017 - meissner@suse.com + +- add libverto-devel baselib for use by libkrb5-devel-32bit, + for use by Wine 32bit. + +------------------------------------------------------------------- +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. + diff --git a/libverto.spec b/libverto.spec new file mode 100644 index 0000000..6837d07 --- /dev/null +++ b/libverto.spec @@ -0,0 +1,98 @@ +# +# spec file for package libverto +# +# Copyright (c) 2023 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 +Name: libverto +Version: 0.3.2 +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 + +%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 %{name}%{sover} +Summary: Runtime libraries for libverto +Group: Development/Libraries/C and C++ + +%description -n %{name}%{sover} +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 devel +Summary: Development files for libverto +Group: Development/Libraries/C and C++ +Requires: %{name}%{sover} = %{version} + +%description devel +The libverto-devel package contains libraries and header files +for developing applications that use libverto. + +%prep +%setup -q + +%build +%configure --disable-static +%make_build + +%install +%make_install +find %{buildroot} -type f -name "*.la" -delete -print +find %{buildroot} -name '*.so.*T' -delete + +%post -n libverto%{sover} -p /sbin/ldconfig +%postun -n libverto%{sover} -p /sbin/ldconfig + +%files -n libverto%{sover} +%license COPYING +%doc AUTHORS ChangeLog NEWS README +%{_libdir}/%{name}.so.* + +%files devel +%{_includedir}/verto.h +%{_includedir}/verto-module.h +%{_libdir}/%{name}.so +%{_libdir}/pkgconfig/%{name}.pc + +%changelog