From 79d5a4ce895a01a05899857472bf16c06a3a25ca Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ch=C3=AD-Thanh=20Christopher=20Nguy=E1=BB=85n?= Date: Tue, 17 Mar 2015 15:51:38 +0000 Subject: [PATCH] Re-add usbip after it was removed from sys-apps/linux-misc-apps-3.18, bug #395871 and bug #460960. Package-Manager: portage-2.2.14/cvs/Linux x86_64 Manifest-Sign-Key: 0x2324E7B566DF2611! --- net-misc/usbip/ChangeLog | 9 ++++-- net-misc/usbip/metadata.xml | 9 ++++++ net-misc/usbip/usbip-3.19.ebuild | 51 ++++++++++++++++++++++++++++++++ 3 files changed, 67 insertions(+), 2 deletions(-) create mode 100644 net-misc/usbip/metadata.xml create mode 100644 net-misc/usbip/usbip-3.19.ebuild diff --git a/net-misc/usbip/ChangeLog b/net-misc/usbip/ChangeLog index bd9179ecac57..70121e4c9fd9 100644 --- a/net-misc/usbip/ChangeLog +++ b/net-misc/usbip/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-misc/usbip -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/usbip/ChangeLog,v 1.7 2015/03/17 15:49:16 chithanh Exp $ +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/usbip/ChangeLog,v 1.8 2015/03/17 15:51:38 chithanh Exp $ + + 17 Mar 2015; Chí-Thanh Christopher Nguyễn + usbip-3.19.ebuild: + Re-add usbip after it was removed from sys-apps/linux-misc-apps-3.18, bug + #395871 and bug #460960. 19 Nov 2012; Samuli Suominen usbip-3.6.ebuild: Fix building with USE="tcpd" by not using $(use_with) here. diff --git a/net-misc/usbip/metadata.xml b/net-misc/usbip/metadata.xml new file mode 100644 index 000000000000..8a9b49eec325 --- /dev/null +++ b/net-misc/usbip/metadata.xml @@ -0,0 +1,9 @@ + + + + + chithanh@gentoo.org + Chí-Thanh Christopher Nguyễn + + + diff --git a/net-misc/usbip/usbip-3.19.ebuild b/net-misc/usbip/usbip-3.19.ebuild new file mode 100644 index 000000000000..43b0fefddfb8 --- /dev/null +++ b/net-misc/usbip/usbip-3.19.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/usbip/usbip-3.19.ebuild,v 1.1 2015/03/17 15:49:16 chithanh Exp $ + +EAPI=5 +ETYPE="sources" +K_NOUSENAME=1 +inherit autotools eutils kernel-2 + +DESCRIPTION="Userspace utilities for a general USB device sharing system over IP networks" +HOMEPAGE="http://www.kernel.org/" +SRC_URI="${KERNEL_URI}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="static-libs tcpd" +RESTRICT="" + +RDEPEND=">=dev-libs/glib-2.6 + sys-apps/hwids + >=sys-kernel/linux-headers-3.17 + virtual/libudev + tcpd? ( sys-apps/tcp-wrappers )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS="AUTHORS README ../../../drivers/usb/usbip/usbip_protocol.txt" + +S=${WORKDIR}/linux-${PV}/tools/usb/${PN} + +src_prepare() { + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use tcpd || echo --without-tcp-wrappers) \ + --with-usbids-dir=/usr/share/misc +} + +src_install() { + default + prune_libtool_files +} + +pkg_postinst() { + elog "For using USB/IP you need to enable USB_IP_VHCI_HCD in the client" + elog "machine's kernel config and USB_IP_HOST on the server." +} -- 2.26.2