1
0
forked from pool/libosmo-abis

Compare commits

...

6 Commits

7 changed files with 69 additions and 40 deletions

View File

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

BIN
2.0.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

4
_scmsync.obsinfo Normal file
View File

@ -0,0 +1,4 @@
mtime: 1739453982
commit: b7504275801d19624ea186a265abae7fbb25b54d9eaf6b9a8706aafd15a7e2e0
url: https://src.opensuse.org/jengelh/libosmo-abis
revision: master

3
build.specials.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5cb912a30e63aefbf277bf0c92a26fbd973c63a7bf3512bb6a255e686c04f857
size 256

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Feb 13 13:38:37 UTC 2025 - Jan Engelhardt <jengelh@inai.de>
- Update to relase 2.0.0
* trau2rtp/rtp2trau: add CSD & EDATA support
* trau2rtp FR & EFR: fix uninitialized memory bug
* libosmotrau: add CSD RA2 functions
* libosmotrau: implement RAA' encoder/decoder functions
* trau: detect 8k AMR 7.40k frames correctly for decoding
* Drop ipa_proxy
* trau: implement TFO frame encoding/decoding functions
-------------------------------------------------------------------
Sat Oct 26 13:58:23 UTC 2024 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.6.0
* Add support for sending and receiving Sa bits, as well as
some line signals
* rtp2trau_hr16: accept both TS 101 318 and RFC 5993 payload
formats
* TRAU->RTP: add support for TW-TS-001 & TW-TS-002
* trau_rtp_conv: add support for HRv1 in 8k format
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 3 05:02:52 UTC 2024 - Jan Engelhardt <jengelh@inai.de> Fri May 3 05:02:52 UTC 2024 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package libosmo-abis # spec file for package libosmo-abis
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: libosmo-abis Name: libosmo-abis
Version: 1.5.2 Version: 2.0.0
Release: 0 Release: 0
Summary: Osmocom library for A-bis interface between BTS and BSC Summary: Osmocom library for A-bis interface between BTS and BSC
License: AGPL-3.0-or-later AND GPL-2.0-or-later License: AGPL-3.0-or-later AND GPL-2.0-or-later
@ -29,11 +29,12 @@ BuildRequires: automake >= 1.6
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: pkg-config >= 0.20 BuildRequires: pkg-config >= 0.20
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(libosmo-e1d) >= 0.5.0 BuildRequires: pkgconfig(libosmo-e1d) >= 0.7.0
BuildRequires: pkgconfig(libosmocodec) >= 1.9.0 BuildRequires: pkgconfig(libosmocodec) >= 1.11.0
BuildRequires: pkgconfig(libosmocore) >= 1.9.0 BuildRequires: pkgconfig(libosmocore) >= 1.11.0
BuildRequires: pkgconfig(libosmogsm) >= 1.9.0 BuildRequires: pkgconfig(libosmogsm) >= 1.11.0
BuildRequires: pkgconfig(libosmovty) >= 1.9.0 BuildRequires: pkgconfig(libosmovty) >= 1.11.0
BuildRequires: pkgconfig(libosmo-netif) >= 1.6.0
BuildRequires: pkgconfig(ortp) >= 0.22 BuildRequires: pkgconfig(ortp) >= 0.22
BuildRequires: pkgconfig(talloc) BuildRequires: pkgconfig(talloc)
@ -42,12 +43,12 @@ In GSM, A-bis is a BSS-internal interface link between the BTS and
BSC. This interface allows control of the radio equipment and radio BSC. This interface allows control of the radio equipment and radio
frequency allocation in the BTS. frequency allocation in the BTS.
%package -n libosmoabis13 %package -n libosmoabis15
Summary: Osmocom GSM A-bis interface library Summary: Osmocom GSM A-bis interface library
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmoabis13 %description -n libosmoabis15
In the GSM system architecture, A-bis is a Base Station In the GSM system architecture, A-bis is a Base Station
System-internal interface linking the Base Transceiver Stations (BTS) System-internal interface linking the Base Transceiver Stations (BTS)
and Base Station Controller (BSC). This interface allows control of and Base Station Controller (BSC). This interface allows control of
@ -61,7 +62,7 @@ cards, as well as some A-bis/IP dialects.
Summary: Development files for the Osmocom GSM A-bis library Summary: Development files for the Osmocom GSM A-bis library
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmoabis13 = %version Requires: libosmoabis15 = %version
Requires: libosmocore-devel >= 1.4.0 Requires: libosmocore-devel >= 1.4.0
Requires: libosmogsm-devel >= 1.4.0 Requires: libosmogsm-devel >= 1.4.0
@ -73,12 +74,12 @@ cards, as well as some A-bis/IP dialects.
This subpackage contains libraries and header files for developing This subpackage contains libraries and header files for developing
applications that want to make use of libosmoabis. applications that want to make use of libosmoabis.
%package -n libosmotrau2 %package -n libosmotrau11
Summary: Osmocom GSM TRAU (E1/RTP) library Summary: Osmocom GSM TRAU (E1/RTP) library
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmotrau2 %description -n libosmotrau11
This library implements the Transcoder and Rate Adaptation Unit (TRAU) for This library implements the Transcoder and Rate Adaptation Unit (TRAU) for
GSM systems. GSM systems.
The TRAU enables the use of lower rates (32, 16 or 8 kbps) over the The TRAU enables the use of lower rates (32, 16 or 8 kbps) over the
@ -89,7 +90,7 @@ Switching Center (MSC) is designed.
Summary: Development files for the Osmocom TRAU (E1/RTP) library Summary: Development files for the Osmocom TRAU (E1/RTP) library
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmotrau2 = %version Requires: libosmotrau11 = %version-%release
%description -n libosmotrau-devel %description -n libosmotrau-devel
This library implements the Transcoder and Rate Adaptation Unit This library implements the Transcoder and Rate Adaptation Unit
@ -121,12 +122,10 @@ if ! %make_build check; then
%endif %endif
fi fi
%post -n libosmoabis13 -p /sbin/ldconfig %ldconfig_scriptlets -n libosmoabis15
%postun -n libosmoabis13 -p /sbin/ldconfig %ldconfig_scriptlets -n libosmotrau11
%post -n libosmotrau2 -p /sbin/ldconfig
%postun -n libosmotrau2 -p /sbin/ldconfig
%files -n libosmoabis13 %files -n libosmoabis15
%_libdir/libosmoabis.so.* %_libdir/libosmoabis.so.*
%files -n libosmoabis-devel %files -n libosmoabis-devel
@ -137,7 +136,7 @@ fi
%_libdir/libosmoabis.so %_libdir/libosmoabis.so
%_libdir/pkgconfig/libosmoabis.pc %_libdir/pkgconfig/libosmoabis.pc
%files -n libosmotrau2 %files -n libosmotrau11
%_libdir/libosmotrau.so.* %_libdir/libosmotrau.so.*
%files -n libosmotrau-devel %files -n libosmotrau-devel

View File

@ -9,28 +9,28 @@ The source files use talloc, so link to talloc.
src/Makefile.am | 2 +- src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-) 2 files changed, 2 insertions(+), 1 deletion(-)
Index: libosmo-abis-1.5.0/configure.ac Index: libosmo-abis-2.0.0/configure.ac
=================================================================== ===================================================================
--- libosmo-abis-1.5.0.orig/configure.ac --- libosmo-abis-2.0.0.orig/configure.ac
+++ libosmo-abis-1.5.0/configure.ac +++ libosmo-abis-2.0.0/configure.ac
@@ -71,6 +71,7 @@ PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty @@ -86,6 +86,7 @@ AS_IF([test "x$ENABLE_ORTP" = "xyes"], [
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.9.0) ])
PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec >= 1.9.0) AM_CONDITIONAL(ENABLE_ORTP, test "x$ENABLE_ORTP" = "xyes")
PKG_CHECK_MODULES(ORTP, ortp >= 0.22.0) AC_SUBST(ENABLE_ORTP)
+PKG_CHECK_MODULES([TALLOC], [talloc]) +PKG_CHECK_MODULES([TALLOC], [talloc])
AC_ARG_ENABLE([dahdi], AC_ARG_ENABLE([dahdi],
AC_HELP_STRING([--disable-dahdi], AC_HELP_STRING([--disable-dahdi],
Index: libosmo-abis-1.5.0/src/Makefile.am Index: libosmo-abis-2.0.0/src/Makefile.am
=================================================================== ===================================================================
--- libosmo-abis-1.5.0.orig/src/Makefile.am --- libosmo-abis-2.0.0.orig/src/Makefile.am
+++ libosmo-abis-1.5.0/src/Makefile.am +++ libosmo-abis-2.0.0/src/Makefile.am
@@ -7,7 +7,7 @@ TRAU_LIBVERSION=9:0:7 @@ -15,7 +15,7 @@ AM_CFLAGS= -Wall \
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir) $(COVERAGE_CFLAGS) \
AM_CFLAGS= -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOE1D_CFLAGS) $(LIBOSMOCODEC_CFLAGS) $(COVERAGE_CFLAGS) $(NULL)
AM_LDFLAGS = $(COVERAGE_LDFLAGS) AM_LDFLAGS = $(COVERAGE_LDFLAGS)
-COMMONLIBS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOE1D_LIBS) # libosmocodec not [yet] needed here -COMMONLIBS = \
+COMMONLIBS = ${TALLOC_LIBS} $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOE1D_LIBS) # libosmocodec not [yet] needed here +COMMONLIBS = ${TALLOC_LIBS} \
$(LIBOSMOCORE_LIBS) \
lib_LTLIBRARIES = libosmoabis.la libosmotrau.la $(LIBOSMOGSM_LIBS) \
$(LIBOSMOVTY_LIBS) \