Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ell for openSUSE:Factory checked in 
at 2026-02-12 17:25:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ell (Old)
 and      /work/SRC/openSUSE:Factory/.ell.new.1977 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ell"

Thu Feb 12 17:25:03 2026 rev:52 rq:1332435 version:0.81

Changes:
--------
--- /work/SRC/openSUSE:Factory/ell/ell.changes  2025-10-15 12:44:39.695093575 
+0200
+++ /work/SRC/openSUSE:Factory/.ell.new.1977/ell.changes        2026-02-12 
17:25:11.497753340 +0100
@@ -1,0 +2,6 @@
+Tue Feb 10 09:05:56 UTC 2026 - Luigi Baldoni <[email protected]>
+
+- Update to version 0.81
+  * Fix issue with systemd watchdog protocol handling.
+
+-------------------------------------------------------------------

Old:
----
  ell-0.80.tar.sign
  ell-0.80.tar.xz

New:
----
  ell-0.81.tar.sign
  ell-0.81.tar.xz

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

Other differences:
------------------
++++++ ell.spec ++++++
--- /var/tmp/diff_new_pack.AKE5dL/_old  2026-02-12 17:25:12.505796104 +0100
+++ /var/tmp/diff_new_pack.AKE5dL/_new  2026-02-12 17:25:12.505796104 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package ell
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # 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 @@
 
 %define lname   libell0
 Name:           ell
-Version:        0.80
+Version:        0.81
 Release:        0
 Summary:        Wireless setup and cryptography library
 License:        LGPL-2.1-or-later

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.AKE5dL/_old  2026-02-12 17:25:12.549797971 +0100
+++ /var/tmp/diff_new_pack.AKE5dL/_new  2026-02-12 17:25:12.553798140 +0100
@@ -1,5 +1,5 @@
-mtime: 1760379513
-commit: bb57a75f7170d588a94db8c26a30109f0bc46ac46d8425879a3cb5247d9ffb2f
+mtime: 1770715874
+commit: 2fb73af42b792cd5def75eb7c33f3fe28b7aa437a6348c7f2094fdf4c36dc58d
 url: https://src.opensuse.org/jengelh/ell
 revision: master
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-02-11 10:33:55.000000000 +0100
@@ -0,0 +1 @@
+.osc

++++++ ell-0.80.tar.xz -> ell-0.81.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.80/ChangeLog new/ell-0.81/ChangeLog
--- old/ell-0.80/ChangeLog      2025-09-23 16:36:05.000000000 +0200
+++ new/ell-0.81/ChangeLog      2025-11-21 15:06:25.000000000 +0100
@@ -1,3 +1,6 @@
+ver 0.81:
+       Fix issue with systemd watchdog protocol handling.
+
 ver 0.80:
        Fix issue with ECDHE client key exchange.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.80/configure new/ell-0.81/configure
--- old/ell-0.80/configure      2025-09-23 16:37:45.000000000 +0200
+++ new/ell-0.81/configure      2025-11-21 15:08:35.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.72 for ell 0.80.
+# Generated by GNU Autoconf 2.72 for ell 0.81.
 #
 #
 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
@@ -611,8 +611,8 @@
 # Identity of this package.
 PACKAGE_NAME='ell'
 PACKAGE_TARNAME='ell'
-PACKAGE_VERSION='0.80'
-PACKAGE_STRING='ell 0.80'
+PACKAGE_VERSION='0.81'
+PACKAGE_STRING='ell 0.81'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1380,7 +1380,7 @@
   # Omit some internal or obsolete options to make the list less imposing.
   # This message is too long to be a string in the A/UX 3.1 sh.
   cat <<_ACEOF
-'configure' configures ell 0.80 to adapt to many kinds of systems.
+'configure' configures ell 0.81 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1451,7 +1451,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ell 0.80:";;
+     short | recursive ) echo "Configuration of ell 0.81:";;
    esac
   cat <<\_ACEOF
 
@@ -1581,7 +1581,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-ell configure 0.80
+ell configure 0.81
 generated by GNU Autoconf 2.72
 
 Copyright (C) 2023 Free Software Foundation, Inc.
@@ -1805,7 +1805,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by ell $as_me 0.80, which was
+It was created by ell $as_me 0.81, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   $ $0$ac_configure_args_raw
@@ -3106,7 +3106,7 @@
 
 # Define the identity of the package.
  PACKAGE='ell'
- VERSION='0.80'
+ VERSION='0.81'
 
 
 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
@@ -14371,7 +14371,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by ell $as_me 0.80, which was
+This file was extended by ell $as_me 0.81, which was
 generated by GNU Autoconf 2.72.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -14439,7 +14439,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config='$ac_cs_config_escaped'
 ac_cs_version="\\
-ell config.status 0.80
+ell config.status 0.81
 configured by $0, generated by GNU Autoconf 2.72,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.80/configure.ac new/ell-0.81/configure.ac
--- old/ell-0.80/configure.ac   2025-09-23 16:36:05.000000000 +0200
+++ new/ell-0.81/configure.ac   2025-11-21 15:06:25.000000000 +0100
@@ -1,5 +1,5 @@
 AC_PREREQ([2.69])
-AC_INIT([ell],[0.80])
+AC_INIT([ell],[0.81])
 
 AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_AUX_DIR(build-aux)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.80/ell/main.c new/ell-0.81/ell/main.c
--- old/ell-0.80/ell/main.c     2024-02-06 18:44:14.000000000 +0100
+++ new/ell-0.81/ell/main.c     2025-11-21 15:06:25.000000000 +0100
@@ -350,6 +350,7 @@
        const char *sock;
        struct sockaddr_un addr;
        const char *watchdog_usec;
+       socklen_t len;
        int msec;
 
        /* check if NOTIFY_SOCKET has been set */
@@ -370,11 +371,12 @@
        memset(&addr, 0, sizeof(addr));
        addr.sun_family = AF_UNIX;
        strncpy(addr.sun_path, sock, sizeof(addr.sun_path) - 1);
+       len = offsetof(struct sockaddr_un, sun_path) + strlen(sock);
 
        if (addr.sun_path[0] == '@')
                addr.sun_path[0] = '\0';
 
-       if (bind(notify_fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
+       if (connect(notify_fd, (struct sockaddr *) &addr, len) < 0) {
                close(notify_fd);
                notify_fd = 0;
                return;
@@ -498,6 +500,7 @@
        if (unlikely(epoll_running))
                return EXIT_FAILURE;
 
+       sd_notify("READY=1");
        epoll_running = true;
 
        for (;;) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.80/unit/test-main.c 
new/ell-0.81/unit/test-main.c
--- old/ell-0.80/unit/test-main.c       2025-02-12 23:42:15.000000000 +0100
+++ new/ell-0.81/unit/test-main.c       2025-11-21 15:06:25.000000000 +0100
@@ -14,6 +14,9 @@
 #include <assert.h>
 #include <limits.h>
 #include <signal.h>
+#include <stdlib.h>
+#include <sys/socket.h>
+#include <sys/un.h>
 
 #include <ell/ell.h>
 
@@ -123,11 +126,78 @@
        assert(l_main_exit());
 }
 
+static int sock_bind(const char *sock)
+{
+       struct sockaddr_un addr;
+       socklen_t len;
+       int fd;
+
+       fd = socket(AF_UNIX, SOCK_DGRAM | SOCK_CLOEXEC | SOCK_NONBLOCK, 0);
+       assert(fd >= 0);
+
+       memset(&addr, 0, sizeof(addr));
+       addr.sun_family = AF_UNIX;
+       strncpy(addr.sun_path, sock, sizeof(addr.sun_path) - 1);
+       len = offsetof(struct sockaddr_un, sun_path) + strlen(sock);
+
+       if (addr.sun_path[0] == '@')
+               addr.sun_path[0] = '\0';
+
+       assert(!bind(fd, (struct sockaddr *) &addr, len));
+
+       return fd;
+}
+
+static void test_sd_notify(const void *data)
+{
+       struct l_timeout *timeout_quit;
+       char sock[] = "/tmp/ell-notify.XXXXXX";
+       bool abstract = L_PTR_TO_INT(data);
+       int exit_status;
+       char buf[4096];
+       int fd;
+
+       /* Create a unique temporary path. */
+       assert(!close(mkstemp(sock)));
+       assert(!unlink(sock));
+
+       if (abstract)
+               sock[0] = '@';
+
+       fd = sock_bind(sock);
+
+       setenv("NOTIFY_SOCKET", sock, 1);
+       setenv("WATCHDOG_USEC", "1000000", 1);
+
+       assert(l_main_init());
+
+       timeout_quit = l_timeout_create(1, timeout_quit_handler, NULL, NULL);
+       assert(timeout_quit);
+
+       exit_status = l_main_run_with_signal(signal_handler, NULL);
+       assert(exit_status == EXIT_SUCCESS);
+
+       assert(l_main_exit());
+
+       assert(recv(fd, buf, sizeof(buf), MSG_TRUNC) == 7);
+       assert(strncmp(buf, "READY=1", 7) == 0);
+
+       assert(recv(fd, buf, sizeof(buf), MSG_TRUNC) == 10);
+       assert(strncmp(buf, "WATCHDOG=1", 10) == 0);
+
+       if (!abstract)
+               unlink(sock);
+
+       close(fd);
+}
+
 int main(int argc, char *argv[])
 {
        l_test_init(&argc, &argv);
 
        l_test_add("main", test_main, NULL);
+       l_test_add("sd_notify path", test_sd_notify, L_INT_TO_PTR(false));
+       l_test_add("sd_notify abstract", test_sd_notify, L_INT_TO_PTR(true));
 
        return l_test_run();
 }

Reply via email to