Re-add usbip after it was removed from sys-apps/linux-misc-apps-3.18, bug #395871...
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Tue, 17 Mar 2015 15:51:38 +0000 (15:51 +0000)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Tue, 17 Mar 2015 15:51:38 +0000 (15:51 +0000)
Package-Manager: portage-2.2.14/cvs/Linux x86_64
Manifest-Sign-Key: 0x2324E7B566DF2611!

net-misc/usbip/ChangeLog
net-misc/usbip/metadata.xml [new file with mode: 0644]
net-misc/usbip/usbip-3.19.ebuild [new file with mode: 0644]

index bd9179ecac57a2ed8ed9927bed316a7f56520d04..70121e4c9fd9fb61950bf7b0845b949182bb885c 100644 (file)
@@ -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 <chithanh@gentoo.org>
+  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 <ssuominen@gentoo.org> 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 (file)
index 0000000..8a9b49e
--- /dev/null
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer>
+               <email>chithanh@gentoo.org</email>
+               <name>Chí-Thanh Christopher Nguyễn</name>
+       </maintainer>
+</pkgmetadata>
+
diff --git a/net-misc/usbip/usbip-3.19.ebuild b/net-misc/usbip/usbip-3.19.ebuild
new file mode 100644 (file)
index 0000000..43b0fef
--- /dev/null
@@ -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."
+}