[Buildroot] [PATCH 1/1] package/usbguard: bump to version 1.1.1

Arnout Vandecappelle arnout at mind.be
Sun Mar 27 15:55:48 UTC 2022



On 19/03/2022 20:34, Fabrice Fontaine wrote:
> - This bump fixes unauthorized access via D-Bus (CVE-2019-25058):
>    https://github.com/advisories/GHSA-p5wh-m4gj-x2mr
>    but dbus is disabled on buildroot
> - musl is supported since
>    https://github.com/USBGuard/usbguard/commit/b04e8deacac4f3f4a82a10b219c2d555e1b2aa24
> - C++17 is now mandatory:
>    https://github.com/USBGuard/usbguard/commit/8c86264986685bf646c65228abce2432e08e3c4c
> - Update hash of license file (use license file from gnu.org:
>    https://github.com/USBGuard/usbguard/commit/3292511ab164ce0bdf6d58f0369ce3993dded9ad)
> 
> https://github.com/USBGuard/usbguard/blob/usbguard-1.1.1/CHANGELOG.md
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   package/usbguard/Config.in     | 8 +++-----
>   package/usbguard/usbguard.hash | 6 ++++--
>   package/usbguard/usbguard.mk   | 2 +-
>   3 files changed, 8 insertions(+), 8 deletions(-)
> 
> diff --git a/package/usbguard/Config.in b/package/usbguard/Config.in
> index e97d0e729c..4c3dc7f2c2 100644
> --- a/package/usbguard/Config.in
> +++ b/package/usbguard/Config.in
> @@ -3,9 +3,8 @@ config BR2_PACKAGE_USBGUARD
>   	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS # protobuf
>   	depends on BR2_INSTALL_LIBSTDCPP # protobuf
>   	depends on BR2_TOOLCHAIN_HAS_THREADS # libqb, protobuf
> -	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # protobuf
> +	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # C++17
>   	depends on !BR2_STATIC_LIBS # libqb, protobuf
> -	depends on !BR2_TOOLCHAIN_USES_MUSL
>   	depends on !BR2_TOOLCHAIN_HAS_GCC_BUG_64735 # std::future
>   	select BR2_PACKAGE_PROTOBUF
>   	select BR2_PACKAGE_LIBQB
> @@ -19,10 +18,9 @@ config BR2_PACKAGE_USBGUARD
>   
>   	  https://usbguard.github.io/
>   
> -comment "usbguard needs a glibc or uClibc toolchain w/ C++, threads, dynamic library, gcc >= 4.8"
> +comment "usbguard needs a toolchain w/ C++, threads, dynamic library, gcc >= 7"
>   	depends on !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS \
> -		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 \
> -		|| BR2_TOOLCHAIN_USES_MUSL
> +		|| BR2_STATIC_LIBS || !BR2_TOOLCHAIN_GCC_AT_LEAST_7
>   	depends on BR2_PACKAGE_PROTOBUF_ARCH_SUPPORTS
>   
>   comment "usbguard needs a toolchain not affected by GCC bug 64735"
> diff --git a/package/usbguard/usbguard.hash b/package/usbguard/usbguard.hash
> index fd77acc75a..a69240b3f9 100644
> --- a/package/usbguard/usbguard.hash
> +++ b/package/usbguard/usbguard.hash
> @@ -1,3 +1,5 @@
> +# From https://github.com/USBGuard/usbguard/releases/download/usbguard-1.1.1/usbguard-1.1.1.tar.gz.sum
> +sha256  460ebfb4ffc5609739a202a3a1d9fda1c30de033b634845b8baa136352bfb432  usbguard-1.1.1.tar.gz
> +
>   # Locally calculated
> -sha256  5617986cd5dd1a2d311041648a1977d836cf4e33a4121d7f82599f21496abc42  usbguard-1.0.0.tar.gz
> -sha256  a45d0bb572ed792ed34627a72621834b3ba92aab6e2cc4e04301dee7a728d753  LICENSE
> +sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE
> diff --git a/package/usbguard/usbguard.mk b/package/usbguard/usbguard.mk
> index 54a4031056..614b7d655d 100644
> --- a/package/usbguard/usbguard.mk
> +++ b/package/usbguard/usbguard.mk
> @@ -4,7 +4,7 @@
>   #
>   ################################################################################
>   
> -USBGUARD_VERSION = 1.0.0
> +USBGUARD_VERSION = 1.1.1
>   USBGUARD_SITE = https://github.com/USBGuard/usbguard/releases/download/usbguard-$(USBGUARD_VERSION)
>   USBGUARD_LICENSE = GPL-2.0+
>   USBGUARD_LICENSE_FILES = LICENSE



More information about the buildroot mailing list