Changes of Revision 214
libosmocore.spec
Changed
x
1
2
3
Name: libosmocore
4
Requires: osmocom-master
5
-Version: 1.8.0.234.2b34e
6
+Version: 1.8.0.236.e486
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.8.0.234.2b34e.tar.xz
13
+Source: libosmocore_1.8.0.236.e486.tar.xz
14
Source1: rpmlintrc
15
BuildRequires: automake >= 1.6
16
BuildRequires: libtool >= 2
17
commit_2b34e92d0e2de3b63636b1e2e2d5eb1bd850c10c.txt
Deleted
commit_e486e012c8a9eddfedadd98f48161128287b0d6d.txt
Added
libosmocore_1.8.0.234.2b34e.dsc -> libosmocore_1.8.0.236.e486.dsc
Changed
29
1
2
Source: libosmocore
3
Binary: libosmocore, libosmocodec0, libosmocodec-doc, libosmocoding0, libosmocoding-doc, libosmocore20, libosmocore-doc, libosmogb14, libosmogb-doc, libosmogsm18, libosmogsm-doc, libosmoisdn0, libosmoisdn-doc, libosmovty9, libosmovty-doc, libosmoctrl0, libosmoctrl-doc, libosmosim2, libosmosim-doc, libosmousb0, libosmousb-doc, libosmocore-dev, libosmocore-utils, libosmocore-dbg
4
Architecture: any all
5
-Version: 1.8.0.234.2b34e
6
+Version: 1.8.0.236.e486
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, python3:native
13
+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, base-files (<< 11) | liburing-dev, python3:native
14
Package-List:
15
libosmocodec-doc deb doc optional arch=all
16
libosmocodec0 deb libs optional arch=any
17
18
libosmovty-doc deb doc optional arch=all
19
libosmovty9 deb libs optional arch=any
20
Checksums-Sha1:
21
- d62c1c94a0a277a7bfa3ef39891ae2cf776ebaa8 1064912 libosmocore_1.8.0.234.2b34e.tar.xz
22
+ 7acab59b5de6435a1b2023ca7700c2ea372715d5 1065108 libosmocore_1.8.0.236.e486.tar.xz
23
Checksums-Sha256:
24
- 32706bc7fb7cb248fdcef7d98a50a67a4322331996c57dc0a729d84e2c2fa269 1064912 libosmocore_1.8.0.234.2b34e.tar.xz
25
+ c67ccf960a70a3fe48f1943e12a551b1e83d2b4b00da940608000195de1f27cf 1065108 libosmocore_1.8.0.236.e486.tar.xz
26
Files:
27
- 5f529e37b77c228fc2090f7b9b34d63c 1064912 libosmocore_1.8.0.234.2b34e.tar.xz
28
+ 8cfb5aa09c6bd3b1a2a99d1c76654e34 1065108 libosmocore_1.8.0.236.e486.tar.xz
29
libosmocore_1.8.0.234.2b34e.tar.xz/.tarball-version -> libosmocore_1.8.0.236.e486.tar.xz/.tarball-version
Changed
4
1
2
-1.8.0.234-2b34e
3
+1.8.0.236-e486
4
libosmocore_1.8.0.234.2b34e.tar.xz/debian/changelog -> libosmocore_1.8.0.236.e486.tar.xz/debian/changelog
Changed
12
1
2
-libosmocore (1.8.0.234.2b34e) unstable; urgency=medium
3
+libosmocore (1.8.0.236.e486) unstable; urgency=medium
4
5
* Automatically generated changelog entry for building the Osmocom master feed
6
7
- -- Osmocom OBS scripts <info@osmocom.org> Thu, 24 Aug 2023 14:52:16 +0000
8
+ -- Osmocom OBS scripts <info@osmocom.org> Thu, 24 Aug 2023 15:37:31 +0000
9
10
libosmocore (1.8.0) unstable; urgency=medium
11
12
libosmocore_1.8.0.234.2b34e.tar.xz/debian/control -> libosmocore_1.8.0.236.e486.tar.xz/debian/control
Changed
9
1
2
libusb-1.0-0-dev,
3
libmnl-dev,
4
libsystemd-dev,
5
+ base-files (<< 11) | liburing-dev,
6
python3:native
7
Standards-Version: 3.9.8
8
Vcs-Git: https://gitea.osmocom.org/osmocom/libosmocore
9
libosmocore_1.8.0.234.2b34e.tar.xz/debian/rules -> libosmocore_1.8.0.236.e486.tar.xz/debian/rules
Changed
22
1
2
override_dh_auto_test:
3
dh_auto_test || (find . -name testsuite.log -exec cat {} \; ; false)
4
5
+# Set --disable-uring for debian < 11 based distributions
6
override_dh_auto_configure:
7
- dh_auto_configure -- --enable-static --disable-sctp-tests --enable-systemd-logging
8
+ set -x && \
9
+ CONFIGURE_FLAGS=" \
10
+ --disable-sctp-tests \
11
+ --enable-static \
12
+ --enable-systemd-logging \
13
+ "; \
14
+ base_ver="$$(dpkg -l base-files | grep "^ii" | awk '{print $$3}')"; \
15
+ if dpkg --compare-versions "$$base_ver" lt 11; then \
16
+ CONFIGURE_FLAGS="$$CONFIGURE_FLAGS --disable-uring"; \
17
+ fi; \
18
+ dh_auto_configure -- $$CONFIGURE_FLAGS
19
20
override_dh_clean:
21
dh_clean
22
libosmocore_1.8.0.234.2b34e.tar.xz/src/core/osmo_io.c -> libosmocore_1.8.0.236.e486.tar.xz/src/core/osmo_io.c
Changed
49
1
2
* \returns the newly allocated msghdr or NULL in case of error */
3
struct iofd_msghdr *iofd_msghdr_alloc(struct osmo_io_fd *iofd, enum iofd_msg_action action, struct msgb *msg)
4
{
5
- struct iofd_msghdr *hdr = talloc_zero(iofd, struct iofd_msghdr);
6
- if (!hdr)
7
- return NULL;
8
+ bool free_msg = false;
9
+ struct iofd_msghdr *hdr;
10
+
11
if (!msg) {
12
msg = iofd_msgb_alloc(iofd);
13
- if (!msg) {
14
- talloc_free(hdr);
15
+ if (!msg)
16
return NULL;
17
- }
18
+ free_msg = true;
19
} else {
20
- talloc_steal(iofd->msgb_alloc.ctx, msg);
21
+ talloc_steal(iofd, msg);
22
+ }
23
+
24
+ hdr = talloc_zero(msg, struct iofd_msghdr);
25
+ if (!hdr) {
26
+ if (free_msg)
27
+ talloc_free(msg);
28
+ return NULL;
29
}
30
31
hdr->action = action;
32
33
uint16_t headroom = iofd->msgb_alloc.headroom;
34
35
OSMO_ASSERT(iofd->msgb_alloc.size < 0xffff - headroom);
36
- return msgb_alloc_headroom_c(iofd->msgb_alloc.ctx,
37
+ return msgb_alloc_headroom_c(iofd,
38
iofd->msgb_alloc.size + headroom, headroom,
39
iofd->name ? : "iofd_msgb");
40
}
41
42
43
void iofd_handle_recv(struct osmo_io_fd *iofd, struct msgb *msg, int rc, struct iofd_msghdr *hdr)
44
{
45
+ talloc_steal(iofd->msgb_alloc.ctx, msg);
46
switch (iofd->mode) {
47
case OSMO_IO_FD_MODE_READ_WRITE:
48
iofd_handle_segmented_read(iofd, msg, rc);
49