From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter =?utf-8?q?M=C3=BCller?= To: development@lists.ipfire.org Subject: Re: [PATCH] libusbredir: Update to version 0.13.0 Date: Mon, 26 Dec 2022 08:36:34 +0000 Message-ID: <342d650e-6d8f-fda3-1a63-880ad8546115@ipfire.org> In-Reply-To: <20221209214751.3317120-1-adolf.belka@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============7793658294675245342==" List-Id: --===============7793658294675245342== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Reviewed-by: Peter M=C3=BCller > - 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 >=3D 2.44 (optional: for usbredirect) > - Deprecate usbredirserver in favor of usbredirect >=20 > Signed-off-by: Adolf Belka > --- > config/rootfiles/packages/libusbredir | 12 ++++-------- > lfs/libusbredir | 18 +++++++++--------- > 2 files changed, 13 insertions(+), 17 deletions(-) >=20 > diff --git a/config/rootfiles/packages/libusbredir b/config/rootfiles/packa= ges/libusbredir > index d5f8817f2..cc8f5dc8e 100644 > --- a/config/rootfiles/packages/libusbredir > +++ b/config/rootfiles/packages/libusbredir > @@ -1,18 +1,14 @@ > +#usr/bin/usbredirect > #usr/include/usbredirfilter.h > #usr/include/usbredirhost.h > #usr/include/usbredirparser.h > #usr/include/usbredirproto.h > -#usr/lib/libusbredirhost.a > -#usr/lib/libusbredirhost.la > usr/lib/libusbredirhost.so > usr/lib/libusbredirhost.so.1 > -usr/lib/libusbredirhost.so.1.0.1 > -#usr/lib/libusbredirparser.a > -#usr/lib/libusbredirparser.la > +usr/lib/libusbredirhost.so.1.0.3 > usr/lib/libusbredirparser.so > usr/lib/libusbredirparser.so.1 > -usr/lib/libusbredirparser.so.1.0.1 > +usr/lib/libusbredirparser.so.1.2.1 > #usr/lib/pkgconfig/libusbredirhost.pc > #usr/lib/pkgconfig/libusbredirparser-0.5.pc > -#usr/sbin/usbredirserver > -#usr/share/man/man1/usbredirserver.1 > +#usr/share/man/man1/usbredirect.1 > diff --git a/lfs/libusbredir b/lfs/libusbredir > index e1df9c4a8..531420ea4 100644 > --- a/lfs/libusbredir > +++ b/lfs/libusbredir > @@ -1,7 +1,7 @@ > ##########################################################################= ##### > # = # > # IPFire.org - A linux based firewall = # > -# Copyright (C) 2007-2020 IPFire Team = # > +# Copyright (C) 2007-2022 IPFire Team = # > # = # > # 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 = # > @@ -26,15 +26,15 @@ include Config > =20 > SUMMARY =3D USB Network Redirection protocol > =20 > -VER =3D 0.8.0 > +VER =3D 0.13.0 > =20 > THISAPP =3D usbredir-$(VER) > -DL_FILE =3D $(THISAPP).tar.bz2 > +DL_FILE =3D $(THISAPP).tar.xz > DL_FROM =3D $(URL_IPFIRE) > DIR_APP =3D $(DIR_SRC)/$(THISAPP) > TARGET =3D $(DIR_INFO)/$(THISAPP) > PROG =3D libusbredir > -PAK_VER =3D 2 > +PAK_VER =3D 3 > =20 > DEPS =3D > =20 > @@ -48,7 +48,7 @@ objects =3D $(DL_FILE) > =20 > $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) > =20 > -$(DL_FILE)_BLAKE2 =3D 0190b4ab35cd554c13b65d30756b7b018e7ce82c72e7dddbaf05= b8a704bd8a25724c4ac4759e1b86dfadb64ad7ade75c05365ab9ae3152f8fa60e909bc5e183b > +$(DL_FILE)_BLAKE2 =3D 20a1e28be290d59d3ef25f432d6bbd4b50b40f5df434efb9013a= 39df77ce1aa563e7dec1cdf6abbfa703bb9c4b32dd05258011b5ce8e79812e89203f51f41f8f > =20 > install : $(TARGET) > =20 > @@ -80,9 +80,9 @@ $(subst %,%_BLAKE2,$(objects)) : > =20 > $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) > @$(PREBUILD) > - @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar jxf $(DIR_DL)/$(DL_FILE) > - cd $(DIR_APP) && ./configure --prefix=3D/usr > - cd $(DIR_APP) && make $(MAKETUNING) $(EXTRA_MAKE) > - cd $(DIR_APP) && make install > + @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE) > + cd $(DIR_APP) && meson --prefix=3D/usr builddir/ > + cd $(DIR_APP) && ninja -C builddir/ $(MAKETUNING) > + cd $(DIR_APP) && ninja -C builddir/ install > @rm -rf $(DIR_APP) > @$(POSTBUILD) --===============7793658294675245342==--