usbutils: Switch to Fedora usbutils

The Gentoo GitHub mirror went down. One benefit of Fedora's usb.ids file
is that it's versioned.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
master
Rosen Penev 6 years ago committed by John Crispin
parent 781ad46206
commit f23271f3b4
  1. 10
      package/utils/usbutils/Makefile

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=usbutils
PKG_VERSION:=007
PKG_RELEASE:=7
PKG_RELEASE:=8
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
PKG_SOURCE_URL:=@KERNEL/linux/utils/usb/usbutils
@ -20,7 +20,7 @@ PKG_LICENSE_FILES:=COPYING
PKG_BUILD_PARALLEL:=1
PKG_INSTALL:=1
PKG_MAINTAINER := Felix Fietkau <nbd@nbd.name>
PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
include $(INCLUDE_DIR)/package.mk
@ -32,13 +32,13 @@ define Package/usbutils
URL:=http://www.linux-usb.org/
endef
USB_IDS_REV:=0a6be488b4c1485d30c9efee1cc895af5d4a1383
USB_IDS_REV:=016be785fd4f5f895c6482ec484507d5a08839fa
USB_IDS_FILE:=usb.ids.$(USB_IDS_REV)
define Download/usb_ids
FILE:=$(USB_IDS_FILE)
URL_FILE:=usb.ids
URL:=@GITHUB/gentoo/hwids/$(USB_IDS_REV)
HASH:=2d0403ffccc0ff7150e32c0bf8e2878816b76ba08d2c3bb1059f33627a3da30f
URL:=@GITHUB/vcrhonek/hwdata/$(USB_IDS_REV)
HASH:=b1877a9fd30c2f9dedec1657963775e7f261c892eb7d6f4281c453bd73492489
endef
$(eval $(call Download,usb_ids))

Loading…
Cancel
Save