Browse Source

libusb: update to 1.0.27

- Remove unnecessary SourceForge mirror
- Use HTTPS url

Signed-off-by: Yanase Yuki <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/16372
Signed-off-by: Hauke Mehrtens <[email protected]>
Yanase Yuki 1 năm trước cách đây
mục cha
commit
0b6f38c60a
1 tập tin đã thay đổi với 6 bổ sung8 xóa
  1. 6 8
      package/libs/libusb/Makefile

+ 6 - 8
package/libs/libusb/Makefile

@@ -8,14 +8,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=libusb
-PKG_VERSION:=1.0.26
-PKG_RELEASE:=3
+PKG_VERSION:=1.0.27
+PKG_RELEASE:=1
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
-PKG_SOURCE_URL:=\
-  https://github.com/libusb/libusb/releases/download/v$(PKG_VERSION) \
-  @SF/$(PKG_NAME)
-PKG_HASH:=12ce7a61fc9854d1d2a1ffe095f7b5fac19ddba095c259e6067a46500381b5a5
+PKG_SOURCE_URL:=https://github.com/libusb/libusb/releases/download/v$(PKG_VERSION)
+PKG_HASH:=ffaa41d741a8a3bee244ac8e54a72ea05bf2879663c098c82fc5757853441575
 
 PKG_MAINTAINER:= Felix Fietkau <[email protected]>
 PKG_LICENSE:=LGPL-2.1-or-later
@@ -32,7 +30,7 @@ define Package/libusb-1.0
   CATEGORY:=Libraries
   TITLE:=A library for accessing Linux USB devices
   DEPENDS:=+libpthread +librt +libatomic
-  URL:=http://libusb.info/
+  URL:=https://libusb.info/
   ABI_VERSION:=0
 endef
 
@@ -45,7 +43,7 @@ define Package/fxload
   SECTION:=utils
   CATEGORY:=Utilities
   TITLE:=fxload firmware loader
-  URL:=http://linux-hotplug.sourceforge.net
+  URL:=https://linux-hotplug.sourceforge.net
   DEPENDS:=+libusb-1.0
 endef