.gear/rules | 2 + .../tags/ab2711e5bd999cf3c209084ff6ed87a19eac49fc | 25 ++++ .gear/tags/list | 1 + .gear/upstream/remotes | 3 + Makefile.am | 7 +- usbutils.spec | 131 +++++++++++++++++++++ 6 files changed, 166 insertions(+), 3 deletions(-) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..4b0460c --- /dev/null +++ b/.gear/rules @@ -0,0 +1,2 @@ +tar: v@version@:. +diff: v@version@:. . diff --git a/.gear/tags/ab2711e5bd999cf3c209084ff6ed87a19eac49fc b/.gear/tags/ab2711e5bd999cf3c209084ff6ed87a19eac49fc new file mode 100644 index 0000000..89b1830 --- /dev/null +++ b/.gear/tags/ab2711e5bd999cf3c209084ff6ed87a19eac49fc @@ -0,0 +1,25 @@ +object 79b796f945ea7d5c2b0e2a74f9b8819cb7948680 +type commit +tag v015 +tagger Greg Kroah-Hartman 1666440219 +0200 + +usbutils v015 release + +Signed-off-by: Greg Kroah-Hartman +-----BEGIN PGP SIGNATURE----- + +iQJPBAABCAA5FiEEZH8oZUiU471FcZm+ONu9yGCSaT4FAmNT3CIbHGdyZWdraEBs +aW51eGZvdW5kYXRpb24ub3JnAAoJEDjbvchgkmk+Dl4QANOp+dLFXABfBQiEVpfU +pVDTzoYrbsEGIkQA1/9nHvtXWhP2I7b5NV0Xm+pvD2yHBcVhpDEw3H1qBrhjQkHi +zapAvdzOIgkbWR6WwjzjgigzbaBtNOstEtHwL/ljK2n7LRZdE20Lb/Ptw24Kth6w +FK5fDYkpdKlSpVaxUSdd+B9rRyKFAp4AlISqLtTF4JfxcFez/9u4TJ8ZPsjNEnd/ +OrmtZknzAw2wbBn8lVEQ8G2K1VPgNdAeVsDJQ1FW8ljJPTc3GpRPa1HX4GnnvdQW +9F0DxLo/LgDjK8752zS73QqACOTP8xQ9J3gFryETcuaO3c/ZTb11ga2j8ckCqR1w +hiObsr0k50u84LBp23WFMli2M41I5JNGFg4O+cP+WuY3t7rfWEG6zc6AWAxWKfiD +VE8cXK+whbKVzeqggd/USpX+o6835rZ8a+jc35ieBk/LJ0DTbQUiK6q6EMK0iQ8p +KXTD7mPscCukuUAp6qmCQbF/fPw9KjBjgfCIRdf3yAkhUW5WvzQNNA+Y/5jhsVMq +83SUeFv9osbclnHGtR2RShj4fpGHj5jAbCbYQ50QY2HDSUX0qd75U+q7Z0p94wpl +U5QZaGl8UjThfYAaiPsZv59lIBq5QlHsNDgZ09ShmF6p2EMabq6O/NLaoT7Xau3w +geipk/e7cwx9ODkUJ3Sk50NV +=vU86 +-----END PGP SIGNATURE----- diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..45ca81e --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +ab2711e5bd999cf3c209084ff6ed87a19eac49fc v015 diff --git a/.gear/upstream/remotes b/.gear/upstream/remotes new file mode 100644 index 0000000..2831bda --- /dev/null +++ b/.gear/upstream/remotes @@ -0,0 +1,3 @@ +[remote "upstream"] + url = https://github.com/gregkh/usbutils.git + fetch = +refs/heads/*:refs/remotes/upstream/* diff --git a/Makefile.am b/Makefile.am index 448c854..7b92262 100644 --- a/Makefile.am +++ b/Makefile.am @@ -13,6 +13,7 @@ AM_LDFLAGS = \ data_DATA = bin_PROGRAMS = \ + usbreset \ lsusb sbin_SCRIPTS = @@ -21,8 +22,8 @@ bin_SCRIPTS = \ usb-devices \ lsusb.py -noinst_PROGRAMS = \ - usbreset +#noinst_PROGRAMS = \ +# usbreset lsusb_SOURCES = \ lsusb.c lsusb.h \ @@ -61,7 +62,7 @@ EXTRA_DIST = \ LICENSES/GPL-3.0-only.txt lsusb.py: $(srcdir)/lsusb.py.in - sed 's|VERSION|$(VERSION)|g;s|@usbids@|$(datadir)/usb.ids|g' $< >$@ + sed 's|VERSION|$(VERSION)|g;s|@usbids@|$(datadir)/misc/usb.ids|g' $< >$@ chmod 755 $@ lsusb.8: $(srcdir)/lsusb.8.in diff --git a/usbutils.spec b/usbutils.spec new file mode 100644 index 0000000..ccd329c --- /dev/null +++ b/usbutils.spec @@ -0,0 +1,131 @@ +Name: usbutils +Version: 015 +Release: alt1 + +Summary: Linux USB utilities +License: GPLv2+ +Group: System/Kernel and hardware + +Url: http://sourceforge.net/projects/linux-usb/ +Vcs: https://github.com/gregkh/usbutils.git +Source: %name-%version.tar +Patch: %name-%version-%release.patch + +BuildRequires: pkgconfig(libusb-1.0) >= 1.0.14 +BuildRequires: pkgconfig(libudev) >= 196 + +%description +usbutils contains an utility (lsusb) for inspecting devices connected to +the USB bus. + +%prep +%setup +%patch -p1 + +%build +%autoreconf +%configure --datadir=%_datadir/misc +%make_build + +%install +%makeinstall +rm -f %buildroot%_bindir/lsusb.py + +%files +%_bindir/* +%_man1dir/* +%_man8dir/* +%doc NEWS README.md + +%changelog +* Thu Nov 03 2022 Alexey Shabalin 015-alt1 +- new version 015 + +* Mon Nov 15 2021 Alexey Shabalin 014-alt2 +- add install usbreset + +* Sun Sep 05 2021 Alexey Shabalin 014-alt1 +- new version 014 + +* Sat Jan 16 2021 Alexey Shabalin 013-alt1 +- new version 013 + +* Thu Aug 01 2019 Alexey Shabalin 012-alt1 +- new version 012 + +* Tue Oct 16 2018 Alexey Shabalin 010-alt1 +- new version 010 + +* Tue Jan 09 2018 Alexey Shabalin 009-alt1 +- 009 + +* Thu Aug 13 2015 Alexey Shabalin 008-alt1 +- 008 + +* Wed Jul 31 2013 Alexey Shabalin 007-alt1 +- 007 + +* Mon May 13 2013 Alexey Shabalin 006-alt1 +- 006 + +* Mon Apr 15 2013 Dmitry V. Levin (QA) 0.90-alt2.qa1 +- NMU: rebuilt for debuginfo. + +* Tue Sep 07 2010 Andrey Rahmatullin 0.90-alt2 +- use usbids instead of hwdatabase + +* Fri Aug 13 2010 Andrey Rahmatullin 0.90-alt1 +- 0.90 + +* Mon Apr 26 2010 Andrey Rahmatullin 0.87-alt1 +- 0.87 + +* Thu Aug 20 2009 Andrey Rahmatullin 0.86-alt1 +- 0.86 + +* Thu Jun 25 2009 Andrey Rahmatullin 0.84-alt1 +- 0.84 + +* Fri May 08 2009 Andrey Rahmatullin 0.82-alt1 +- 0.82 + +* Tue Apr 28 2009 Andrey Rahmatullin 0.81-alt1 +- 0.81 +- drop usbtree + +* Mon Apr 06 2009 Andrey Rahmatullin 0.73-alt2 +- fix buildreqs +- fix the parsing of bus number >= 08 in tree mode (Debian) + +* Wed Oct 24 2007 Andrey Rahmatullin 0.73-alt1 +- 0.73 + +* Mon Oct 02 2006 Andrey Rahmatullin 0.72-alt1 +- NMU: + + 0.72 + + add Url + +* Tue Feb 01 2005 Anton Farygin 0.70-alt1 +- new version + +* Thu Dec 23 2004 Anton Farygin 0.11-alt5 +- usb.ids moved to hwdatabase +- added patches from fedora: + * usbutils-0214.patch - fix various brokenness + * usbutils-0.11-hidcc.patch - patch from Aurelien Jarno for unknown + HID Country Code entries in usb.ids + +* Thu Sep 09 2004 Alexey Gladkov 0.11-alt3 +- update usb.ids; +- usbtree script added; +- the latest usb.ids contain entries that usbutils doesn't handle (HCC lines); + +* Mon Oct 28 2002 Konstantin Volckov 0.11-alt1 +- 0.11 +- Updated usb.ids file +- Rebuilt in new environment + +* Thu Dec 06 2001 Konstantin Volckov 0.9-alt1 +- 0.9 +- Updated usb.ids file +