- Update to new upstream release 1.2.0

OBS-URL: https://build.opensuse.org/package/show/network:telephony/libosmocore?expand=0&rev=69
This commit is contained in:
Jan Engelhardt 2019-08-14 17:35:53 +00:00 committed by Git OBS Bridge
parent 91bdb80bea
commit 105da71b52
6 changed files with 36 additions and 54 deletions

View File

@ -1,30 +0,0 @@
From 49fb992cd7bf94f25b93d9eeb711225daefa3a2d Mon Sep 17 00:00:00 2001
From: Oliver Smith <osmith@sysmocom.de>
Date: Mon, 21 Jan 2019 16:32:46 +0100
Subject: [PATCH] gsm_23_003.h: add GSM23003_IMEI_NUM_DIGITS_NO_CHK
Add new define for the 14 digit IMEI without the Luhn checksum, as it
is used in OsmoHLR.
Change-Id: I02b54cf01a674a1911c5c897fbec02240f88b521
---
include/osmocom/gsm/protocol/gsm_23_003.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/include/osmocom/gsm/protocol/gsm_23_003.h b/include/osmocom/gsm/protocol/gsm_23_003.h
index ee697ff4..babd0f4b 100644
--- a/include/osmocom/gsm/protocol/gsm_23_003.h
+++ b/include/osmocom/gsm/protocol/gsm_23_003.h
@@ -24,6 +24,9 @@
GSM23003_IMEI_SNR_NUM_DIGITS + 1)
#define GSM23003_IMEISV_NUM_DIGITS (GSM23003_IMEI_TAC_NUM_DIGITS + \
GSM23003_IMEI_SNR_NUM_DIGITS + 2)
+/* IMEI without Luhn checksum */
+#define GSM23003_IMEI_NUM_DIGITS_NO_CHK (GSM23003_IMEI_TAC_NUM_DIGITS + \
+ GSM23003_IMEI_SNR_NUM_DIGITS)
/* Chapter 19.2 "epc.mnc000.mcc000.3gppnetwork.org" */
#define GSM23003_HOME_NETWORK_DOMAIN_LEN 33
--
2.16.4

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/libosmocore</param> <param name="url">git://git.osmocom.org/libosmocore</param>
<param name="revision">1.0.1</param> <param name="revision">1.2.0</param>
<param name="versionformat">1.0.1</param> <param name="versionformat">1.2.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:d27a91aa2ca90097ea0b89ef157f39beaaa99b8c0dac818f8f67839587eb213c
size 703140

3
libosmocore-1.2.0.tar.xz Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Wed Aug 14 17:24:05 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to new upstream release 1.2.0
* GSUP: add inter-MSC handover related msgs and IEs
* NS: Add support for GPRS NS IP Sub-Network-Service (SNS)
* BSSMAP: add messages for inter-BSC and inter-MSC Handover
* Add VTY and CTRL port numbers for OsmoCBC (Cell Broadcast Centre)
* CBSP (Cell Broadcast Service Protocol; 3GPP TS 48.049) support
* Add Cell Broadcast related definitions from 3GPP TS 23.041
* Add MO-FALLBACK-VALUE SGsAP IE
- Removed 0001-gsm_23_003.h-add-GSM23003_IMEI_NUM_DIGITS_NO_CHK.patch
(merged)
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Feb 19 14:54:30 UTC 2019 - Martin Hauke <mardnh@gmx.de> Tue Feb 19 14:54:30 UTC 2019 - Martin Hauke <mardnh@gmx.de>

View File

@ -17,14 +17,13 @@
Name: libosmocore Name: libosmocore
Version: 1.0.1 Version: 1.2.0
Release: 0 Release: 0
Summary: The Open Source Mobile Communications Core Library Summary: The Open Source Mobile Communications Core Library
License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later License: GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
Group: Productivity/Telephony/Utilities Group: Productivity/Telephony/Utilities
Url: https://osmocom.org/projects/libosmocore/wiki/Libosmocore URL: https://osmocom.org/projects/libosmocore/wiki/Libosmocore
Source: %name-%version.tar.xz Source: %name-%version.tar.xz
Patch0: 0001-gsm_23_003.h-add-GSM23003_IMEI_NUM_DIGITS_NO_CHK.patch
BuildRequires: automake >= 1.6 BuildRequires: automake >= 1.6
BuildRequires: libtool >= 2 BuildRequires: libtool >= 2
BuildRequires: pkg-config >= 0.20 BuildRequires: pkg-config >= 0.20
@ -162,12 +161,12 @@ interface, the control interface is meant to be used by programs.
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 libosmoctrl. applications that want to make use of libosmoctrl.
%package -n libosmogb6 %package -n libosmogb9
Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library Summary: Osmocom GPRS Gb Interface (NS/BSSGP) library
License: AGPL-3.0-or-later License: AGPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmogb6 %description -n libosmogb9
libosmocore is a package with various utility functions that were libosmocore is a package with various utility functions that were
originally developed as part of the OpenBSC project. originally developed as part of the OpenBSC project.
@ -178,7 +177,7 @@ Summary: Development files for the Osmocom GPRS Gb interface 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: libosmocore-devel = %version Requires: libosmocore-devel = %version
Requires: libosmogb6 = %version Requires: libosmogb9 = %version
Requires: libosmogsm-devel = %version Requires: libosmogsm-devel = %version
%description -n libosmogb-devel %description -n libosmogb-devel
@ -187,12 +186,12 @@ The libosmogb library contains a GPRS BSSGP protocol implementation.
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 libosmogb. applications that want to make use of libosmogb.
%package -n libosmogsm11 %package -n libosmogsm13
Summary: Osmocom GSM utility library Summary: Osmocom GSM utility library
License: GPL-2.0-or-later AND AGPL-3.0-or-later License: GPL-2.0-or-later AND AGPL-3.0-or-later
Group: System/Libraries Group: System/Libraries
%description -n libosmogsm11 %description -n libosmogsm13
libosmocore is a package with various utility functions that were libosmocore is a package with various utility functions that were
originally developed as part of the OpenBSC project. originally developed as part of the OpenBSC project.
@ -207,7 +206,7 @@ Summary: Development files for the Osmocom GSM utility library
License: GPL-2.0-or-later AND AGPL-3.0-or-later License: GPL-2.0-or-later AND AGPL-3.0-or-later
Group: Development/Libraries/C and C++ Group: Development/Libraries/C and C++
Requires: libosmocore-devel = %version Requires: libosmocore-devel = %version
Requires: libosmogsm11 = %version Requires: libosmogsm13 = %version
%description -n libosmogsm-devel %description -n libosmogsm-devel
The libosmogsm library in particular is a collection of common code The libosmogsm library in particular is a collection of common code
@ -272,8 +271,7 @@ This subpackage contains libraries and header files for developing
applications that want to make use of libosmovty. applications that want to make use of libosmovty.
%prep %prep
%setup -q %autosetup -p1
%patch0 -p1
%build %build
echo "%version" >.tarball-version echo "%version" >.tarball-version
@ -300,10 +298,10 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%postun -n libosmocore12 -p /sbin/ldconfig %postun -n libosmocore12 -p /sbin/ldconfig
%post -n libosmoctrl0 -p /sbin/ldconfig %post -n libosmoctrl0 -p /sbin/ldconfig
%postun -n libosmoctrl0 -p /sbin/ldconfig %postun -n libosmoctrl0 -p /sbin/ldconfig
%post -n libosmogb6 -p /sbin/ldconfig %post -n libosmogb9 -p /sbin/ldconfig
%postun -n libosmogb6 -p /sbin/ldconfig %postun -n libosmogb9 -p /sbin/ldconfig
%post -n libosmogsm11 -p /sbin/ldconfig %post -n libosmogsm13 -p /sbin/ldconfig
%postun -n libosmogsm11 -p /sbin/ldconfig %postun -n libosmogsm13 -p /sbin/ldconfig
%post -n libosmosim0 -p /sbin/ldconfig %post -n libosmosim0 -p /sbin/ldconfig
%postun -n libosmosim0 -p /sbin/ldconfig %postun -n libosmosim0 -p /sbin/ldconfig
%post -n libosmovty4 -p /sbin/ldconfig %post -n libosmovty4 -p /sbin/ldconfig
@ -352,8 +350,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/libosmoctrl.so %_libdir/libosmoctrl.so
%_libdir/pkgconfig/libosmoctrl.pc %_libdir/pkgconfig/libosmoctrl.pc
%files -n libosmogb6 %files -n libosmogb9
%_libdir/libosmogb.so.6* %_libdir/libosmogb.so.9*
%files -n libosmogb-devel %files -n libosmogb-devel
%dir %_includedir/%name %dir %_includedir/%name
@ -362,8 +360,8 @@ make %{?_smp_mflags} check || (find . -name testsuite.log -exec cat {} +)
%_libdir/libosmogb.so %_libdir/libosmogb.so
%_libdir/pkgconfig/libosmogb.pc %_libdir/pkgconfig/libosmogb.pc
%files -n libosmogsm11 %files -n libosmogsm13
%_libdir/libosmogsm.so.11* %_libdir/libosmogsm.so.13*
%files -n libosmogsm-devel %files -n libosmogsm-devel
%dir %_includedir/%name %dir %_includedir/%name