Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package ell for openSUSE:Factory checked in 
at 2021-11-24 23:54:18
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ell (Old)
 and      /work/SRC/openSUSE:Factory/.ell.new.1895 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "ell"

Wed Nov 24 23:54:18 2021 rev:25 rq:933119 version:0.46

Changes:
--------
--- /work/SRC/openSUSE:Factory/ell/ell.changes  2021-11-06 18:17:55.672881352 
+0100
+++ /work/SRC/openSUSE:Factory/.ell.new.1895/ell.changes        2021-11-24 
23:54:33.952460217 +0100
@@ -1,0 +2,7 @@
+Mon Nov 22 12:46:42 UTC 2021 - Malte Ohmstede <malte.ohmst...@gmail.com>
+
+- update to release 0.46
+  * Fix issue with DHCP server when OPTION_ROUTER is not configured.
+  * Fix issue with DHCP obtained lease to retrieve it properly.
+
+-------------------------------------------------------------------

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

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

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

Other differences:
------------------
++++++ ell.spec ++++++
--- /var/tmp/diff_new_pack.BgwGCN/_old  2021-11-24 23:54:34.480458445 +0100
+++ /var/tmp/diff_new_pack.BgwGCN/_new  2021-11-24 23:54:34.484458432 +0100
@@ -18,7 +18,7 @@
 
 %define lname   libell0
 Name:           ell
-Version:        0.45
+Version:        0.46
 Release:        0
 Summary:        Wireless setup and cryptography library
 License:        LGPL-2.1-or-later

++++++ ell-0.45.tar.xz -> ell-0.46.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.45/ChangeLog new/ell-0.46/ChangeLog
--- old/ell-0.45/ChangeLog      2021-11-02 15:41:44.000000000 +0100
+++ new/ell-0.46/ChangeLog      2021-11-18 20:53:14.000000000 +0100
@@ -1,3 +1,7 @@
+ver 0.46:
+       Fix issue with DHCP server when OPTION_ROUTER is not configured.
+       Fix issue with DHCP obtained lease to retrieve it properly.
+
 ver 0.45:
        Fix issue with ICMPv6 and handling re-entrantly callbacks.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.45/README new/ell-0.46/README
--- old/ell-0.45/README 2021-06-11 20:09:50.000000000 +0200
+++ new/ell-0.46/README 2021-11-18 20:53:14.000000000 +0100
@@ -49,7 +49,7 @@
 ===========
 
 Mailing list:
-       e...@lists.01.org
+       ell@@lists.linux.dev
 
 IRC:
        irc://irc.oftc.net/#ell
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.45/configure new/ell-0.46/configure
--- old/ell-0.45/configure      2021-11-02 15:45:38.000000000 +0100
+++ new/ell-0.46/configure      2021-11-18 20:54:52.000000000 +0100
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for ell 0.45.
+# Generated by GNU Autoconf 2.69 for ell 0.46.
 #
 #
 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
@@ -587,8 +587,8 @@
 # Identity of this package.
 PACKAGE_NAME='ell'
 PACKAGE_TARNAME='ell'
-PACKAGE_VERSION='0.45'
-PACKAGE_STRING='ell 0.45'
+PACKAGE_VERSION='0.46'
+PACKAGE_STRING='ell 0.46'
 PACKAGE_BUGREPORT=''
 PACKAGE_URL=''
 
@@ -1350,7 +1350,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.45 to adapt to many kinds of systems.
+\`configure' configures ell 0.46 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1421,7 +1421,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of ell 0.45:";;
+     short | recursive ) echo "Configuration of ell 0.46:";;
    esac
   cat <<\_ACEOF
 
@@ -1548,7 +1548,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-ell configure 0.45
+ell configure 0.46
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -1913,7 +1913,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.45, which was
+It was created by ell $as_me 0.46, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2776,7 +2776,7 @@
 
 # Define the identity of the package.
  PACKAGE='ell'
- VERSION='0.45'
+ VERSION='0.46'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -13646,7 +13646,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.45, which was
+This file was extended by ell $as_me 0.46, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -13712,7 +13712,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-ell config.status 0.45
+ell config.status 0.46
 configured by $0, generated by GNU Autoconf 2.69,
   with options \\"\$ac_cs_config\\"
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.45/configure.ac new/ell-0.46/configure.ac
--- old/ell-0.45/configure.ac   2021-11-02 15:43:45.000000000 +0100
+++ new/ell-0.46/configure.ac   2021-11-18 20:53:14.000000000 +0100
@@ -1,5 +1,5 @@
 AC_PREREQ(2.60)
-AC_INIT(ell, 0.45)
+AC_INIT(ell, 0.46)
 
 AC_CONFIG_HEADERS(config.h)
 AC_CONFIG_AUX_DIR(build-aux)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.45/ell/dhcp-server.c 
new/ell-0.46/ell/dhcp-server.c
--- old/ell-0.45/ell/dhcp-server.c      2021-09-14 21:48:51.000000000 +0200
+++ new/ell-0.46/ell/dhcp-server.c      2021-11-18 20:53:14.000000000 +0100
@@ -1032,10 +1032,6 @@
                server->address = ia.s_addr;
        }
 
-       /* Assign a default gateway if not already set */
-       if (!server->gateway)
-               server->gateway = server->address;
-
        /* Assign a default netmask if not already */
        if (!server->netmask) {
                if (inet_pton(AF_INET,"255.255.255.0", &ia) != 1)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.45/ell/dhcp6.c new/ell-0.46/ell/dhcp6.c
--- old/ell-0.45/ell/dhcp6.c    2021-03-29 14:19:13.000000000 +0200
+++ new/ell-0.46/ell/dhcp6.c    2021-11-18 20:53:14.000000000 +0100
@@ -850,6 +850,14 @@
                client->event_handler(client, event, client->event_data);
 }
 
+static void dhcp6_client_enter_state(struct l_dhcp6_client *client,
+                                       enum dhcp6_state new_state)
+{
+       client->state = new_state;
+       l_util_debug(client->debug_handler, client->debug_data,
+                       "Entering state: %s", dhcp6_state_to_str(new_state));
+}
+
 static inline void dhcp6_client_new_transaction(struct l_dhcp6_client *client,
                                                enum dhcp6_state new_state)
 {
@@ -858,9 +866,7 @@
        client->transaction_id = l_getrandom_uint32() & 0x00FFFFFFU;
        client->transaction_start_t = 0;
 
-       client->state = new_state;
-       l_util_debug(client->debug_handler, client->debug_data,
-                       "Entering state: %s", dhcp6_state_to_str(new_state));
+       dhcp6_client_enter_state(client, new_state);
 }
 
 static void dhcp6_client_timeout_send(struct l_timeout *timeout,
@@ -960,21 +966,27 @@
 {
        uint32_t t1 = _dhcp6_lease_get_t1(client->lease);
        uint32_t t2 = _dhcp6_lease_get_t2(client->lease);
+       enum l_dhcp6_client_event event;
 
        client->lease_start_t = l_time_now();
 
        /* TODO: Emit IP_CHANGED if any addresses were removed / added */
        if (client->state == DHCP6_STATE_REQUESTING ||
                        client->state == DHCP6_STATE_SOLICITING)
-               dhcp6_client_event_notify(client,
-                                       L_DHCP6_CLIENT_EVENT_LEASE_OBTAINED);
+               event = L_DHCP6_CLIENT_EVENT_LEASE_OBTAINED;
        else
-               dhcp6_client_event_notify(client,
-                                       L_DHCP6_CLIENT_EVENT_LEASE_RENEWED);
+               event = L_DHCP6_CLIENT_EVENT_LEASE_RENEWED;
 
        l_timeout_remove(client->timeout_lease);
        client->timeout_lease = NULL;
 
+       /*
+        * Switch over to BOUND state so that l_dhcp6_client_get_lease() will
+        * return the lease properly
+        */
+       dhcp6_client_enter_state(client, DHCP6_STATE_BOUND);
+       dhcp6_client_event_notify(client, event);
+
        if (t1 == 0xffffffff || t2 == 0xffffffff) {
                CLIENT_DEBUG("T1 (%u) or T2 (%u) was infinite", t1, t2);
                return;
@@ -1402,7 +1414,6 @@
                l_timeout_remove(client->timeout_send);
                client->timeout_send = NULL;
                dhcp6_client_setup_lease(client);
-               dhcp6_client_new_transaction(client, r);
                return;
        }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/ell-0.45/ell/log.h new/ell-0.46/ell/log.h
--- old/ell-0.45/ell/log.h      2020-09-05 09:26:19.000000000 +0200
+++ new/ell-0.46/ell/log.h      2021-11-18 20:53:14.000000000 +0100
@@ -61,12 +61,20 @@
        unsigned int flags;
 } __attribute__((aligned(8)));
 
+/*
+ * Set the retain attribute so that the section cannot be discarded by ld
+ * --gc-sections -z start-stop-gc. Older compilers would warn for the unknown
+ *  attribute, so just disable -Wattributes.
+ */
 #define L_DEBUG_SYMBOL(symbol, format, ...) do { \
+_Pragma("GCC diagnostic push") \
+_Pragma("GCC diagnostic ignored \"-Wattributes\"") \
        static struct l_debug_desc symbol \
-       __attribute__((used, section("__ell_debug"), aligned(8))) = { \
+       __attribute__((used, retain, section("__ell_debug"), aligned(8))) = { \
                .file = __FILE__, .func = __func__, \
                .flags = L_DEBUG_FLAG_DEFAULT, \
        }; \
+_Pragma("GCC diagnostic pop") \
        if (symbol.flags & L_DEBUG_FLAG_PRINT) \
                l_log(L_LOG_DEBUG, "%s:%s() " format, __FILE__, \
                                        __func__ , ##__VA_ARGS__); \

Reply via email to