Commit Graph

15 Commits

Author SHA1 Message Date
Adolf Belka
5814de8054 libusb: Update to version 1.0.27
- Update from version 1.0.26 to 1.0.27
- Update of rootfile
- Changelog
    1.0.27
	* New libusb_init_context API to replace libusb_init
	* New libusb_get_max_alt_packet_size API
	* New libusb_get_platform_descriptor API (BOS)
	* Allow setting log callback with libusb_set_option/libusb_init_context
	* New WebAssembly + WebUSB backend using Emscripten
	* Fix regression in libusb_set_interface_alt_setting
	* Fix sync transfer completion race and use-after-free
	* Fix hotplug exit ordering
	* Linux: NO_DEVICE_DISCOVERY option set per context
	* macOS: Fix missing device list cleanup locking
	* macOS: Do not clear device data toggle for newer OS versions
	* macOS: Fix running binaries on older OS than build host
	* Windows: Allow claiming multiple associated interfaces
	* Windows: Ignore non-configured devices instead of waiting
	* Windows: Improved root hub detection

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2024-08-13 09:09:38 +00:00
Adolf Belka
f2171fc9d6 libusb: Update to version 1.0.26
- Update from version 1.0.25 to 1.0.26
- Update of rootfile not required
- Changelog
    2022-04-10: v1.0.26
	* Fix regression with transfer free's after closing device
	* Fix regression with destroyed context if API is misused
	* Workaround for applications using missing default context
	* Fix hotplog enumeration regression
	* Fix Windows isochronous transfer regression since 1.0.24
	* Fix macOS exit crash in some multi-context cases
	* Build fixes for various platforms and configurations
	* Fix Windows HID multi-interface product string retrieval
	* Update isochronous OUT packet actual lengths on Windows
	* Add interface bound checking for broken devices
	* Add umockdev tests on Linux

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-26 08:36:06 +00:00
Peter Müller
9a7e4d8506 Switch checksums from MD5 to BLAKE2
Historically, the MD5 checksums in our LFS files serve as a protection
against broken downloads, or accidentally corrupted source files.

While the sources are nowadays downloaded via HTTPS, it make sense to
beef up integrity protection for them, since transparently intercepting
TLS is believed to be feasible for more powerful actors, and the state
of the public PKI ecosystem is clearly not helping.

Therefore, this patch switches from MD5 to BLAKE2, updating all LFS
files as well as make.sh to deal with this checksum algorithm. BLAKE2 is
notably faster (and more secure) than SHA2, so the performance penalty
introduced by this patch is negligible, if noticeable at all.

In preparation of this patch, the toolchain files currently used have
been supplied with BLAKE2 checksums as well on
https://source.ipfire.org/.

Cc: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Acked-by: Michael Tremer <michael.tremeripfire.org>
2022-04-02 14:19:25 +00:00
Adolf Belka
20e71c0eb0 libusb: Update to version 1.0.25
- Update from 1.0.24 to 1.0.25
- Update of rootfile not required
- Changelog
   2022-01-31: v1.0.25
     * Linux: Fix regression with some particular devices
     * Linux: Fix regression with libusb_handle_events_timeout_completed()
     * Linux: Fix regression with cpu usage in libusb_bulk_transfer
     * Darwin (macOS): Add support for detaching kernel drivers with authorization.
     * Darwin (macOS): Do not drop partial data on timeout.
     * Darwin (macOS): Silence pipe error in set_interface_alt_setting().
     * Windows: Fix HID backend missing byte
     * Windows: Fix segfault with libusbk driver
     * Windows: Fix regression when using libusb0 driver
     * Windows: Support LIBUSB_TRANSFER_ADD_ZERO_PACKET on winusb
     * New NO_DEVICE_DISCOVERY option replaces WEAK_AUTHORITY option
     * Various other bug fixes and improvements

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-02-12 10:31:28 +00:00
Peter Müller
64ecba3f57 libusb: Update to 1.0.24
Fixes: #12667

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
2022-01-14 20:45:24 +00:00
Arne Fitzenreiter
8c5865abc4 Revert "libusb: update to 0.0.24"
This reverts commit 937d8dbcb1.
2021-07-31 13:27:54 +02:00
Peter Müller
937d8dbcb1 libusb: update to 1.0.24
Full changelog as per CHANGELOG file:

2020-12-09: v1.0.24
* Add new platform abstraction (#252)
* Add Null POSIX backend
* Add support for eventfd
* Add support for thread IDs on Haiku, NetBSD and Solaris
* New API libusb_hotplug_get_user_data()
* Darwin (macOS): Fix race condition that results in segmentation fault (#701)
* Darwin (macOS): Fix stale descriptor information post reset (#733)
* Darwin (macOS): use IOUSBDevice as darwin_device_class explicitly (#693)
* Linux: Drop support for kernel older than 2.6.32
* Linux: Provide an event thread name (#689)
* Linux: Wait until all USBs have been reaped before freeing them (#607)
* NetBSD: Recognize device timeouts (#710)
* OpenBSD: Allow opening ugen devices multiple times (#763)
* OpenBSD: Support libusb_get_port_number() (#764)
* SunOS: Fix a memory leak (#756)
* SunOS: Various fixes (#627, #628, #629)
* Windows: Add Visual Studio 2019 support
* Windows: Drop support for WinCE and Visual Studio older than 2013
* Windows: Drop support for Windows XP
* Windows: Support building all examples using Visual Studio (#151)
* Documentation fixes and improvements
* Various other bug fixes and improvements

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-05-25 09:51:20 +00:00
Michael Tremer
0939d0d09d libusb: Update automake
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2021-03-06 11:14:50 +00:00
Peter Müller
0f36d304b9 libusb: update to 1.0.23
Fixes: #11480

Signed-off-by: Peter Müller <peter.mueller@ipfire.org>
Reviewed-by: Michael Tremer <michael.tremer@ipfire.org>
Signed-off-by: Arne Fitzenreiter <arne_f@ipfire.org>
2020-05-09 11:48:24 +00:00
Peter Müller
eee037b890 update disclaimer in LFS files
Most of these files still used old dates and/or domain names for contact
mail addresses. This is now replaced by an up-to-date copyright line.

Just some housekeeping... :-)

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2018-09-10 19:20:36 +01:00
Matthias Fischer
8f6e4eaff7 Update for numerous lfs-files: removed deprecated configure options
Also includes some reformatting, but no changes to configuration.

Signed-off-by: Matthias Fischer <matthias.fischer@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-12-05 17:02:24 +00:00
Matthias Fischer
5d4c1d20d7 libusb: Update to 1.0.19
libusbx: removed, moved to 'libusb-compat 0.1.5'
updated: make.sh

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-06-18 13:23:55 +02:00
ms
70df830214 Ein Paar Dateien fuer die GPLv3 angepasst.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@853 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2007-08-29 13:25:32 +00:00
ms
d316437b8d Zwischencommit fuer LFS.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@310 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
2006-10-08 22:55:09 +00:00
ipfire
cd1a292722 git-svn-id: http://svn.ipfire.org/svn/ipfire/IPFire/source@16 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8 2006-02-15 21:15:54 +00:00