Files
bpfire/lfs/libusbredir
Adolf Belka 349fc481b8 libusbredir: Update to version 0.13.0
- Update from version 0.8.0 to 0.13.0
- Update of rootfile
- bz2 version no longer supplied only xz version
- Build changed from autotyools to meson/ninja
- Changelog
	# usbredir-0.13.0 - 01 Aug 2022
		- !61 Fix regression on unserialize data
		- !59 Removes usbredirserver
		- !58 Improved header length checks when unserialising data
		- !62 Fix usage of command line argument in usbredirect
		- !57 Fix small memory leak on usbredirect
	# usbredir-0.12.0 - 12 Nov 2021
		- !47 Implement dropping packets from isochronous devices
		  when buffer is owned by usbredirparser library
		- !50 Use packet size limit on deserialization
		- !54 Fix possible bad state in deserialization logic
		- !48 Fix possible memory leak in serialization logic
		- !45 Fix (un)serialization with empty write buffers
		- !42 !46 !52 Improvements to usbredirparserfuzz
	# usbredir-0.11.0 - 10 Aug 2021
		- !40 Fixes use-after-free on usbredirparser serialization
		- !25 Fixes memory leak in usbredirparser
		- !32 Fixes build in MacOS related to visibility of exported symbols
		- !36 Adds usbredirfilter_free function
		- !29 Adds Fuzzing for Filters
		- !34 Improvements to usbredirfilter_string_to_rules()
	# usbredir-0.10.0 - 27 May 2021
		- !23 Fixes 0.9.0 regression in bulk transfer message size
		- !20 Drops autotools, only meson is supported now
		- !15, !16, !18, !21 Improves fuzzing code base and meson builds
		- !17 Fixes libusbredirhost.pc when generated by meson
	# usbredir-0.9.0 - 02 Apr 2021
		-  !2 Add usbredirect tool with feature parity with usbredirserver
		-  !6 Add fuzzer for usbredirparser
		- !12 Add MSI installer for usbredirect tool
		- !11 Add meson build: autotool will be removed in a future release
		-  !5 Limit packet's length to 65 kB
		-  !4 Fix wrong up-cast when checking for package's length
		- Require LLVM's compiler-rt (optional: for fuzzer)
		- Require glib2 >= 2.44 (optional: for usbredirect)
		- Deprecate usbredirserver in favor of usbredirect

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
2022-12-26 08:37:43 +00:00

89 lines
3.3 KiB
Plaintext

###############################################################################
# #
# IPFire.org - A linux based firewall #
# Copyright (C) 2007-2022 IPFire Team <info@ipfire.org> #
# #
# This program is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
# the Free Software Foundation, either version 3 of the License, or #
# (at your option) any later version. #
# #
# This program is distributed in the hope that it will be useful, #
# but WITHOUT ANY WARRANTY; without even the implied warranty of #
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
# GNU General Public License for more details. #
# #
# You should have received a copy of the GNU General Public License #
# along with this program. If not, see <http://www.gnu.org/licenses/>. #
# #
###############################################################################
###############################################################################
# Definitions
###############################################################################
include Config
SUMMARY = USB Network Redirection protocol
VER = 0.13.0
THISAPP = usbredir-$(VER)
DL_FILE = $(THISAPP).tar.xz
DL_FROM = $(URL_IPFIRE)
DIR_APP = $(DIR_SRC)/$(THISAPP)
TARGET = $(DIR_INFO)/$(THISAPP)
PROG = libusbredir
PAK_VER = 3
DEPS =
SERVICES =
###############################################################################
# Top-level Rules
###############################################################################
objects = $(DL_FILE)
$(DL_FILE) = $(DL_FROM)/$(DL_FILE)
$(DL_FILE)_BLAKE2 = 20a1e28be290d59d3ef25f432d6bbd4b50b40f5df434efb9013a39df77ce1aa563e7dec1cdf6abbfa703bb9c4b32dd05258011b5ce8e79812e89203f51f41f8f
install : $(TARGET)
check : $(patsubst %,$(DIR_CHK)/%,$(objects))
download :$(patsubst %,$(DIR_DL)/%,$(objects))
b2 : $(subst %,%_BLAKE2,$(objects))
dist:
@$(PAK)
###############################################################################
# Downloading, checking, b2sum
###############################################################################
$(patsubst %,$(DIR_CHK)/%,$(objects)) :
@$(CHECK)
$(patsubst %,$(DIR_DL)/%,$(objects)) :
@$(LOAD)
$(subst %,%_BLAKE2,$(objects)) :
@$(B2SUM)
###############################################################################
# Installation Details
###############################################################################
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
@$(PREBUILD)
@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
cd $(DIR_APP) && meson --prefix=/usr builddir/
cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING)
cd $(DIR_APP) && ninja -C builddir/ install
@rm -rf $(DIR_APP)
@$(POSTBUILD)