SHA256
1
0
forked from pool/osmo-iuh

- Update to release 0.7.0

OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=28
This commit is contained in:
Jan Engelhardt 2021-03-14 21:11:08 +00:00 committed by Git OBS Bridge
parent ea364a17f4
commit 0d419b4b7c
7 changed files with 19 additions and 96 deletions

3
0.7.0.tar.gz Normal file
View File

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

View File

@ -1,29 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 6328975..4e54137 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,7 @@ fi
PKG_PROG_PKG_CONFIG([0.20])
PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 0.12.0)
+PKG_CHECK_MODULES([OSMOGB], [libosmogb])
PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.12.0)
PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.12.0)
PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 0.12.0)
diff --git a/src/Makefile.am b/src/Makefile.am
index 1c3a64a..a13295b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -55,9 +55,10 @@ gen_sabp.stamp: $(ASN1_ROOT)/sabp/SABP-PDU-Contents.asn $(ASN1TOSTRUCT)
sabp_decoder.c sabp_encoder.c: gen_sabp.stamp
-AM_CFLAGS = -Wall -I$(top_srcdir)/include -I$(top_builddir)/include \
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \
$(OSMOCORE_CFLAGS) $(OSMOVTY_CFLAGS) $(OSMOCTRL_CFLAGS) $(OSMOGSM_CFLAGS) \
- $(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS)
+ $(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS) $(OSMOGB_CFLAGS)
+AM_CFLAGS = -Wall
# build the shared RANAP + SABP library
#

View File

@ -1,13 +0,0 @@
<services>
<service name="tar_scm" mode="disabled">
<param name="scm">git</param>
<param name="url">git://git.osmocom.org/osmo-iuh</param>
<param name="revision">0.6.1</param>
<param name="versionformat">0.6.1</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="set_version" mode="disabled"/>
</services>

View File

@ -1,39 +0,0 @@
Work around the bad quality of compile testing of the project.
[ 44s] hnb-test.c: In function 'hnb_test_nas_rx_auth_req':
[ 44s] hnb-test.c:329:3: error: 'return' with no value, in function returning non-void [-Werror=return-type]
[ 44s] 329 | return;
[ 42s] test_common.c:91:1: error: control reaches end of non-void function [-Werror=return-type]
[ 42s] 91 | }
---
src/tests/hnb-test.c | 2 +-
src/tests/test_common.c | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
Index: osmo-iuh-0.5.0/src/tests/hnb-test.c
===================================================================
--- osmo-iuh-0.5.0.orig/src/tests/hnb-test.c
+++ osmo-iuh-0.5.0/src/tests/hnb-test.c
@@ -326,7 +326,7 @@ static int hnb_test_nas_rx_auth_req(stru
if (len < sizeof(*ar)) {
printf("GSM48 Auth Req does not fit.\n");
- return;
+ return -1;
}
printf(" :) Authentication Request :)\n");
Index: osmo-iuh-0.5.0/src/tests/test_common.c
===================================================================
--- osmo-iuh-0.5.0.orig/src/tests/test_common.c
+++ osmo-iuh-0.5.0/src/tests/test_common.c
@@ -88,6 +88,7 @@ int test_common_init(void)
log_set_print_filename(osmo_stderr_target, 0);
log_set_use_color(osmo_stderr_target, 0);
+ return rc;
}
void test_common_cleanup(void)

View File

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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun Mar 14 21:07:14 UTC 2021 - Jan Engelhardt <jengelh@inai.de>
- Update to release 0.7.0
* Change default SCTP conn NULL->127.0.0.1 to localhost->localhost
- Drop 0001-iu_client-uses-gprs_msgb.h.patch, damncode.diff
-------------------------------------------------------------------
Sat Aug 1 14:25:21 UTC 2020 - Martin Hauke <mardnh@gmx.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package osmo-iuh
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,31 +18,28 @@
Name: osmo-iuh
%define lname libosmo-ranap3
Version: 0.6.1
Version: 0.7.0
Release: 0
Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
License: AGPL-3.0-or-later AND GPL-2.0-or-later
Group: Hardware/Mobile
URL: https://osmocom.org/projects/osmohnbgw/wiki
Source: %name-%version.tar.xz
Patch1: damncode.diff
Patch3: 0001-iu_client-uses-gprs_msgb.h.patch
Source: https://github.com/osmocom/osmo-iuh/archive/%version.tar.gz
BuildRequires: automake >= 1.9
BuildRequires: libtool >= 2
BuildRequires: lksctp-tools-devel
BuildRequires: pkg-config >= 0.20
# python3 for asn1tostruct.py
BuildRequires: python3
BuildRequires: xz
BuildRequires: pkgconfig(libasn1c) >= 0.9.30
BuildRequires: pkgconfig(libosmo-netif) >= 0.3.0
BuildRequires: pkgconfig(libosmo-sigtran) >= 0.10.0
BuildRequires: pkgconfig(libosmocore) >= 0.12.0
BuildRequires: pkgconfig(libosmoctrl) >= 0.12.0
BuildRequires: pkgconfig(libosmo-netif) >= 1.1.0
BuildRequires: pkgconfig(libosmo-sigtran) >= 1.4.0
BuildRequires: pkgconfig(libosmocore) >= 1.5.0
BuildRequires: pkgconfig(libosmoctrl) >= 1.5.0
BuildRequires: pkgconfig(libosmogb)
BuildRequires: pkgconfig(libosmogsm) >= 0.12.0
BuildRequires: pkgconfig(libosmovty) >= 0.12.0
BuildRequires: pkgconfig(libosmogsm) >= 1.5.0
BuildRequires: pkgconfig(libosmovty) >= 1.5.0
%description
Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)