[info=92e190f86689f4e93a65ba91ea6b6c0071f15f50eacc880ef9c7349abccc2ba1]
OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-netif?expand=0&rev=43
This commit is contained in:
commit
9b651ea0da
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal 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
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
1.4.0.tar.gz
Normal file
3
1.4.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:0cfd27fca1e0d50291eef3aa113cecd123e5485e3d2ec10d7cd3e3d50ac2fda2
|
||||
size 274737
|
4
_scmsync.obsinfo
Normal file
4
_scmsync.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
mtime: 1698952911
|
||||
commit: 92e190f86689f4e93a65ba91ea6b6c0071f15f50eacc880ef9c7349abccc2ba1
|
||||
url: https://src.opensuse.org/jengelh/libosmo-netif
|
||||
revision: master
|
3
build.specials.obscpio
Normal file
3
build.specials.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:cb0ea03fee39b37028ff5a8aad55ed3d0fe4bca8f9e90fe87e5ee7de5b0525be
|
||||
size 256
|
129
libosmo-netif.changes
Normal file
129
libosmo-netif.changes
Normal file
@ -0,0 +1,129 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 1 19:06:32 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 1.4.0
|
||||
* Add osmo_io support to osmo_stream_cli and osmo_stream_srv
|
||||
* ipa: Add segmentation callback
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 18 11:28:42 UTC 2023 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 1.3.0
|
||||
* osmux: Introduce API osmux_xfrm_input_set_name
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 3 15:52:24 UTC 2022 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 1.2.0
|
||||
* stream: Add support for AF_UNIX sockets
|
||||
* Introduce osmo_prim_srv APIs
|
||||
* prim: Add internal CTL SAPI to negotiate SAP versions
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 14 20:55:09 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 1.1.0
|
||||
* No changelog was provided
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 6 12:19:43 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to release 1.0.0
|
||||
* stream: Add new WAIT_RECONNECT cli state
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jan 5 10:49:20 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to new upstream release 0.7.0
|
||||
* libosmo-netif.pc.in: Append -lsctp to Libs.private
|
||||
* stream: osmo_stream_cli: Support setting multiple addr
|
||||
* stream: osmo_stream_srv_link: Support setting multiple addr
|
||||
* stream: Fix scheduling of queued messages during connecting state
|
||||
* stream: Introduce API osmo_stream_cli_is_connected
|
||||
- Update patch
|
||||
* osmo-talloc.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Aug 15 04:32:14 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to new upstream release 0.6.0
|
||||
* osmux: Extend osmux_out_handle and add new API to set
|
||||
rtp payload_type
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 20 20:55:35 UTC 2019 - Martin Hauke <mardnh@gmx.de>
|
||||
|
||||
- Update to new upstream release 0.4.0
|
||||
* Bugfix release only.
|
||||
The full changelog is available via
|
||||
http://git.osmocom.org/libosmo-netif/plain/debian/changelog?h=0.4.0
|
||||
- Rebase patch
|
||||
* osmo-talloc.diff
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Dec 11 00:52:52 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||
|
||||
- Update to new upstream release 0.3.0
|
||||
* stream: Avoid re-creating and leaking socket when unneeded
|
||||
* osmo_stream_{cli,srv}_destroy: fix a mem leak on an empty msgb queue
|
||||
* Add support for flushing and destroying a server-side stream
|
||||
* jibuf: Add initial implementation of Jitter Buffer
|
||||
* Remove "channel" layer
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 27 20:38:21 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 0.1.1
|
||||
* cosmetic: relax UDP length check
|
||||
* cosmetic: print textual error from recv()
|
||||
* osmux_snprintf: Support different types of Osmux frames
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 2 23:04:14 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream snapshot 0.0.6.85
|
||||
* rtp: return offset in osmo_rtp_snprintf()
|
||||
* somo_stream_srv_fd_cb(): close socket if NODELAY fails
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 28 21:24:50 UTC 2017 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream snapshot 0.0.6.67
|
||||
* Fix potential NULL dereference
|
||||
* stream: don't crash in _close() when fd is not initialized
|
||||
* stream: When destroying, make sure to kill reconnect timer
|
||||
* osmux: Fix delay between RTP packets
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Jul 31 17:59:57 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream snapshot 0.0.6.19
|
||||
* misc: Drop oRTP dependency as there is nothing using it
|
||||
* osmux: Pass circuit to _batch_del_circuit() and use it from _xfrm_input_fini()
|
||||
* osmux: Add function to delete all msgs pending for a circuit
|
||||
* osmux-test: remove real-time constraint by default
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 26 12:06:24 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Dump testsuite results on failure
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jan 22 18:17:18 UTC 2016 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream snapshot 0.0.6.8
|
||||
* don't link everything to libsctp
|
||||
* ensure to zero-initialize sctp_sndrcvinfo
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 23 17:13:12 UTC 2015 - jengelh@inai.de
|
||||
|
||||
- Update to new upstream release 0.0.6.5
|
||||
* No changelog was provided
|
||||
- Drop osmo-cppflags.diff, osmo-ldadd.diff, osmo-allincludes.diff
|
||||
(merged upstream)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 2 20:58:44 UTC 2014 - jengelh@inai.de
|
||||
|
||||
- Initial package (version 0.0.4) for build.opensuse.org
|
97
libosmo-netif.spec
Normal file
97
libosmo-netif.spec
Normal file
@ -0,0 +1,97 @@
|
||||
#
|
||||
# spec file for package libosmo-netif
|
||||
#
|
||||
# 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/
|
||||
#
|
||||
|
||||
|
||||
Name: libosmo-netif
|
||||
Version: 1.4.0
|
||||
Release: 0
|
||||
Summary: Osmocom library for muxed audio
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Telephony/Utilities
|
||||
URL: https://osmocom.org/projects/libosmo-netif
|
||||
Source: https://github.com/osmocom/libosmo-netif/archive/%version.tar.gz
|
||||
Patch1: osmo-talloc.diff
|
||||
BuildRequires: automake
|
||||
BuildRequires: libtool >= 2
|
||||
BuildRequires: lksctp-tools-devel
|
||||
BuildRequires: pkg-config >= 0.20
|
||||
BuildRequires: pkgconfig(libosmocodec) >= 1.9.0
|
||||
BuildRequires: pkgconfig(libosmocore) >= 1.9.0
|
||||
BuildRequires: pkgconfig(libosmogsm) >= 1.9.0
|
||||
BuildRequires: pkgconfig(talloc)
|
||||
|
||||
%description
|
||||
Network interface demuxer library for OsmoCom projects.
|
||||
|
||||
%package -n libosmonetif11
|
||||
Summary: Osmocom library for muxed audio
|
||||
License: AGPL-3.0-or-later
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libosmonetif11
|
||||
Network interface demuxer library for OsmoCom projects.
|
||||
|
||||
%package -n libosmonetif-devel
|
||||
Summary: Development files for the Osmocom muxed audio library
|
||||
License: AGPL-3.0-or-later
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libosmonetif11 = %version
|
||||
|
||||
%description -n libosmonetif-devel
|
||||
Network interface demuxer library for OsmoCom projects.
|
||||
|
||||
This subpackage contains libraries and header files for developing
|
||||
applications that want to make use of libosmo-netif.
|
||||
|
||||
%prep
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
echo "%version" >.tarball-version
|
||||
autoreconf -fiv
|
||||
# bugzilla.opensuse.org/795968 for rationale
|
||||
%configure --includedir="%_includedir/%name" \
|
||||
--enable-shared --disable-static
|
||||
%make_build
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
||||
|
||||
%check
|
||||
if ! %make_build check; then
|
||||
rv=$?
|
||||
cat tests/testsuite.log
|
||||
echo "Suppressing exit $rv"
|
||||
# timing issue
|
||||
fi
|
||||
|
||||
%post -n libosmonetif11 -p /sbin/ldconfig
|
||||
%postun -n libosmonetif11 -p /sbin/ldconfig
|
||||
|
||||
%files -n libosmonetif11
|
||||
%_libdir/libosmonetif.so.*
|
||||
|
||||
%files -n libosmonetif-devel
|
||||
%license COPYING
|
||||
%dir %_includedir/%name/
|
||||
%dir %_includedir/%name/osmocom/
|
||||
%_includedir/%name/osmocom/netif/
|
||||
%_libdir/libosmonetif.so
|
||||
%_libdir/pkgconfig/libosmo-netif.pc
|
||||
|
||||
%changelog
|
114
osmo-talloc.diff
Normal file
114
osmo-talloc.diff
Normal file
@ -0,0 +1,114 @@
|
||||
---
|
||||
configure.ac | 1 +
|
||||
examples/Makefile.am | 30 +++++++++++++++---------------
|
||||
src/Makefile.am | 2 +-
|
||||
3 files changed, 17 insertions(+), 16 deletions(-)
|
||||
|
||||
Index: libosmo-netif-1.4.0/configure.ac
|
||||
===================================================================
|
||||
--- libosmo-netif-1.4.0.orig/configure.ac
|
||||
+++ libosmo-netif-1.4.0/configure.ac
|
||||
@@ -125,6 +125,7 @@ AS_IF([test "x$ENABLE_LIBSCTP" = "xyes"]
|
||||
LIBS=$old_LIBS
|
||||
])
|
||||
|
||||
+PKG_CHECK_MODULES([TALLOC], [talloc])
|
||||
found_pcap=yes
|
||||
AC_CHECK_HEADERS(pcap.h,,found_pcap=no)
|
||||
AM_CONDITIONAL(HAVE_PCAP, test "$found_pcap" = yes)
|
||||
Index: libosmo-netif-1.4.0/examples/Makefile.am
|
||||
===================================================================
|
||||
--- libosmo-netif-1.4.0.orig/examples/Makefile.am
|
||||
+++ libosmo-netif-1.4.0/examples/Makefile.am
|
||||
@@ -1,5 +1,5 @@
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include
|
||||
-AM_CFLAGS=-Wall -g $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS)
|
||||
+AM_CFLAGS=-Wall -g $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(TALLOC_CFLAGS)
|
||||
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
|
||||
|
||||
noinst_PROGRAMS = ipa-stream-client \
|
||||
@@ -19,57 +19,57 @@ noinst_HEADERS = udp-test.h
|
||||
|
||||
ipa_stream_client_SOURCES = ipa-stream-client.c
|
||||
ipa_stream_client_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
ipa_stream_server_SOURCES = ipa-stream-server.c
|
||||
ipa_stream_server_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
if ENABLE_LAPD
|
||||
noinst_PROGRAMS += lapd-over-datagram-user lapd-over-datagram-network
|
||||
lapd_over_datagram_user_SOURCES = lapd-over-datagram-user.c
|
||||
lapd_over_datagram_user_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
$(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) \
|
||||
- $(LIBOSMOABIS_LIBS)
|
||||
+ $(LIBOSMOABIS_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
lapd_over_datagram_network_SOURCES = lapd-over-datagram-network.c
|
||||
lapd_over_datagram_network_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
$(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) \
|
||||
- $(LIBOSMOABIS_LIBS)
|
||||
+ $(LIBOSMOABIS_LIBS) $(TALLOC_LIBS)
|
||||
endif
|
||||
|
||||
stream_client_SOURCES = stream-client.c
|
||||
stream_client_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
stream_server_SOURCES = stream-server.c
|
||||
stream_server_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
rs232_read_SOURCES = rs232-read.c
|
||||
-rs232_read_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+rs232_read_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
rs232_write_SOURCES = rs232-write.c
|
||||
-rs232_write_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+rs232_write_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
rtp_udp_test_client_SOURCES = rtp-udp-test-client.c
|
||||
rtp_udp_test_client_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
rtp_udp_test_server_SOURCES = rtp-udp-test-server.c
|
||||
rtp_udp_test_server_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
udp_test_client_SOURCES = udp-test-client.c
|
||||
-udp_test_client_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+udp_test_client_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
udp_test_server_SOURCES = udp-test-server.c
|
||||
-udp_test_server_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+udp_test_server_LDADD = $(top_builddir)/src/libosmonetif.la $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
osmux_test_input_SOURCES = osmux-test-input.c
|
||||
osmux_test_input_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
|
||||
osmux_test_output_SOURCES = osmux-test-output.c
|
||||
osmux_test_output_LDADD = $(top_builddir)/src/libosmonetif.la \
|
||||
- $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS)
|
||||
+ $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(TALLOC_LIBS)
|
||||
Index: libosmo-netif-1.4.0/src/Makefile.am
|
||||
===================================================================
|
||||
--- libosmo-netif-1.4.0.orig/src/Makefile.am
|
||||
+++ libosmo-netif-1.4.0/src/Makefile.am
|
||||
@@ -3,7 +3,7 @@
|
||||
LIBVERSION=12:0:1
|
||||
|
||||
AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)
|
||||
-AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS)
|
||||
+AM_CFLAGS= -fPIC -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS) $(LIBSCTP_CFLAGS) $(TALLOC_CFLAGS)
|
||||
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
|
||||
|
||||
lib_LTLIBRARIES = libosmonetif.la
|
Loading…
x
Reference in New Issue
Block a user