Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37643649
en ru br
ALT Linux repos
S:0.9.5.0-alt1

Group :: System/Libraries
RPM: libusrsctp

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define oname usrsctp
Name: libusrsctp
Version: 0.9.5.0
Release: alt1

Summary: Portable SCTP userland stack

License: BSD
Group: System/Libraries
Url: https://github.com/sctplab/usrsctp

Packager: Vitaly Lipatov <lav at altlinux.ru>

# Source-url: %url/archive/%version/usrsctp-%version.tar.gz

Source: %name-%version.tar

BuildRequires: gcc-c++
BuildRequires: meson ninja-build

%description
SCTP is a message oriented, reliable transport protocol with direct support
for multihoming that runs on top of IP or UDP, and supports both v4 and v6
versions.

Like TCP, SCTP provides reliable, connection oriented data delivery with
congestion control. Unlike TCP, SCTP also provides message boundary
preservation, ordered and unordered message delivery, multi-streaming and
multi-homing. Detection of data corruption, loss of data and duplication
of data is achieved by using checksums and sequence numbers. A selective
retransmission mechanism is applied to correct loss or corruption of data.

In this manual the socket API for the SCTP User-land implementation will be
described. It is based on RFC 6458. The main focus of this document is on
pointing out the differences to the SCTP Sockets API. For all aspects of the
sockets API that are not mentioned in this document, please refer to RFC
6458. Questions about SCTP itself can hopefully be answered by RFC 4960.

%package devel
Summary: Development files for %name
Group: Development/C++
Requires: %name = %EVR

%description devel
%summary.

%prep
%setup

%build
%meson \
   -Dwerror=false \
   -Dsctp_debug=false \
   -Dsctp_inet=true \
   -Dsctp_inet6=true \
   -Dsctp_build_programs=false
%meson_build

%check
%meson_test

%install
%meson_install

%files
%doc README.md Manual.md
%doc LICENSE.md
%_libdir/%name.so.2*

%files devel
%_includedir/%oname.h
%_libdir/%name.so
%_pkgconfigdir/%oname.pc

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin