usbutils: bump to version 012

Drop the patch adding license files since they are now in the tarball.

On the other hand, a configure script is no longer distributed with the
tarball. Upstream considers that to be "safer":

  https://www.spinics.net/lists/linux-usb/msg179970.html

Don't remove the usb-devices script; it doesn't needs bash anymore.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Baruch Siach 2019-05-28 14:26:05 +03:00 committed by Peter Korsgaard
parent 64cefaab04
commit 900ece12fe
3 changed files with 4 additions and 1038 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
# From https://www.kernel.org/pub/linux/utils/usb/usbutils/sha256sums.asc
sha256 61c7364bb4986fb05e5067e4ac5585b1299b664c57f761caecd2e9e724794a19 usbutils-010.tar.xz
sha256 88634625f91840bc1993d2731cc081ee8d3b13d56069a95bdd6ac6ef0e063e46 usbutils-012.tar.xz
# Locally calculated
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 LICENSES/GPL-2.0.txt
sha256 3972dc9744f6499f0f9b2dbf76696f2ae7ad8af9b23dde66d6af86c9dfb36986 LICENSES/GPL-3.0.txt

View File

@ -4,12 +4,14 @@
#
################################################################################
USBUTILS_VERSION = 010
USBUTILS_VERSION = 012
USBUTILS_SOURCE = usbutils-$(USBUTILS_VERSION).tar.xz
USBUTILS_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/usb/usbutils
USBUTILS_DEPENDENCIES = host-pkgconf libusb udev
USBUTILS_LICENSE = GPL-2.0+ (utils) GPL-2.0 or GPL-3.0 (lsusb.py)
USBUTILS_LICENSE_FILES = LICENSES/GPL-2.0.txt LICENSES/GPL-3.0.txt
# Missing configure script
USBUTILS_AUTORECONF = YES
# Nice lsusb.py script only if there's python 3.x
ifeq ($(BR2_PACKAGE_PYTHON3),)
@ -20,10 +22,4 @@ endef
USBUTILS_POST_INSTALL_TARGET_HOOKS += USBUTILS_REMOVE_PYTHON
endif
define USBUTILS_TARGET_CLEANUP
rm -f $(TARGET_DIR)/usr/bin/usb-devices
endef
USBUTILS_POST_INSTALL_TARGET_HOOKS += USBUTILS_TARGET_CLEANUP
$(eval $(autotools-package))