gnu: Add usbip-utils

* gnu/packages/linux.scm (usbip-utils): New variable.

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Denis 'GNUtoo' Carikli 2021-09-05 21:36:57 +02:00 committed by Ludovic Courtès
parent 08c7e7df15
commit f16e6b505d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -2156,6 +2156,37 @@ (define-public usbutils
"Tools for working with USB devices, such as lsusb.")
(license license:gpl2+)))
(define-public usbip-utils
(package
(name "usbip-utils")
(version (package-version linux-libre))
(source (package-source linux-libre))
(build-system gnu-build-system)
(arguments
'(#:phases (modify-phases %standard-phases
(add-after 'unpack 'enter-subdirectory
(lambda _
(chdir "tools/usb/usbip")
#t)))))
(native-inputs
`(("automake" ,automake)
("autoreconf" ,autoconf)
("libtool" ,libtool)))
(inputs `(("eudev" ,eudev)))
(home-page (package-home-page linux-libre))
(synopsis "Utilities for sharing USB devices over IP networks")
(description
"The USB/IP protocol enables to pass USB device from a server to
a client over the network. The server is a machine which shares an
USB device and the client is a machine which uses USB device provided by
a server over the network. The USB device may be either physical device
connected to a server or software entity created on a server using USB
gadget subsystem. The usbip-utils are userspace tools to used to handle
connection and management on both side. The client needs the @file{vhci-hcd}
Linux kernel module and the server needs the @file{usbip_host} Linux kernel
module.")
(license license:gpl2)))
(define-public e2fsprogs
(package
(name "e2fsprogs")