Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package neard for openSUSE:Factory checked 
in at 2023-01-17 17:35:40
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/neard (Old)
 and      /work/SRC/openSUSE:Factory/.neard.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "neard"

Tue Jan 17 17:35:40 2023 rev:13 rq:1058865 version:0.18

Changes:
--------
--- /work/SRC/openSUSE:Factory/neard/neard.changes      2021-10-27 
22:21:43.187214471 +0200
+++ /work/SRC/openSUSE:Factory/.neard.new.32243/neard.changes   2023-01-17 
17:35:51.501369430 +0100
@@ -1,0 +2,8 @@
+Mon Dec  5 06:52:28 UTC 2022 - Dirk Müller <[email protected]>
+
+- update to release 0.18:
+  * Fixed configure with newer autoconf v2.71.
+  * Made missing autoconf-archive messages nicer.
+  * Fixed minor uninitialized access reported by Valgrind.
+
+-------------------------------------------------------------------

Old:
----
  neard-0.17.tar.gz

New:
----
  neard-0.18.tar.gz

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

Other differences:
------------------
++++++ neard.spec ++++++
--- /var/tmp/diff_new_pack.fe2gzb/_old  2023-01-17 17:35:52.041372476 +0100
+++ /var/tmp/diff_new_pack.fe2gzb/_new  2023-01-17 17:35:52.049372520 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package neard
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 # Copyright (c) 2010-2012 B1 Systems GmbH, Vohburg, Germany
 #
 # All modifications and additions to the file contributed by third parties
@@ -18,7 +18,7 @@
 
 
 Name:           neard
-Version:        0.17
+Version:        0.18
 Release:        0
 Summary:        NFC for Linux
 License:        GPL-2.0-only

++++++ neard-0.17.tar.gz -> neard-0.18.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/.github/workflows/ci.yml 
new/neard-0.18/.github/workflows/ci.yml
--- old/neard-0.17/.github/workflows/ci.yml     2021-09-22 13:20:54.000000000 
+0200
+++ new/neard-0.18/.github/workflows/ci.yml     2021-11-22 13:55:46.000000000 
+0100
@@ -23,9 +23,18 @@
         compiler: [gcc, clang]
         container:
           - alpine:latest
+          - archlinux:latest
           - debian:testing
           - debian:stable
+          - debian:bullseye
+          - debian:buster
+          - debian:stretch
+          # Fails on configure on GCC and clang (process restrictions?)
+          # - fedora:rawhide
           - fedora:latest
+          - fedora:33
+          - fedora:32
+          - ubuntu:impish
           - ubuntu:hirsute
           - ubuntu:focal
           - ubuntu:bionic
@@ -35,6 +44,20 @@
         variant: [""]
         include:
           # Debian 32-bit builds
+          - container: "debian:testing"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: maintainer
+            variant: i386
+
+          - container: "debian:testing"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: no-maintainer
+            variant: i386
+
           - container: "debian:stable"
             arch: i386
             compiler: gcc -m32
@@ -49,7 +72,63 @@
             mode: no-maintainer
             variant: i386
 
+          - container: "debian:buster"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: maintainer
+            variant: i386
+
+          - container: "debian:buster"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: no-maintainer
+            variant: i386
+
+          - container: "debian:stretch"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: maintainer
+            variant: i386
+
+          - container: "debian:stretch"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: no-maintainer
+            variant: i386
+
           # Debian cross compilation builds
+          - container: "debian:testing"
+            arch: armel
+            compiler: arm-linux-gnueabi-gcc
+            cross_compile: arm-linux-gnueabi
+            mode: maintainer
+            variant: cross-compile
+
+          - container: "debian:testing"
+            arch: arm64
+            compiler: aarch64-linux-gnu-gcc
+            cross_compile: aarch64-linux-gnu
+            mode: maintainer
+            variant: cross-compile
+
+          - container: "debian:testing"
+            arch: ppc64el
+            compiler: powerpc64le-linux-gnu-gcc
+            cross_compile: powerpc64le-linux-gnu
+            mode: maintainer
+            variant: cross-compile
+
+          - container: "debian:testing"
+            arch: s390x
+            compiler: s390x-linux-gnu-gcc
+            cross_compile: s390x-linux-gnu
+            mode: maintainer
+            variant: cross-compile
+
           - container: "debian:stable"
             arch: armel
             compiler: arm-linux-gnueabi-gcc
@@ -79,19 +158,39 @@
             variant: cross-compile
 
           # Debian GCC sanitizer builds
+          - container: "debian:testing"
+            arch: x86-64
+            compiler: gcc
+            mode: maintainer
+            variant: sanitizers
+
           - container: "debian:stable"
             arch: x86-64
             compiler: gcc
             mode: maintainer
             variant: sanitizers
 
-          - container: "debian:testing"
+          - container: "debian:buster"
             arch: x86-64
             compiler: gcc
             mode: maintainer
             variant: sanitizers
 
           # Ubuntu 32-bit builds
+          - container: "ubuntu:impish"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: maintainer
+            variant: i386
+
+          - container: "ubuntu:impish"
+            arch: i386
+            compiler: gcc -m32
+            cross_compile: i686-linux-gnu
+            mode: no-maintainer
+            variant: i386
+
           - container: "ubuntu:hirsute"
             arch: i386
             compiler: gcc -m32
@@ -121,6 +220,12 @@
             variant: i386
 
           # Ubuntu GCC sanitizer builds
+          - container: "ubuntu:impish"
+            arch: x86-64
+            compiler: gcc
+            mode: maintainer
+            variant: sanitizers
+
           - container: "ubuntu:hirsute"
             arch: x86-64
             compiler: gcc
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/ChangeLog new/neard-0.18/ChangeLog
--- old/neard-0.17/ChangeLog    2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/ChangeLog    2021-11-22 13:55:46.000000000 +0100
@@ -1,3 +1,10 @@
+ver 0.18
+       Fixed configure with newer autoconf v2.71.
+       Made missing autoconf-archive messages nicer.
+       Fixed minor uninitialized access reported by Valgrind.
+       Fixed build on Debian Stretch.
+       Extended Continuous Integration builds.
+
 ver 0.17
        Added support for TI Standard and Pro Type 5 tag.
        Fixed several bugs (memory leaks, double frees, uninitialized
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/HACKING new/neard-0.18/HACKING
--- old/neard-0.17/HACKING      2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/HACKING      2021-11-22 13:55:46.000000000 +0100
@@ -16,8 +16,9 @@
   libnl-3
   libnl-genl-3
   make
+  pkg-config
 
-See also installation scripts for  Continuous Integration in ci/ directory.
+See also installation scripts for different systems in ci/ directory.
 
 
 Working with the source code repository
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/accflags.m4 new/neard-0.18/accflags.m4
--- old/neard-0.17/accflags.m4  2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/accflags.m4  2021-11-22 13:55:46.000000000 +0100
@@ -1,7 +1,9 @@
 AC_DEFUN([NEARD_COMPILER_FLAGS], [
        # AX_CHECK_COMPILE_FLAG comes from autoconf-archive
        AC_REQUIRE([AC_PROG_CC])
-       AC_REQUIRE([AX_CHECK_COMPILE_FLAG])
+       m4_ifndef([AX_CHECK_COMPILE_FLAG],[
+               AC_MSG_ERROR([You need to install the autoconf-archive 
package.])
+       ])
 
        if (test "${CFLAGS}" = ""); then
                CFLAGS="-Wall -O2 -D_FORTIFY_SOURCE=2"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/ci/alpine.sh new/neard-0.18/ci/alpine.sh
--- old/neard-0.17/ci/alpine.sh 2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/ci/alpine.sh 2021-11-22 13:55:46.000000000 +0100
@@ -20,6 +20,9 @@
        ;;
 esac
 
+# Packages needed by CI
+PKGS_MORE="file"
+
 # gzip: for distcheck
 apk add \
        autoconf \
@@ -33,10 +36,8 @@
        libtool \
        make \
        musl-dev \
-       $PKGS_CC
-
-# Packages needed by CI
-apk add \
-       file
+       pkgconfig \
+       $PKGS_CC \
+       $PKGS_MORE
 
 echo "Install finished: $0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/ci/archlinux.sh 
new/neard-0.18/ci/archlinux.sh
--- old/neard-0.17/ci/archlinux.sh      1970-01-01 01:00:00.000000000 +0100
+++ new/neard-0.18/ci/archlinux.sh      2021-11-22 13:55:46.000000000 +0100
@@ -0,0 +1,30 @@
+#!/bin/sh
+# SPDX-License-Identifier: GPL-2.0
+#
+# Copyright (c) 2021 Canonical Ltd.
+# Author: Krzysztof Kozlowski <[email protected]>
+#                             <[email protected]>
+#
+
+set -ex
+
+PKGS_CC="gcc"
+case $CC in
+       clang*)
+               PKGS_CC="clang"
+       ;;
+esac
+
+pacman -Sy --noconfirm \
+       autoconf \
+       autoconf-archive \
+       automake \
+       dbus \
+       glib2 \
+       libnl \
+       libtool \
+       make \
+       pkg-config \
+       $PKGS_CC
+
+echo "Install finished: $0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/ci/debian.sh new/neard-0.18/ci/debian.sh
--- old/neard-0.17/ci/debian.sh 2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/ci/debian.sh 2021-11-22 13:55:46.000000000 +0100
@@ -36,6 +36,7 @@
        libnl-genl-3-dev \
        libtool \
        make \
+       pkg-config \
        $PKGS_CC
 
 echo "Install finished: $0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/ci/fedora.sh new/neard-0.18/ci/fedora.sh
--- old/neard-0.17/ci/fedora.sh 2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/ci/fedora.sh 2021-11-22 13:55:46.000000000 +0100
@@ -15,19 +15,22 @@
        ;;
 esac
 
-yum -y install \
+# Packages needed by CI
+PKGS_MORE="file"
+
+# diffutils: Rawhide/35 needs "cmp" for configure
+dnf -y install \
        autoconf \
        autoconf-archive \
        automake \
        dbus-devel \
+       diffutils \
        glib2-devel \
        libnl3-devel \
        libtool \
        make \
-       $PKGS_CC
-
-# Packages needed by CI
-yum -y install \
-       file
+       pkg-config \
+       $PKGS_CC \
+       $PKGS_MORE
 
 echo "Install finished: $0"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/configure.ac new/neard-0.18/configure.ac
--- old/neard-0.17/configure.ac 2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/configure.ac 2021-11-22 13:55:46.000000000 +0100
@@ -1,5 +1,5 @@
-AC_PREREQ(2.60)
-AC_INIT(neard, 0.17, [[email protected]])
+AC_PREREQ([2.60])
+AC_INIT([neard],[0.18],[[email protected]])
 AC_CONFIG_MACRO_DIR([m4])
 
 AM_INIT_AUTOMAKE([foreign subdir-objects color-tests])
@@ -109,7 +109,7 @@
 AC_CHECK_LIB(asan, _init)
 LIBS=$save_LIBS
 
-AC_ARG_ENABLE(asan, AC_HELP_STRING([--enable-asan],
+AC_ARG_ENABLE(asan, AS_HELP_STRING([--enable-asan],
                        [enable linking with address sanitizer]), [
        if (test "${enableval}" = "yes" &&
                                test "${ac_cv_lib_asan__init}" = "yes" &&
@@ -123,7 +123,7 @@
 AC_CHECK_LIB(lsan, _init)
 LIBS=$save_LIBS
 
-AC_ARG_ENABLE(lsan, AC_HELP_STRING([--enable-lsan],
+AC_ARG_ENABLE(lsan, AS_HELP_STRING([--enable-lsan],
                        [enable linking with leak sanitizer]), [
        if (test "${enableval}" = "yes" &&
                                test "${ac_cv_lib_lsan__init}" = "yes" &&
@@ -137,7 +137,7 @@
 AC_CHECK_LIB(ubsan, _init)
 LIBS=$save_LIBS
 
-AC_ARG_ENABLE(ubsan, AC_HELP_STRING([--enable-ubsan],
+AC_ARG_ENABLE(ubsan, AS_HELP_STRING([--enable-ubsan],
                        [enable linking with undefined behavior sanitizer]), [
        if (test "${enableval}" = "yes" &&
                                test "${ac_cv_lib_ubsan__init}" = "yes" &&
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/include/types.h 
new/neard-0.18/include/types.h
--- old/neard-0.17/include/types.h      2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/include/types.h      2021-11-22 13:55:46.000000000 +0100
@@ -23,6 +23,7 @@
 #define __NEAR_TYPES_H
 
 #include <byteswap.h>
+#include <endian.h>
 
 #define near_get_unaligned(ptr)                        \
 ({                                             \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/neard-0.17/src/adapter.c new/neard-0.18/src/adapter.c
--- old/neard-0.17/src/adapter.c        2021-09-22 13:20:54.000000000 +0200
+++ new/neard-0.18/src/adapter.c        2021-11-22 13:55:46.000000000 +0100
@@ -1036,9 +1036,10 @@
 
 int near_adapter_connect(uint32_t idx, uint32_t target_idx, uint8_t protocol)
 {
+       struct sockaddr_storage addr_storage = {};
        struct near_adapter *adapter;
+       struct sockaddr_nfc *addr;
        struct near_tag *tag;
-       struct sockaddr_nfc addr;
        int err, sock;
 
        DBG("idx %u", idx);
@@ -1059,12 +1060,13 @@
        if (sock == -1)
                return -errno;
 
-       addr.sa_family = AF_NFC;
-       addr.dev_idx = idx;
-       addr.target_idx = target_idx;
-       addr.nfc_protocol = protocol;
+       addr = (struct sockaddr_nfc *)&addr_storage;
+       addr->sa_family = AF_NFC;
+       addr->dev_idx = idx;
+       addr->target_idx = target_idx;
+       addr->nfc_protocol = protocol;
 
-       err = connect(sock, (struct sockaddr *) &addr, sizeof(addr));
+       err = connect(sock, (struct sockaddr *) addr, sizeof(*addr));
        if (err) {
                close(sock);
                return -errno;

Reply via email to