Hello community,

here is the log from the commit of package libosmocore for openSUSE:Factory 
checked in at 2019-02-20 14:12:10
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libosmocore (Old)
 and      /work/SRC/openSUSE:Factory/.libosmocore.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libosmocore"

Wed Feb 20 14:12:10 2019 rev:21 rq:677402 version:1.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/libosmocore/libosmocore.changes  2019-02-06 
14:07:31.926648015 +0100
+++ /work/SRC/openSUSE:Factory/.libosmocore.new.28833/libosmocore.changes       
2019-02-20 14:12:16.990920402 +0100
@@ -1,0 +2,7 @@
+Tue Feb 19 14:54:30 UTC 2019 - Martin Hauke <[email protected]>
+
+- Add patch:
+  * 0001-gsm_23_003.h-add-GSM23003_IMEI_NUM_DIGITS_NO_CHK.patch
+    Needed for osmo-hlr 1.0.0
+
+-------------------------------------------------------------------

New:
----
  0001-gsm_23_003.h-add-GSM23003_IMEI_NUM_DIGITS_NO_CHK.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libosmocore.spec ++++++
--- /var/tmp/diff_new_pack.nf2Np8/_old  2019-02-20 14:12:17.498920232 +0100
+++ /var/tmp/diff_new_pack.nf2Np8/_new  2019-02-20 14:12:17.502920231 +0100
@@ -12,7 +12,7 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
@@ -24,6 +24,7 @@
 Group:          Productivity/Telephony/Utilities
 Url:            https://osmocom.org/projects/libosmocore/wiki/Libosmocore
 Source:         %name-%version.tar.xz
+Patch0:         0001-gsm_23_003.h-add-GSM23003_IMEI_NUM_DIGITS_NO_CHK.patch
 BuildRequires:  automake >= 1.6
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config >= 0.20
@@ -272,6 +273,7 @@
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 echo "%version" >.tarball-version

++++++ 0001-gsm_23_003.h-add-GSM23003_IMEI_NUM_DIGITS_NO_CHK.patch ++++++
>From 49fb992cd7bf94f25b93d9eeb711225daefa3a2d Mon Sep 17 00:00:00 2001
From: Oliver Smith <[email protected]>
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


Reply via email to