net-misc/usbip - 5.15 (gentoo)

Search

Install

Install this version:

emerge -a =net-misc/usbip-5.15

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =net-misc/usbip-5.15

Or alternatively:

emerge --autounmask-write -a =net-misc/usbip-5.15

Package Information

Description:
Userspace utilities for a general USB device sharing system over IP networks
Homepage:
https://www.kernel.org/
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
5.15 8 ~amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

DESCRIPTION="Userspace utilities for a general USB device sharing system over IP networks"
HOMEPAGE="https://www.kernel.org/"
SRC_URI="https://www.kernel.org/pub/linux/kernel/v${PV%%.*}.x/linux-${PV}.tar.xz"
S="${WORKDIR}/linux-${PV}/tools/usb/usbip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="tcpd"

RDEPEND="
	>=dev-libs/glib-2.6
	sys-apps/hwdata
	>=sys-kernel/linux-headers-3.17
	virtual/libudev
	tcpd? ( sys-apps/tcp-wrappers )"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default
	# remove -Werror from build, bug #545398
	sed -i 's/-Werror[^ ]* //g' configure.ac || die

	eautoreconf
}

src_configure() {
	econf \
		$(usev !tcpd --without-tcp-wrappers) \
		--with-usbids-dir="${EPREFIX}"/usr/share/hwdata
}

src_install() {
	default
	find "${ED}" -name '*.la' -delete || die
}

pkg_postinst() {
	elog "For using USB/IP you need to enable USBIP_VHCI_HCD in the client"
	elog "machine's kernel config and USBIP_HOST on the server."
}

USE Flags

Manage flags for this package: euse -i <flag> -p net-misc/usbip | euse -E <flag> -p net-misc/usbip | euse -D <flag> -p net-misc/usbip

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	>=dev-libs/glib-2.6
	sys-apps/hwdata
	>=sys-kernel/linux-headers-3.17
	virtual/libudev
	tcpd? ( sys-apps/tcp-wrappers )

RDEPEND

	>=dev-libs/glib-2.6
	sys-apps/hwdata
	>=sys-kernel/linux-headers-3.17
	virtual/libudev
	tcpd? ( sys-apps/tcp-wrappers )

BDEPEND

virtual/pkgconfig

Manifest for 5.15

Type File Size Source URLs
DIST linux-5.15.tar.xz 121913744 bytes https://www.kernel.org/pub/linux/kernel/v5.x/linux-5.15.tar.xz