Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package osmo-e1d for openSUSE:Factory 
checked in at 2021-11-20 02:39:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/osmo-e1d (Old)
 and      /work/SRC/openSUSE:Factory/.osmo-e1d.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "osmo-e1d"

Sat Nov 20 02:39:29 2021 rev:4 rq:932578 version:0.2.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/osmo-e1d/osmo-e1d.changes        2021-05-15 
23:17:16.936479587 +0200
+++ /work/SRC/openSUSE:Factory/.osmo-e1d.new.1895/osmo-e1d.changes      
2021-11-20 02:40:51.684439378 +0100
@@ -1,0 +2,8 @@
+Fri Nov 19 10:40:10 UTC 2021 - Martin Hauke <mar...@gmx.de>
+
+- Update to release 0.2.2
+  * make compile-time default logging configuration less verbose
+  * Use new stat item/ctr getter APIs
+  * ctl: properly set the timeslot mode in E1DP_CMD_TS_QUERY
+
+-------------------------------------------------------------------

Old:
----
  0.2.1.tar.gz

New:
----
  0.2.2.tar.gz

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

Other differences:
------------------
++++++ osmo-e1d.spec ++++++
--- /var/tmp/diff_new_pack.o84mWM/_old  2021-11-20 02:40:52.128437912 +0100
+++ /var/tmp/diff_new_pack.o84mWM/_new  2021-11-20 02:40:52.132437899 +0100
@@ -2,7 +2,7 @@
 # spec file for package osmo-e1d
 #
 # Copyright (c) 2021 SUSE LLC
-# Copyright (c) 2019, Martin Hauke <mar...@gmx.de>
+# Copyright (c) 2019-2021, Martin Hauke <mar...@gmx.de>
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
 
 
 Name:           osmo-e1d
-Version:        0.2.1
+Version:        0.2.2
 Release:        0
 Summary:        Osmocom E1 Daemon
 License:        GPL-2.0-or-later
@@ -29,10 +29,9 @@
 BuildRequires:  libtool >= 2
 BuildRequires:  pkg-config >= 0.20
 BuildRequires:  systemd-rpm-macros
-BuildRequires:  pkgconfig(libosmocore) >= 1.5.0
-BuildRequires:  pkgconfig(libosmousb) >= 1.5.0
-BuildRequires:  pkgconfig(libosmovty) >= 1.5.0
-BuildRequires:  pkgconfig(libusb-1.0) >= 1.0.21
+BuildRequires:  pkgconfig(libosmocore) >= 1.6.0
+BuildRequires:  pkgconfig(libosmousb) >= 1.6.0
+BuildRequires:  pkgconfig(libosmovty) >= 1.6.0
 BuildRequires:  pkgconfig(talloc) >= 2.0.1
 
 %description
@@ -100,6 +99,7 @@
 
 %files
 %license COPYING COPYING.gpl2 COPYING.lgpl3
+%doc README.md
 %_bindir/osmo-e1d
 %_bindir/osmo-e1d-pipe
 %dir %_docdir/%name

++++++ 0.2.1.tar.gz -> 0.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/.gitignore 
new/osmo-e1d-0.2.2/.gitignore
--- old/osmo-e1d-0.2.1/.gitignore       2021-03-26 09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/.gitignore       2021-11-16 18:10:15.000000000 +0100
@@ -7,6 +7,7 @@
 autom4te.cache
 compile
 configure
+configure~
 depcomp
 install-sh
 libtool
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/configure.ac 
new/osmo-e1d-0.2.2/configure.ac
--- old/osmo-e1d-0.2.1/configure.ac     2021-03-26 09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/configure.ac     2021-11-16 18:10:15.000000000 +0100
@@ -34,9 +34,9 @@
 
 PKG_CHECK_MODULES(TALLOC, [talloc >= 2.0.1])
 
-PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.5.0)
-PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.5.0)
-PKG_CHECK_MODULES(LIBOSMOUSB, libosmousb >= 1.5.0)
+PKG_CHECK_MODULES(LIBOSMOCORE, libosmocore >= 1.6.0)
+PKG_CHECK_MODULES(LIBOSMOVTY, libosmovty >= 1.6.0)
+PKG_CHECK_MODULES(LIBOSMOUSB, libosmousb >= 1.6.0)
 PKG_CHECK_MODULES(LIBUSB, libusb-1.0 >= 1.0.21)
 
 AC_CONFIG_MACRO_DIR([m4])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/contrib/e1-prbs-test/main.c 
new/osmo-e1d-0.2.2/contrib/e1-prbs-test/main.c
--- old/osmo-e1d-0.2.1/contrib/e1-prbs-test/main.c      2021-03-26 
09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/contrib/e1-prbs-test/main.c      2021-11-16 
18:10:15.000000000 +0100
@@ -39,6 +39,7 @@
 #include <osmocom/core/utils.h>
 #include <osmocom/core/bits.h>
 #include <osmocom/core/prbs.h>
+#include <osmocom/core/application.h>
 
 #include <osmocom/e1d/proto_clnt.h>
 
@@ -238,6 +239,7 @@
 {
        char *basedir;
        int rc;
+       void *g_ctx;
 
        handle_options(argc, argv);
 
@@ -248,6 +250,10 @@
        }
        basedir = argv[optind];
 
+       g_ctx = talloc_named_const(NULL, 0, "g_ctx");
+       OSMO_ASSERT(g_ctx);
+       osmo_init_logging2(g_ctx, NULL);
+
        set_realtime(10);
        rc = open_slots(&g_tst, basedir);
        if (rc < 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/debian/changelog 
new/osmo-e1d-0.2.2/debian/changelog
--- old/osmo-e1d-0.2.1/debian/changelog 2021-03-26 09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/debian/changelog 2021-11-16 18:10:15.000000000 +0100
@@ -1,3 +1,16 @@
+osmo-e1d (0.2.2) unstable; urgency=medium
+
+  [ Harald Welte ]
+  * e1d-prbs-test: Initialize libosmocore logging
+  * ctl: properly set the timeslot mode in E1DP_CMD_TS_QUERY
+  * make compile-time default logging configuration less verbose
+
+  [ Pau Espin Pedrol ]
+  * Use new stat item/ctr getter APIs
+  * gitignore: Add configure~
+
+ -- Pau Espin Pedrol <pes...@sysmocom.de>  Tue, 16 Nov 2021 18:10:15 +0100
+
 osmo-e1d (0.2.1) unstable; urgency=medium
 
   * add README.md describing what this repository is about
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/debian/control 
new/osmo-e1d-0.2.2/debian/control
--- old/osmo-e1d-0.2.1/debian/control   2021-03-26 09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/debian/control   2021-11-16 18:10:15.000000000 +0100
@@ -10,9 +10,9 @@
                libtool,
                pkg-config,
                python3-minimal,
-               libosmocore-dev (>= 1.5.0),
+               libosmocore-dev (>= 1.6.0),
                libusb-1.0-0-dev,
-               osmo-gsm-manuals-dev (>= 1.1.0)
+               osmo-gsm-manuals-dev (>= 1.2.0)
 Standards-Version: 3.9.8
 Vcs-Git: git://git.osmocom.org/osmo-e1d.git
 Vcs-Browser: https://git.osmocom.org/osmo-e1d/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/src/ctl.c new/osmo-e1d-0.2.2/src/ctl.c
--- old/osmo-e1d-0.2.1/src/ctl.c        2021-03-26 09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/src/ctl.c        2021-11-16 18:10:15.000000000 +0100
@@ -81,11 +81,25 @@
 _e1d_fill_ts_info(struct osmo_e1dp_ts_info *ti, struct e1_ts *ts)
 {
        ti->id = ts->id;
-       ti->cfg.mode = 0;
+
+       switch (ts->mode) {
+       case E1_TS_MODE_RAW:
+               ti->cfg.mode = E1DP_TSMODE_RAW;
+               break;
+       case E1_TS_MODE_HDLCFCS:
+               ti->cfg.mode = E1DP_TSMODE_HDLCFCS;
+               break;
+       case E1_TS_MODE_OFF:
+               ti->cfg.mode = E1DP_TSMODE_OFF;
+               break;
+       default:
+               LOGPTS(ts, DE1D, LOGL_NOTICE, "TS in unknown mode %u?x\n", 
ts->mode);
+               ti->cfg.mode = 0;
+               break;
+       }
        ti->status = 0;
 }
 
-
 void
 e1_ts_stop(struct e1_ts *ts)
 {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/src/e1d.h new/osmo-e1d-0.2.2/src/e1d.h
--- old/osmo-e1d-0.2.1/src/e1d.h        2021-03-26 09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/src/e1d.h        2021-11-16 18:10:15.000000000 +0100
@@ -35,7 +35,7 @@
        LINE_NODE
 };
 
-#define line_ctr_add(line, idx, add) rate_ctr_add(&(line)->ctrs->ctr[idx], add)
+#define line_ctr_add(line, idx, add) 
rate_ctr_add(rate_ctr_group_get_ctr((line)->ctrs, idx), add)
 
 enum e1d_line_ctr {
        LINE_CTR_LOS,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/osmo-e1d-0.2.1/src/log.c new/osmo-e1d-0.2.2/src/log.c
--- old/osmo-e1d-0.2.1/src/log.c        2021-03-26 09:34:49.000000000 +0100
+++ new/osmo-e1d-0.2.2/src/log.c        2021-11-16 18:10:15.000000000 +0100
@@ -30,12 +30,12 @@
 static const struct log_info_cat default_categories[] = {
        [DE1D] = {
                .name = "DE1D",
-               .loglevel = LOGL_DEBUG,
+               .loglevel = LOGL_INFO,
                .enabled = 1,
        },
        [DXFR] = {
                .name = "DXFR",
-               .loglevel = LOGL_DEBUG,
+               .loglevel = LOGL_NOTICE,
                .enabled = 1,
        },
 };

Reply via email to