SHA256
1
0
forked from pool/osmo-iuh

Accepting request 761610 from network:telephony

- Update to new upstream release 0.6.0

OBS-URL: https://build.opensuse.org/request/show/761610
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/osmo-iuh?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2020-01-08 16:55:18 +00:00 committed by Git OBS Bridge
commit 42d45939e7
6 changed files with 74 additions and 33 deletions

View File

@ -1,16 +1,7 @@
From: Jan Engelhardt <jengelh@inai.de> diff --git a/configure.ac b/configure.ac
Date: Tue, 2 Jan 2018 00:21:09 +0100 index 6328975..4e54137 100644
Subject: [PATCH] iu_client uses gprs_msgb.h --- a/configure.ac
+++ b/configure.ac
---
configure.ac | 1 +
src/Makefile.am | 5 +++--
2 files changed, 4 insertions(+), 2 deletions(-)
Index: osmo-iuh-0.5.0/configure.ac
===================================================================
--- osmo-iuh-0.5.0.orig/configure.ac
+++ osmo-iuh-0.5.0/configure.ac
@@ -34,6 +34,7 @@ fi @@ -34,6 +34,7 @@ fi
PKG_PROG_PKG_CONFIG([0.20]) PKG_PROG_PKG_CONFIG([0.20])
@ -19,13 +10,13 @@ Index: osmo-iuh-0.5.0/configure.ac
PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.12.0) PKG_CHECK_MODULES(OSMOGSM, libosmogsm >= 0.12.0)
PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.12.0) PKG_CHECK_MODULES(OSMOVTY, libosmovty >= 0.12.0)
PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 0.12.0) PKG_CHECK_MODULES(OSMOCTRL, libosmoctrl >= 0.12.0)
Index: osmo-iuh-0.5.0/src/Makefile.am diff --git a/src/Makefile.am b/src/Makefile.am
=================================================================== index 1c3a64a..a13295b 100644
--- osmo-iuh-0.5.0.orig/src/Makefile.am --- a/src/Makefile.am
+++ osmo-iuh-0.5.0/src/Makefile.am +++ b/src/Makefile.am
@@ -42,9 +42,10 @@ gen_ranap.stamp: $(ASN1_ROOT)/ranap/RANA @@ -55,9 +55,10 @@ gen_sabp.stamp: $(ASN1_ROOT)/sabp/SABP-PDU-Contents.asn $(ASN1TOSTRUCT)
sabp_decoder.c sabp_encoder.c: gen_sabp.stamp
ranap_decoder.c ranap_encoder.c: gen_ranap.stamp
-AM_CFLAGS = -Wall -I$(top_srcdir)/include -I$(top_builddir)/include \ -AM_CFLAGS = -Wall -I$(top_srcdir)/include -I$(top_builddir)/include \
+AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \ +AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include \
@ -34,5 +25,5 @@ Index: osmo-iuh-0.5.0/src/Makefile.am
+ $(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS) $(OSMOGB_CFLAGS) + $(OSMONETIF_CFLAGS) $(ASN1C_CFLAGS) $(OSMOSIGTRAN_CFLAGS) $(OSMOGB_CFLAGS)
+AM_CFLAGS = -Wall +AM_CFLAGS = -Wall
# build the shared RANAP library # build the shared RANAP + SABP library
# #

View File

@ -2,8 +2,8 @@
<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/osmo-iuh</param> <param name="url">git://git.osmocom.org/osmo-iuh</param>
<param name="revision">0.5.0</param> <param name="revision">0.6.0</param>
<param name="versionformat">0.5.0</param> <param name="versionformat">0.6.0</param>
</service> </service>
<service name="recompress" mode="disabled"> <service name="recompress" mode="disabled">
<param name="file">*.tar</param> <param name="file">*.tar</param>

View File

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

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

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

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Sun Jan 5 10:57:39 UTC 2020 - Martin Hauke <mardnh@gmx.de>
- Update to new upstream release 0.6.0
* sabp: Generate C/H files for SABP; create libosmo-sabp
* sabp: Add Procedure Codes and IEI constants to CommonDataTypes
* sabp: fixup SABP ASN.1 to avoid IOC (which are not supported
by our toolchain)
* sabp: Initial import of SABP ASN.1 from 3GPP TS 25.419 V11.1.0
(2013-03)
* hnbgw: Add libosmoctrl's VTY CTRL command initialization
* iu_client: allow to control the notifications
- Add subpackage for libosmo-sabp
- Update patch:
* 0001-iu_client-uses-gprs_msgb.h.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Aug 15 05:13:01 UTC 2019 - Jan Engelhardt <jengelh@inai.de> Thu Aug 15 05:13:01 UTC 2019 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package osmo-iuh # spec file for package osmo-iuh
# #
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2020 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,8 +17,8 @@
Name: osmo-iuh Name: osmo-iuh
%define lname libosmo-ranap2 %define lname libosmo-ranap3
Version: 0.5.0 Version: 0.6.0
Release: 0 Release: 0
Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP) Summary: Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
License: AGPL-3.0-or-later AND GPL-2.0-or-later License: AGPL-3.0-or-later AND GPL-2.0-or-later
@ -32,8 +32,8 @@ BuildRequires: automake >= 1.9
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: lksctp-tools-devel BuildRequires: lksctp-tools-devel
BuildRequires: pkg-config >= 0.20 BuildRequires: pkg-config >= 0.20
# python2 for asn1tostruct.py # python3 for asn1tostruct.py
BuildRequires: python2 BuildRequires: python3
BuildRequires: xz BuildRequires: xz
BuildRequires: pkgconfig(libasn1c) >= 0.9.30 BuildRequires: pkgconfig(libasn1c) >= 0.9.30
BuildRequires: pkgconfig(libosmo-netif) >= 0.3.0 BuildRequires: pkgconfig(libosmo-netif) >= 0.3.0
@ -65,6 +65,24 @@ Osmocom code for the Iuh interface (HNBAP, RUA, RANAP)
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 libosmoranap. applications that want to make use of libosmoranap.
%package -n libosmo-sabp0
Summary: Osmocom Service Area Broadcast Protocol library
Group: System/Libraries
%description -n libosmo-sabp0
Osmocom code for the Service Area Broadcast Protocol interface.
%package -n libosmo-sabp-devel
Summary: Development files for Osmocom SABP library
Group: Development/Libraries/C and C++
Requires: libosmo-sabp0 = %version
%description -n libosmo-sabp-devel
Osmocom code for the Service Area Broadcast Protocol interface.
This subpackage contains libraries and header files for developing
applications that want to make use of libosmo-sabp.
%prep %prep
%autosetup -p1 %autosetup -p1
@ -93,12 +111,18 @@ fi
%post -n %lname -p /sbin/ldconfig %post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig
%post -n libosmo-sabp0 -p /sbin/ldconfig
%postun -n libosmo-sabp0 -p /sbin/ldconfig
%pre %pre
%service_add_pre osmo-hnbgw.service %service_add_pre osmo-hnbgw.service
%post %post
%service_add_post osmo-hnbgw.service %service_add_post osmo-hnbgw.service
%preun %preun
%service_del_preun osmo-hnbgw.service %service_del_preun osmo-hnbgw.service
%postun %postun
%service_del_postun osmo-hnbgw.service %service_del_postun osmo-hnbgw.service
@ -114,11 +138,21 @@ fi
%_sbindir/rcosmo-hnbgw %_sbindir/rcosmo-hnbgw
%files -n %lname %files -n %lname
%_libdir/libosmo-ranap.so.2* %_libdir/libosmo-ranap.so.3*
%files -n libosmo-ranap-devel %files -n libosmo-ranap-devel
%_includedir/* %dir %{_includedir}/osmocom
%_includedir/osmocom/ranap
%_libdir/libosmo-ranap.so %_libdir/libosmo-ranap.so
%_libdir/pkgconfig/*.pc %_libdir/pkgconfig/libosmo-ranap.pc
%files -n libosmo-sabp0
%_libdir/libosmo-sabp.so.0*
%files -n libosmo-sabp-devel
%dir %{_includedir}/osmocom
%_includedir/osmocom/sabp
%_libdir/libosmo-sabp.so
%_libdir/pkgconfig/libosmo-sabp.pc
%changelog %changelog