pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/sysutils/usbhid-dump
Module Name: pkgsrc
Committed By: ryoon
Date: Tue Jul 2 13:29:34 UTC 2019
Added Files:
pkgsrc/sysutils/usbhid-dump: DESCR Makefile PLIST distinfo
pkgsrc/sysutils/usbhid-dump/patches: patch-src_usbhid-dump.c
Log Message:
sysutils/usbhid-dump: import usbhid-dump-1.4
Usbhid-dump is a USB HID dumping utility based on libusb 1.0. It
dumps USB HID device report descriptors and reports themselves as
they are being sent, for all or specific device interfaces.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/usbhid-dump/DESCR \
pkgsrc/sysutils/usbhid-dump/Makefile pkgsrc/sysutils/usbhid-dump/PLIST \
pkgsrc/sysutils/usbhid-dump/distinfo
cvs rdiff -u -r0 -r1.1 \
pkgsrc/sysutils/usbhid-dump/patches/patch-src_usbhid-dump.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/sysutils/usbhid-dump/DESCR
diff -u /dev/null pkgsrc/sysutils/usbhid-dump/DESCR:1.1
--- /dev/null Tue Jul 2 13:29:34 2019
+++ pkgsrc/sysutils/usbhid-dump/DESCR Tue Jul 2 13:29:33 2019
@@ -0,0 +1,3 @@
+Usbhid-dump is a USB HID dumping utility based on libusb 1.0. It
+dumps USB HID device report descriptors and reports themselves as
+they are being sent, for all or specific device interfaces.
Index: pkgsrc/sysutils/usbhid-dump/Makefile
diff -u /dev/null pkgsrc/sysutils/usbhid-dump/Makefile:1.1
--- /dev/null Tue Jul 2 13:29:34 2019
+++ pkgsrc/sysutils/usbhid-dump/Makefile Tue Jul 2 13:29:33 2019
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2019/07/02 13:29:33 ryoon Exp $
+
+DISTNAME= usbhid-dump-1.4
+CATEGORIES= sysutils
+MASTER_SITES= ${MASTER_SITE_GITHUB:=DIGImend/}
+GITHUB_RELEASE= 1.4
+
+MAINTAINER= ryoon%NetBSD.org@localhost
+HOMEPAGE= https://github.com/DIGImend/usbhid-dump/
+COMMENT= USB HID device dumping utility
+LICENSE= gnu-gpl-v2
+
+USE_TOOLS+= pkg-config
+
+GNU_CONFIGURE= yes
+
+.include "../../devel/libusb1/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/sysutils/usbhid-dump/PLIST
diff -u /dev/null pkgsrc/sysutils/usbhid-dump/PLIST:1.1
--- /dev/null Tue Jul 2 13:29:34 2019
+++ pkgsrc/sysutils/usbhid-dump/PLIST Tue Jul 2 13:29:33 2019
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1 2019/07/02 13:29:33 ryoon Exp $
+bin/usbhid-dump
+man/man8/usbhid-dump.8
Index: pkgsrc/sysutils/usbhid-dump/distinfo
diff -u /dev/null pkgsrc/sysutils/usbhid-dump/distinfo:1.1
--- /dev/null Tue Jul 2 13:29:34 2019
+++ pkgsrc/sysutils/usbhid-dump/distinfo Tue Jul 2 13:29:33 2019
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2019/07/02 13:29:33 ryoon Exp $
+
+SHA1 (usbhid-dump-1.4.tar.gz) = 6a3160fa68b3b8186b66fb48afd1173a74d32de6
+RMD160 (usbhid-dump-1.4.tar.gz) = b9d3694f4db81ee3b6dc29db4a9112e0c87aa4ab
+SHA512 (usbhid-dump-1.4.tar.gz) = bc0e5af87833fea0146f006577ab28573a441c275eb39f84fb96cf30976dfa2e193f240b4f5600128362a1b65aaa8f14a02863ac262b92aa4886f1a526fa3c29
+Size (usbhid-dump-1.4.tar.gz) = 341411 bytes
+SHA1 (patch-src_usbhid-dump.c) = 4c8abcc7b45ea2b6e77b1917dcc74b1f77ef59f6
Index: pkgsrc/sysutils/usbhid-dump/patches/patch-src_usbhid-dump.c
diff -u /dev/null pkgsrc/sysutils/usbhid-dump/patches/patch-src_usbhid-dump.c:1.1
--- /dev/null Tue Jul 2 13:29:34 2019
+++ pkgsrc/sysutils/usbhid-dump/patches/patch-src_usbhid-dump.c Tue Jul 2 13:29:34 2019
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_usbhid-dump.c,v 1.1 2019/07/02 13:29:34 ryoon Exp $
+
+* NetBSD has no device driver detach as of 2019-06-26
+
+--- src/usbhid-dump.c.orig 2014-07-12 18:02:02.000000000 +0000
++++ src/usbhid-dump.c
+@@ -549,8 +549,10 @@ run(bool dump_descriptor,
+ /* Detach and claim the interfaces */
+ UHD_IFACE_LIST_FOR_EACH(iface, iface_list)
+ {
++#if !defined(__NetBSD__)
+ LIBUSB_IFACE_GUARD(uhd_iface_detach(iface),
+ iface, "detach from the kernel driver");
++#endif
+ LIBUSB_IFACE_GUARD(uhd_iface_claim(iface),
+ iface, "claim");
+ }
Home |
Main Index |
Thread Index |
Old Index