All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] usbip: new package
@ 2012-12-26  6:44 Marcin Bis
  2012-12-26  7:06 ` Baruch Siach
  0 siblings, 1 reply; 11+ messages in thread
From: Marcin Bis @ 2012-12-26  6:44 UTC (permalink / raw)
  To: buildroot

Hi

The following patch adds new package: usbip (tools for sharing USB
devices over network).
I have tested it under various ARM builds.

Please consider adding it to Buildroot.

Signed-off-by: Marcin Bis <marcin@bis.org.pl>
--
 package/Config.in       |    1 +
 package/usbip/Config.in |   13 +++++++++++++
 package/usbip/usbip.mk  |   15 +++++++++++++++
 3 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/package/Config.in b/package/Config.in
index 3d556b2..c773c46 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -684,6 +684,7 @@ source "package/transmission/Config.in"
 source "package/ttcp/Config.in"
 source "package/udpcast/Config.in"
 source "package/ulogd/Config.in"
+source "package/usbip/Config.in"
 source "package/ushare/Config.in"
 source "package/vde2/Config.in"
 source "package/vpnc/Config.in"
diff --git a/package/usbip/Config.in b/package/usbip/Config.in
new file mode 100644
index 0000000..3cdbbc7
--- /dev/null
+++ b/package/usbip/Config.in
@@ -0,0 +1,13 @@
+config BR2_PACKAGE_USBIP
+	bool "usbip"
+	select BR2_PACKAGE_LIBGLIB2
+	select BR2_PACKAGE_LIBSYSFS
+	help
+	  Userspace tools for sharing USB devices over TCP/IP network.
+
+	  http://usbip.sourceforge.net/
+
+	  This package adds both: client and server support.
+	  Note: For exporting or connecting to exported USB devices
+	  additional kernel drivers are needed (available since 2.6.28
+	  under Stagging).
diff --git a/package/usbip/usbip.mk b/package/usbip/usbip.mk
new file mode 100644
index 0000000..2ec3ce9
--- /dev/null
+++ b/package/usbip/usbip.mk
@@ -0,0 +1,15 @@
+#############################################################
+#
+# usbip
+#
+#############################################################
+
+USBIP_VERSION = 0.1.7
+USBIP_SITE = http://downloads.sourceforge.net/project/usbip/usbip/$(USBIP_VERSION)
+USBIP_LICENSE = GPLv2+
+USBIP_LICENSE_FILES = COPYING
+USBIP_CONF_OPT = --without-tcpwrappers
+USBIP_SUBDIR = src
+USBIP_AUTORECONF = YES
+
+$(eval $(autotools-package))

^ permalink raw reply related	[flat|nested] 11+ messages in thread
* [Buildroot] [PATCH] usbip: add a new package
@ 2016-12-12 22:17 Tal Shorer
  2016-12-12 22:21 ` [Buildroot] [PATCH v3] usbip: " Tal Shorer
  0 siblings, 1 reply; 11+ messages in thread
From: Tal Shorer @ 2016-12-12 22:17 UTC (permalink / raw)
  To: buildroot

On Mon, Dec 12, 2016 at 7:25 PM, Yann E. MORIN <yann.morin.1998@free.fr> wrote:
> Tal, Arnout, All,
>
> On 2016-12-12 10:40 +0100, Arnout Vandecappelle spake thusly:
>> On 11-12-16 23:30, Tal Shorer wrote:
>> > Both don't deal with source-check, though. I think we should consider
>> > linux-tools again at this point, since it doesn't have any of these
>> > problems (it has its own problems, but I'm beginning to think I'd
>> > rather deal with those). If nobody objects to this approach I'll
>>
>>  +1 to that approach.
>
> Still, I don't like the custom autotools commands we'll have to have.
> What about (mock-up, just for the sake of the example):
>
>     ###############
>     # usbip
>     ###############
>
>     # No USBIP_SITE, no USB_VERSION, we vampirise the code from the
>     # linux kernel
>     USBIP_PATCH_DEPENDENCIES = linux
>
>     USBIP_SRC_DIR = $)(wildcard \
>         $(LINUX_DIR)/tools/usb/usbip \
>         $(LINUX_DIR)/drivers/staging/blabla)
>
>     define USBIP_EXTRACT_CMDS
>         if [ -z "$(USB_SRC_DIR)" ]; then \
>             echo "No usbip source in your kernel tree" 2>&1; \
>             exit 1; \
>         fi
>         rsync $(USB_SRC_DIR) $(@D)
>     endef
>
>     $(eval $(autotools-package))
>
> This way, we still have a proper autotools package, we don;t fail on
> source-check, and we re-use the kernel sources.
This works after some modifications. We end up duplicating the rsync
command from pkg-generic, but the argument that this is better than
duplicating the configure command is easily made.
I'll send a new patch
>
> Regards,
> Yann E. MORIN.
>
> --
> .-----------------.--------------------.------------------.--------------------.
> |  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
> | +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
> | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
> '------------------------------^-------^------------------^--------------------'

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2016-12-13 17:53 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-26  6:44 [Buildroot] [PATCH] usbip: new package Marcin Bis
2012-12-26  7:06 ` Baruch Siach
2012-12-26  8:27   ` [Buildroot] [PATCH v2] " Marcin Bis
2012-12-26  8:49   ` [Buildroot] [PATCH] " Thomas Petazzoni
2012-12-26  8:55     ` [Buildroot] [PATCH v3] " Marcin Bis
2012-12-26 16:35       ` Baruch Siach
2012-12-26 16:49         ` Jeremy Rosen
2012-12-26 17:32           ` Thomas Petazzoni
2013-08-13 21:20       ` Thomas Petazzoni
2016-12-12 22:17 [Buildroot] [PATCH] usbip: add a " Tal Shorer
2016-12-12 22:21 ` [Buildroot] [PATCH v3] usbip: " Tal Shorer
2016-12-13 17:53   ` Yann E. MORIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.