Sync from SUSE:SLFO:Main librist revision 7b38d767aab72ed27aa66a4d1bf95c14

This commit is contained in:
Adrian Schröter 2024-10-25 16:22:04 +02:00
commit 62ab218e66
5 changed files with 172 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
baselibs.conf Normal file
View File

@ -0,0 +1 @@
librist4

BIN
librist-v0.2.10.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

48
librist.changes Normal file
View File

@ -0,0 +1,48 @@
-------------------------------------------------------------------
Sun Nov 12 17:00:31 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.2.10:
* segfault in recv path when receiving corrupted data without
matching peer
* fix compilation on 32bit systems
* fix regression in stats obj rtt value
* remove unneeded locking in buffer scaling
* fix too old packages error due to buffer scaling
* fix empty buffer time check
* disable buffer negotiation when sender max buffer is smaller
than our buffer
* fix deadlock caused by wrong lock order when removing peers
* fix building Prometheus code against older libmicrohttpd
* fix compilation on Hurd
* Added support for Nettle+GMP+GnuTLS as a crypto (PSK & SRP)
backend
* Buffer-min and -max parameters for experimental dynamic buffer
scaling (see --help-url)
* Performance tuning for better/more efficient recovery at
latencies below 50ms
* Implemented main profile Keep Alive message format
* Binding on IP (*Nix + win32) or iface name (*nix) via miface
param for use with outgoing connections
* Simplified peer start and keep-alive (on reception of GRE
Keepalive)
* Connection status callback function for peer added
* New API function to get peer-id (for correlation with
stats peer-id)
* New API function to access underlying socket (for use with
DSCP etc)
* Prometheus compatible stats output
* Higher precision RTT logging
* Increased performance of EAP-SRP by only requesting a
reauthentication user verifier generation has changed
* Added ability to set/exchange passphrase via EAP-SRP
-------------------------------------------------------------------
Thu Dec 8 12:23:03 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
- Use noun phrase for summary. Trim marketing from descriptions.
-------------------------------------------------------------------
Thu Dec 1 17:18:17 UTC 2022 - Callum Farmer <gmbr3@opensuse.org>
- Initial packaging version 0.2.7

97
librist.spec Normal file
View File

@ -0,0 +1,97 @@
#
# spec file for package librist
#
# 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 4
%define libname %{name}%{sover}
# BRs would expand rings
%bcond_with unbundle
Name: librist
Version: 0.2.10
Release: 0
Summary: Reliable Internet Stream Transport protocol
License: BSD-2-Clause
URL: https://code.videolan.org/rist/librist
Source0: https://code.videolan.org/rist/librist/-/archive/v%{version}/librist-v%{version}.tar.gz
Source99: baselibs.conf
Group: Development/Libraries/C and C++
BuildRequires: meson >= 0.47
BuildRequires: ninja
BuildRequires: pkgconfig
%if %{with unbundle}
BuildRequires: mbedtls-devel
BuildRequires: pkgconfig(libcjson)
%endif
%description
A library that can be used to speak the RIST protocol (as defined by Video
Services Forum (VSF) Technical Recommendations TR-06-1 and TR-06-2).
%package -n %{libname}
Summary: Reliable Internet Stream Transport protocol
Group: System/Libraries
%description -n %{libname}
A library that can be used to speak the RIST protocol (as defined by Video
Services Forum (VSF) Technical Recommendations TR-06-1 and TR-06-2).
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n rist-tools
Summary: User tools for %{name}
Group: Productivity/Multimedia/Video/Editors and Convertors
%description -n rist-tools
This package contains the user tools for the RIST protocol library.
%prep
%autosetup -n %{name}-v%{version}
%build
%meson
%meson_build
%install
%meson_install
chmod -x %{buildroot}%{_includedir}/%{name}/*.h
chmod -x docs/*
%ldconfig_scriptlets -n %{libname}
%files -n rist-tools
%license COPYING
%doc CONTRIBUTING.md
%doc README.md
%doc docs
%{_bindir}/rist*
%files -n %{libname}
%{_libdir}/*.so.*
%files devel
%{_includedir}/*
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc
%changelog