Changes of Revision 284

libosmocore.spec Changed
x
 
1
@@ -14,13 +14,13 @@
2
 
3
 Name:           libosmocore
4
 Requires: osmocom-master
5
-Version: 1.9.0.99.d8070
6
+Version: 1.9.0.100.a379
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.9.0.99.d8070.tar.xz
13
+Source: libosmocore_1.9.0.100.a379.tar.xz
14
 Source1: rpmlintrc
15
 BuildRequires:  automake >= 1.6
16
 BuildRequires:  libtool >= 2
17
commit_a37921aed12181ec128a7d37e33232a9a85425b9.txt Added
commit_d8070f57d7f66be4aea572ba540e4425d1859170.txt Deleted
libosmocore_1.9.0.100.a379.dsc Added
44
 
1
@@ -0,0 +1,42 @@
2
+Format: 3.0 (native)
3
+Source: libosmocore
4
+Binary: libosmocore, libosmocodec4, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore21, 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
5
+Architecture: any all
6
+Version: 1.9.0.100.a379
7
+Maintainer: Osmocom team <openbsc@lists.osmocom.org>
8
+Homepage: https://projects.osmocom.org/projects/libosmocore
9
+Standards-Version: 3.9.8
10
+Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmocore
11
+Vcs-Git: https://gitea.osmocom.org/osmocom/libosmocore
12
+Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, libgnutls28-dev, doxygen, libpcsclite-dev, pkg-config, libtalloc-dev (>= 2.1.0), libsctp-dev, libusb-1.0-0-dev, libmnl-dev, libsystemd-dev, liburing-dev | base-files (<< 11) | ubuntu-keyring (<< 2021), python3:native
13
+Package-List:
14
+ libosmocodec-doc deb doc optional arch=all
15
+ libosmocodec4 deb libs optional arch=any
16
+ libosmocoding-doc deb doc optional arch=all
17
+ libosmocoding0 deb libs optional arch=any
18
+ libosmocore deb libs optional arch=any
19
+ libosmocore-dbg deb debug extra arch=any
20
+ libosmocore-dev deb libdevel optional arch=any
21
+ libosmocore-doc deb doc optional arch=all
22
+ libosmocore-utils deb utils optional arch=any
23
+ libosmocore21 deb libs optional arch=any
24
+ libosmoctrl-doc deb doc optional arch=all
25
+ libosmoctrl0 deb libs optional arch=any
26
+ libosmogb-doc deb doc optional arch=all
27
+ libosmogb14 deb libs optional arch=any
28
+ libosmogsm-doc deb doc optional arch=all
29
+ libosmogsm20 deb libs optional arch=any
30
+ libosmoisdn-doc deb doc optional arch=all
31
+ libosmoisdn0 deb libs optional arch=any
32
+ libosmosim-doc deb doc optional arch=all
33
+ libosmosim2 deb libs optional arch=any
34
+ libosmousb-doc deb doc optional arch=all
35
+ libosmousb0 deb libs optional arch=any
36
+ libosmovty-doc deb doc optional arch=all
37
+ libosmovty13 deb libs optional arch=any
38
+Checksums-Sha1:
39
+ 8abe0f7c9ad5471006bba5d294d4011b76514477 1091880 libosmocore_1.9.0.100.a379.tar.xz
40
+Checksums-Sha256:
41
+ dd94844083ab5728dbee50b682f32b114ccce0825d476378a800227bc2b88e0d 1091880 libosmocore_1.9.0.100.a379.tar.xz
42
+Files:
43
+ 38162ead87f06ba424ab7ea75ef19ced 1091880 libosmocore_1.9.0.100.a379.tar.xz
44
libosmocore_1.9.0.99.d8070.tar.xz/.tarball-version -> libosmocore_1.9.0.100.a379.tar.xz/.tarball-version Changed
4
 
1
@@ -1 +1 @@
2
-1.9.0.99-d8070
3
+1.9.0.100-a379
4
libosmocore_1.9.0.99.d8070.tar.xz/debian/changelog -> libosmocore_1.9.0.100.a379.tar.xz/debian/changelog Changed
12
 
1
@@ -1,8 +1,8 @@
2
-libosmocore (1.9.0.99.d8070) unstable; urgency=medium
3
+libosmocore (1.9.0.100.a379) unstable; urgency=medium
4
 
5
   * Automatically generated changelog entry for building the Osmocom master feed
6
 
7
- -- Osmocom OBS scripts <info@osmocom.org>  Mon, 11 Dec 2023 20:52:55 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org>  Tue, 12 Dec 2023 13:27:25 +0000
9
 
10
 libosmocore (1.9.0) unstable; urgency=medium
11
 
12
libosmocore_1.9.0.99.d8070.tar.xz/include/osmocom/core/socket.h -> libosmocore_1.9.0.100.a379.tar.xz/include/osmocom/core/socket.h Changed
32
 
1
@@ -16,9 +16,20 @@
2
 
3
 #include <osmocom/core/defs.h>
4
 
5
+/*! maximum number of local or remote addresses supported by an osmo_sock instance */
6
+#define OSMO_SOCK_MAX_ADDRS 32
7
+
8
 /*! maximum length of a socket name ("r=1.2.3.4:123<->l=5.6.7.8:987") */
9
 #define OSMO_SOCK_NAME_MAXLEN (2 + INET6_ADDRSTRLEN + 1 + 5 + 3 + 2 + INET6_ADDRSTRLEN + 1 + 5 + 1)
10
 
11
+/*! maximum length of a multi-address socket peer (endpoint) name: (5.6.7.8|::9):987
12
+ * char '(' + OSMO_STREAM_MAX_ADDRS - 1 addr separators + chars "):" + port buffer + char '\0'
13
+ */
14
+#define OSMO_SOCK_MULTIADDR_PEER_STR_MAXLEN (INET6_ADDRSTRLEN * OSMO_SOCK_MAX_ADDRS + INET6_ADDRSTRLEN + 2 + 6 + 1)
15
+/*! maximum length of a multia-address socket name ("r=(::2|1.2.3.4):123<->l=(5.6.7.8|::9):987") */
16
+#define OSMO_SOCK_MULTIADDR_NAME_MAXLEN (OSMO_SOCK_MULTIADDR_PEER_STR_MAXLEN + 7)
17
+
18
+
19
 struct sockaddr_in;
20
 struct sockaddr;
21
 struct osmo_fd;
22
@@ -108,9 +119,6 @@
23
 #define GET_OSMO_SOCK_F_PRIO(f)    (((f) >> 16) & 0xff)
24
 
25
 
26
-/*! maximum number of local or remote addresses supported by an osmo_sock instance */
27
-#define OSMO_SOCK_MAX_ADDRS 32
28
-
29
 int osmo_sock_init(uint16_t family, uint16_t type, uint8_t proto,
30
           const char *host, uint16_t port, unsigned int flags);
31
 
32
libosmocore_1.9.0.99.d8070.tar.xz/src/core/socket.c -> libosmocore_1.9.0.100.a379.tar.xz/src/core/socket.c Changed
27
 
1
@@ -2020,14 +2020,14 @@
2
 
3
 /*! Format multiple IP addresses and/or port number into a combined string buffer
4
  *  \paramout str  Destination string buffer.
5
- *  \paramin str_len  sizeof(str).
6
+ *  \paramin str_len  sizeof(str), usually OSMO_SOCK_MULTIADDR_PEER_STR_MAXLEN.
7
  *  \paramout ip Pointer to memory holding ip_cnt consecutive buffers of size ip_len.
8
  *  \paramout ip_cnt length ip array pointer. on return it contains the number of addresses found.
9
  *  \paramin ip_len length of each of the string buffer in the the ip array.
10
  *  \paramout port number (will be printed in when not NULL).
11
  *  \return String length as returned by snprintf(), or negative on error.
12
  *
13
- * This API expectes an ip array as the one filled in by
14
+ * This API expects an ip array as the one filled in by
15
  * osmo_sock_multiaddr_get_ip_and_port(), and hence it's a good companion for
16
  * that API.
17
  */
18
@@ -2065,7 +2065,7 @@
19
 /*! Get address/port information on socket in provided string buffer, like "r=1.2.3.4:5<->l=6.7.8.9:10".
20
  * This does not include braces like osmo_sock_get_name().
21
  *  \paramout str  Destination string buffer.
22
- *  \paramin str_len  sizeof(str).
23
+ *  \paramin str_len  sizeof(str), usually OSMO_SOCK_MULTIADDR_NAME_MAXLEN.
24
  *  \paramin fd  File descriptor of socket.
25
  *  \paramin fd IPPROTO of the socket, eg: IPPROTO_SCTP.
26
  *  \return String length as returned by snprintf(), or negative on error.
27
libosmocore_1.9.0.99.d8070.dsc Deleted
44
 
1
@@ -1,42 +0,0 @@
2
-Format: 3.0 (native)
3
-Source: libosmocore
4
-Binary: libosmocore, libosmocodec4, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore21, 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
5
-Architecture: any all
6
-Version: 1.9.0.99.d8070
7
-Maintainer: Osmocom team <openbsc@lists.osmocom.org>
8
-Homepage: https://projects.osmocom.org/projects/libosmocore
9
-Standards-Version: 3.9.8
10
-Vcs-Browser: https://gitea.osmocom.org/osmocom/libosmocore
11
-Vcs-Git: https://gitea.osmocom.org/osmocom/libosmocore
12
-Build-Depends: debhelper (>= 10), autotools-dev, autoconf, automake, libtool, dh-autoreconf, libdpkg-perl, git, libgnutls28-dev, doxygen, libpcsclite-dev, pkg-config, libtalloc-dev (>= 2.1.0), libsctp-dev, libusb-1.0-0-dev, libmnl-dev, libsystemd-dev, liburing-dev | base-files (<< 11) | ubuntu-keyring (<< 2021), python3:native
13
-Package-List:
14
- libosmocodec-doc deb doc optional arch=all
15
- libosmocodec4 deb libs optional arch=any
16
- libosmocoding-doc deb doc optional arch=all
17
- libosmocoding0 deb libs optional arch=any
18
- libosmocore deb libs optional arch=any
19
- libosmocore-dbg deb debug extra arch=any
20
- libosmocore-dev deb libdevel optional arch=any
21
- libosmocore-doc deb doc optional arch=all
22
- libosmocore-utils deb utils optional arch=any
23
- libosmocore21 deb libs optional arch=any
24
- libosmoctrl-doc deb doc optional arch=all
25
- libosmoctrl0 deb libs optional arch=any
26
- libosmogb-doc deb doc optional arch=all
27
- libosmogb14 deb libs optional arch=any
28
- libosmogsm-doc deb doc optional arch=all
29
- libosmogsm20 deb libs optional arch=any
30
- libosmoisdn-doc deb doc optional arch=all
31
- libosmoisdn0 deb libs optional arch=any
32
- libosmosim-doc deb doc optional arch=all
33
- libosmosim2 deb libs optional arch=any
34
- libosmousb-doc deb doc optional arch=all
35
- libosmousb0 deb libs optional arch=any
36
- libosmovty-doc deb doc optional arch=all
37
- libosmovty13 deb libs optional arch=any
38
-Checksums-Sha1:
39
- f976e0a3955716e5d439235bdfca2cd24b5ae98e 1090560 libosmocore_1.9.0.99.d8070.tar.xz
40
-Checksums-Sha256:
41
- c06328d91b1e18713638317044f27798b73f81e2bad8a81715f2224b81406bf9 1090560 libosmocore_1.9.0.99.d8070.tar.xz
42
-Files:
43
- 938675433a564997a6e25d25e12548ea 1090560 libosmocore_1.9.0.99.d8070.tar.xz
44