Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package usbguard for openSUSE:Factory checked in at 2022-03-29 18:14:19 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/usbguard (Old) and /work/SRC/openSUSE:Factory/.usbguard.new.1900 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "usbguard" Tue Mar 29 18:14:19 2022 rev:16 rq:964868 version:1.1.1 Changes: -------- --- /work/SRC/openSUSE:Factory/usbguard/usbguard.changes 2022-02-25 21:25:49.431646361 +0100 +++ /work/SRC/openSUSE:Factory/.usbguard.new.1900/usbguard.changes 2022-03-29 18:14:33.843080964 +0200 @@ -1,0 +2,13 @@ +Wed Mar 16 13:02:20 UTC 2022 - Robert Frohl <rfr...@suse.com> + +- update to 1.1.1 + * Fixed/Changed + - Use authentication instead of authentification + - Restore support for access control filenames without a group + +------------------------------------------------------------------- +Tue Mar 1 16:31:24 UTC 2022 - Robert Frohl <rfr...@suse.com> + +- Enable dbus support (bsc#1196621). + +------------------------------------------------------------------- Old: ---- usbguard-1.1.0.tar.gz usbguard-1.1.0.tar.gz.sum.asc New: ---- usbguard-1.1.1.tar.gz usbguard-1.1.1.tar.gz.sum.asc ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ usbguard.spec ++++++ --- /var/tmp/diff_new_pack.CuT0ap/_old 2022-03-29 18:14:34.471081542 +0200 +++ /var/tmp/diff_new_pack.CuT0ap/_new 2022-03-29 18:14:34.475081545 +0200 @@ -19,7 +19,7 @@ %global _hardened_build 1 %define lname libusbguard1 Name: usbguard -Version: 1.1.0 +Version: 1.1.1 Release: 0 Summary: A tool for implementing USB device usage policy ## Not installed @@ -112,7 +112,7 @@ --with-bundled-catch \ --with-bundled-pegtl \ --enable-systemd \ - --without-dbus \ + --with-dbus \ --disable-static make %{?_smp_mflags} @@ -142,16 +142,16 @@ find %{buildroot} \( -name '*.la' -o -name '*.a' \) -delete %preun -%service_del_preun usbguard.service +%service_del_preun usbguard.service usbguard-dbus.service %post -%service_add_post usbguard.service +%service_add_post usbguard.service usbguard-dbus.service %postun -%service_del_postun usbguard.service +%service_del_postun usbguard.service usbguard-dbus.service %pre -%service_add_pre usbguard.service +%service_add_pre usbguard.service usbguard-dbus.service %post -n %{lname} -p /sbin/ldconfig %postun -n %{lname} -p /sbin/ldconfig @@ -163,17 +163,23 @@ %dir %{_localstatedir}/log/usbguard %dir %{_sysconfdir}/usbguard %{_sbindir}/rcusbguard +%{_sbindir}/usbguard-dbus %dir %{_sysconfdir}/usbguard/IPCAccessControl.d %config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/usbguard-daemon.conf %config(noreplace) %attr(0600,-,-) %{_sysconfdir}/usbguard/rules.conf %{_unitdir}/usbguard.service +%{_unitdir}/usbguard-dbus.service %{_mandir}/man8/usbguard-daemon.8%{?ext_man} +%{_mandir}/man8/usbguard-dbus.8%{?ext_man} %{_mandir}/man5/usbguard-daemon.conf.5%{?ext_man} %{_mandir}/man5/usbguard-rules.conf.5%{?ext_man} %{_datadir}/bash-completion/completions/usbguard %dir %{_datadir}/zsh %dir %{_datadir}/zsh/site-functions %{_datadir}/zsh/site-functions/_usbguard +%{_datadir}/dbus-1/system-services/org.usbguard1.service +%{_datadir}/dbus-1/system.d/org.usbguard1.conf +%{_datadir}/polkit-1/actions/org.usbguard1.policy %files -n %{lname} %license LICENSE ++++++ usbguard-1.1.0.tar.gz -> usbguard-1.1.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/usbguard-1.1.0/CHANGELOG.md new/usbguard-1.1.1/CHANGELOG.md --- old/usbguard-1.1.0/CHANGELOG.md 2022-02-24 15:18:54.600417681 +0100 +++ new/usbguard-1.1.1/CHANGELOG.md 2022-03-15 18:04:54.370519923 +0100 @@ -1,5 +1,10 @@ # Change Log +## 1.1.1 - 2022-03-15 + +### Fixed +- Restore support for access control filenames without a group + ## 1.1.0 - 2022-02-24 ### Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/usbguard-1.1.0/VERSION new/usbguard-1.1.1/VERSION --- old/usbguard-1.1.0/VERSION 2022-02-24 14:02:41.273087257 +0100 +++ new/usbguard-1.1.1/VERSION 2022-03-15 16:56:38.552541268 +0100 @@ -1 +1 @@ -1.1.0 +1.1.1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/usbguard-1.1.0/config/ltmain.sh new/usbguard-1.1.1/config/ltmain.sh --- old/usbguard-1.1.0/config/ltmain.sh 2021-07-22 18:13:27.000000000 +0200 +++ new/usbguard-1.1.1/config/ltmain.sh 2022-02-22 18:24:49.000000000 +0100 @@ -2124,7 +2124,7 @@ # a configuration failure hint, and exit. func_fatal_configuration () { - func_fatal_error ${1+"$@"} \ + func__fatal_error ${1+"$@"} \ "See the $PACKAGE documentation for more information." \ "Fatal configuration error." } @@ -2415,17 +2415,10 @@ # preserve --debug test : = "$debug_cmd" || func_append preserve_args " --debug" - case $host in - # Solaris2 added to fix http://debbugs.gnu.org/cgi/bugreport.cgi?bug=16452 - # see also: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=59788 - *cygwin* | *mingw* | *pw32* | *cegcc* | *solaris2* | *os2*) - # don't eliminate duplications in $postdeps and $predeps - opt_duplicate_compiler_generated_deps=: - ;; - *) - opt_duplicate_compiler_generated_deps=$opt_preserve_dup_deps - ;; - esac + # Keeping compiler generated duplicates in $postdeps and $predeps is not + # harmful, and is necessary in a majority of systems that use it to satisfy + # symbol dependencies. + opt_duplicate_compiler_generated_deps=: $opt_help || { # Sanity checks first: @@ -7272,12 +7265,10 @@ # -tp=* Portland pgcc target processor selection # --sysroot=* for sysroot support # -O*, -g*, -flto*, -fwhopr*, -fuse-linker-plugin GCC link-time optimization - # -specs=* GCC specs files # -stdlib=* select c++ std lib with clang -64|-mips[0-9]|-r[0-9][0-9]*|-xarch=*|-xtarget=*|+DA*|+DD*|-q*|-m*| \ -t[45]*|-txscale*|-p|-pg|--coverage|-fprofile-*|-F*|@*|-tp=*|--sysroot=*| \ - -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*| \ - -specs=*) + -O*|-g*|-flto*|-fwhopr*|-fuse-linker-plugin|-fstack-protector*|-stdlib=*) func_quote_for_eval "$arg" arg=$func_quote_for_eval_result func_append compile_command " $arg" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/usbguard-1.1.0/configure new/usbguard-1.1.1/configure --- old/usbguard-1.1.0/configure 2022-02-24 15:21:14.251619665 +0100 +++ new/usbguard-1.1.1/configure 2022-03-15 18:06:56.349919730 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for usbguard 1.1.0. +# Generated by GNU Autoconf 2.69 for usbguard 1.1.1. # # Report bugs to <usbgu...@usbguard.org>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='usbguard' PACKAGE_TARNAME='usbguard' -PACKAGE_VERSION='1.1.0' -PACKAGE_STRING='usbguard 1.1.0' +PACKAGE_VERSION='1.1.1' +PACKAGE_STRING='usbguard 1.1.1' PACKAGE_BUGREPORT='usbgu...@usbguard.org' PACKAGE_URL='' @@ -1453,7 +1453,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 usbguard 1.1.0 to adapt to many kinds of systems. +\`configure' configures usbguard 1.1.1 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1524,7 +1524,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of usbguard 1.1.0:";; + short | recursive ) echo "Configuration of usbguard 1.1.1:";; esac cat <<\_ACEOF @@ -1707,7 +1707,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -usbguard configure 1.1.0 +usbguard configure 1.1.1 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2627,7 +2627,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by usbguard $as_me 1.1.0, which was +It was created by usbguard $as_me 1.1.1, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3495,7 +3495,7 @@ # Define the identity of the package. PACKAGE='usbguard' - VERSION='1.1.0' + VERSION='1.1.1' cat >>confdefs.h <<_ACEOF @@ -21750,7 +21750,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by usbguard $as_me 1.1.0, which was +This file was extended by usbguard $as_me 1.1.1, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -21816,7 +21816,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -usbguard config.status 1.1.0 +usbguard config.status 1.1.1 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/usbguard-1.1.0/src/DBus/DBusBridge.cpp new/usbguard-1.1.1/src/DBus/DBusBridge.cpp --- old/usbguard-1.1.0/src/DBus/DBusBridge.cpp 2022-02-24 11:28:52.017716261 +0100 +++ new/usbguard-1.1.1/src/DBus/DBusBridge.cpp 2022-03-15 16:51:11.184662841 +0100 @@ -464,11 +464,11 @@ } USBGUARD_LOG(Trace) << "Connected."; - USBGUARD_LOG(Trace) << "Customizing Polkit authentification dialog..."; + USBGUARD_LOG(Trace) << "Customizing Polkit authentication dialog..."; PolkitDetails* const details = polkit_details_new(); if (! details) { - USBGUARD_LOG(Trace) << "Failed to customize the Polkit authentification dialog."; + USBGUARD_LOG(Trace) << "Failed to customize the Polkit authentication dialog."; g_object_unref(authority); g_object_unref(subject); return false; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/usbguard-1.1.0/src/Daemon/Daemon.cpp new/usbguard-1.1.1/src/Daemon/Daemon.cpp --- old/usbguard-1.1.0/src/Daemon/Daemon.cpp 2022-02-24 11:28:52.018716268 +0100 +++ new/usbguard-1.1.1/src/Daemon/Daemon.cpp 2022-03-15 16:51:11.185662849 +0100 @@ -446,12 +446,25 @@ void Daemon::parseIPCAccessControlFilename(const std::string& basename, std::string* const ptr_user, std::string* const ptr_group) { + // There are five supported forms: + // - "<user>:<group>" + // - "<user>:" + // - "<user>" + // - ":<group>" + // - ":" const auto ug_separator = basename.find_first_of(":"); const bool has_group = ug_separator != std::string::npos; const std::string user = basename.substr(0, ug_separator); const std::string group = has_group ? basename.substr(ug_separator + 1) : std::string(); - checkIPCAccessControlName(user); - checkIPCAccessControlName(group); + + if (! user.empty()) { + checkIPCAccessControlName(user); + } + + if (! group.empty()) { + checkIPCAccessControlName(group); + } + *ptr_user = user; *ptr_group = group; } ++++++ usbguard-1.1.0.tar.gz.sum.asc -> usbguard-1.1.1.tar.gz.sum.asc ++++++ --- /work/SRC/openSUSE:Factory/usbguard/usbguard-1.1.0.tar.gz.sum.asc 2022-02-24 18:24:48.826637225 +0100 +++ /work/SRC/openSUSE:Factory/.usbguard.new.1900/usbguard-1.1.1.tar.gz.sum.asc 2022-03-29 18:14:33.827080950 +0200 @@ -1,15 +1,15 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 -a39104042b0c57f969c4e6580f6d80ad7066551eda966600695e644081128a2d usbguard-1.1.0.tar.gz +460ebfb4ffc5609739a202a3a1d9fda1c30de033b634845b8baa136352bfb432 usbguard-1.1.1.tar.gz -----BEGIN PGP SIGNATURE----- -iQEzBAEBCgAdFiEE42iwrWP0zIT/S4Xa9XeK14XjWB8FAmIXlhsACgkQ9XeK14Xj -WB9ZrQgAlMYql6OhMDba4sZQ23wd9cBpQVFT17Ik6m3tNTDDxWvoL9GVyvV0yVtd -to8zzKXKc8zEJ6ush/FtwAgNExx8ssKGojVyCwRpZJvo2ut1YTkF9D/JkcGB0Ml/ -O/ylYvV8/N/jej0C3yLH5zmSIKLv0RfyqvNkuC3xpgYSoKauRz0fVegJGfgJJExF -U5O9+XO/VURjLPgDU8YPC4k/y10X6qvvE93mpzlu2GDNcU2tLX7lUGh1zw4lYI7k -mwx5VOC3CKwsfzpleAKVF/l/qqJcjwETv/wlXJPLq/gZdXtZ0gDlT+z/NP/Ye3Xk -ayuMh6LssLYkecKRv3F0cGumUNk4rw== -=JPlq +iQEzBAEBCgAdFiEE42iwrWP0zIT/S4Xa9XeK14XjWB8FAmIwyB4ACgkQ9XeK14Xj +WB+fsQf/ft0xSW8Li93yR8+bSMBb0VSvG0quvlA63GRAOsMEPjECpkZI8VdIhOIz +05YLhU30yjosRub20LPfzxGU6sTqO7VJkUka3rartsn6EDwgh6xr3eDG6pLEOW5a +QIw+Cfoet3ZRERZ25v7rUaBGe3QKFDPFlTO+AyldyeIQMhsPxrAMeyQf0F+eWWOw +UbSTa5QSwFGgL19Ovvrya6d3hSubTgTs6Xm9VoHi3K/U/Rf+5XwTMF3WBiaVbWpO +lWf04bX+4WtoBYuXoQ6t1y46h9ggJ9mCeqsZJp5qKpt4K6LEzCp2Exj3K6wa/b/V +utUKQVqR1NVEppBjpTpupqVaHdUhhQ== +=reU9 -----END PGP SIGNATURE-----