Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package libosmocore for openSUSE:Factory 
checked in at 2023-12-06 23:49:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libosmocore (Old)
 and      /work/SRC/openSUSE:Factory/.libosmocore.new.25432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libosmocore"

Wed Dec  6 23:49:00 2023 rev:33 rq:1131319 version:1.9.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/libosmocore/libosmocore.changes  2023-11-02 
20:22:01.909076233 +0100
+++ /work/SRC/openSUSE:Factory/.libosmocore.new.25432/libosmocore.changes       
2023-12-06 23:49:44.286573788 +0100
@@ -1,0 +2,8 @@
+Wed Dec  6 10:31:32 UTC 2023 - Jan Engelhardt <jeng...@inai.de>
+
+- Update to release 1.9.2
+  * logging: ensure ANSI color escape is sent in same line/before
+    newline
+  * Fix OSMO_SOCKADDR_STR_FMT_ARGS_NOT_NULL syntax error
+
+-------------------------------------------------------------------

Old:
----
  1.9.0.tar.gz

New:
----
  1.9.2.tar.gz

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

Other differences:
------------------
++++++ libosmocore.spec ++++++
--- /var/tmp/diff_new_pack.TVReVc/_old  2023-12-06 23:49:44.970598994 +0100
+++ /var/tmp/diff_new_pack.TVReVc/_new  2023-12-06 23:49:44.974599141 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           libosmocore
-Version:        1.9.0
+Version:        1.9.2
 Release:        0
 Summary:        The Open Source Mobile Communications Core Library
 License:        AGPL-3.0-or-later AND GPL-2.0-only AND GPL-2.0-or-later AND 
LGPL-2.1-or-later

++++++ 1.9.0.tar.gz -> 1.9.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmocore-1.9.0/configure.ac 
new/libosmocore-1.9.2/configure.ac
--- old/libosmocore-1.9.0/configure.ac  2023-09-12 13:15:54.000000000 +0200
+++ new/libosmocore-1.9.2/configure.ac  2023-11-28 12:59:37.000000000 +0100
@@ -403,6 +403,7 @@
        AM_CONDITIONAL(ENABLE_LIBSCTP, false)
        AM_CONDITIONAL(ENABLE_LIBUSB, false)
        AM_CONDITIONAL(ENABLE_PCSC, false)
+       AM_CONDITIONAL(ENABLE_URING, false)
        AM_CONDITIONAL(ENABLE_PSEUDOTALLOC, true)
        AM_CONDITIONAL(ENABLE_SERCOM_STUB, true)
        AM_CONDITIONAL(EMBEDDED, true)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmocore-1.9.0/debian/changelog 
new/libosmocore-1.9.2/debian/changelog
--- old/libosmocore-1.9.0/debian/changelog      2023-09-12 13:15:54.000000000 
+0200
+++ new/libosmocore-1.9.2/debian/changelog      2023-11-28 12:59:37.000000000 
+0100
@@ -1,3 +1,21 @@
+libosmocore (1.9.2) unstable; urgency=medium
+
+  [ Pau Espin Pedrol ]
+  * sockaddr_str.h Fix OSMO_SOCKADDR_STR_FMT_ARGS_NOT_NULL syntax error
+
+  [ Daniel Willmann ]
+  * logging_gsmtap: Temporarily disable logging when sending the logs
+  * Disable uring when building for embedded
+
+ -- Oliver Smith <osm...@sysmocom.de>  Tue, 28 Nov 2023 12:59:15 +0100
+
+libosmocore (1.9.1) unstable; urgency=medium
+
+  [ Manawyrm ]
+  * logging: ensure ANSI color escape is sent in same line/before newline
+
+ -- Oliver Smith <osm...@sysmocom.de>  Tue, 28 Nov 2023 11:21:41 +0100
+
 libosmocore (1.9.0) unstable; urgency=medium
 
   [ Oliver Smith ]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/libosmocore-1.9.0/include/osmocom/core/sockaddr_str.h 
new/libosmocore-1.9.2/include/osmocom/core/sockaddr_str.h
--- old/libosmocore-1.9.0/include/osmocom/core/sockaddr_str.h   2023-09-12 
13:15:54.000000000 +0200
+++ new/libosmocore-1.9.2/include/osmocom/core/sockaddr_str.h   2023-11-28 
12:59:37.000000000 +0100
@@ -63,7 +63,7 @@
        ((R)->af == AF_INET6) ? "[" : "", \
        (R)->ip, \
        ((R)->af == AF_INET6) ? "]" : "", \
-       (R)->port : 0
+       (R)->port
 #define OSMO_SOCKADDR_STR_FMT_ARGS(R) \
        ((R) && (R)->af == AF_INET6) ? "[" : "", \
        (R) ? (R)->ip : "NULL", \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmocore-1.9.0/src/core/Makefile.am 
new/libosmocore-1.9.2/src/core/Makefile.am
--- old/libosmocore-1.9.0/src/core/Makefile.am  2023-09-12 13:15:54.000000000 
+0200
+++ new/libosmocore-1.9.2/src/core/Makefile.am  2023-11-28 12:59:37.000000000 
+0100
@@ -1,7 +1,7 @@
 # This is _NOT_ the library release version, it's an API version.
 # Please read chapter "Library interface versions" of the libtool documentation
 # before making any modifications: 
https://www.gnu.org/software/libtool/manual/html_node/Versioning.html
-LIBVERSION=21:0:0
+LIBVERSION=21:2:0
 
 AM_CPPFLAGS = -I$(top_srcdir)/include -I$(top_builddir)/include 
-I$(top_builddir)
 AM_CFLAGS = -Wall $(TALLOC_CFLAGS) $(PTHREAD_CFLAGS) $(LIBSCTP_CFLAGS) 
$(LIBMNL_CFLAGS) $(URING_CFLAGS)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmocore-1.9.0/src/core/logging.c 
new/libosmocore-1.9.2/src/core/logging.c
--- old/libosmocore-1.9.0/src/core/logging.c    2023-09-12 13:15:54.000000000 
+0200
+++ new/libosmocore-1.9.2/src/core/logging.c    2023-11-28 12:59:37.000000000 
+0100
@@ -616,7 +616,15 @@
        }
 
        if (target->use_color && c_subsys) {
-               ret = snprintf(buf + offset, rem, OSMO_LOGCOLOR_END);
+               /* Ensure the last color escape is sent before the newline
+               * (to not clobber journald, which works on single-lines only) */
+               if (offset > 0 && buf[offset - 1] == '\n') {
+                       offset--; rem++;
+                       ret = snprintf(buf + offset, rem, OSMO_LOGCOLOR_END 
"\n");
+               } else {
+                       ret = snprintf(buf + offset, rem, OSMO_LOGCOLOR_END);
+               }
+
                if (ret < 0)
                        goto err;
                OSMO_SNPRINTF_RET(ret, rem, offset, len);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmocore-1.9.0/src/core/logging_gsmtap.c 
new/libosmocore-1.9.2/src/core/logging_gsmtap.c
--- old/libosmocore-1.9.0/src/core/logging_gsmtap.c     2023-09-12 
13:15:54.000000000 +0200
+++ new/libosmocore-1.9.2/src/core/logging_gsmtap.c     2023-11-28 
12:59:37.000000000 +0100
@@ -65,6 +65,7 @@
        struct timeval tv;
        int rc;
        const char *file_basename;
+       unsigned int _level;
 
        /* get timestamp ASAP */
        osmo_gettimeofday(&tv, NULL);
@@ -114,7 +115,11 @@
        }
        msgb_put(msg, rc);
 
+       /* Ensure that any error occurring when sending the log message doesn't 
cause infinite recursion */
+       _level = target->loglevel;
+       target->loglevel = UINT8_MAX;
        rc = gsmtap_sendmsg(target->tgt_gsmtap.gsmtap_inst, msg);
+       target->loglevel = _level;
        if (rc)
                msgb_free(msg);
 }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/libosmocore-1.9.0/tests/loggingrb/logging_test.err 
new/libosmocore-1.9.2/tests/loggingrb/logging_test.err
--- old/libosmocore-1.9.0/tests/loggingrb/logging_test.err      2023-09-12 
13:15:54.000000000 +0200
+++ new/libosmocore-1.9.2/tests/loggingrb/logging_test.err      2023-11-28 
12:59:37.000000000 +0100
@@ -1,3 +1,2 @@
-You should see this
-You should see this
-
\ No newline at end of file
+You should see this
+You should see this

Reply via email to