Changes of Revision 375

libosmocore.spec Changed
x
 
1
@@ -14,13 +14,13 @@
2
 
3
 Name:           libosmocore
4
 Requires: osmocom-master
5
-Version: 1.10.0.31.e64d9
6
+Version: 1.10.0.32.3e69
7
 Release:        0
8
 Summary:        The Open Source Mobile Communications Core Library
9
 License:        GPL-2.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later AND AGPL-3.0-or-later
10
 Group:          Productivity/Telephony/Utilities
11
 Url:            https://osmocom.org/projects/libosmocore/wiki/Libosmocore
12
-Source: libosmocore_1.10.0.31.e64d9.tar.xz
13
+Source: libosmocore_1.10.0.32.3e69.tar.xz
14
 Source1: rpmlintrc
15
 BuildRequires:  automake >= 1.6
16
 BuildRequires:  libtool >= 2
17
commit_3e6978b97f9e4dd9d7af060ec7c1b14aec8a63d8.txt Added
commit_e64d9f1580a442ed578dbeaa83ffd542c2ddaa30.txt Deleted
libosmocore_1.10.0.31.e64d9.dsc -> libosmocore_1.10.0.32.3e69.dsc Changed
22
 
1
@@ -2,7 +2,7 @@
2
 Source: libosmocore
3
 Binary: libosmocore, libosmocodec4, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore22, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm20, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty13, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg
4
 Architecture: any all
5
-Version: 1.10.0.31.e64d9
6
+Version: 1.10.0.32.3e69
7
 Maintainer: Osmocom team <openbsc@lists.osmocom.org>
8
 Homepage: https://projects.osmocom.org/projects/libosmocore
9
 Standards-Version: 3.9.8
10
@@ -35,8 +35,8 @@
11
  libosmovty-doc deb doc optional arch=all
12
  libosmovty13 deb libs optional arch=any
13
 Checksums-Sha1:
14
- d3743d4d351c1b31720e9fb3d7fccd03fa58d7a6 1122024 libosmocore_1.10.0.31.e64d9.tar.xz
15
+ a57c8be95e9a17981cb5e0232af1cc2af1a3ea7d 1122556 libosmocore_1.10.0.32.3e69.tar.xz
16
 Checksums-Sha256:
17
- cd0c5af704b980604a7a6597e0d3e13c9912a6cdbfefb9edf57593d85c2a8fc6 1122024 libosmocore_1.10.0.31.e64d9.tar.xz
18
+ b831484bf5d653a3ff9707d5278001cb4871a9013f087273edc65c75ee978c98 1122556 libosmocore_1.10.0.32.3e69.tar.xz
19
 Files:
20
- 1e072d5eb3d80d40a56ac88094c282a8 1122024 libosmocore_1.10.0.31.e64d9.tar.xz
21
+ 4b65efc3d5c5e817bac6151673b514c4 1122556 libosmocore_1.10.0.32.3e69.tar.xz
22
libosmocore_1.10.0.31.e64d9.tar.xz/.tarball-version -> libosmocore_1.10.0.32.3e69.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-1.10.0.31-e64d9
3
+1.10.0.32-3e69
4
libosmocore_1.10.0.31.e64d9.tar.xz/debian/changelog -> libosmocore_1.10.0.32.3e69.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-libosmocore (1.10.0.31.e64d9) unstable; urgency=medium
3
+libosmocore (1.10.0.32.3e69) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Mon, 18 Nov 2024 17:02:30 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Mon, 18 Nov 2024 23:17:52 +0000
9
 
10
 libosmocore (1.10.0) unstable; urgency=medium
11
 
12
libosmocore_1.10.0.31.e64d9.tar.xz/include/osmocom/gsm/gsm23003.h -> libosmocore_1.10.0.32.3e69.tar.xz/include/osmocom/gsm/gsm23003.h Changed
10
 
1
@@ -167,6 +167,8 @@
2
 int osmo_rai_cmp(const struct osmo_routing_area_id *a, const struct osmo_routing_area_id *b);
3
 int osmo_cgi_cmp(const struct osmo_cell_global_id *a, const struct osmo_cell_global_id *b);
4
 int osmo_cgi_ps_cmp(const struct osmo_cell_global_id_ps *a, const struct osmo_cell_global_id_ps *b);
5
+int osmo_mme_id_cmp(const struct osmo_mme_id *a, const struct osmo_mme_id *b);
6
+int osmo_gummei_cmp(const struct osmo_gummei *a, const struct osmo_gummei *b);
7
 
8
 int osmo_gen_home_network_domain(char *out, const struct osmo_plmn_id *plmn);
9
 int osmo_parse_home_network_domain(struct osmo_plmn_id *out, const char *in);
10
libosmocore_1.10.0.31.e64d9.tar.xz/src/gsm/gsm23003.c -> libosmocore_1.10.0.32.3e69.tar.xz/src/gsm/gsm23003.c Changed
42
 
1
@@ -656,6 +656,40 @@
2
    return 0;
3
 }
4
 
5
+/* Compare two MME Ids
6
+ * The order of comparison is MME GroupId, MME Code.
7
+ * \param ain  "Left" side MME Id.
8
+ * \param bin  "Right" side MME Id.
9
+ * \returns 0 if the MME Ids are equal, -1 if a < b, 1 if a > b. */
10
+int osmo_mme_id_cmp(const struct osmo_mme_id *a, const struct osmo_mme_id *b)
11
+{
12
+   if (a->group_id < b->group_id)
13
+       return -1;
14
+   if (a->group_id > b->group_id)
15
+       return 1;
16
+
17
+   if (a->code < b->code)
18
+       return -1;
19
+   if (a->code > b->code)
20
+       return 1;
21
+
22
+   return 0;
23
+}
24
+
25
+/* Compare two GUMMEI
26
+ * The order of comparison is MCC, MNC, MME GroupId, MME Code.
27
+ * \param ain  "Left" side GUMMEI.
28
+ * \param bin  "Right" side GUMMEI.
29
+ * \returns 0 if the GUMMEI are equal, -1 if a < b, 1 if a > b. */
30
+int osmo_gummei_cmp(const struct osmo_gummei *a, const struct osmo_gummei *b)
31
+{
32
+   int rc = osmo_plmn_cmp(&a->plmn, &b->plmn);
33
+   if (rc)
34
+       return rc;
35
+
36
+   return osmo_mme_id_cmp(&a->mme, &b->mme);
37
+}
38
+
39
 /*! Generate TS 23.003 Section 19.2 Home Network Realm/Domain (text form)
40
  *  \param outout caller-provided output buffer, at least 33 bytes long
41
  *  \param plmnin Osmocom representation of PLMN ID (MCC + MNC)
42
libosmocore_1.10.0.31.e64d9.tar.xz/src/gsm/libosmogsm.map -> libosmocore_1.10.0.32.3e69.tar.xz/src/gsm/libosmogsm.map Changed
10
 
1
@@ -502,6 +502,8 @@
2
 osmo_gummei_name;
3
 osmo_gummei_name_buf;
4
 osmo_gummei_name_c;
5
+osmo_gummei_cmp;
6
+osmo_mme_id_cmp;
7
 osmo_mnc_from_str;
8
 osmo_mnc_cmp;
9
 osmo_plmn_cmp;
10