Commit Graph

15 Commits

Author SHA1 Message Date
Rosen Penev 5ae85b7952 treewide: Replace MD5SUM with HASH
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-10-31 15:54:36 +08:00
Jan Pavlinec ff216608a0
usbip: disable ASLR PIE
Signed-off-by: Jan Pavlinec <jan.pavlinec@nic.cz>
2019-09-04 08:31:07 +02:00
Rosen Penev f81ef698d5 usbip: Switch usb.ids location to match usbutils
It's versioned and therefore easier to update.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2019-01-24 19:07:46 +01:00
Jo-Philipp Wich eded6ed7cf usbip: remove nonshared flag (#6681)
Since https://git.openwrt.org/d0e0b7049f88774e67c3d5ad6b573f7070e5f900,
OpenWrt SDKs ship the appropriate sources for building usbip userspace
packages, so special nonshared handling is not required anymore.

Sucessfully tested by compiling usbip utilities for various architectures
using self built SDKs after applying the change linked above.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2018-08-05 10:49:33 +02:00
Eneas U de Queiroz 633fe0dbdf usbip: adapt package to new kernel/libudev
The sources for usbip are within the kernel.  A patch that was included
with the package, which changed the old signal name SIGCLD to the new
one, SIGCHLD, was merged upstream.  However, different targets use
different kernel versions.  Current version 4.14 and 4.9 are fine, but
older versions do not have the patch applied.  So, I used
-DSIGCLD=SIGCHLD to please both worlds.

libudev-fbsd currently used by openwrt does not implement the
udev_device_get_devpath function.  eudev's implementation of libudev
sets it as (src/libudev/libudev-device.c):
udev_device->devpath = udev_device->syspath + strlen("/sys");
I used a command-line define to use the same logic, as it works with
new and old versions of the kernel--the use of ..devpath is quite
recent.

I also linked with libbsd, when using glibc.

Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
2018-05-23 14:18:17 -03:00
Matthias Schiffer 700ce5ea86
usbip: fix build
Package/usbip/install was referring to the wrong filename for usb.ids in
dl/.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
2018-01-10 15:04:10 +01:00
Nuno Goncalves b49773a4f9 usbip: fix typo (closes #4994 #5312)
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-12-22 12:46:32 +01:00
Nuno Goncalves c9d4d01a31 usbip: fix usb.ids download (closes #4994)
Used the same solution as in utils/usbutils/Makefile

Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2017-12-21 17:03:55 +01:00
Etienne Champetier 4006865ae8 treewide: run "make check FIXUP=1"
fix Makefile chmod (644)
replace MD5SUM with HASH
add PKG_MIRROR_HASH when PKG_SOURCE_PROTO:=git

(PKG_SOURCE_PROTO:=svn tarballs are not reproducible for now)

Signed-off-by: Etienne Champetier <champetier.etienne@gmail.com>
2017-08-29 21:41:14 -07:00
Daniel Golle bc0085a70f usbip: use libudev-fbsd instead of eudev
eudev was removed, switch to libudev-fbsd

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2017-06-19 20:49:40 +02:00
Jo-Philipp Wich 1e14541ba4 usbip: mark as nonshared
Mark the usbip package nonshared so that is built along with the target
specific binaries and not within the SDK environment.

This is needed since the usbip package draws its source files directly
from the kernel tree which is unavailable within the SDK.

Fixes the following build error encountered by the LEDE buildbots:
http://downloads.lede-project.org/snapshots/faillogs/mipsel_1004kc_dsp/packages/usbip/compile.txt

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2016-05-18 15:00:53 +02:00
Daniel Golle 351f42ca54 usbip: use eudev instead of udev
udev was dropped from core and replaced by eudev.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
2016-02-10 19:00:53 +02:00
Jo-Philipp Wich 757de70511 usb: fix musl compatibility
Replace the nonstandard `SIGCLD` signal name with the proper `SIGCHLD` spelling
as the `SIGCLD` alias is not provided by musl.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
2015-06-25 14:49:52 +02:00
Nuno Goncalves c87334ff72 usbip: move to github (closes #1259)
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
[nunojpg@gmail.com: Added PKG License and changed commit message]
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
2015-05-20 23:41:36 +01:00
Cezary Jackiewicz 2925a16a83 usbip: import from old packages 2015-05-15 07:55:33 +02:00