[Lunar-commits] <moonbase> usbutils: together with usbutils old usb.ids from year 2007 were istalled.

Zbigniew Luszpinski zbiggy at lunar-linux.org
Sun Jan 18 06:52:37 CET 2009


commit cea1c24700b8636c34208541dd983e429acbd3ee
Author: Zbigniew Luszpinski <zbiggy at lunar-linux.org>
Date:   Sun Jan 18 05:52:37 2009 +0000

    usbutils: together with usbutils old usb.ids from year 2007 were istalled.
    Now fresh, up to date file is downloaded from linux-usb site.
---
 utils/usbutils/BUILD   |   12 ++++++++++++
 utils/usbutils/DETAILS |    4 +++-
 2 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/utils/usbutils/BUILD b/utils/usbutils/BUILD
new file mode 100644
index 0000000..67156b7
--- /dev/null
+++ b/utils/usbutils/BUILD
@@ -0,0 +1,12 @@
+(
+
+  default_build &&
+  gunzip $SOURCE_CACHE/$SOURCE2 -c > usb.ids &&
+  rm -f /usr/share/usb.ids* &&
+  install -m644 usb.ids /usr/share &&
+
+  # the next line makes sure you will get a fresh usb id's db
+  # everytime you lin usbutils:
+  rm -f $SOURCE_CACHE/$SOURCE2
+
+) > $C_FIFO 2>&1
diff --git a/utils/usbutils/DETAILS b/utils/usbutils/DETAILS
index 770972a..8a40387 100644
--- a/utils/usbutils/DETAILS
+++ b/utils/usbutils/DETAILS
@@ -1,11 +1,13 @@
           MODULE=usbutils
          VERSION=0.73
           SOURCE=$MODULE-$VERSION.tar.gz
+         SOURCE2=usb.ids.gz
    SOURCE_URL[0]=$SFORGE_URL/linux-usb
+  SOURCE2_URL[0]=http://www.linux-usb.org/
       SOURCE_VFY=sha1:027d4815d36e12c4516163eba485355c3f20c85a
         WEB_SITE=http://kerneltrap.org/node/4649
          ENTERED=20030108
-         UPDATED=20071109
+         UPDATED=20090118
            SHORT="the pciutils of usb"
 cat << EOF
 the pciutils of usb


More information about the Lunar-commits mailing list