SHA256
1
0
forked from pool/osmo-iuh

- Update to new upstream release 0.5.0

OBS-URL: https://build.opensuse.org/package/show/network:telephony/osmo-iuh?expand=0&rev=18
This commit is contained in:
Jan Engelhardt 2019-08-15 05:26:30 +00:00 committed by Git OBS Bridge
parent ed661a4769
commit b3727508e4
7 changed files with 72 additions and 23 deletions

View File

@ -7,22 +7,22 @@ Subject: [PATCH] iu_client uses gprs_msgb.h
src/Makefile.am | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
Index: osmo-iuh-0.3.0/configure.ac
Index: osmo-iuh-0.5.0/configure.ac
===================================================================
--- osmo-iuh-0.3.0.orig/configure.ac
+++ osmo-iuh-0.3.0/configure.ac
--- osmo-iuh-0.5.0.orig/configure.ac
+++ osmo-iuh-0.5.0/configure.ac
@@ -34,6 +34,7 @@ fi
PKG_PROG_PKG_CONFIG([0.20])
PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 0.11.0)
PKG_CHECK_MODULES(OSMOCORE, libosmocore >= 0.12.0)
+PKG_CHECK_MODULES([OSMOGB], [libosmogb])
PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.11.0)
PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.11.0)
PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 0.11.0)
Index: osmo-iuh-0.3.0/src/Makefile.am
PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.12.0)
PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.12.0)
PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 0.12.0)
Index: osmo-iuh-0.5.0/src/Makefile.am
===================================================================
--- osmo-iuh-0.3.0.orig/src/Makefile.am
+++ osmo-iuh-0.3.0/src/Makefile.am
--- osmo-iuh-0.5.0.orig/src/Makefile.am
+++ osmo-iuh-0.5.0/src/Makefile.am
@@ -42,9 +42,10 @@ gen_ranap.stamp: $(ASN1_ROOT)/ranap/RANA
ranap_decoder.c ranap_encoder.c: gen_ranap.stamp

View File

@ -2,8 +2,8 @@
<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.4.0</param>
<param name="versionformat">0.4.0</param>
<param name="revision">0.5.0</param>
<param name="versionformat">0.5.0</param>
</service>
<service name="recompress" mode="disabled">
<param name="file">*.tar</param>

39
damncode.diff Normal file
View File

@ -0,0 +1,39 @@
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:4e0808883e8a1b756fee0361d0bb7360bbedbf01c7658b4bdde3b2d37337d4ff
size 10055364

3
osmo-iuh-0.5.0.tar.xz Normal file
View File

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

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu Aug 15 05:13:01 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 0.5.0
* osmo-hnbgw: reply with RESET ACK when receiving a RESET
* Add VTY reference manual
- Add damncode.diff
-------------------------------------------------------------------
Thu Feb 21 19:39:50 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@ -18,13 +18,15 @@
Name: osmo-iuh
%define lname libosmo-ranap2
Version: 0.4.0
Version: 0.5.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
URL: https://osmocom.org/projects/osmohnbgw/wiki
Source: %name-%version.tar.xz
Patch1: damncode.diff
Patch3: 0001-iu_client-uses-gprs_msgb.h.patch
BuildRequires: automake >= 1.9
BuildRequires: libtool >= 2
@ -34,13 +36,13 @@ BuildRequires: pkg-config >= 0.20
BuildRequires: python2
BuildRequires: xz
BuildRequires: pkgconfig(libasn1c) >= 0.9.30
BuildRequires: pkgconfig(libosmo-netif) >= 0.2.0
BuildRequires: pkgconfig(libosmo-sigtran) >= 0.9.0
BuildRequires: pkgconfig(libosmocore) >= 0.11.0
BuildRequires: pkgconfig(libosmoctrl) >= 0.11.0
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(libosmogb)
BuildRequires: pkgconfig(libosmogsm) >= 0.11.0
BuildRequires: pkgconfig(libosmovty) >= 0.11.0
BuildRequires: pkgconfig(libosmogsm) >= 0.12.0
BuildRequires: pkgconfig(libosmovty) >= 0.12.0
%description
Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)