forked from pool/libosmo-abis
- Update to release 1.0.1
OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmo-abis?expand=0&rev=48
This commit is contained in:
parent
c30a8c883f
commit
68d4ffa8a0
6
_service
6
_service
@ -1,9 +1,9 @@
|
|||||||
<services>
|
<services>
|
||||||
<service name="tar_scm" mode="disabled">
|
<service name="tar_scm" mode="disabled">
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="url">git://git.osmocom.org/libosmo-abis</param>
|
<param name="url">https://git.osmocom.org/libosmo-abis</param>
|
||||||
<param name="parent-tag">0.8.1</param>
|
<param name="parent-tag">1.0.1</param>
|
||||||
<param name="versionformat">0.8.1</param>
|
<param name="versionformat">1.0.1</param>
|
||||||
</service>
|
</service>
|
||||||
<service name="recompress" mode="disabled">
|
<service name="recompress" mode="disabled">
|
||||||
<param name="file">*.tar</param>
|
<param name="file">*.tar</param>
|
||||||
|
41
e1dapi.diff
Normal file
41
e1dapi.diff
Normal file
@ -0,0 +1,41 @@
|
|||||||
|
From: Jan Engelhardt <jengelh@inai.de>
|
||||||
|
Date: 2020-09-06 14:55:53.762974707 +0200
|
||||||
|
|
||||||
|
The latest release of libosmo-e1d has osmo_e1dp_client_ts_open
|
||||||
|
taking just 5 arguments.
|
||||||
|
|
||||||
|
---
|
||||||
|
src/input/e1d.c | 6 +++---
|
||||||
|
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
Index: libosmo-abis-1.0.1/src/input/e1d.c
|
||||||
|
===================================================================
|
||||||
|
--- libosmo-abis-1.0.1.orig/src/input/e1d.c
|
||||||
|
+++ libosmo-abis-1.0.1/src/input/e1d.c
|
||||||
|
@@ -393,7 +393,7 @@ e1d_line_update(struct e1inp_line *line)
|
||||||
|
}
|
||||||
|
if (bfd->fd <= 0) {
|
||||||
|
bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
|
||||||
|
- E1DP_TSMODE_HDLCFCS, D_BCHAN_TX_GRAN);
|
||||||
|
+ E1DP_TSMODE_HDLCFCS);
|
||||||
|
}
|
||||||
|
if (bfd->fd < 0) {
|
||||||
|
LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);
|
||||||
|
@@ -423,7 +423,7 @@ e1d_line_update(struct e1inp_line *line)
|
||||||
|
}
|
||||||
|
if (bfd->fd <= 0) {
|
||||||
|
bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
|
||||||
|
- E1DP_TSMODE_HDLCFCS, D_BCHAN_TX_GRAN);
|
||||||
|
+ E1DP_TSMODE_HDLCFCS);
|
||||||
|
}
|
||||||
|
if (bfd->fd < 0) {
|
||||||
|
LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);
|
||||||
|
@@ -446,7 +446,7 @@ e1d_line_update(struct e1inp_line *line)
|
||||||
|
}
|
||||||
|
if (bfd->fd <= 0) {
|
||||||
|
bfd->fd = osmo_e1dp_client_ts_open(g_e1d, e1d_intf, e1d_line, ts,
|
||||||
|
- E1DP_TSMODE_RAW, D_BCHAN_TX_GRAN);
|
||||||
|
+ E1DP_TSMODE_RAW);
|
||||||
|
}
|
||||||
|
if (bfd->fd < 0) {
|
||||||
|
LOGPITS(e1i_ts, DLINP, LOGL_ERROR, "Could not open timeslot %d\n", ts);
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:6b999a826b02802e55256b7b8431cd6c130bab81aaac2252199af52588f082c4
|
|
||||||
size 76864
|
|
3
libosmo-abis-1.0.1.tar.xz
Normal file
3
libosmo-abis-1.0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:5653a98d4a6039e4f7a0b0a236c4e95ef5e7cf87a9dac0b2783bbd497b8cc196
|
||||||
|
size 279280
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 6 12:06:23 UTC 2020 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Update to release 1.0.1
|
||||||
|
* e1d: Initial osmo-e1d support
|
||||||
|
* e1_input: Add VTY command to enable PCAP debug output
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Mar 9 20:24:00 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
Mon Mar 9 20:24:00 UTC 2020 - Martin Hauke <mardnh@gmx.de>
|
||||||
|
|
||||||
|
@ -16,10 +16,10 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define version_unconverted 0.8.1
|
%define version_unconverted 1.0.1
|
||||||
|
|
||||||
Name: libosmo-abis
|
Name: libosmo-abis
|
||||||
Version: 0.8.1
|
Version: 1.0.1
|
||||||
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
|
||||||
@ -28,15 +28,16 @@ URL: https://osmocom.org/projects/libosmo-abis/wiki/Libosmo-abis
|
|||||||
|
|
||||||
Source: %name-%version.tar.xz
|
Source: %name-%version.tar.xz
|
||||||
Patch1: osmo-talloc.diff
|
Patch1: osmo-talloc.diff
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
Patch2: e1dapi.diff
|
||||||
BuildRequires: automake >= 1.6
|
BuildRequires: automake >= 1.6
|
||||||
#BuildRequires: dahdi-linux-devel
|
|
||||||
BuildRequires: libtool >= 2
|
BuildRequires: libtool >= 2
|
||||||
BuildRequires: pkgconfig >= 0.20
|
BuildRequires: pkgconfig >= 0.20
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(libosmocore) >= 1.0.0
|
BuildRequires: pkgconfig(libosmo-e1d)
|
||||||
BuildRequires: pkgconfig(libosmogsm) >= 1.0.0
|
BuildRequires: pkgconfig(libosmocodec) >= 1.4.0
|
||||||
BuildRequires: pkgconfig(libosmovty) >= 1.0.0
|
BuildRequires: pkgconfig(libosmocore) >= 1.4.0
|
||||||
|
BuildRequires: pkgconfig(libosmogsm) >= 1.4.0
|
||||||
|
BuildRequires: pkgconfig(libosmovty) >= 1.4.0
|
||||||
BuildRequires: pkgconfig(ortp) >= 0.22
|
BuildRequires: pkgconfig(ortp) >= 0.22
|
||||||
BuildRequires: pkgconfig(talloc)
|
BuildRequires: pkgconfig(talloc)
|
||||||
|
|
||||||
@ -45,12 +46,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 libosmoabis6
|
%package -n libosmoabis9
|
||||||
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 libosmoabis6
|
%description -n libosmoabis9
|
||||||
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
|
||||||
@ -64,9 +65,9 @@ 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: libosmoabis6 = %version
|
Requires: libosmoabis9 = %version
|
||||||
Requires: libosmocore-devel >= 1.0.0
|
Requires: libosmocore-devel >= 1.4.0
|
||||||
Requires: libosmogsm-devel >= 1.0.0
|
Requires: libosmogsm-devel >= 1.4.0
|
||||||
|
|
||||||
%description -n libosmoabis-devel
|
%description -n libosmoabis-devel
|
||||||
This library contains common/shared code regarding the GSM A-bis
|
This library contains common/shared code regarding the GSM A-bis
|
||||||
@ -102,60 +103,52 @@ This subpackage contains libraries and header files for developing
|
|||||||
applications that want to make use of libosmotrau.
|
applications that want to make use of libosmotrau.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%autosetup -p1
|
||||||
%patch -P 1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
echo "%version" >.tarball-version
|
echo "%version" >.tarball-version
|
||||||
autoreconf -fiv
|
autoreconf -fiv
|
||||||
%configure \
|
# bugzilla.opensuse.org/795968 for rationale
|
||||||
--enable-shared \
|
%configure --includedir="%_includedir/%name" \
|
||||||
--disable-static \
|
--enable-shared --disable-static --disable-dahdi --enable-e1d
|
||||||
--disable-dahdi \
|
%make_build
|
||||||
--includedir="%_includedir/%name"
|
|
||||||
make %{?_smp_mflags}
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
b="%buildroot"
|
%make_install
|
||||||
make %{?_smp_mflags} install DESTDIR="$b"
|
find "%buildroot/%_libdir" -type f -name "*.la" -delete
|
||||||
find "$b/%_libdir" -type f -name "*.la" -delete
|
|
||||||
|
|
||||||
%check
|
%check
|
||||||
if ! make %{?_smp_mflags} check; then
|
if ! %make_build check; then
|
||||||
find . -name testsuite.log -exec cat "{}" "+"
|
find . -name testsuite.log -exec cat "{}" "+"
|
||||||
%ifarch %ix86 x86_64
|
%ifarch %ix86 x86_64
|
||||||
exit 1
|
exit 1
|
||||||
%endif
|
%endif
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%post -n libosmoabis6 -p /sbin/ldconfig
|
%post -n libosmoabis9 -p /sbin/ldconfig
|
||||||
%postun -n libosmoabis6 -p /sbin/ldconfig
|
%postun -n libosmoabis9 -p /sbin/ldconfig
|
||||||
%post -n libosmotrau2 -p /sbin/ldconfig
|
%post -n libosmotrau2 -p /sbin/ldconfig
|
||||||
%postun -n libosmotrau2 -p /sbin/ldconfig
|
%postun -n libosmotrau2 -p /sbin/ldconfig
|
||||||
|
|
||||||
%files -n libosmoabis6
|
%files -n libosmoabis9
|
||||||
%defattr(-,root,root)
|
%_libdir/libosmoabis.so.9*
|
||||||
%_libdir/libosmoabis.so.6*
|
|
||||||
|
|
||||||
%files -n libosmoabis-devel
|
%files -n libosmoabis-devel
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc COPYING
|
%dir %_includedir/%name/
|
||||||
%dir %_includedir/%name
|
%dir %_includedir/%name/osmocom/
|
||||||
%dir %_includedir/%name/osmocom
|
|
||||||
%_includedir/%name/osmocom/abis/
|
%_includedir/%name/osmocom/abis/
|
||||||
%_libdir/libosmoabis.so
|
%_libdir/libosmoabis.so
|
||||||
%_libdir/pkgconfig/libosmoabis.pc
|
%_libdir/pkgconfig/libosmoabis.pc
|
||||||
|
|
||||||
%files -n libosmotrau2
|
%files -n libosmotrau2
|
||||||
%defattr(-,root,root)
|
|
||||||
%_libdir/libosmotrau.so.2*
|
%_libdir/libosmotrau.so.2*
|
||||||
|
|
||||||
%files -n libosmotrau-devel
|
%files -n libosmotrau-devel
|
||||||
%defattr(-,root,root)
|
%license COPYING
|
||||||
%doc COPYING
|
%dir %_includedir/%name/
|
||||||
%dir %_includedir/%name
|
%dir %_includedir/%name/osmocom/
|
||||||
%dir %_includedir/%name/osmocom
|
%_includedir/%name/osmocom/trau/
|
||||||
%_includedir/%name/osmocom/trau
|
|
||||||
%_libdir/libosmotrau.so
|
%_libdir/libosmotrau.so
|
||||||
%_libdir/pkgconfig/libosmotrau.pc
|
%_libdir/pkgconfig/libosmotrau.pc
|
||||||
|
|
||||||
|
@ -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(-)
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
Index: libosmo-abis-1.0.1/configure.ac
|
||||||
index 35b8328..b962cf6 100644
|
===================================================================
|
||||||
--- a/configure.ac
|
--- libosmo-abis-1.0.1.orig/configure.ac
|
||||||
+++ b/configure.ac
|
+++ libosmo-abis-1.0.1/configure.ac
|
||||||
@@ -59,6 +59,7 @@ AC_SUBST(SYMBOL_VISIBILITY)
|
@@ -69,6 +69,7 @@ PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty
|
||||||
dnl Generate the output
|
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.4.0)
|
||||||
AM_CONFIG_HEADER(config.h)
|
PKG_CHECK_MODULES(LIBOSMOCODEC, libosmocodec >= 1.4.0)
|
||||||
|
PKG_CHECK_MODULES(ORTP, ortp >= 0.22.0)
|
||||||
+PKG_CHECK_MODULES([TALLOC], [talloc])
|
+PKG_CHECK_MODULES([TALLOC], [talloc])
|
||||||
PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.0.0)
|
|
||||||
PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.0.0)
|
AC_ARG_ENABLE([dahdi],
|
||||||
PKG_CHECK_MODULES(LIBOSMOGSM, libosmogsm >= 1.0.0)
|
AC_HELP_STRING([--disable-dahdi],
|
||||||
diff --git a/src/Makefile.am b/src/Makefile.am
|
Index: libosmo-abis-1.0.1/src/Makefile.am
|
||||||
index 3838a5a..0eefd22 100644
|
===================================================================
|
||||||
--- a/src/Makefile.am
|
--- libosmo-abis-1.0.1.orig/src/Makefile.am
|
||||||
+++ b/src/Makefile.am
|
+++ libosmo-abis-1.0.1/src/Makefile.am
|
||||||
@@ -7,7 +7,7 @@ TRAU_LIBVERSION=4:0:2
|
@@ -7,7 +7,7 @@ TRAU_LIBVERSION=5:0:3
|
||||||
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
|
AM_CPPFLAGS = $(all_includes) -I$(top_srcdir)/include -I$(top_builddir)
|
||||||
AM_CFLAGS= -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOE1D_CFLAGS) $(COVERAGE_CFLAGS)
|
AM_CFLAGS= -Wall $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOVTY_CFLAGS) $(LIBOSMOE1D_CFLAGS) $(LIBOSMOCODEC_CFLAGS) $(COVERAGE_CFLAGS)
|
||||||
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
|
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
|
||||||
-COMMONLIBS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOE1D_LIBS)
|
-COMMONLIBS = $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOE1D_LIBS) # libosmocodec not [yet] needed here
|
||||||
+COMMONLIBS = $(TALLOC_LIBS) $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOE1D_LIBS)
|
+COMMONLIBS = ${TALLOC_LIBS} $(LIBOSMOCORE_LIBS) $(LIBOSMOGSM_LIBS) $(LIBOSMOVTY_LIBS) $(LIBOSMOE1D_LIBS) # libosmocodec not [yet] needed here
|
||||||
|
|
||||||
lib_LTLIBRARIES = libosmoabis.la libosmotrau.la
|
lib_LTLIBRARIES = libosmoabis.la libosmotrau.la
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user