Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dominika Liberda
aports
Commits
ff3fb011
Commit
ff3fb011
authored
7 years ago
by
TBK
Committed by
Natanael Copa
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
main/usbutils: upgrade to 009
parent
218771f0
Loading
Loading
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
main/usbutils/APKBUILD
+5
-8
5 additions, 8 deletions
main/usbutils/APKBUILD
main/usbutils/hwdata.patch
+20
-0
20 additions, 0 deletions
main/usbutils/hwdata.patch
main/usbutils/usbutils-006-hwdata.patch
+0
-13
0 additions, 13 deletions
main/usbutils/usbutils-006-hwdata.patch
with
25 additions
and
21 deletions
main/usbutils/APKBUILD
+
5
−
8
View file @
ff3fb011
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname
=
usbutils
pkgname
=
usbutils
pkgver
=
00
8
pkgver
=
00
9
pkgrel
=
2
pkgrel
=
0
pkgdesc
=
"USB Device Utilities"
pkgdesc
=
"USB Device Utilities"
url
=
"http://linux-usb.sourceforge.net/"
url
=
"http://linux-usb.sourceforge.net/"
arch
=
"all"
arch
=
"all"
...
@@ -10,7 +10,7 @@ subpackages="$pkgname-doc"
...
@@ -10,7 +10,7 @@ subpackages="$pkgname-doc"
depends
=
"hwdata-usb"
depends
=
"hwdata-usb"
makedepends
=
"libusb-dev eudev-dev"
makedepends
=
"libusb-dev eudev-dev"
source
=
"http://www.kernel.org/pub/linux/utils/usb/usbutils/
$pkgname
-
$pkgver
.tar.xz
source
=
"http://www.kernel.org/pub/linux/utils/usb/usbutils/
$pkgname
-
$pkgver
.tar.xz
usbutils-006-
hwdata.patch
hwdata.patch
"
"
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
builddir
=
"
$srcdir
"
/
$pkgname
-
$pkgver
...
@@ -35,10 +35,7 @@ check() {
...
@@ -35,10 +35,7 @@ check() {
package
()
{
package
()
{
cd
"
$builddir
"
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
DESTDIR
=
"
$pkgdir
"
install
mkdir
-p
"
$pkgdir
"
/usr/lib/
mv
"
$pkgdir
"
/usr/share/pkgconfig
\
"
$pkgdir
"
/usr/lib/
}
}
sha512sums
=
"
ab1ad36467ff79ff5ab0b924620001612cae44def58c05ade01a4e58d8a4d48df61c09faba49a20497b7d6314045bbaf137b51a9f4e6b65ed0ea3bb339bf1c45
usbutils-00
8
.tar.xz
sha512sums
=
"
e5936a42615690c13e618655fc5eb4f414d9a84f85b860eaeb3bcf737258e05d299b09d1c5388d50c718626036ec8cac5d670ad567ceadfaab85f401f0744a8a
usbutils-00
9
.tar.xz
681894f85f4abe1593ca00cfa5be7d57e44d4aa90e69f94f6fc621d265c6d6c492622710f3bed3c75ee5459a634848516ad0ef1e3830075c5a55b8172c53af1e usbutils-006-
hwdata.patch"
951609353bdd2a2a6ac52028a1071698756f806f8bfd785fcae9d949e27e3f932a6fdd484859cba1258f617b553f3c72f7bbeaece3c2e7cdbc4e1c630ec8ce92
hwdata.patch"
This diff is collapsed.
Click to expand it.
main/usbutils/hwdata.patch
0 → 100644
+
20
−
0
View file @
ff3fb011
--- a/lsusb.py.in
+++ b/lsusb.py.in
@@ -96,7 +96,7 @@
return True
def parse_usb_ids():
- "Parse /usr/share/usb.ids and fill usbvendors, usbproducts, usbclasses"
+ "Parse /usr/share/hwdata/usb.ids and fill usbvendors, usbproducts, usbclasses"
id = 0
sid = 0
mode = 0
@@ -520,7 +520,7 @@
print " -c use colors"
print " -e display endpoint info"
print " -w display warning if usb.ids is not sorted correctly"
- print " -f FILE override filename for /usr/share/usb.ids"
+ print " -f FILE override filename for /usr/share/hwdata/usb.ids"
print "Use lsusb.py -ciu to get a nice overview of your USB devices."
return 2
This diff is collapsed.
Click to expand it.
main/usbutils/usbutils-006-hwdata.patch
deleted
100644 → 0
+
0
−
13
View file @
218771f0
diff --git a/lsusb.py b/lsusb.py
index 7816a5a..f18aa7f 100755
--- a/lsusb.py
+++ b/lsusb.py
@@ -18,7 +18,7 @@
warnsort = False
showeps = False
prefix = "/sys/bus/usb/devices/"
-usbids = "/usr/share/usb.ids"
+usbids = "/usr/share/hwdata/usb.ids"
esc = chr(27)
norm = esc + "[0;0m"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment